@next/swc-wasm-nodejs 15.0.0-canary.102 → 15.0.0-canary.103
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 +24 -24
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.js
CHANGED
|
@@ -7,19 +7,10 @@ const heap = new Array(128).fill(undefined);
|
|
|
7
7
|
|
|
8
8
|
heap.push(undefined, null, true, false);
|
|
9
9
|
|
|
10
|
-
let heap_next = heap.length;
|
|
11
|
-
|
|
12
|
-
function addHeapObject(obj) {
|
|
13
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
14
|
-
const idx = heap_next;
|
|
15
|
-
heap_next = heap[idx];
|
|
16
|
-
|
|
17
|
-
heap[idx] = obj;
|
|
18
|
-
return idx;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
10
|
function getObject(idx) { return heap[idx]; }
|
|
22
11
|
|
|
12
|
+
let heap_next = heap.length;
|
|
13
|
+
|
|
23
14
|
function dropObject(idx) {
|
|
24
15
|
if (idx < 132) return;
|
|
25
16
|
heap[idx] = heap_next;
|
|
@@ -32,6 +23,15 @@ function takeObject(idx) {
|
|
|
32
23
|
return ret;
|
|
33
24
|
}
|
|
34
25
|
|
|
26
|
+
function addHeapObject(obj) {
|
|
27
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
28
|
+
const idx = heap_next;
|
|
29
|
+
heap_next = heap[idx];
|
|
30
|
+
|
|
31
|
+
heap[idx] = obj;
|
|
32
|
+
return idx;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
35
|
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
36
36
|
|
|
37
37
|
cachedTextDecoder.decode();
|
|
@@ -233,7 +233,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
233
233
|
return real;
|
|
234
234
|
}
|
|
235
235
|
function __wbg_adapter_48(arg0, arg1, arg2) {
|
|
236
|
-
wasm.
|
|
236
|
+
wasm._dyn_core_b87cc866e879cbcf___ops__function__FnMut_______Output______as_wasm_bindgen_a8cfbef511b842f6___closure__WasmClosure___describe__invoke___wasm_bindgen_a8cfbef511b842f6___JsValue_____(arg0, arg1, addHeapObject(arg2));
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
function getCachedStringFromWasm0(ptr, len) {
|
|
@@ -252,7 +252,7 @@ function handleError(f, args) {
|
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
function __wbg_adapter_109(arg0, arg1, arg2, arg3) {
|
|
255
|
-
wasm.
|
|
255
|
+
wasm.wasm_bindgen_a8cfbef511b842f6___convert__closures__invoke2_mut___wasm_bindgen_a8cfbef511b842f6___JsValue__wasm_bindgen_a8cfbef511b842f6___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
/**
|
|
@@ -384,6 +384,10 @@ module.exports.__wbg_new0_7a6141101f2206da = function() {
|
|
|
384
384
|
return addHeapObject(ret);
|
|
385
385
|
};
|
|
386
386
|
|
|
387
|
+
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
388
|
+
takeObject(arg0);
|
|
389
|
+
};
|
|
390
|
+
|
|
387
391
|
module.exports.__wbindgen_number_new = function(arg0) {
|
|
388
392
|
const ret = arg0;
|
|
389
393
|
return addHeapObject(ret);
|
|
@@ -394,10 +398,6 @@ module.exports.__wbg_new_a9d80688888b4894 = function(arg0) {
|
|
|
394
398
|
return addHeapObject(ret);
|
|
395
399
|
};
|
|
396
400
|
|
|
397
|
-
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
398
|
-
takeObject(arg0);
|
|
399
|
-
};
|
|
400
|
-
|
|
401
401
|
module.exports.__wbg_getTimezoneOffset_840b552f34917133 = function(arg0) {
|
|
402
402
|
const ret = getObject(arg0).getTimezoneOffset();
|
|
403
403
|
return ret;
|
|
@@ -640,6 +640,11 @@ module.exports.__wbg_instanceof_ArrayBuffer_9221fa854ffb71b5 = function(arg0) {
|
|
|
640
640
|
return ret;
|
|
641
641
|
};
|
|
642
642
|
|
|
643
|
+
module.exports.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) {
|
|
644
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
645
|
+
return addHeapObject(ret);
|
|
646
|
+
};
|
|
647
|
+
|
|
643
648
|
module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
644
649
|
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
645
650
|
return ret;
|
|
@@ -687,11 +692,6 @@ module.exports.__wbg_length_161c0d89c6535c1d = function(arg0) {
|
|
|
687
692
|
return ret;
|
|
688
693
|
};
|
|
689
694
|
|
|
690
|
-
module.exports.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) {
|
|
691
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
692
|
-
return addHeapObject(ret);
|
|
693
|
-
};
|
|
694
|
-
|
|
695
695
|
module.exports.__wbg_next_b2d3366343a208b3 = function() { return handleError(function (arg0) {
|
|
696
696
|
const ret = getObject(arg0).next();
|
|
697
697
|
return addHeapObject(ret);
|
|
@@ -786,8 +786,8 @@ module.exports.__wbg_queueMicrotask_f61ee94ee663068b = function(arg0) {
|
|
|
786
786
|
queueMicrotask(getObject(arg0));
|
|
787
787
|
};
|
|
788
788
|
|
|
789
|
-
module.exports.
|
|
790
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
789
|
+
module.exports.__wbindgen_closure_wrapper27212 = function(arg0, arg1, arg2) {
|
|
790
|
+
const ret = makeMutClosure(arg0, arg1, 1807, __wbg_adapter_48);
|
|
791
791
|
return addHeapObject(ret);
|
|
792
792
|
};
|
|
793
793
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|