terser 4.3.3 → 4.3.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/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.3",
7
+ "version": "4.3.4",
8
8
  "engines": {
9
9
  "node": ">=6.0.0"
10
10
  },
@@ -46,9 +46,8 @@
46
46
  },
47
47
  "scripts": {
48
48
  "test": "npm run build -- --configTest && node test/run-tests.js",
49
- "test:precommit": "npm run build && node test/run-tests.js",
50
- "test:mocha": "npm run build -- --configTest && node test/mocha.js",
51
49
  "test:compress": "npm run build -- --configTest && node test/compress.js",
50
+ "test:mocha": "npm run build -- --configTest && node test/mocha.js",
52
51
  "lint": "eslint lib",
53
52
  "lint-fix": "eslint --fix lib",
54
53
  "build": "rimraf dist/* && rollup --config --silent",
@@ -118,6 +117,6 @@
118
117
  },
119
118
  "pre-commit": [
120
119
  "lint-fix",
121
- "test:precommit"
120
+ "test"
122
121
  ]
123
122
  }
package/tools/domprops.js CHANGED
@@ -5616,4 +5616,4 @@ export var domprops = [
5616
5616
  "zoom",
5617
5617
  "zoomAndPan",
5618
5618
  "zoomRectScreen"
5619
- ]
5619
+ ];
package/tools/terser.d.ts CHANGED
@@ -99,11 +99,11 @@ export interface OutputOptions {
99
99
  comments?: boolean | 'all' | 'some' | RegExp | Function;
100
100
  ecma?: ECMA;
101
101
  indent_level?: number;
102
- indent_start?: boolean;
102
+ indent_start?: number;
103
103
  inline_script?: boolean;
104
104
  ie8?: boolean;
105
105
  keep_quoted_props?: boolean;
106
- max_line_len?: false | number;
106
+ max_line_len?: number | false;
107
107
  preamble?: string;
108
108
  quote_keys?: boolean;
109
109
  quote_style?: OutputQuoteStyle;
@@ -282,17 +282,14 @@ declare class AST_Accessor extends AST_Lambda {
282
282
 
283
283
  declare class AST_Function extends AST_Lambda {
284
284
  constructor(props?: object);
285
- inlined: boolean;
286
285
  }
287
286
 
288
287
  declare class AST_Arrow extends AST_Lambda {
289
288
  constructor(props?: object);
290
- inlined: boolean;
291
289
  }
292
290
 
293
291
  declare class AST_Defun extends AST_Lambda {
294
292
  constructor(props?: object);
295
- inlined: boolean;
296
293
  }
297
294
 
298
295
  declare class AST_Class extends AST_Scope {
@@ -300,7 +297,6 @@ declare class AST_Class extends AST_Scope {
300
297
  name: AST_SymbolClass | AST_SymbolDefClass | null;
301
298
  extends: AST_Node | null;
302
299
  properties: AST_ObjectProperty[];
303
- inlined: boolean;
304
300
  }
305
301
 
306
302
  declare class AST_DefClass extends AST_Class {