@swc/wasm-web 1.12.0 → 1.12.1
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 +3 -3
- package/wasm.js +1 -1
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.d.ts
CHANGED
|
@@ -5,11 +5,11 @@ export function minify(src: string, opts?: JsMinifyOptions): Promise<Output>;
|
|
|
5
5
|
export function minifySync(code: string, opts?: JsMinifyOptions): Output;
|
|
6
6
|
|
|
7
7
|
export function parse(src: string, options: ParseOptions & {
|
|
8
|
-
isModule: false;
|
|
8
|
+
isModule: false | "commonjs";
|
|
9
9
|
}): Promise<Script>;
|
|
10
10
|
export function parse(src: string, options?: ParseOptions): Promise<Module>;
|
|
11
11
|
export function parseSync(src: string, options: ParseOptions & {
|
|
12
|
-
isModule: false;
|
|
12
|
+
isModule: false | "commonjs";
|
|
13
13
|
}): Script;
|
|
14
14
|
export function parseSync(src: string, options?: ParseOptions): Module;
|
|
15
15
|
|
|
@@ -572,7 +572,7 @@ export interface Options extends Config {
|
|
|
572
572
|
|
|
573
573
|
plugin?: Plugin;
|
|
574
574
|
|
|
575
|
-
isModule?: boolean | 'unknown';
|
|
575
|
+
isModule?: boolean | 'unknown' | 'commonjs';
|
|
576
576
|
|
|
577
577
|
/**
|
|
578
578
|
* Destination path. Note that this value is used only to fix source path
|
package/wasm.js
CHANGED
|
@@ -658,7 +658,7 @@ function __wbg_get_imports() {
|
|
|
658
658
|
const ret = false;
|
|
659
659
|
return ret;
|
|
660
660
|
};
|
|
661
|
-
imports.wbg.
|
|
661
|
+
imports.wbg.__wbindgen_closure_wrapper16140 = function(arg0, arg1, arg2) {
|
|
662
662
|
const ret = makeMutClosure(arg0, arg1, 637, __wbg_adapter_50);
|
|
663
663
|
return addHeapObject(ret);
|
|
664
664
|
};
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|