@swc/wasm 1.2.247 → 1.3.0
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 +17 -17
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.js
CHANGED
|
@@ -87,10 +87,6 @@ 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
|
-
|
|
94
90
|
let cachedInt32Memory0 = new Int32Array();
|
|
95
91
|
|
|
96
92
|
function getInt32Memory0() {
|
|
@@ -100,6 +96,10 @@ function getInt32Memory0() {
|
|
|
100
96
|
return cachedInt32Memory0;
|
|
101
97
|
}
|
|
102
98
|
|
|
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,9 +309,13 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
|
309
309
|
return ret;
|
|
310
310
|
};
|
|
311
311
|
|
|
312
|
-
module.exports.
|
|
313
|
-
const
|
|
314
|
-
|
|
312
|
+
module.exports.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
313
|
+
const obj = getObject(arg1);
|
|
314
|
+
const ret = JSON.stringify(obj === undefined ? null : obj);
|
|
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;
|
|
315
319
|
};
|
|
316
320
|
|
|
317
321
|
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
@@ -323,20 +327,16 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
|
323
327
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
324
328
|
};
|
|
325
329
|
|
|
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
|
-
|
|
335
330
|
module.exports.__wbindgen_json_parse = function(arg0, arg1) {
|
|
336
331
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
337
332
|
return addHeapObject(ret);
|
|
338
333
|
};
|
|
339
334
|
|
|
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,7 +419,7 @@ module.exports.__wbg_then_18da6e5453572fc8 = function(arg0, arg1) {
|
|
|
419
419
|
return addHeapObject(ret);
|
|
420
420
|
};
|
|
421
421
|
|
|
422
|
-
module.exports.
|
|
422
|
+
module.exports.__wbindgen_closure_wrapper14781 = function(arg0, arg1, arg2) {
|
|
423
423
|
const ret = makeMutClosure(arg0, arg1, 162, __wbg_adapter_22);
|
|
424
424
|
return addHeapObject(ret);
|
|
425
425
|
};
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|