Skip to content

Commit 17d7557

Browse files
Updating swift-cmark-gfm and fixed warnings
1 parent 5cba9ed commit 17d7557

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Package.resolved

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.2
1+
// swift-tools-version:5.3
22

33
import PackageDescription
44

@@ -9,7 +9,7 @@ let package = Package(
99
.library(name: "MarkdownSyntax", targets: ["MarkdownSyntax"]),
1010
],
1111
dependencies: [
12-
.package(name: "cmark_gfm", url: "https://github.com/hebertialmeida/swift-cmark-gfm", .upToNextMajor(from: "1.0.0"))
12+
.package(name: "cmark_gfm", url: "https://github.com/hebertialmeida/swift-cmark-gfm", .upToNextMajor(from: "1.1.0"))
1313
],
1414
targets: [
1515
.target(name: "MarkdownSyntax", dependencies: ["cmark_gfm"]),

Sources/MarkdownSyntax/CMark/CMExtension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public struct CMExtensionOption: OptionSet {
4747
}
4848

4949
/// No extensions
50-
public static let none = CMExtensionOption(rawValue: 0)
50+
public static let none = CMExtensionOption([])
5151

5252
/// All extensions
5353
public static let all: CMExtensionOption = [.tables, .autolinks, .strikethrough, .tagfilters, .tasklist]

0 commit comments

Comments
 (0)