Skip to content

Commit

Permalink
Update dependencies (realm#4702)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsim authored Jan 17, 2023
1 parent fbd9f16 commit dc228d5
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 15 deletions.
12 changes: 6 additions & 6 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/SourceKitten.git",
"state" : {
"revision" : "fc12c0f182c5cf80781dd933b17a82eb98bd7c61",
"version" : "0.33.1"
"revision" : "f403b5cdbaa1748fe74da47915013fe058166e03",
"version" : "0.34.0"
}
},
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser.git",
"state" : {
"revision" : "fddd1c00396eed152c45a46bea9f47b98e59301d",
"version" : "1.2.0"
"revision" : "4ad606ba5d7673ea60679a61ff867cc1ff8c8e86",
"version" : "1.2.1"
}
},
{
Expand Down Expand Up @@ -59,8 +59,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/Yams.git",
"state" : {
"revision" : "01835dc202670b5bb90d07f3eae41867e9ed29f6",
"version" : "5.0.1"
"revision" : "c7facc5ccb8c5a4577ea8c491aa875762cdee57a",
"version" : "5.0.3"
}
}
],
Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ let package = Package(
.plugin(name: "SwiftLintPlugin", targets: ["SwiftLintPlugin"])
],
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/jpsim/SourceKitten.git", .upToNextMinor(from: "0.33.1")),
.package(url: "https://github.com/jpsim/Yams.git", from: "5.0.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.3"),
.package(url: "https://github.com/scottrhoyt/SwiftyTextTable.git", from: "0.9.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"))] : []),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ private extension SwiftDeclarationKind {
.functionMethodInstance, .functionMethodStatic, .functionOperator, .functionOperatorInfix,
.functionOperatorPostfix, .functionOperatorPrefix, .functionSubscript, .protocol, .opaqueType:
return true
case .class, .enum, .extension, .extensionClass, .extensionEnum,
case .actor, .class, .enum, .extension, .extensionClass, .extensionEnum,
.extensionProtocol, .extensionStruct, .struct:
return false
}
Expand Down
10 changes: 8 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,21 @@ load(

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(
"@build_bazel_rules_swift//swift:repositories.bzl",
"@rules_swift//swift:repositories.bzl",
"swift_rules_dependencies",
)

swift_rules_dependencies()

load(
"@build_bazel_rules_swift//swift:extras.bzl",
"@rules_swift//swift:extras.bzl",
"swift_rules_extra_dependencies",
)

Expand Down
6 changes: 3 additions & 3 deletions bazel/repos.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ def swiftlint_repos():
"""Fetches SwiftLint repositories"""
http_archive(
name = "com_github_jpsim_sourcekitten",
sha256 = "bb200a812f46caa58814a655140e5088225925179bf587901ac62a897341d179",
strip_prefix = "SourceKitten-0.33.1",
url = "https://github.com/jpsim/SourceKitten/archive/refs/tags/0.33.1.tar.gz",
sha256 = "7a38debb93ef11504f6b6a776be598095591fae7e128263754d041c5ada8e856",
strip_prefix = "SourceKitten-0.34.0",
url = "https://github.com/jpsim/SourceKitten/archive/refs/tags/0.34.0.tar.gz",
)

http_archive(
Expand Down

0 comments on commit dc228d5

Please sign in to comment.