@ruby/4.0-wasm-wasi 2.8.1-2025-12-30-a

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.
Binary file
Binary file
package/dist/ruby.wasm ADDED
Binary file
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@ruby/4.0-wasm-wasi",
3
+ "version": "2.8.1-2025-12-30-a",
4
+ "description": "Ruby 4.0 built on WASI",
5
+ "main": "./dist/cjs/index.js",
6
+ "module": "./dist/esm/index.js",
7
+ "exports": {
8
+ ".": {
9
+ "browser": "./dist/esm/index.js",
10
+ "umd": "./dist/umd/index.js",
11
+ "import": "./dist/esm/index.js",
12
+ "require": "./dist/cjs/index.js"
13
+ },
14
+ "./dist/*": {
15
+ "browser": "./dist/esm/*.js",
16
+ "umd": "./dist/umd/*.js",
17
+ "import": "./dist/esm/*.js",
18
+ "require": "./dist/cjs/*.js"
19
+ },
20
+ "./dist/*.wasm": {
21
+ "browser": "./dist/*.wasm",
22
+ "umd": "./dist/*.wasm",
23
+ "import": "./dist/*.wasm",
24
+ "require": "./dist/*.wasm"
25
+ }
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "README.md"
30
+ ],
31
+ "scripts": {
32
+ "test": "RUBY_NPM_PACKAGE_ROOT=../ruby-4.0-wasm-wasi npm -C ../ruby-wasm-wasi run test:run",
33
+ "build:deps": "cd ../ruby-wasm-wasi && npm run build",
34
+ "build:static:files": "../ruby-wasm-wasi/tools/pack-static-files.sh ./dist",
35
+ "build:static:compat": "../ruby-wasm-wasi/tools/pack-compat-shim.mjs --dist=./dist --pkg=ruby-4.0-wasm-wasi",
36
+ "build:static": "npm run build:static:files && npm run build:static:compat",
37
+ "build:rollup": "rollup -c rollup.config.mjs",
38
+ "build": "npm run build:deps && npm run build:static && npm run build:rollup && ../ruby-wasm-wasi/tools/post-build.sh ./dist"
39
+ },
40
+ "repository": "https://github.com/ruby/ruby.wasm",
41
+ "homepage": "https://github.com/ruby/ruby.wasm/tree/main/packages/npm-packages/ruby-4.0-wasm-wasi",
42
+ "publishConfig": {
43
+ "access": "public"
44
+ },
45
+ "keywords": [
46
+ "wasm",
47
+ "webassembly",
48
+ "wasi",
49
+ "ruby"
50
+ ],
51
+ "license": "MIT",
52
+ "dependencies": {
53
+ "@ruby/wasm-wasi": "2.8.1-2025-12-30-a"
54
+ }
55
+ }