@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 +1 -1
- package/wasm.d.ts +13 -4
- package/wasm.js +2 -2
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.d.ts
CHANGED
|
@@ -912,14 +912,23 @@ export interface ReactConfig {
|
|
|
912
912
|
};
|
|
913
913
|
|
|
914
914
|
/**
|
|
915
|
-
*
|
|
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?:
|
|
924
|
+
runtime?: "automatic" | "classic" | "preserve";
|
|
918
925
|
|
|
919
926
|
/**
|
|
920
|
-
* Declares the module specifier to be used for importing the `jsx` and `jsxs` factory
|
|
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.
|
|
645
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
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
|