@swc/wasm 1.13.5 → 1.13.19

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.13.5",
7
+ "version": "1.13.19",
8
8
  "license": "Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",
package/wasm.d.ts CHANGED
@@ -912,14 +912,23 @@ export interface ReactConfig {
912
912
  };
913
913
 
914
914
  /**
915
- * jsx runtime
915
+ * Decides which runtime to use when transforming JSX.
916
+ * - `"automatic"` - Automatically imports the functions that JSX transpiles to.
917
+ * This is the modern approach introduced in React 17+ that eliminates the need to
918
+ * manually import React in every file that uses JSX.
919
+ * - `"classic"` - Uses the traditional JSX transform that relies on `React.createElement`
920
+ * calls. Requires React to be in scope, which was the standard behavior before React 17.
921
+ * - `"preserve"` - Leaves JSX syntax unchanged without transforming it.
922
+ * @default "classic"
916
923
  */
917
- runtime?: 'automatic' | 'classic'
924
+ runtime?: "automatic" | "classic" | "preserve";
918
925
 
919
926
  /**
920
- * Declares the module specifier to be used for importing the `jsx` and `jsxs` factory functions when using `runtime` 'automatic'
927
+ * Declares the module specifier to be used for importing the `jsx` and `jsxs` factory
928
+ * functions when using `runtime` 'automatic'
929
+ * @default "react"
921
930
  */
922
- importSource?: string
931
+ importSource?: string;
923
932
  }
924
933
  /**
925
934
  * - `import { DEBUG } from '@ember/env-flags';`
package/wasm.js CHANGED
@@ -641,8 +641,8 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
641
641
  return ret;
642
642
  };
643
643
 
644
- module.exports.__wbindgen_closure_wrapper15002 = function(arg0, arg1, arg2) {
645
- const ret = makeMutClosure(arg0, arg1, 637, __wbg_adapter_50);
644
+ module.exports.__wbindgen_closure_wrapper15284 = function(arg0, arg1, arg2) {
645
+ const ret = makeMutClosure(arg0, arg1, 638, __wbg_adapter_50);
646
646
  return addHeapObject(ret);
647
647
  };
648
648
 
package/wasm_bg.wasm CHANGED
Binary file