Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Commit

Permalink
Swift version bumped up to 5.6
Browse files Browse the repository at this point in the history
Since this is the first version to officially make Swift Package Plugins available. Also, fix for type inference error
  • Loading branch information
jhonatn committed Jul 28, 2022
1 parent 42c6b6c commit 3656ad1
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 51 deletions.
96 changes: 47 additions & 49 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,52 +1,50 @@
{
"object": {
"pins": [
{
"package": "SourceKitten",
"repositoryURL": "https://github.com/jpsim/SourceKitten.git",
"state": {
"branch": null,
"revision": "817dfa6f2e09b0476f3a6c9dbc035991f02f0241",
"version": "0.32.0"
}
},
{
"package": "swift-argument-parser",
"repositoryURL": "https://github.com/apple/swift-argument-parser.git",
"state": {
"branch": null,
"revision": "df9ee6676cd5b3bf5b330ec7568a5644f547201b",
"version": "1.1.3"
}
},
{
"package": "SWXMLHash",
"repositoryURL": "https://github.com/drmohundro/SWXMLHash.git",
"state": {
"branch": null,
"revision": "6469881a3f30417c5bb02404ea4b69207f297592",
"version": "6.0.0"
}
},
{
"package": "XcodeIssueReporting",
"repositoryURL": "https://github.com/baguio/XcodeIssueReporting",
"state": {
"branch": null,
"revision": "81e902f09fb9081240bb446a4d4549cce76b9362",
"version": "1.3.0"
}
},
{
"package": "Yams",
"repositoryURL": "https://github.com/jpsim/Yams.git",
"state": {
"branch": null,
"revision": "9ff1cc9327586db4e0c8f46f064b6a82ec1566fa",
"version": "4.0.6"
}
"pins" : [
{
"identity" : "sourcekitten",
"kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/SourceKitten.git",
"state" : {
"revision" : "817dfa6f2e09b0476f3a6c9dbc035991f02f0241",
"version" : "0.32.0"
}
]
},
"version": 1
},
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser.git",
"state" : {
"revision" : "df9ee6676cd5b3bf5b330ec7568a5644f547201b",
"version" : "1.1.3"
}
},
{
"identity" : "swxmlhash",
"kind" : "remoteSourceControl",
"location" : "https://github.com/drmohundro/SWXMLHash.git",
"state" : {
"revision" : "6469881a3f30417c5bb02404ea4b69207f297592",
"version" : "6.0.0"
}
},
{
"identity" : "xcodeissuereporting",
"kind" : "remoteSourceControl",
"location" : "https://github.com/baguio/XcodeIssueReporting",
"state" : {
"revision" : "6df15f8267a92ae33b6d79f850ae9d53dd864f56",
"version" : "1.4.0"
}
},
{
"identity" : "yams",
"kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/Yams.git",
"state" : {
"revision" : "9ff1cc9327586db4e0c8f46f064b6a82ec1566fa",
"version" : "4.0.6"
}
}
],
"version" : 2
}
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.5
// swift-tools-version: 5.6

import PackageDescription

Expand Down
2 changes: 1 addition & 1 deletion Sources/SafeURLLintFramework/SafeURLLintFramework.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class SafeURLKit {

let urlDeclarations: [SourceKittenSubstructure] = skd.flatten().compactMap { "URL" == $0.name ? $0.substructure : nil }

let allViolations: [RawLintViolation] = urlDeclarations.flatMap { urlInit in
let allViolations: [RawLintViolation] = urlDeclarations.flatMap { urlInit -> [RawLintViolation] in
var declarationViolations: [RawLintViolation] = []

guard
Expand Down

0 comments on commit 3656ad1

Please sign in to comment.