diff --git a/CHANGELOG.md b/CHANGELOG.md index 10dda926b..333bee4ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v4.3.8 + + - Typescript typings fix + ## v4.3.7 - Parsing of regex options in the CLI (which broke in v4.3.5) was fixed. diff --git a/package-lock.json b/package-lock.json index b0d634fa3..cc28b76d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "terser", - "version": "4.3.7", + "version": "4.3.8", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index a14c19f50..1efff95cd 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "homepage": "https://terser.org", "author": "Mihai Bazon (http://lisperator.net/)", "license": "BSD-2-Clause", - "version": "4.3.7", + "version": "4.3.8", "engines": { "node": ">=6.0.0" }, diff --git a/tools/terser.d.ts b/tools/terser.d.ts index 3d94fde40..c4fa828c7 100644 --- a/tools/terser.d.ts +++ b/tools/terser.d.ts @@ -14,8 +14,8 @@ export interface ParseOptions { export interface CompressOptions { arguments?: boolean; arrows?: boolean; - booleans?: boolean; booleans_as_integers?: boolean; + booleans?: boolean; collapse_vars?: boolean; comparisons?: boolean; computed_props?: boolean; @@ -54,10 +54,9 @@ export interface CompressOptions { switches?: boolean; toplevel?: boolean; top_retain?: null | string | string[] | RegExp; - toplevel?: boolean; typeofs?: boolean; - unsafe?: boolean; unsafe_arrows?: boolean; + unsafe?: boolean; unsafe_comps?: boolean; unsafe_Function?: boolean; unsafe_math?: boolean; @@ -101,10 +100,10 @@ export interface OutputOptions { braces?: boolean; comments?: boolean | 'all' | 'some' | RegExp | Function; ecma?: ECMA; + ie8?: boolean; indent_level?: number; indent_start?: number; inline_script?: boolean; - ie8?: boolean; keep_quoted_props?: boolean; max_line_len?: number | false; preamble?: string;