terser 4.6.3 → 4.6.4
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.
Potentially problematic release.
This version of terser might be problematic. Click here for more details.
- package/CHANGELOG.md +10 -0
- package/dist/bundle.min.js +1 -1
- package/dist/bundle.min.js.map +1 -1
- package/package.json +1 -1
- package/tools/terser.d.ts +8 -1
package/package.json
CHANGED
package/tools/terser.d.ts
CHANGED
@@ -101,7 +101,13 @@ export interface OutputOptions {
|
|
101
101
|
ascii_only?: boolean;
|
102
102
|
beautify?: boolean;
|
103
103
|
braces?: boolean;
|
104
|
-
comments?: boolean | 'all' | 'some' | RegExp |
|
104
|
+
comments?: boolean | 'all' | 'some' | RegExp | ( (node: AST_Node, comment: {
|
105
|
+
value: string,
|
106
|
+
type: 'comment1' | 'comment2' | 'comment3' | 'comment4',
|
107
|
+
pos: number,
|
108
|
+
line: number,
|
109
|
+
col: number,
|
110
|
+
}) => boolean );
|
105
111
|
ecma?: ECMA;
|
106
112
|
ie8?: boolean;
|
107
113
|
indent_level?: number;
|
@@ -121,6 +127,7 @@ export interface OutputOptions {
|
|
121
127
|
webkit?: boolean;
|
122
128
|
width?: number;
|
123
129
|
wrap_iife?: boolean;
|
130
|
+
wrap_func_args?: boolean;
|
124
131
|
}
|
125
132
|
|
126
133
|
export enum OutputQuoteStyle {
|