@swc/wasm 1.2.246 → 1.2.247
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 +18 -18
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.js
CHANGED
|
@@ -87,6 +87,10 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
87
87
|
return ptr;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
+
function isLikeNone(x) {
|
|
91
|
+
return x === undefined || x === null;
|
|
92
|
+
}
|
|
93
|
+
|
|
90
94
|
let cachedInt32Memory0 = new Int32Array();
|
|
91
95
|
|
|
92
96
|
function getInt32Memory0() {
|
|
@@ -96,10 +100,6 @@ function getInt32Memory0() {
|
|
|
96
100
|
return cachedInt32Memory0;
|
|
97
101
|
}
|
|
98
102
|
|
|
99
|
-
function isLikeNone(x) {
|
|
100
|
-
return x === undefined || x === null;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
103
|
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
104
104
|
|
|
105
105
|
cachedTextDecoder.decode();
|
|
@@ -309,13 +309,9 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
|
309
309
|
return ret;
|
|
310
310
|
};
|
|
311
311
|
|
|
312
|
-
module.exports.
|
|
313
|
-
const
|
|
314
|
-
|
|
315
|
-
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
316
|
-
const len0 = WASM_VECTOR_LEN;
|
|
317
|
-
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
318
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
312
|
+
module.exports.__wbindgen_is_string = function(arg0) {
|
|
313
|
+
const ret = typeof(getObject(arg0)) === 'string';
|
|
314
|
+
return ret;
|
|
319
315
|
};
|
|
320
316
|
|
|
321
317
|
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
@@ -327,16 +323,20 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
|
327
323
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
328
324
|
};
|
|
329
325
|
|
|
326
|
+
module.exports.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
327
|
+
const obj = getObject(arg1);
|
|
328
|
+
const ret = JSON.stringify(obj === undefined ? null : obj);
|
|
329
|
+
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
330
|
+
const len0 = WASM_VECTOR_LEN;
|
|
331
|
+
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
332
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
333
|
+
};
|
|
334
|
+
|
|
330
335
|
module.exports.__wbindgen_json_parse = function(arg0, arg1) {
|
|
331
336
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
332
337
|
return addHeapObject(ret);
|
|
333
338
|
};
|
|
334
339
|
|
|
335
|
-
module.exports.__wbindgen_is_string = function(arg0) {
|
|
336
|
-
const ret = typeof(getObject(arg0)) === 'string';
|
|
337
|
-
return ret;
|
|
338
|
-
};
|
|
339
|
-
|
|
340
340
|
module.exports.__wbg_new_52205195aa880fc2 = function(arg0, arg1) {
|
|
341
341
|
try {
|
|
342
342
|
var state0 = {a: arg0, b: arg1};
|
|
@@ -419,8 +419,8 @@ module.exports.__wbg_then_18da6e5453572fc8 = function(arg0, arg1) {
|
|
|
419
419
|
return addHeapObject(ret);
|
|
420
420
|
};
|
|
421
421
|
|
|
422
|
-
module.exports.
|
|
423
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
422
|
+
module.exports.__wbindgen_closure_wrapper14777 = function(arg0, arg1, arg2) {
|
|
423
|
+
const ret = makeMutClosure(arg0, arg1, 162, __wbg_adapter_22);
|
|
424
424
|
return addHeapObject(ret);
|
|
425
425
|
};
|
|
426
426
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|