@ruby/wasm-wasi 2.4.1 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +69 -3
- package/dist/browser.script.umd.js +143 -110
- package/dist/browser.umd.js +1339 -1306
- package/dist/cjs/browser.d.ts +1 -1
- package/dist/cjs/browser.js +4 -3
- package/dist/cjs/index.d.ts +1 -195
- package/dist/cjs/index.js +2 -641
- package/dist/cjs/node.d.ts +1 -1
- package/dist/cjs/node.js +2 -2
- package/dist/cjs/vm.d.ts +216 -0
- package/dist/cjs/vm.js +677 -0
- package/dist/esm/browser.d.ts +1 -1
- package/dist/esm/browser.js +2 -1
- package/dist/esm/index.d.ts +1 -195
- package/dist/esm/index.js +1 -636
- package/dist/esm/node.d.ts +1 -1
- package/dist/esm/node.js +1 -1
- package/dist/esm/vm.d.ts +216 -0
- package/dist/esm/vm.js +669 -0
- package/dist/index.umd.js +1317 -1284
- package/package.json +7 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ruby/wasm-wasi",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "WebAssembly port of CRuby with WASI",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -40,14 +40,12 @@
|
|
|
40
40
|
"license": "MIT",
|
|
41
41
|
"scripts": {
|
|
42
42
|
"test:run": "npm run test:unit && npm run test:jest && npm run test:e2e",
|
|
43
|
-
"test:head": "RUBY_ROOT=../../../rubies/head-wasm32-unknown-wasi-full-js-debug npm run test:run",
|
|
44
|
-
"test": "npm run test:head",
|
|
45
43
|
"test:jest": "NODE_OPTIONS=\"--experimental-wasi-unstable-preview1\" jest --coverage",
|
|
46
44
|
"test:unit": "./tools/run-test-unit.mjs",
|
|
47
45
|
"test:e2e": "playwright install && npm run test:e2e:examples && npm run test:e2e:integrations",
|
|
48
46
|
"test:e2e:examples": "playwright test -c test-e2e/playwright.examples.config.ts",
|
|
49
47
|
"test:e2e:integrations": "playwright test -c test-e2e/playwright.integrations.config.ts",
|
|
50
|
-
"serve:example": "bundle exec ruby -run -e httpd ./example -p 8085",
|
|
48
|
+
"serve:example": "BUNDLE_GEMFILE=../../../Gemfile bundle exec ruby -run -e httpd ./example -p 8085",
|
|
51
49
|
"format": "prettier --write .",
|
|
52
50
|
"build:static": "./tools/pack-bindgen-src.sh ./dist",
|
|
53
51
|
"build:rollup": "rollup -c rollup.config.mjs",
|
|
@@ -56,11 +54,11 @@
|
|
|
56
54
|
},
|
|
57
55
|
"devDependencies": {
|
|
58
56
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
59
|
-
"@rollup/plugin-typescript": "^11.1.
|
|
60
|
-
"@types/jest": "^29.5.
|
|
61
|
-
"@types/node": "20.10.
|
|
62
|
-
"jest": "^29.
|
|
63
|
-
"prettier": "^3.
|
|
57
|
+
"@rollup/plugin-typescript": "^11.1.5",
|
|
58
|
+
"@types/jest": "^29.5.11",
|
|
59
|
+
"@types/node": "20.10.6",
|
|
60
|
+
"jest": "^29.7.0",
|
|
61
|
+
"prettier": "^3.1.1",
|
|
64
62
|
"@bjorn3/browser_wasi_shim": "^0.2.17",
|
|
65
63
|
"typescript": "^5.3.2"
|
|
66
64
|
},
|