@swc/wasm 1.3.53 → 1.3.55

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 CHANGED
@@ -4,7 +4,7 @@
4
4
  "강동윤 <kdy1997.dev@gmail.com>"
5
5
  ],
6
6
  "description": "wasm module for swc",
7
- "version": "1.3.53",
7
+ "version": "1.3.55",
8
8
  "license": "Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",
package/wasm.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.js CHANGED
@@ -768,7 +768,7 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
768
768
  return ret;
769
769
  };
770
770
 
771
- module.exports.__wbindgen_closure_wrapper19029 = function(arg0, arg1, arg2) {
771
+ module.exports.__wbindgen_closure_wrapper19024 = function(arg0, arg1, arg2) {
772
772
  const ret = makeMutClosure(arg0, arg1, 244, __wbg_adapter_50);
773
773
  return addHeapObject(ret);
774
774
  };
package/wasm_bg.wasm CHANGED
Binary file