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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v4.3.8
4
+
5
+ - Typescript typings fix
6
+
3
7
  ## v4.3.7
4
8
 
5
9
  - Parsing of regex options in the CLI (which broke in v4.3.5) was fixed.
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.7",
7
+ "version": "4.3.8",
8
8
  "engines": {
9
9
  "node": ">=6.0.0"
10
10
  },
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;