Update dependencies (#4702)

This commit is contained in:
JP Simard 2023-01-17 12:59:32 -05:00 committed by GitHub
parent fbd9f16955
commit dc228d57ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 15 deletions

View File

@ -14,8 +14,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/SourceKitten.git", "location" : "https://github.com/jpsim/SourceKitten.git",
"state" : { "state" : {
"revision" : "fc12c0f182c5cf80781dd933b17a82eb98bd7c61", "revision" : "f403b5cdbaa1748fe74da47915013fe058166e03",
"version" : "0.33.1" "version" : "0.34.0"
} }
}, },
{ {
@ -23,8 +23,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser.git", "location" : "https://github.com/apple/swift-argument-parser.git",
"state" : { "state" : {
"revision" : "fddd1c00396eed152c45a46bea9f47b98e59301d", "revision" : "4ad606ba5d7673ea60679a61ff867cc1ff8c8e86",
"version" : "1.2.0" "version" : "1.2.1"
} }
}, },
{ {
@ -59,8 +59,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/Yams.git", "location" : "https://github.com/jpsim/Yams.git",
"state" : { "state" : {
"revision" : "01835dc202670b5bb90d07f3eae41867e9ed29f6", "revision" : "c7facc5ccb8c5a4577ea8c491aa875762cdee57a",
"version" : "5.0.1" "version" : "5.0.3"
} }
} }
], ],

View File

@ -29,10 +29,10 @@ let package = Package(
.plugin(name: "SwiftLintPlugin", targets: ["SwiftLintPlugin"]) .plugin(name: "SwiftLintPlugin", targets: ["SwiftLintPlugin"])
], ],
dependencies: [ dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "1.2.0")), .package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "1.2.1")),
.package(url: "https://github.com/apple/swift-syntax.git", exact: "0.50800.0-SNAPSHOT-2022-12-29-a"), .package(url: "https://github.com/apple/swift-syntax.git", exact: "0.50800.0-SNAPSHOT-2022-12-29-a"),
.package(url: "https://github.com/jpsim/SourceKitten.git", .upToNextMinor(from: "0.33.1")), .package(url: "https://github.com/jpsim/SourceKitten.git", .upToNextMinor(from: "0.34.0")),
.package(url: "https://github.com/jpsim/Yams.git", from: "5.0.1"), .package(url: "https://github.com/jpsim/Yams.git", from: "5.0.3"),
.package(url: "https://github.com/scottrhoyt/SwiftyTextTable.git", from: "0.9.0"), .package(url: "https://github.com/scottrhoyt/SwiftyTextTable.git", from: "0.9.0"),
.package(url: "https://github.com/JohnSundell/CollectionConcurrencyKit.git", from: "0.2.0") .package(url: "https://github.com/JohnSundell/CollectionConcurrencyKit.git", from: "0.2.0")
] + (addCryptoSwift ? [.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMinor(from: "1.6.0"))] : []), ] + (addCryptoSwift ? [.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMinor(from: "1.6.0"))] : []),

View File

@ -188,7 +188,7 @@ private extension SwiftDeclarationKind {
.functionMethodInstance, .functionMethodStatic, .functionOperator, .functionOperatorInfix, .functionMethodInstance, .functionMethodStatic, .functionOperator, .functionOperatorInfix,
.functionOperatorPostfix, .functionOperatorPrefix, .functionSubscript, .protocol, .opaqueType: .functionOperatorPostfix, .functionOperatorPrefix, .functionSubscript, .protocol, .opaqueType:
return true return true
case .class, .enum, .extension, .extensionClass, .extensionEnum, case .actor, .class, .enum, .extension, .extensionClass, .extensionEnum,
.extensionProtocol, .extensionStruct, .struct: .extensionProtocol, .extensionStruct, .struct:
return false return false
} }

View File

@ -15,15 +15,21 @@ load(
apple_rules_dependencies() apple_rules_dependencies()
http_archive(
name = "rules_swift",
sha256 = "84e2cc1c9e3593ae2c0aa4c773bceeb63c2d04c02a74a6e30c1961684d235593",
url = "https://github.com/bazelbuild/rules_swift/releases/download/1.5.1/rules_swift.1.5.1.tar.gz",
)
load( load(
"@build_bazel_rules_swift//swift:repositories.bzl", "@rules_swift//swift:repositories.bzl",
"swift_rules_dependencies", "swift_rules_dependencies",
) )
swift_rules_dependencies() swift_rules_dependencies()
load( load(
"@build_bazel_rules_swift//swift:extras.bzl", "@rules_swift//swift:extras.bzl",
"swift_rules_extra_dependencies", "swift_rules_extra_dependencies",
) )

View File

@ -4,9 +4,9 @@ def swiftlint_repos():
"""Fetches SwiftLint repositories""" """Fetches SwiftLint repositories"""
http_archive( http_archive(
name = "com_github_jpsim_sourcekitten", name = "com_github_jpsim_sourcekitten",
sha256 = "bb200a812f46caa58814a655140e5088225925179bf587901ac62a897341d179", sha256 = "7a38debb93ef11504f6b6a776be598095591fae7e128263754d041c5ada8e856",
strip_prefix = "SourceKitten-0.33.1", strip_prefix = "SourceKitten-0.34.0",
url = "https://github.com/jpsim/SourceKitten/archive/refs/tags/0.33.1.tar.gz", url = "https://github.com/jpsim/SourceKitten/archive/refs/tags/0.34.0.tar.gz",
) )
http_archive( http_archive(