@next/swc-wasm-nodejs 14.3.0-canary.68 → 14.3.0-canary.69
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/package.json +1 -1
- package/wasm.js +25 -25
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.js
CHANGED
|
@@ -101,15 +101,6 @@ function getInt32Memory0() {
|
|
|
101
101
|
return cachedInt32Memory0;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
let cachedFloat64Memory0 = null;
|
|
105
|
-
|
|
106
|
-
function getFloat64Memory0() {
|
|
107
|
-
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
108
|
-
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
109
|
-
}
|
|
110
|
-
return cachedFloat64Memory0;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
104
|
function addHeapObject(obj) {
|
|
114
105
|
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
115
106
|
const idx = heap_next;
|
|
@@ -119,6 +110,15 @@ function addHeapObject(obj) {
|
|
|
119
110
|
return idx;
|
|
120
111
|
}
|
|
121
112
|
|
|
113
|
+
let cachedFloat64Memory0 = null;
|
|
114
|
+
|
|
115
|
+
function getFloat64Memory0() {
|
|
116
|
+
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
117
|
+
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
118
|
+
}
|
|
119
|
+
return cachedFloat64Memory0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
122
|
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
123
123
|
|
|
124
124
|
cachedTextDecoder.decode();
|
|
@@ -403,6 +403,16 @@ module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
|
403
403
|
return ret;
|
|
404
404
|
};
|
|
405
405
|
|
|
406
|
+
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
407
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
408
|
+
return addHeapObject(ret);
|
|
409
|
+
};
|
|
410
|
+
|
|
411
|
+
module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
412
|
+
const ret = getObject(arg0) === getObject(arg1);
|
|
413
|
+
return ret;
|
|
414
|
+
};
|
|
415
|
+
|
|
406
416
|
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
407
417
|
const obj = getObject(arg1);
|
|
408
418
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
@@ -426,16 +436,6 @@ module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
|
426
436
|
return addHeapObject(ret);
|
|
427
437
|
};
|
|
428
438
|
|
|
429
|
-
module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
430
|
-
const ret = getObject(arg0) === getObject(arg1);
|
|
431
|
-
return ret;
|
|
432
|
-
};
|
|
433
|
-
|
|
434
|
-
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
435
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
436
|
-
return addHeapObject(ret);
|
|
437
|
-
};
|
|
438
|
-
|
|
439
439
|
module.exports.__wbindgen_is_string = function(arg0) {
|
|
440
440
|
const ret = typeof(getObject(arg0)) === 'string';
|
|
441
441
|
return ret;
|
|
@@ -446,13 +446,13 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
|
446
446
|
return ret;
|
|
447
447
|
};
|
|
448
448
|
|
|
449
|
-
module.exports.
|
|
450
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
449
|
+
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
450
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
451
451
|
return addHeapObject(ret);
|
|
452
452
|
};
|
|
453
453
|
|
|
454
|
-
module.exports.
|
|
455
|
-
const ret =
|
|
454
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
455
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
456
456
|
return addHeapObject(ret);
|
|
457
457
|
};
|
|
458
458
|
|
|
@@ -786,8 +786,8 @@ module.exports.__wbindgen_memory = function() {
|
|
|
786
786
|
return addHeapObject(ret);
|
|
787
787
|
};
|
|
788
788
|
|
|
789
|
-
module.exports.
|
|
790
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
789
|
+
module.exports.__wbindgen_closure_wrapper15586 = function(arg0, arg1, arg2) {
|
|
790
|
+
const ret = makeMutClosure(arg0, arg1, 3531, __wbg_adapter_48);
|
|
791
791
|
return addHeapObject(ret);
|
|
792
792
|
};
|
|
793
793
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|