Releases: mishoo/UglifyJS
Releases · mishoo/UglifyJS
v3.19.3
v3.19.2
v3.19.1
v3.19.0
Features
- eliminate side-effect-free property access (9c80456, 95d3ede, 205a1d1, 124c4d3)
- improve
hoist_vars
efficiency (ce8ef52) - improve compression around built-in function (8c5a899)
- improve deconstruction of singular destructuring assignment (8c5a899)
Bug Fixes
__proto__
accessor (87c9edb)- automatic semicolon insertion (008edfb, 8cfa37e)
class
field (2c73103, 0a33da4)- default parameter (6669ea1)
delete
operator (b6b0658)- destructuring syntax (f31311e, 8195a66, ed36c1e)
function
call (dc7aa32, 722465b)- immediately invoked function expression (dc51a23)
- property access (6b23899)
- spread syntax (23d74be)
try
statement (8dc99fa, 787dfbe)- unary arithmetic operator (fada1a1)
v3.18.0
Features
- convert
const
tolet
when possible (21aff99) - process input as ES module by default (68d62a8, 17c3ae6)
- concatenate
let
andvar
declarations (e5cbd3e) - avoid mangling of
enableHighAccuracy
&maximumAge
DOM properties (aa7c338) - compress array element assignments into declaration (ffe0fe7, 3dfb379)
- handle lexical
function
declaration in ES6+ (e7b9b4a) - improve ESTree interoperability with third-party tools (ca4185a)
Bug Fixes
- assignment operator (f0ca9cf)
async
generator function (404794f)await
operator (0991077)BigInt
literal (2b1c321)class
field (f40dbd6, 1d400f1)class
literal (548f093)- default parameter (57dd3f6)
function
call (e37a148, a437a61)- generator function (574ca47)
if
statement (358faaa)- immediately invoked function expression (1d400f1, aef7065, dd88f38, c911704)
instanceof
operator (8d28052)let
statement (0cbd5ea)- logical operator (7270671)
- nullish coalescing operator (2cb6454)
switch
statement (34b6143)- ternary expression (f07dc5c)
- unary arithmetic operator (30bf068)
var
statement (2352909)
v3.17.4
Features
Bug Fixes
v3.17.3
v3.17.2
v3.17.1
Features
- improve precision of escape analysis (d6d2f5c, 10bc86b)
- improve usability of
--mangle-props
(9eea3a6, 4653e8a, 5ac6ec5) - extend
glob
patterns for--in-situ
(535212c) - support Adobe ExtendScipt on best-effort basis (32bd65a)
- inline immediately invoked arrow function expressions (9dec612)
- improve elimination of lexical declarations (edf1bf1)
Bug Fixes
arguments
object (5b5f6e3)- arrow function (02d966d)
- assignment operator (1d42e9a)
async
function (15b608f)class
method (001f6f9)- compound assignment operator (f63b7b0)
- destructuring syntax (eb22f01)
export
statement (9cdc1ef)- lexical declaration (88dfc49, e0b302d)
- logical operator (78f354b)
return
statement (887e086)- ternary expression (78f354b, e4bff31)
throw
statement (4e4a2f8)- unary arithmetic operator (ac002b6, f63b7b0)
var
statement (887e086, 4db8106)
v3.17.0
Features
- merge common tail of
if
statements (996836b) - eliminate superfluous
Object()
wrappers (db6fd6d) - improve elimination of
return
statements (08c386f, ab5c7e6, 6667440, e39f33e, 64e3cee, 8076d66, 884842c, a9d9af5) - improve compression of ternary expressions (672cdfa)
- exclude latest ECMAScript runtime properties from
builtin
mangling (8a07f12) - introduce
--expression
for ease of handling bookmarklets or JSON expressions (f451a7a) - improve resolution and accuracy of source-maps (2c3c4ec)
- inline function calls with simple assignments (5a4cd09)