From 17d7557d08adb3c184a45a3dbd4d3144db5dfda5 Mon Sep 17 00:00:00 2001 From: Heberti Almeida Date: Thu, 19 Nov 2020 23:23:17 -0500 Subject: [PATCH] Updating swift-cmark-gfm and fixed warnings --- Package.resolved | 6 +++--- Package.swift | 4 ++-- Sources/MarkdownSyntax/CMark/CMExtension.swift | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Package.resolved b/Package.resolved index 8b1abf7..9c46045 100644 --- a/Package.resolved +++ b/Package.resolved @@ -5,9 +5,9 @@ "package": "cmark_gfm", "repositoryURL": "https://github.com/hebertialmeida/swift-cmark-gfm", "state": { - "branch": "master", - "revision": "5f0607860c8b4aae17e7f4a82d41504f06a5cbef", - "version": null + "branch": null, + "revision": "9b3ec79cb00848f7a69bc13035f117b2a86d7bd8", + "version": "1.1.0" } } ] diff --git a/Package.swift b/Package.swift index 7eaa63d..757764f 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.2 +// swift-tools-version:5.3 import PackageDescription @@ -9,7 +9,7 @@ let package = Package( .library(name: "MarkdownSyntax", targets: ["MarkdownSyntax"]), ], dependencies: [ - .package(name: "cmark_gfm", url: "https://github.com/hebertialmeida/swift-cmark-gfm", .upToNextMajor(from: "1.0.0")) + .package(name: "cmark_gfm", url: "https://github.com/hebertialmeida/swift-cmark-gfm", .upToNextMajor(from: "1.1.0")) ], targets: [ .target(name: "MarkdownSyntax", dependencies: ["cmark_gfm"]), diff --git a/Sources/MarkdownSyntax/CMark/CMExtension.swift b/Sources/MarkdownSyntax/CMark/CMExtension.swift index 77ac23e..2d9beb2 100644 --- a/Sources/MarkdownSyntax/CMark/CMExtension.swift +++ b/Sources/MarkdownSyntax/CMark/CMExtension.swift @@ -47,7 +47,7 @@ public struct CMExtensionOption: OptionSet { } /// No extensions - public static let none = CMExtensionOption(rawValue: 0) + public static let none = CMExtensionOption([]) /// All extensions public static let all: CMExtensionOption = [.tables, .autolinks, .strikethrough, .tagfilters, .tasklist]