@swc/wasm 1.11.31 → 1.12.0
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 +11 -1
- package/wasm.js +2 -2
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.d.ts
CHANGED
|
@@ -122,9 +122,10 @@ export interface JsFormatOptions {
|
|
|
122
122
|
* - `false`: removes all comments
|
|
123
123
|
* - `'some'`: preserves some comments
|
|
124
124
|
* - `'all'`: preserves all comments
|
|
125
|
+
* - `{ regex: string }`: preserves comments that match the regex
|
|
125
126
|
* @default false
|
|
126
127
|
*/
|
|
127
|
-
comments?: false |
|
|
128
|
+
comments?: false | "some" | "all" | { regex: string };
|
|
128
129
|
|
|
129
130
|
/**
|
|
130
131
|
* Currently noop.
|
|
@@ -709,6 +710,15 @@ export interface JscConfig {
|
|
|
709
710
|
minify?: JsMinifyOptions;
|
|
710
711
|
|
|
711
712
|
preserveAllComments?: boolean;
|
|
713
|
+
|
|
714
|
+
output?: {
|
|
715
|
+
/**
|
|
716
|
+
* This can be used to keep the output ascii-only.
|
|
717
|
+
* If this option is set, `minify.format.asciiOnly` will be ignored.
|
|
718
|
+
* @default 'utf8'
|
|
719
|
+
*/
|
|
720
|
+
charset?: 'utf8' | 'ascii';
|
|
721
|
+
}
|
|
712
722
|
}
|
|
713
723
|
|
|
714
724
|
export type JscTarget =
|
package/wasm.js
CHANGED
|
@@ -685,8 +685,8 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
|
685
685
|
return ret;
|
|
686
686
|
};
|
|
687
687
|
|
|
688
|
-
module.exports.
|
|
689
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
688
|
+
module.exports.__wbindgen_closure_wrapper16183 = function(arg0, arg1, arg2) {
|
|
689
|
+
const ret = makeMutClosure(arg0, arg1, 637, __wbg_adapter_50);
|
|
690
690
|
return addHeapObject(ret);
|
|
691
691
|
};
|
|
692
692
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|