virtual-machine 0.1.0 → 0.1.4
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-5YNIY3JH.mjs → chunk-IMQM5K6V.mjs} +19 -15
- package/build/cli.js +20 -16
- package/build/index.d.ts +8 -8
- package/build/index.js +20 -16
- package/build/index.mjs +3 -3
- package/build/{riscv_vm-HI4USQXV.mjs → riscv_vm-L5R6KUXO.mjs} +1 -1
- package/build/worker.js +20 -16
- 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
|
@@ -206,18 +206,18 @@ if (!("encodeInto" in cachedTextEncoder)) {
|
|
|
206
206
|
};
|
|
207
207
|
}
|
|
208
208
|
var WASM_VECTOR_LEN = 0;
|
|
209
|
-
function
|
|
210
|
-
wasm.
|
|
211
|
-
}
|
|
212
|
-
function wasm_bindgen__convert__closures_____invoke__h38b3d5c42439bcf4(arg0, arg1) {
|
|
213
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h38b3d5c42439bcf4(arg0, arg1);
|
|
214
|
-
}
|
|
215
|
-
function wasm_bindgen__convert__closures_____invoke__he860240c5b649134(arg0, arg1, arg2) {
|
|
216
|
-
wasm.wasm_bindgen__convert__closures_____invoke__he860240c5b649134(arg0, arg1, arg2);
|
|
209
|
+
function wasm_bindgen__convert__closures_____invoke__h02b024c830faf3c0(arg0, arg1, arg2) {
|
|
210
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h02b024c830faf3c0(arg0, arg1, arg2);
|
|
217
211
|
}
|
|
218
212
|
function wasm_bindgen__convert__closures_____invoke__h39d3e89751b07765(arg0, arg1, arg2) {
|
|
219
213
|
wasm.wasm_bindgen__convert__closures_____invoke__h39d3e89751b07765(arg0, arg1, arg2);
|
|
220
214
|
}
|
|
215
|
+
function wasm_bindgen__convert__closures_____invoke__h9493c87185cf2d12(arg0, arg1) {
|
|
216
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h9493c87185cf2d12(arg0, arg1);
|
|
217
|
+
}
|
|
218
|
+
function wasm_bindgen__convert__closures_____invoke__hec486a7a364d96de(arg0, arg1) {
|
|
219
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hec486a7a364d96de(arg0, arg1);
|
|
220
|
+
}
|
|
221
221
|
var __wbindgen_enum_WorkerType = ["classic", "module"];
|
|
222
222
|
var WasmVmFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
|
223
223
|
}, unregister: () => {
|
|
@@ -1034,6 +1034,10 @@ function __wbg_get_imports() {
|
|
|
1034
1034
|
return ret;
|
|
1035
1035
|
}, arguments);
|
|
1036
1036
|
};
|
|
1037
|
+
imports.wbg.__wbg_subarray_845f2f5bce7d061a = function(arg0, arg1, arg2) {
|
|
1038
|
+
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1039
|
+
return ret;
|
|
1040
|
+
};
|
|
1037
1041
|
imports.wbg.__wbg_terminate_08a1236dd2e69da0 = function(arg0) {
|
|
1038
1042
|
arg0.terminate();
|
|
1039
1043
|
};
|
|
@@ -1062,24 +1066,24 @@ function __wbg_get_imports() {
|
|
|
1062
1066
|
return ret;
|
|
1063
1067
|
}, arguments);
|
|
1064
1068
|
};
|
|
1065
|
-
imports.wbg.
|
|
1066
|
-
const ret =
|
|
1069
|
+
imports.wbg.__wbindgen_cast_1b00663567edb453 = function(arg0, arg1) {
|
|
1070
|
+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h6be55d916a7a567c, wasm_bindgen__convert__closures_____invoke__h9493c87185cf2d12);
|
|
1067
1071
|
return ret;
|
|
1068
1072
|
};
|
|
1069
1073
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
1070
1074
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1071
1075
|
return ret;
|
|
1072
1076
|
};
|
|
1073
|
-
imports.wbg.
|
|
1077
|
+
imports.wbg.__wbindgen_cast_22b48c66901f03d5 = function(arg0, arg1) {
|
|
1074
1078
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hf225e18fc5ab9bc1, wasm_bindgen__convert__closures_____invoke__h39d3e89751b07765);
|
|
1075
1079
|
return ret;
|
|
1076
1080
|
};
|
|
1077
|
-
imports.wbg.
|
|
1078
|
-
const ret =
|
|
1081
|
+
imports.wbg.__wbindgen_cast_a93ea42108a71f00 = function(arg0, arg1) {
|
|
1082
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h6be55d916a7a567c, wasm_bindgen__convert__closures_____invoke__h02b024c830faf3c0);
|
|
1079
1083
|
return ret;
|
|
1080
1084
|
};
|
|
1081
|
-
imports.wbg.
|
|
1082
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1085
|
+
imports.wbg.__wbindgen_cast_af54cb5d64a8cc15 = function(arg0, arg1) {
|
|
1086
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h6be55d916a7a567c, wasm_bindgen__convert__closures_____invoke__hec486a7a364d96de);
|
|
1083
1087
|
return ret;
|
|
1084
1088
|
};
|
|
1085
1089
|
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|