@swc/wasm-web 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
@@ -5,7 +5,7 @@
5
5
  "강동윤 <kdy1997.dev@gmail.com>"
6
6
  ],
7
7
  "description": "wasm module for swc",
8
- "version": "1.13.5",
8
+ "version": "1.13.19",
9
9
  "license": "Apache-2.0",
10
10
  "repository": {
11
11
  "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
@@ -624,8 +624,8 @@ function __wbg_get_imports() {
624
624
  const ret = false;
625
625
  return ret;
626
626
  };
627
- imports.wbg.__wbindgen_closure_wrapper15002 = function(arg0, arg1, arg2) {
628
- const ret = makeMutClosure(arg0, arg1, 637, __wbg_adapter_50);
627
+ imports.wbg.__wbindgen_closure_wrapper15284 = function(arg0, arg1, arg2) {
628
+ const ret = makeMutClosure(arg0, arg1, 638, __wbg_adapter_50);
629
629
  return addHeapObject(ret);
630
630
  };
631
631
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
package/wasm_bg.wasm CHANGED
Binary file