Skip to content

Commit 67d21c3

Browse files
committedMay 12, 2023
Move WASM bindings to wasm folder
1 parent 243c061 commit 67d21c3

15 files changed

+28
-2
lines changed
 

‎Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
members = [
44
"core",
55
"python",
6-
"js"
6+
"wasm"
77
]
88

99
[profile.release]
File renamed without changes.

‎js/.gitignore ‎wasm/.gitignore

File renamed without changes.

‎js/Cargo.toml ‎wasm/Cargo.toml

File renamed without changes.

‎js/package.json ‎wasm/package.json

File renamed without changes.
File renamed without changes.
File renamed without changes.

‎js/scripts/tsconfig.json ‎wasm/scripts/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"moduleResolution": "node",
55
"strict": true,
66
"declaration": true,
7-
"allowSyntheticDefaultImports": true
7+
"allowSyntheticDefaultImports": true,
8+
"resolveJsonModule": true
89
},
910
"include": ["./**/*.ts"],
1011
"exclude": ["node_modules"]

‎js/src/init.ts ‎wasm/src/init.ts

File renamed without changes.

‎js/src/lib.rs ‎wasm/src/lib.rs

File renamed without changes.

‎js/src/load.ts ‎wasm/src/load.ts

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎js/yarn.lock ‎wasm/yarn.lock

+25
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@
2323
chalk "^2.0.0"
2424
js-tokens "^4.0.0"
2525

26+
"@babel/runtime-corejs3@^7.16.5":
27+
version "7.21.5"
28+
resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.21.5.tgz#a6d4e132ab1cb2fae2354f02284ebb6e07b4f7d8"
29+
integrity sha512-FRqFlFKNazWYykft5zvzuEl1YyTDGsIRrjV9rvxvYkUC7W/ueBng1X68Xd6uRMzAaJ0xMKn08/wem5YS1lpX8w==
30+
dependencies:
31+
core-js-pure "^3.25.1"
32+
regenerator-runtime "^0.13.11"
33+
2634
"@babel/runtime@^7.20.1", "@babel/runtime@^7.5.5":
2735
version "7.21.5"
2836
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.5.tgz#8492dddda9644ae3bda3b45eabe87382caee7200"
@@ -703,6 +711,11 @@ balanced-match@^1.0.0:
703711
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
704712
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
705713

714+
base64-js@^1.5.1:
715+
version "1.5.1"
716+
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
717+
integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
718+
706719
better-path-resolve@1.0.0:
707720
version "1.0.0"
708721
resolved "https://registry.yarnpkg.com/better-path-resolve/-/better-path-resolve-1.0.0.tgz#13a35a1104cdd48a7b74bf8758f96a1ee613f99d"
@@ -881,6 +894,11 @@ concat-map@0.0.1:
881894
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
882895
integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
883896

897+
core-js-pure@^3.25.1:
898+
version "3.30.2"
899+
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.30.2.tgz#005a82551f4af3250dcfb46ed360fad32ced114e"
900+
integrity sha512-p/npFUJXXBkCCTIlEGBdghofn00jWG6ZOtdoIXSJmAu2QBvN0IqpZXWweOytcwE6cfx8ZvVUy1vw8zxhe4Y2vg==
901+
884902
cross-spawn@^5.1.0:
885903
version "5.1.0"
886904
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
@@ -2699,6 +2717,13 @@ wrap-ansi@^7.0.0:
26992717
string-width "^4.1.0"
27002718
strip-ansi "^6.0.0"
27012719

2720+
xregexp@^5.1.1:
2721+
version "5.1.1"
2722+
resolved "https://registry.yarnpkg.com/xregexp/-/xregexp-5.1.1.tgz#6d3fe18819e3143aaf52f9284d34f49a59583ebb"
2723+
integrity sha512-fKXeVorD+CzWvFs7VBuKTYIW63YD1e1osxwQ8caZ6o1jg6pDAbABDG54LCIq0j5cy7PjRvGIq6sef9DYPXpncg==
2724+
dependencies:
2725+
"@babel/runtime-corejs3" "^7.16.5"
2726+
27022727
y18n@^4.0.0:
27032728
version "4.0.3"
27042729
resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf"

0 commit comments

Comments
 (0)
Please sign in to comment.