@next/swc-wasm-web 15.2.0 → 15.2.1-canary.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/package.json +3 -2
- package/wasm.d.ts +2 -2
- package/wasm.js +17 -10
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next/swc-wasm-web",
|
|
3
|
-
"
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "15.2.1-canary.1",
|
|
4
5
|
"files": [
|
|
5
6
|
"wasm_bg.wasm",
|
|
6
7
|
"wasm.js",
|
|
7
8
|
"wasm.d.ts"
|
|
8
9
|
],
|
|
9
|
-
"
|
|
10
|
+
"main": "wasm.js",
|
|
10
11
|
"types": "wasm.d.ts",
|
|
11
12
|
"sideEffects": [
|
|
12
13
|
"./snippets/*"
|
package/wasm.d.ts
CHANGED
|
@@ -64,10 +64,10 @@ export interface InitOutput {
|
|
|
64
64
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
65
65
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
66
66
|
readonly __wbindgen_export_2: WebAssembly.Table;
|
|
67
|
-
readonly
|
|
67
|
+
readonly _dyn_core_1179c76b4fb746ac___ops__function__FnMut_______Output______as_wasm_bindgen_ef7a9289bc69469b___closure__WasmClosure___describe__invoke___wasm_bindgen_ef7a9289bc69469b___JsValue_____: (a: number, b: number, c: number) => void;
|
|
68
68
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
69
69
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
70
|
-
readonly
|
|
70
|
+
readonly wasm_bindgen_ef7a9289bc69469b___convert__closures__invoke2_mut___wasm_bindgen_ef7a9289bc69469b___JsValue__wasm_bindgen_ef7a9289bc69469b___JsValue_____: (a: number, b: number, c: number, d: number) => void;
|
|
71
71
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
72
72
|
}
|
|
73
73
|
|
package/wasm.js
CHANGED
|
@@ -230,7 +230,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
230
230
|
return real;
|
|
231
231
|
}
|
|
232
232
|
function __wbg_adapter_48(arg0, arg1, arg2) {
|
|
233
|
-
wasm.
|
|
233
|
+
wasm._dyn_core_1179c76b4fb746ac___ops__function__FnMut_______Output______as_wasm_bindgen_ef7a9289bc69469b___closure__WasmClosure___describe__invoke___wasm_bindgen_ef7a9289bc69469b___JsValue_____(arg0, arg1, addHeapObject(arg2));
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
function getCachedStringFromWasm0(ptr, len) {
|
|
@@ -248,8 +248,8 @@ function handleError(f, args) {
|
|
|
248
248
|
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
function
|
|
252
|
-
wasm.
|
|
251
|
+
function __wbg_adapter_113(arg0, arg1, arg2, arg3) {
|
|
252
|
+
wasm.wasm_bindgen_ef7a9289bc69469b___convert__closures__invoke2_mut___wasm_bindgen_ef7a9289bc69469b___JsValue__wasm_bindgen_ef7a9289bc69469b___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
/**
|
|
@@ -623,10 +623,6 @@ imports.wbg.__wbg_instanceof_ArrayBuffer_9221fa854ffb71b5 = function(arg0) {
|
|
|
623
623
|
const ret = result;
|
|
624
624
|
return ret;
|
|
625
625
|
};
|
|
626
|
-
imports.wbg.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) {
|
|
627
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
628
|
-
return addHeapObject(ret);
|
|
629
|
-
};
|
|
630
626
|
imports.wbg.__wbindgen_is_bigint = function(arg0) {
|
|
631
627
|
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
632
628
|
return ret;
|
|
@@ -665,6 +661,10 @@ imports.wbg.__wbg_length_161c0d89c6535c1d = function(arg0) {
|
|
|
665
661
|
const ret = getObject(arg0).length;
|
|
666
662
|
return ret;
|
|
667
663
|
};
|
|
664
|
+
imports.wbg.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) {
|
|
665
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
666
|
+
return addHeapObject(ret);
|
|
667
|
+
};
|
|
668
668
|
imports.wbg.__wbg_next_b2d3366343a208b3 = function() { return handleError(function (arg0) {
|
|
669
669
|
const ret = getObject(arg0).next();
|
|
670
670
|
return addHeapObject(ret);
|
|
@@ -692,7 +692,7 @@ imports.wbg.__wbg_new_70828a4353259d4b = function(arg0, arg1) {
|
|
|
692
692
|
const a = state0.a;
|
|
693
693
|
state0.a = 0;
|
|
694
694
|
try {
|
|
695
|
-
return
|
|
695
|
+
return __wbg_adapter_113(a, state0.b, arg0, arg1);
|
|
696
696
|
} finally {
|
|
697
697
|
state0.a = a;
|
|
698
698
|
}
|
|
@@ -710,6 +710,13 @@ imports.wbg.__wbg_new_632630b5cec17f21 = function() {
|
|
|
710
710
|
imports.wbg.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
|
|
711
711
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
712
712
|
};
|
|
713
|
+
imports.wbg.__wbg_new_75208e29bddfd88c = function() {
|
|
714
|
+
const ret = new Array();
|
|
715
|
+
return addHeapObject(ret);
|
|
716
|
+
};
|
|
717
|
+
imports.wbg.__wbg_set_79c308ecd9a1d091 = function(arg0, arg1, arg2) {
|
|
718
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
719
|
+
};
|
|
713
720
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
714
721
|
const ret = debugString(getObject(arg1));
|
|
715
722
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -744,8 +751,8 @@ imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
|
744
751
|
const ret = false;
|
|
745
752
|
return ret;
|
|
746
753
|
};
|
|
747
|
-
imports.wbg.
|
|
748
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
754
|
+
imports.wbg.__wbindgen_closure_wrapper24044 = function(arg0, arg1, arg2) {
|
|
755
|
+
const ret = makeMutClosure(arg0, arg1, 1278, __wbg_adapter_48);
|
|
749
756
|
return addHeapObject(ret);
|
|
750
757
|
};
|
|
751
758
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|