unwasm 0.3.10 → 0.3.11
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/dist/tools.cjs +36 -3
- package/dist/tools.mjs +36 -3
- package/package.json +3 -1
package/dist/tools.cjs
CHANGED
|
@@ -2988,7 +2988,7 @@ var require_signatures = __commonJS({
|
|
|
2988
2988
|
}
|
|
2989
2989
|
});
|
|
2990
2990
|
var require_section = __commonJS({
|
|
2991
|
-
"node_modules/.pnpm/@webassemblyjs+helper-wasm-bytecode@1.14.
|
|
2991
|
+
"node_modules/.pnpm/@webassemblyjs+helper-wasm-bytecode@1.14.1_patch_hash=339774429611ed34bc80bc6bbe80b2e7a85c850a1f7612f4e8d36151bf486101/node_modules/@webassemblyjs/helper-wasm-bytecode/lib/section.js"(exports) {
|
|
2992
2992
|
Object.defineProperty(exports, "__esModule", {
|
|
2993
2993
|
value: true
|
|
2994
2994
|
});
|
|
@@ -3020,7 +3020,7 @@ var require_section = __commonJS({
|
|
|
3020
3020
|
}
|
|
3021
3021
|
});
|
|
3022
3022
|
var require_lib6 = __commonJS({
|
|
3023
|
-
"node_modules/.pnpm/@webassemblyjs+helper-wasm-bytecode@1.14.
|
|
3023
|
+
"node_modules/.pnpm/@webassemblyjs+helper-wasm-bytecode@1.14.1_patch_hash=339774429611ed34bc80bc6bbe80b2e7a85c850a1f7612f4e8d36151bf486101/node_modules/@webassemblyjs/helper-wasm-bytecode/lib/index.js"(exports) {
|
|
3024
3024
|
Object.defineProperty(exports, "__esModule", {
|
|
3025
3025
|
value: true
|
|
3026
3026
|
});
|
|
@@ -3400,7 +3400,40 @@ var require_lib6 = __commonJS({
|
|
|
3400
3400
|
65099: createSymbolObject("atomic.rmw16_u.cmpxchg_u", "i32", 1),
|
|
3401
3401
|
65100: createSymbolObject("atomic.rmw8_u.cmpxchg_u", "i64", 1),
|
|
3402
3402
|
65101: createSymbolObject("atomic.rmw16_u.cmpxchg_u", "i64", 1),
|
|
3403
|
-
65102: createSymbolObject("atomic.rmw32_u.cmpxchg_u", "i64", 1)
|
|
3403
|
+
65102: createSymbolObject("atomic.rmw32_u.cmpxchg_u", "i64", 1),
|
|
3404
|
+
// FC (misc prefix) — saturating trunc + bulk-mem
|
|
3405
|
+
64519: createSymbolObject("trunc_sat_f64_u", "i64", 0),
|
|
3406
|
+
// i64.trunc_sat_f64_u
|
|
3407
|
+
64515: createSymbolObject("trunc_sat_f64_u", "i32", 0),
|
|
3408
|
+
// i32.trunc_sat_f64_u
|
|
3409
|
+
64518: createSymbolObject("trunc_sat_f64_s", "i64", 0),
|
|
3410
|
+
// i64.trunc_sat_f64_s
|
|
3411
|
+
// Core + Exception Handling (EH) proposal
|
|
3412
|
+
0: createSymbolObject("unreachable", "void", 0),
|
|
3413
|
+
6: createSymbolObject("try", "block", 1),
|
|
3414
|
+
// blocktype immediate
|
|
3415
|
+
7: createSymbolObject("catch", "tag", 1),
|
|
3416
|
+
// tagidx immediate
|
|
3417
|
+
8: createSymbolObject("throw", "tag", 1),
|
|
3418
|
+
// tagidx immediate
|
|
3419
|
+
10: createSymbolObject("throw_ref", "exnref", 0),
|
|
3420
|
+
// rethrow from stack (no immediate)
|
|
3421
|
+
12: createSymbolObject("br", "label", 1),
|
|
3422
|
+
// labelidx immediate
|
|
3423
|
+
24: createSymbolObject("delegate", "label", 1),
|
|
3424
|
+
// labelidx immediate
|
|
3425
|
+
// The following single-byte opcodes are NOT assigned in core, and not valid
|
|
3426
|
+
// single-byte encodings for SIMD/atomics/gc either (those use FD/FE/FB/FC prefixes):
|
|
3427
|
+
232: illegalop,
|
|
3428
|
+
247: illegalop,
|
|
3429
|
+
246: illegalop,
|
|
3430
|
+
245: illegalop,
|
|
3431
|
+
// Same here — these single-byte values don’t correspond to any standardized core/EH op:
|
|
3432
|
+
198: illegalop,
|
|
3433
|
+
203: illegalop,
|
|
3434
|
+
207: illegalop,
|
|
3435
|
+
219: illegalop,
|
|
3436
|
+
220: illegalop
|
|
3404
3437
|
};
|
|
3405
3438
|
var symbolsByName = invertMap(symbolsByByte, function(obj) {
|
|
3406
3439
|
if (typeof obj.object === "string") {
|
package/dist/tools.mjs
CHANGED
|
@@ -2986,7 +2986,7 @@ var require_signatures = __commonJS({
|
|
|
2986
2986
|
}
|
|
2987
2987
|
});
|
|
2988
2988
|
var require_section = __commonJS({
|
|
2989
|
-
"node_modules/.pnpm/@webassemblyjs+helper-wasm-bytecode@1.14.
|
|
2989
|
+
"node_modules/.pnpm/@webassemblyjs+helper-wasm-bytecode@1.14.1_patch_hash=339774429611ed34bc80bc6bbe80b2e7a85c850a1f7612f4e8d36151bf486101/node_modules/@webassemblyjs/helper-wasm-bytecode/lib/section.js"(exports) {
|
|
2990
2990
|
Object.defineProperty(exports, "__esModule", {
|
|
2991
2991
|
value: true
|
|
2992
2992
|
});
|
|
@@ -3018,7 +3018,7 @@ var require_section = __commonJS({
|
|
|
3018
3018
|
}
|
|
3019
3019
|
});
|
|
3020
3020
|
var require_lib6 = __commonJS({
|
|
3021
|
-
"node_modules/.pnpm/@webassemblyjs+helper-wasm-bytecode@1.14.
|
|
3021
|
+
"node_modules/.pnpm/@webassemblyjs+helper-wasm-bytecode@1.14.1_patch_hash=339774429611ed34bc80bc6bbe80b2e7a85c850a1f7612f4e8d36151bf486101/node_modules/@webassemblyjs/helper-wasm-bytecode/lib/index.js"(exports) {
|
|
3022
3022
|
Object.defineProperty(exports, "__esModule", {
|
|
3023
3023
|
value: true
|
|
3024
3024
|
});
|
|
@@ -3398,7 +3398,40 @@ var require_lib6 = __commonJS({
|
|
|
3398
3398
|
65099: createSymbolObject("atomic.rmw16_u.cmpxchg_u", "i32", 1),
|
|
3399
3399
|
65100: createSymbolObject("atomic.rmw8_u.cmpxchg_u", "i64", 1),
|
|
3400
3400
|
65101: createSymbolObject("atomic.rmw16_u.cmpxchg_u", "i64", 1),
|
|
3401
|
-
65102: createSymbolObject("atomic.rmw32_u.cmpxchg_u", "i64", 1)
|
|
3401
|
+
65102: createSymbolObject("atomic.rmw32_u.cmpxchg_u", "i64", 1),
|
|
3402
|
+
// FC (misc prefix) — saturating trunc + bulk-mem
|
|
3403
|
+
64519: createSymbolObject("trunc_sat_f64_u", "i64", 0),
|
|
3404
|
+
// i64.trunc_sat_f64_u
|
|
3405
|
+
64515: createSymbolObject("trunc_sat_f64_u", "i32", 0),
|
|
3406
|
+
// i32.trunc_sat_f64_u
|
|
3407
|
+
64518: createSymbolObject("trunc_sat_f64_s", "i64", 0),
|
|
3408
|
+
// i64.trunc_sat_f64_s
|
|
3409
|
+
// Core + Exception Handling (EH) proposal
|
|
3410
|
+
0: createSymbolObject("unreachable", "void", 0),
|
|
3411
|
+
6: createSymbolObject("try", "block", 1),
|
|
3412
|
+
// blocktype immediate
|
|
3413
|
+
7: createSymbolObject("catch", "tag", 1),
|
|
3414
|
+
// tagidx immediate
|
|
3415
|
+
8: createSymbolObject("throw", "tag", 1),
|
|
3416
|
+
// tagidx immediate
|
|
3417
|
+
10: createSymbolObject("throw_ref", "exnref", 0),
|
|
3418
|
+
// rethrow from stack (no immediate)
|
|
3419
|
+
12: createSymbolObject("br", "label", 1),
|
|
3420
|
+
// labelidx immediate
|
|
3421
|
+
24: createSymbolObject("delegate", "label", 1),
|
|
3422
|
+
// labelidx immediate
|
|
3423
|
+
// The following single-byte opcodes are NOT assigned in core, and not valid
|
|
3424
|
+
// single-byte encodings for SIMD/atomics/gc either (those use FD/FE/FB/FC prefixes):
|
|
3425
|
+
232: illegalop,
|
|
3426
|
+
247: illegalop,
|
|
3427
|
+
246: illegalop,
|
|
3428
|
+
245: illegalop,
|
|
3429
|
+
// Same here — these single-byte values don’t correspond to any standardized core/EH op:
|
|
3430
|
+
198: illegalop,
|
|
3431
|
+
203: illegalop,
|
|
3432
|
+
207: illegalop,
|
|
3433
|
+
219: illegalop,
|
|
3434
|
+
220: illegalop
|
|
3402
3435
|
};
|
|
3403
3436
|
var symbolsByName = invertMap(symbolsByByte, function(obj) {
|
|
3404
3437
|
if (typeof obj.object === "string") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unwasm",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.11",
|
|
4
4
|
"description": "WebAssembly tools for JavaScript",
|
|
5
5
|
"repository": "unjs/unwasm",
|
|
6
6
|
"license": "MIT",
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"unplugin": "^2.3.6"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
+
"@prisma/client": "^6.14.0",
|
|
59
60
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
60
61
|
"@types/node": "^24.3.0",
|
|
61
62
|
"@vitest/coverage-v8": "^3.2.4",
|
|
@@ -66,6 +67,7 @@
|
|
|
66
67
|
"esbuild": "^0.25.9",
|
|
67
68
|
"eslint": "^9.33.0",
|
|
68
69
|
"eslint-config-unjs": "^0.5.0",
|
|
70
|
+
"exsolve": "^1.0.7",
|
|
69
71
|
"jiti": "^2.5.1",
|
|
70
72
|
"miniflare": "^4.20250813.1",
|
|
71
73
|
"prettier": "^3.6.2",
|