terser 4.3.7 → 4.3.8
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 +4 -0
- package/package.json +1 -1
- package/tools/terser.d.ts +3 -4
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/tools/terser.d.ts
CHANGED
@@ -14,8 +14,8 @@ export interface ParseOptions {
|
|
14
14
|
export interface CompressOptions {
|
15
15
|
arguments?: boolean;
|
16
16
|
arrows?: boolean;
|
17
|
-
booleans?: boolean;
|
18
17
|
booleans_as_integers?: boolean;
|
18
|
+
booleans?: boolean;
|
19
19
|
collapse_vars?: boolean;
|
20
20
|
comparisons?: boolean;
|
21
21
|
computed_props?: boolean;
|
@@ -54,10 +54,9 @@ export interface CompressOptions {
|
|
54
54
|
switches?: boolean;
|
55
55
|
toplevel?: boolean;
|
56
56
|
top_retain?: null | string | string[] | RegExp;
|
57
|
-
toplevel?: boolean;
|
58
57
|
typeofs?: boolean;
|
59
|
-
unsafe?: boolean;
|
60
58
|
unsafe_arrows?: boolean;
|
59
|
+
unsafe?: boolean;
|
61
60
|
unsafe_comps?: boolean;
|
62
61
|
unsafe_Function?: boolean;
|
63
62
|
unsafe_math?: boolean;
|
@@ -101,10 +100,10 @@ export interface OutputOptions {
|
|
101
100
|
braces?: boolean;
|
102
101
|
comments?: boolean | 'all' | 'some' | RegExp | Function;
|
103
102
|
ecma?: ECMA;
|
103
|
+
ie8?: boolean;
|
104
104
|
indent_level?: number;
|
105
105
|
indent_start?: number;
|
106
106
|
inline_script?: boolean;
|
107
|
-
ie8?: boolean;
|
108
107
|
keep_quoted_props?: boolean;
|
109
108
|
max_line_len?: number | false;
|
110
109
|
preamble?: string;
|