@swc/wasm-web 1.2.241 → 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-web.js +18 -18
- package/wasm-web_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm-web.js
CHANGED
|
@@ -85,10 +85,6 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
85
85
|
return ptr;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
function isLikeNone(x) {
|
|
89
|
-
return x === undefined || x === null;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
88
|
let cachedInt32Memory0 = new Int32Array();
|
|
93
89
|
|
|
94
90
|
function getInt32Memory0() {
|
|
@@ -98,6 +94,10 @@ function getInt32Memory0() {
|
|
|
98
94
|
return cachedInt32Memory0;
|
|
99
95
|
}
|
|
100
96
|
|
|
97
|
+
function isLikeNone(x) {
|
|
98
|
+
return x === undefined || x === null;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
101
|
const cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
102
102
|
|
|
103
103
|
cachedTextDecoder.decode();
|
|
@@ -325,18 +325,6 @@ function getImports() {
|
|
|
325
325
|
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
|
|
326
326
|
takeObject(arg0);
|
|
327
327
|
};
|
|
328
|
-
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
329
|
-
const ret = typeof(getObject(arg0)) === 'string';
|
|
330
|
-
return ret;
|
|
331
|
-
};
|
|
332
|
-
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
333
|
-
const obj = getObject(arg1);
|
|
334
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
335
|
-
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
336
|
-
var len0 = WASM_VECTOR_LEN;
|
|
337
|
-
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
338
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
339
|
-
};
|
|
340
328
|
imports.wbg.__wbindgen_is_null = function(arg0) {
|
|
341
329
|
const ret = getObject(arg0) === null;
|
|
342
330
|
return ret;
|
|
@@ -353,10 +341,22 @@ function getImports() {
|
|
|
353
341
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
354
342
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
355
343
|
};
|
|
344
|
+
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
345
|
+
const obj = getObject(arg1);
|
|
346
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
347
|
+
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
348
|
+
var len0 = WASM_VECTOR_LEN;
|
|
349
|
+
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
350
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
351
|
+
};
|
|
356
352
|
imports.wbg.__wbindgen_json_parse = function(arg0, arg1) {
|
|
357
353
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
358
354
|
return addHeapObject(ret);
|
|
359
355
|
};
|
|
356
|
+
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
357
|
+
const ret = typeof(getObject(arg0)) === 'string';
|
|
358
|
+
return ret;
|
|
359
|
+
};
|
|
360
360
|
imports.wbg.__wbg_call_65af9f665ab6ade5 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
361
361
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
362
362
|
return addHeapObject(ret);
|
|
@@ -431,8 +431,8 @@ imports.wbg.__wbg_then_18da6e5453572fc8 = function(arg0, arg1) {
|
|
|
431
431
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
432
432
|
return addHeapObject(ret);
|
|
433
433
|
};
|
|
434
|
-
imports.wbg.
|
|
435
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
434
|
+
imports.wbg.__wbindgen_closure_wrapper14505 = function(arg0, arg1, arg2) {
|
|
435
|
+
const ret = makeMutClosure(arg0, arg1, 152, __wbg_adapter_22);
|
|
436
436
|
return addHeapObject(ret);
|
|
437
437
|
};
|
|
438
438
|
|
package/wasm-web_bg.wasm
CHANGED
|
Binary file
|