@swc/wasm 1.14.0 → 1.15.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 +24 -12
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.js
CHANGED
|
@@ -362,15 +362,15 @@ module.exports.transform = function(s, opts, experimental_plugin_bytes_resolver)
|
|
|
362
362
|
return takeObject(ret);
|
|
363
363
|
};
|
|
364
364
|
|
|
365
|
-
function
|
|
365
|
+
function __wbg_adapter_52(arg0, arg1, arg2) {
|
|
366
366
|
wasm.__wbindgen_export_5(arg0, arg1, addHeapObject(arg2));
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
function
|
|
369
|
+
function __wbg_adapter_113(arg0, arg1, arg2, arg3) {
|
|
370
370
|
wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
module.exports.
|
|
373
|
+
module.exports.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
374
374
|
const ret = String(getObject(arg1));
|
|
375
375
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
376
376
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -409,7 +409,7 @@ module.exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
|
409
409
|
console.error(v0);
|
|
410
410
|
};
|
|
411
411
|
|
|
412
|
-
module.exports.
|
|
412
|
+
module.exports.__wbg_getRandomValues_1c61fac11405ffdc = function() { return handleError(function (arg0, arg1) {
|
|
413
413
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
414
414
|
}, arguments) };
|
|
415
415
|
|
|
@@ -423,7 +423,7 @@ module.exports.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
|
|
|
423
423
|
return addHeapObject(ret);
|
|
424
424
|
};
|
|
425
425
|
|
|
426
|
-
module.exports.
|
|
426
|
+
module.exports.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
427
427
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
428
428
|
return addHeapObject(ret);
|
|
429
429
|
};
|
|
@@ -439,6 +439,17 @@ module.exports.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
|
|
|
439
439
|
return ret;
|
|
440
440
|
};
|
|
441
441
|
|
|
442
|
+
module.exports.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
|
|
443
|
+
let result;
|
|
444
|
+
try {
|
|
445
|
+
result = getObject(arg0) instanceof Map;
|
|
446
|
+
} catch (_) {
|
|
447
|
+
result = false;
|
|
448
|
+
}
|
|
449
|
+
const ret = result;
|
|
450
|
+
return ret;
|
|
451
|
+
};
|
|
452
|
+
|
|
442
453
|
module.exports.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
|
|
443
454
|
let result;
|
|
444
455
|
try {
|
|
@@ -482,7 +493,7 @@ module.exports.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
|
|
|
482
493
|
const a = state0.a;
|
|
483
494
|
state0.a = 0;
|
|
484
495
|
try {
|
|
485
|
-
return
|
|
496
|
+
return __wbg_adapter_113(a, state0.b, arg0, arg1);
|
|
486
497
|
} finally {
|
|
487
498
|
state0.a = a;
|
|
488
499
|
}
|
|
@@ -557,10 +568,6 @@ module.exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
|
557
568
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
558
569
|
};
|
|
559
570
|
|
|
560
|
-
module.exports.__wbg_set_3fda3bac07393de4 = function(arg0, arg1, arg2) {
|
|
561
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
562
|
-
};
|
|
563
|
-
|
|
564
571
|
module.exports.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
|
|
565
572
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
566
573
|
};
|
|
@@ -608,6 +615,11 @@ module.exports.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
|
|
|
608
615
|
return addHeapObject(ret);
|
|
609
616
|
};
|
|
610
617
|
|
|
618
|
+
module.exports.__wbindgen_as_number = function(arg0) {
|
|
619
|
+
const ret = +getObject(arg0);
|
|
620
|
+
return ret;
|
|
621
|
+
};
|
|
622
|
+
|
|
611
623
|
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
612
624
|
const ret = arg0;
|
|
613
625
|
return addHeapObject(ret);
|
|
@@ -641,8 +653,8 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
|
641
653
|
return ret;
|
|
642
654
|
};
|
|
643
655
|
|
|
644
|
-
module.exports.
|
|
645
|
-
const ret = makeMutClosure(arg0, arg1, 806,
|
|
656
|
+
module.exports.__wbindgen_closure_wrapper13414 = function(arg0, arg1, arg2) {
|
|
657
|
+
const ret = makeMutClosure(arg0, arg1, 806, __wbg_adapter_52);
|
|
646
658
|
return addHeapObject(ret);
|
|
647
659
|
};
|
|
648
660
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|