@swc/wasm 1.2.243 → 1.2.244
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 +19 -19
- 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();
|
|
@@ -294,20 +294,6 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
|
294
294
|
takeObject(arg0);
|
|
295
295
|
};
|
|
296
296
|
|
|
297
|
-
module.exports.__wbindgen_is_string = function(arg0) {
|
|
298
|
-
const ret = typeof(getObject(arg0)) === 'string';
|
|
299
|
-
return ret;
|
|
300
|
-
};
|
|
301
|
-
|
|
302
|
-
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
303
|
-
const obj = getObject(arg1);
|
|
304
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
305
|
-
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
306
|
-
var len0 = WASM_VECTOR_LEN;
|
|
307
|
-
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
308
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
309
|
-
};
|
|
310
|
-
|
|
311
297
|
module.exports.__wbindgen_is_null = function(arg0) {
|
|
312
298
|
const ret = getObject(arg0) === null;
|
|
313
299
|
return ret;
|
|
@@ -327,11 +313,25 @@ module.exports.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
|
327
313
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
328
314
|
};
|
|
329
315
|
|
|
316
|
+
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
317
|
+
const obj = getObject(arg1);
|
|
318
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
319
|
+
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
320
|
+
var len0 = WASM_VECTOR_LEN;
|
|
321
|
+
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
322
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
323
|
+
};
|
|
324
|
+
|
|
330
325
|
module.exports.__wbindgen_json_parse = function(arg0, arg1) {
|
|
331
326
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
332
327
|
return addHeapObject(ret);
|
|
333
328
|
};
|
|
334
329
|
|
|
330
|
+
module.exports.__wbindgen_is_string = function(arg0) {
|
|
331
|
+
const ret = typeof(getObject(arg0)) === 'string';
|
|
332
|
+
return ret;
|
|
333
|
+
};
|
|
334
|
+
|
|
335
335
|
module.exports.__wbg_call_65af9f665ab6ade5 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
336
336
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
337
337
|
return addHeapObject(ret);
|
|
@@ -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_wrapper14505 = function(arg0, arg1, arg2) {
|
|
423
423
|
const ret = makeMutClosure(arg0, arg1, 152, __wbg_adapter_22);
|
|
424
424
|
return addHeapObject(ret);
|
|
425
425
|
};
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|