Skip to content

Commit f6f0fed

Browse files
committed
Bump JSKit, fix BigInt support
1 parent dfa88a7 commit f6f0fed

File tree

144 files changed

+2533
-7620
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+2533
-7620
lines changed

Package.resolved

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"repositoryURL": "https://github.com/swiftwasm/JavaScriptKit.git",
77
"state": {
88
"branch": "main",
9-
"revision": "95d0c4cd78b48ffc7e19c618d57c3244917be09a",
9+
"revision": "384ef252c70bd0b9988e1cef95b416e6ed48d82f",
1010
"version": null
1111
}
1212
}

Package.swift

+15-7
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,43 @@ let package = Package(
88
products: [
99
.executable(
1010
name: "DOMKitDemo",
11-
targets: ["DOMKitDemo"]),
11+
targets: ["DOMKitDemo"]
12+
),
1213
.library(
1314
name: "DOMKit",
14-
targets: ["DOMKit"]),
15+
targets: ["DOMKit"]
16+
),
1517
.library(name: "WebIDL", targets: ["WebIDL"]),
1618
.executable(name: "WebIDLToSwift", targets: ["WebIDLToSwift"]),
1719
],
1820
dependencies: [
1921
.package(
2022
url: "https://github.com/swiftwasm/JavaScriptKit.git",
21-
.branch("main")),
23+
.branch("main")
24+
),
2225
],
2326
targets: [
2427
.target(
2528
name: "DOMKitDemo",
26-
dependencies: ["DOMKit"]),
29+
dependencies: ["DOMKit"]
30+
),
2731
.target(
2832
name: "DOMKit",
2933
dependencies: ["ECMAScript", "JavaScriptKit", .product(name: "JavaScriptEventLoop", package: "JavaScriptKit")]),
3034
// This support library should be moved to JavaScriptKit
3135
.target(name: "ECMAScript", dependencies: [
3236
"JavaScriptKit",
33-
.product(name: "JavaScriptEventLoop", package: "JavaScriptKit")]),
37+
.product(name: "JavaScriptEventLoop", package: "JavaScriptKit"),
38+
.product(name: "JavaScriptBigIntSupport", package: "JavaScriptKit"),
39+
]),
3440
.target(name: "WebIDL"),
3541
.target(
3642
name: "WebIDLToSwift",
37-
dependencies: ["WebIDL"]),
43+
dependencies: ["WebIDL"]
44+
),
3845
.testTarget(
3946
name: "DOMKitTests",
40-
dependencies: ["DOMKit"]),
47+
dependencies: ["DOMKit"]
48+
),
4149
]
4250
)

0 commit comments

Comments
 (0)