44import  PackageDescription
55
66#if os(Linux) 
7- let  dependencies :  [ PackageDescription . Package . Dependency ]  =  [ 
8-     // URLSession on Linux is notoriously unreliable and freezes, so this is used instead (only for Linux)
9-     . package ( url:  " https://github.com/swift-server/async-http-client.git " ,  from:  " 1.22.0 " ) , 
7+      let  dependencies :  [ PackageDescription . Package . Dependency ]  =  [ 
8+          // URLSession on Linux is notoriously unreliable and freezes, so this is used instead (only for Linux)
9+          . package ( url:  " https://github.com/swift-server/async-http-client.git " ,  from:  " 1.22.0 " ) , 
1010
11-     // SwiftSoup is used to parse the HTML tree
12-     . package ( url:  " https://github.com/scinfu/SwiftSoup.git " ,  from:  " 2.3.7  " ) 
13- ] 
11+          // SwiftSoup is used to parse the HTML tree
12+          . package ( url:  " https://github.com/scinfu/SwiftSoup.git " ,  from:  " 2.9.5  " ) , 
13+      ] 
1414
15- let  targetDependencies :  [ Target . Dependency ]  =  [ 
16-     " SwiftSoup " , 
17-     . product( name:  " AsyncHTTPClient " ,  package :  " async-http-client " ) 
18- ] 
15+      let  targetDependencies :  [ Target . Dependency ]  =  [ 
16+          " SwiftSoup " , 
17+          . product( name:  " AsyncHTTPClient " ,  package :  " async-http-client " ) , 
18+      ] 
1919
20- let  plugins :  [ Target . PluginUsage ]  =  [ 
20+      let  plugins :  [ Target . PluginUsage ]  =  [ 
2121
22- ] 
22+          ] 
2323
2424#else 
25- let  dependencies :  [ PackageDescription . Package . Dependency ]  =  [ 
26-     // SwiftSoup is used to parse the HTML tree
27-     . package ( url:  " https://github.com/scinfu/SwiftSoup.git " ,  from:  " 2.3.7  " ) , 
28-     . package ( url:  " https://github.com/apple/swift-docc-plugin " ,  from:  " 1.4.3 " ) 
29- ] 
25+      let  dependencies :  [ PackageDescription . Package . Dependency ]  =  [ 
26+          // SwiftSoup is used to parse the HTML tree
27+          . package ( url:  " https://github.com/scinfu/SwiftSoup.git " ,  from:  " 2.9.5  " ) , 
28+          . package ( url:  " https://github.com/apple/swift-docc-plugin " ,  from:  " 1.4.3 " ) , 
29+      ] 
3030
31- let  targetDependencies :  [ Target . Dependency ]  =  [ 
32-     " SwiftSoup " 
33- ] 
31+      let  targetDependencies :  [ Target . Dependency ]  =  [ 
32+          " SwiftSoup " 
33+      ] 
3434
35- let  plugins :  [ Target . PluginUsage ]  =  [ 
35+      let  plugins :  [ Target . PluginUsage ]  =  [ 
3636
37- ] 
37+          ] 
3838
3939#endif 
4040
@@ -44,7 +44,7 @@ let package = Package(
4444        . iOS( . v18) , 
4545        . macOS( . v12) , 
4646        . watchOS( . v8) , 
47-         . tvOS( . v15) 
47+         . tvOS( . v15) , 
4848    ] , 
4949    products:  [ 
5050        . library( 
@@ -68,6 +68,6 @@ let package = Package(
6868                " FaviconFinder " 
6969            ] , 
7070            plugins:  plugins
71-         ) 
71+         ) , 
7272    ] 
7373) 
0 commit comments