Skip to content

Commit 5e12f78

Browse files
authored
Merge pull request #26 from GetAutomaApp/25-feature---remove-all-preconcurrency-import-statements
Remove @preconcurrency statements from imports
2 parents bbc3578 + 22ebea9 commit 5e12f78

File tree

5 files changed

+37
-10
lines changed

5 files changed

+37
-10
lines changed

Example/Package.resolved

+31-4
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"kind" : "remoteSourceControl",
2424
"location" : "https://github.com/GetAutomaApp/swift-any-codable.git",
2525
"state" : {
26-
"branch" : "main",
27-
"revision" : "7905b4c8bf6aaee39ba6bed715deee6a99839d1a"
26+
"revision" : "10e1be7ea48a0bc3a6eff01a117cc8cafd4dd0e2",
27+
"version" : "1.0.2"
2828
}
2929
},
3030
{
@@ -45,6 +45,24 @@
4545
"version" : "1.1.4"
4646
}
4747
},
48+
{
49+
"identity" : "swift-http-structured-headers",
50+
"kind" : "remoteSourceControl",
51+
"location" : "https://github.com/apple/swift-http-structured-headers.git",
52+
"state" : {
53+
"revision" : "8e769facea6b7d46ea60e5e93635a384fd573480",
54+
"version" : "1.2.1"
55+
}
56+
},
57+
{
58+
"identity" : "swift-http-types",
59+
"kind" : "remoteSourceControl",
60+
"location" : "https://github.com/apple/swift-http-types.git",
61+
"state" : {
62+
"revision" : "ef18d829e8b92d731ad27bb81583edd2094d1ce3",
63+
"version" : "1.3.1"
64+
}
65+
},
4866
{
4967
"identity" : "swift-log",
5068
"kind" : "remoteSourceControl",
@@ -68,8 +86,8 @@
6886
"kind" : "remoteSourceControl",
6987
"location" : "https://github.com/apple/swift-nio-extras.git",
7088
"state" : {
71-
"revision" : "fb70a0f5e984f23be48b11b4f1909f3bee016178",
72-
"version" : "1.19.1"
89+
"revision" : "00f3f72d2f9942d0e2dc96057ab50a37ced150d4",
90+
"version" : "1.25.0"
7391
}
7492
},
7593
{
@@ -116,6 +134,15 @@
116134
"revision" : "a34201439c74b53f0fd71ef11741af7e7caf01e1",
117135
"version" : "1.4.2"
118136
}
137+
},
138+
{
139+
"identity" : "swiftwebdriver",
140+
"kind" : "remoteSourceControl",
141+
"location" : "https://github.com/GetAutomaApp/SwiftWebDriver.git",
142+
"state" : {
143+
"revision" : "bbc35781fe30bfaa1dc8ca57fb3eb7c603bf6583",
144+
"version" : "0.2.1"
145+
}
119146
}
120147
],
121148
"version" : 2

Example/Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let package = Package(
99
.macOS(.v12),
1010
],
1111
dependencies: [
12-
.package(name: "SwiftWebDriver", path: "../"),
12+
.package(url: "https://github.com/GetAutomaApp/SwiftWebDriver.git", from: "0.2.0")
1313
],
1414
targets: [
1515
.executableTarget(

Package.resolved

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"originHash" : "991c442680adc239891b03e66c20788a5c85d7ceb2fe27ef352a9002f745bec7",
2+
"originHash" : "d4a26a5c94eaff56111cd94951b6d365f68202f4571faf25c762433afc21823c",
33
"pins" : [
44
{
55
"identity" : "async-http-client",
@@ -24,8 +24,8 @@
2424
"kind" : "remoteSourceControl",
2525
"location" : "https://github.com/GetAutomaApp/swift-any-codable.git",
2626
"state" : {
27-
"branch" : "main",
28-
"revision" : "10e1be7ea48a0bc3a6eff01a117cc8cafd4dd0e2"
27+
"revision" : "10e1be7ea48a0bc3a6eff01a117cc8cafd4dd0e2",
28+
"version" : "1.0.2"
2929
}
3030
},
3131
{

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Adding the dependency
1616
Add the following entry in your Package.swift to start using SwiftWebDriver:
1717

1818
```swift
19-
.package(url: "https://github.com/GetAutomaApp/SwiftWebDriver.git", branch: "master)
19+
.package(url: "https://github.com/GetAutomaApp/SwiftWebDriver.git", branch: "master")
2020
```
2121

2222
and add dependency to your target:

Sources/SwiftWebDriver/API/APIClient.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import AsyncHTTPClient
1010
import Foundation
1111
import NIO
1212
import NIOFoundationCompat
13-
@preconcurrency import NIOHTTP1
13+
import NIOHTTP1
1414

1515
enum APIResponseError: Error, Codable {
1616
case massage

0 commit comments

Comments
 (0)