@swc/wasm-web 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-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
@@ -734,7 +734,7 @@ imports.wbg.__wbindgen_cb_drop = function(arg0) {
734
734
  const ret = false;
735
735
  return ret;
736
736
  };
737
- imports.wbg.__wbindgen_closure_wrapper19029 = function(arg0, arg1, arg2) {
737
+ imports.wbg.__wbindgen_closure_wrapper19024 = function(arg0, arg1, arg2) {
738
738
  const ret = makeMutClosure(arg0, arg1, 244, __wbg_adapter_50);
739
739
  return addHeapObject(ret);
740
740
  };
package/wasm-web_bg.wasm CHANGED
Binary file