@ruby/wasm-wasi 2.7.0 → 2.7.1-2025-01-25-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.
package/README.md CHANGED
@@ -11,6 +11,7 @@ See [Cheat Sheet](https://github.com/ruby/ruby.wasm/blob/main/docs/cheat_sheet.m
11
11
  | Version | Package |
12
12
  | ------- | --------------------------------------------------------------------------------------------------------------- |
13
13
  | `head` | [`@ruby/head-wasm-wasi`](https://github.com/ruby/ruby.wasm/tree/main/packages/npm-packages/ruby-head-wasm-wasi) |
14
+ | `3.4` | [`@ruby/3.4-wasm-wasi`](https://github.com/ruby/ruby.wasm/tree/main/packages/npm-packages/ruby-3.4-wasm-wasi) |
14
15
  | `3.3` | [`@ruby/3.3-wasm-wasi`](https://github.com/ruby/ruby.wasm/tree/main/packages/npm-packages/ruby-3.3-wasm-wasi) |
15
16
  | `3.2` | [`@ruby/3.2-wasm-wasi`](https://github.com/ruby/ruby.wasm/tree/main/packages/npm-packages/ruby-3.2-wasm-wasi) |
16
17
 
@@ -1,4 +1,4 @@
1
- export function data_view(mem: any): DataView;
1
+ export function data_view(mem: any): DataView<ArrayBuffer>;
2
2
  export function to_uint32(val: any): number;
3
3
  export function utf8_encode(s: any, realloc: any, memory: any): number;
4
4
  export function throw_invalid_bool(): void;
@@ -1,4 +1,4 @@
1
- export function data_view(mem: any): DataView;
1
+ export function data_view(mem: any): DataView<ArrayBuffer>;
2
2
  export function to_uint32(val: any): number;
3
3
  export function utf8_encode(s: any, realloc: any, memory: any): number;
4
4
  export function throw_invalid_bool(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruby/wasm-wasi",
3
- "version": "2.7.0",
3
+ "version": "2.7.1-2025-01-25-a",
4
4
  "description": "WebAssembly port of CRuby with WASI",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -49,20 +49,19 @@
49
49
  "format": "prettier --write .",
50
50
  "build:static": "./tools/pack-bindgen-src.rb ./dist",
51
51
  "build:rollup": "rollup -c rollup.config.mjs",
52
- "build:tsc": "tsc -p tsconfig.json && tsc -p tsconfig.cjs.json",
52
+ "build:tsc": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json",
53
53
  "build": "npm run build:rollup && npm run build:tsc && npm run build:static && ./tools/post-build.sh ./dist"
54
54
  },
55
55
  "devDependencies": {
56
- "@bytecodealliance/jco": "1.4.4",
57
- "@rollup/plugin-node-resolve": "^15.3.0",
58
- "@rollup/plugin-typescript": "^11.1.6",
59
- "@types/node": "22.7.4",
60
- "prettier": "^3.3.3",
61
- "typescript": "^5.6.3",
62
- "vitest": "^2.0.5"
56
+ "@bytecodealliance/jco": "1.8.1",
57
+ "@rollup/plugin-typescript": "^12.1.1",
58
+ "@types/node": "22.10.1",
59
+ "prettier": "^3.4.1",
60
+ "typescript": "^5.7.2",
61
+ "vitest": "^2.1.6"
63
62
  },
64
63
  "dependencies": {
65
64
  "@bjorn3/browser_wasi_shim": "^0.3.0",
66
- "tslib": "^2.7.0"
65
+ "tslib": "^2.8.1"
67
66
  }
68
67
  }