virtual-machine 0.6.1 → 0.7.1
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/build/{chunk-TLFYUSLI.mjs → chunk-7Y22NTAH.mjs} +21 -17
- package/build/cli.js +173 -20
- package/build/index.d.ts +4 -4
- package/build/index.js +22 -18
- package/build/index.mjs +3 -3
- package/build/node-worker.js +22 -18
- package/build/{riscv_vm-AZ56AENZ.mjs → riscv_vm-TIKGPDVD.mjs} +1 -1
- package/build/worker.js +22 -18
- package/native/index.mjs +1 -0
- package/native/riscv-vm-native.darwin-arm64.node +0 -0
- package/native/riscv-vm-native.darwin-x64.node +0 -0
- package/native/riscv-vm-native.linux-arm64-gnu.node +0 -0
- package/native/riscv-vm-native.linux-arm64-musl.node +0 -0
- package/native/riscv-vm-native.linux-x64-gnu.node +0 -0
- package/native/riscv-vm-native.linux-x64-musl.node +0 -0
- package/native/riscv-vm-native.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
|
@@ -217,18 +217,18 @@ if (!("encodeInto" in cachedTextEncoder)) {
|
|
|
217
217
|
};
|
|
218
218
|
}
|
|
219
219
|
var WASM_VECTOR_LEN = 0;
|
|
220
|
-
function
|
|
221
|
-
wasm.
|
|
220
|
+
function wasm_bindgen__convert__closures_____invoke__haa1a35ae0470100f(arg0, arg1, arg2) {
|
|
221
|
+
wasm.wasm_bindgen__convert__closures_____invoke__haa1a35ae0470100f(arg0, arg1, arg2);
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
wasm.
|
|
225
|
-
}
|
|
226
|
-
function wasm_bindgen__convert__closures_____invoke__h20a85f71b48448ef(arg0, arg1) {
|
|
227
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h20a85f71b48448ef(arg0, arg1);
|
|
223
|
+
function wasm_bindgen__convert__closures_____invoke__h21398a37e136b0cc(arg0, arg1) {
|
|
224
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h21398a37e136b0cc(arg0, arg1);
|
|
228
225
|
}
|
|
229
226
|
function wasm_bindgen__convert__closures_____invoke__h260170fb96639bcf(arg0, arg1, arg2) {
|
|
230
227
|
wasm.wasm_bindgen__convert__closures_____invoke__h260170fb96639bcf(arg0, arg1, arg2);
|
|
231
228
|
}
|
|
229
|
+
function wasm_bindgen__convert__closures_____invoke__h48d4812d15fc4372(arg0, arg1) {
|
|
230
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h48d4812d15fc4372(arg0, arg1);
|
|
231
|
+
}
|
|
232
232
|
var __wbindgen_enum_WorkerType = ["classic", "module"];
|
|
233
233
|
var WasmVmFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
|
234
234
|
}, unregister: () => {
|
|
@@ -1326,6 +1326,10 @@ function __wbg_get_imports() {
|
|
|
1326
1326
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1327
1327
|
return ret;
|
|
1328
1328
|
};
|
|
1329
|
+
imports.wbg.__wbg_new_with_byte_offset_and_length_64f401264fcb4b51 = function(arg0, arg1, arg2) {
|
|
1330
|
+
const ret = new Int32Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1331
|
+
return ret;
|
|
1332
|
+
};
|
|
1329
1333
|
imports.wbg.__wbg_new_with_byte_offset_and_length_d85c3da1fd8df149 = function(arg0, arg1, arg2) {
|
|
1330
1334
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1331
1335
|
return ret;
|
|
@@ -1522,30 +1526,30 @@ function __wbg_get_imports() {
|
|
|
1522
1526
|
return ret;
|
|
1523
1527
|
}, arguments);
|
|
1524
1528
|
};
|
|
1525
|
-
imports.wbg.__wbindgen_cast_1538354e022c36a6 = function(arg0, arg1) {
|
|
1526
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h612f8e24953b61d5, wasm_bindgen__convert__closures_____invoke__h260170fb96639bcf);
|
|
1527
|
-
return ret;
|
|
1528
|
-
};
|
|
1529
1529
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
1530
1530
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1531
1531
|
return ret;
|
|
1532
1532
|
};
|
|
1533
|
-
imports.wbg.
|
|
1534
|
-
const ret =
|
|
1533
|
+
imports.wbg.__wbindgen_cast_695ecfc7d9f0c053 = function(arg0, arg1) {
|
|
1534
|
+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h34273dc4c79ee0c9, wasm_bindgen__convert__closures_____invoke__h21398a37e136b0cc);
|
|
1535
1535
|
return ret;
|
|
1536
1536
|
};
|
|
1537
|
-
imports.wbg.
|
|
1538
|
-
const ret =
|
|
1537
|
+
imports.wbg.__wbindgen_cast_8bdaaf7d8a5d00dd = function(arg0, arg1) {
|
|
1538
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h34273dc4c79ee0c9, wasm_bindgen__convert__closures_____invoke__haa1a35ae0470100f);
|
|
1539
1539
|
return ret;
|
|
1540
1540
|
};
|
|
1541
|
-
imports.wbg.
|
|
1542
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1541
|
+
imports.wbg.__wbindgen_cast_9d58885f229d7092 = function(arg0, arg1) {
|
|
1542
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h612f8e24953b61d5, wasm_bindgen__convert__closures_____invoke__h260170fb96639bcf);
|
|
1543
1543
|
return ret;
|
|
1544
1544
|
};
|
|
1545
1545
|
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
1546
1546
|
const ret = arg0;
|
|
1547
1547
|
return ret;
|
|
1548
1548
|
};
|
|
1549
|
+
imports.wbg.__wbindgen_cast_f19ba39ad4df74fd = function(arg0, arg1) {
|
|
1550
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h34273dc4c79ee0c9, wasm_bindgen__convert__closures_____invoke__h48d4812d15fc4372);
|
|
1551
|
+
return ret;
|
|
1552
|
+
};
|
|
1549
1553
|
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
1550
1554
|
const table = wasm.__wbindgen_externrefs;
|
|
1551
1555
|
const offset = table.grow(4);
|