terser 4.3.4 → 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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "homepage": "https://terser.org",
5
5
  "author": "Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)",
6
6
  "license": "BSD-2-Clause",
7
- "version": "4.3.4",
7
+ "version": "4.3.8",
8
8
  "engines": {
9
9
  "node": ">=6.0.0"
10
10
  },
package/tools/terser.d.ts CHANGED
@@ -14,6 +14,7 @@ export interface ParseOptions {
14
14
  export interface CompressOptions {
15
15
  arguments?: boolean;
16
16
  arrows?: boolean;
17
+ booleans_as_integers?: boolean;
17
18
  booleans?: boolean;
18
19
  collapse_vars?: boolean;
19
20
  comparisons?: boolean;
@@ -31,6 +32,7 @@ export interface CompressOptions {
31
32
  hoist_funs?: boolean;
32
33
  hoist_props?: boolean;
33
34
  hoist_vars?: boolean;
35
+ ie8?: boolean;
34
36
  if_return?: boolean;
35
37
  inline?: boolean | InlineFunctions;
36
38
  join_vars?: boolean;
@@ -53,8 +55,8 @@ export interface CompressOptions {
53
55
  toplevel?: boolean;
54
56
  top_retain?: null | string | string[] | RegExp;
55
57
  typeofs?: boolean;
56
- unsafe?: boolean;
57
58
  unsafe_arrows?: boolean;
59
+ unsafe?: boolean;
58
60
  unsafe_comps?: boolean;
59
61
  unsafe_Function?: boolean;
60
62
  unsafe_math?: boolean;
@@ -98,10 +100,10 @@ export interface OutputOptions {
98
100
  braces?: boolean;
99
101
  comments?: boolean | 'all' | 'some' | RegExp | Function;
100
102
  ecma?: ECMA;
103
+ ie8?: boolean;
101
104
  indent_level?: number;
102
105
  indent_start?: number;
103
106
  inline_script?: boolean;
104
- ie8?: boolean;
105
107
  keep_quoted_props?: boolean;
106
108
  max_line_len?: number | false;
107
109
  preamble?: string;