@swc/wasm-web 1.2.238 → 1.2.241
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.d.ts +2 -2
- package/wasm-web.js +18 -18
- package/wasm-web_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm-web.d.ts
CHANGED
|
@@ -2841,11 +2841,11 @@ export interface InitOutput {
|
|
|
2841
2841
|
readonly __wbindgen_malloc: (a: number) => number;
|
|
2842
2842
|
readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
|
|
2843
2843
|
readonly __wbindgen_export_2: WebAssembly.Table;
|
|
2844
|
-
readonly
|
|
2844
|
+
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7cd6562814f1e46d: (a: number, b: number, c: number) => void;
|
|
2845
2845
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
2846
2846
|
readonly __wbindgen_free: (a: number, b: number) => void;
|
|
2847
2847
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
2848
|
-
readonly
|
|
2848
|
+
readonly wasm_bindgen__convert__closures__invoke2_mut__h62d3bea6a3c25ef1: (a: number, b: number, c: number, d: number) => void;
|
|
2849
2849
|
}
|
|
2850
2850
|
|
|
2851
2851
|
/**
|
package/wasm-web.js
CHANGED
|
@@ -85,6 +85,10 @@ 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
|
+
|
|
88
92
|
let cachedInt32Memory0 = new Int32Array();
|
|
89
93
|
|
|
90
94
|
function getInt32Memory0() {
|
|
@@ -94,10 +98,6 @@ function getInt32Memory0() {
|
|
|
94
98
|
return cachedInt32Memory0;
|
|
95
99
|
}
|
|
96
100
|
|
|
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();
|
|
@@ -140,7 +140,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
140
140
|
return real;
|
|
141
141
|
}
|
|
142
142
|
function __wbg_adapter_22(arg0, arg1, arg2) {
|
|
143
|
-
wasm.
|
|
143
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7cd6562814f1e46d(arg0, arg1, addHeapObject(arg2));
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
/**
|
|
@@ -285,7 +285,7 @@ function handleError(f, args) {
|
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
function __wbg_adapter_45(arg0, arg1, arg2, arg3) {
|
|
288
|
-
wasm.
|
|
288
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h62d3bea6a3c25ef1(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
async function load(module, imports) {
|
|
@@ -325,6 +325,18 @@ 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
|
+
};
|
|
328
340
|
imports.wbg.__wbindgen_is_null = function(arg0) {
|
|
329
341
|
const ret = getObject(arg0) === null;
|
|
330
342
|
return ret;
|
|
@@ -341,18 +353,6 @@ function getImports() {
|
|
|
341
353
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
342
354
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
343
355
|
};
|
|
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
|
-
};
|
|
352
|
-
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
353
|
-
const ret = typeof(getObject(arg0)) === 'string';
|
|
354
|
-
return ret;
|
|
355
|
-
};
|
|
356
356
|
imports.wbg.__wbindgen_json_parse = function(arg0, arg1) {
|
|
357
357
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
358
358
|
return addHeapObject(ret);
|
package/wasm-web_bg.wasm
CHANGED
|
Binary file
|