@swc/wasm-web 1.3.54 → 1.3.56
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 +8 -0
- package/wasm-web.js +10 -10
- package/wasm-web_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm-web.d.ts
CHANGED
|
@@ -1060,6 +1060,14 @@ export interface BaseModuleConfig {
|
|
|
1060
1060
|
* ```
|
|
1061
1061
|
*/
|
|
1062
1062
|
importInterop?: "swc" | "babel" | "node" | "none";
|
|
1063
|
+
/**
|
|
1064
|
+
* Emits `cjs-module-lexer` annotation
|
|
1065
|
+
* `cjs-module-lexer` is used in Node.js core for detecting the named exports available when importing a CJS module into ESM.
|
|
1066
|
+
* swc will emit `cjs-module-lexer` detectable annotation with this option enabled.
|
|
1067
|
+
*
|
|
1068
|
+
* Defaults to `true` if import_interop is Node, else `false`
|
|
1069
|
+
*/
|
|
1070
|
+
exportInteropAnnotation?: boolean;
|
|
1063
1071
|
/**
|
|
1064
1072
|
* If set to true, dynamic imports will be preserved.
|
|
1065
1073
|
*/
|
package/wasm-web.js
CHANGED
|
@@ -464,6 +464,14 @@ function getImports() {
|
|
|
464
464
|
const ret = getObject(arg0) == getObject(arg1);
|
|
465
465
|
return ret;
|
|
466
466
|
};
|
|
467
|
+
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
468
|
+
const obj = getObject(arg1);
|
|
469
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
470
|
+
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
471
|
+
var len0 = WASM_VECTOR_LEN;
|
|
472
|
+
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
473
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
474
|
+
};
|
|
467
475
|
imports.wbg.__wbindgen_is_object = function(arg0) {
|
|
468
476
|
const val = getObject(arg0);
|
|
469
477
|
const ret = typeof(val) === 'object' && val !== null;
|
|
@@ -481,14 +489,6 @@ function getImports() {
|
|
|
481
489
|
const ret = getObject(arg0) in getObject(arg1);
|
|
482
490
|
return ret;
|
|
483
491
|
};
|
|
484
|
-
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
485
|
-
const obj = getObject(arg1);
|
|
486
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
487
|
-
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
488
|
-
var len0 = WASM_VECTOR_LEN;
|
|
489
|
-
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
490
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
491
|
-
};
|
|
492
492
|
imports.wbg.__wbg_entries_4e1315b774245952 = function(arg0) {
|
|
493
493
|
const ret = Object.entries(getObject(arg0));
|
|
494
494
|
return addHeapObject(ret);
|
|
@@ -734,8 +734,8 @@ imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
|
734
734
|
const ret = false;
|
|
735
735
|
return ret;
|
|
736
736
|
};
|
|
737
|
-
imports.wbg.
|
|
738
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
737
|
+
imports.wbg.__wbindgen_closure_wrapper19014 = function(arg0, arg1, arg2) {
|
|
738
|
+
const ret = makeMutClosure(arg0, arg1, 243, __wbg_adapter_50);
|
|
739
739
|
return addHeapObject(ret);
|
|
740
740
|
};
|
|
741
741
|
|
package/wasm-web_bg.wasm
CHANGED
|
Binary file
|