terser 4.6.2 → 4.6.3

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.6.2",
7
+ "version": "4.6.3",
8
8
  "engines": {
9
9
  "node": ">=6.0.0"
10
10
  },
package/tools/terser.d.ts CHANGED
@@ -92,7 +92,7 @@ export interface MangleOptions {
92
92
  export interface ManglePropertiesOptions {
93
93
  builtins?: boolean;
94
94
  debug?: boolean;
95
- keep_quoted?: boolean;
95
+ keep_quoted?: boolean | 'strict';
96
96
  regex?: RegExp | string;
97
97
  reserved?: string[];
98
98
  }
@@ -110,6 +110,7 @@ export interface OutputOptions {
110
110
  keep_quoted_props?: boolean;
111
111
  max_line_len?: number | false;
112
112
  preamble?: string;
113
+ preserve_annotations?: boolean;
113
114
  quote_keys?: boolean;
114
115
  quote_style?: OutputQuoteStyle;
115
116
  safari10?: boolean;