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_varsefficiency (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)
classfield (2c73103, 0a33da4)- default parameter (6669ea1)
deleteoperator (b6b0658)- destructuring syntax (f31311e, 8195a66, ed36c1e)
functioncall (dc7aa32, 722465b)- immediately invoked function expression (dc51a23)
- property access (6b23899)
- spread syntax (23d74be)
trystatement (8dc99fa, 787dfbe)- unary arithmetic operator (fada1a1)
v3.18.0
Features
- convert
consttoletwhen possible (21aff99) - process input as ES module by default (68d62a8, 17c3ae6)
- concatenate
letandvardeclarations (e5cbd3e) - avoid mangling of
enableHighAccuracy&maximumAgeDOM properties (aa7c338) - compress array element assignments into declaration (ffe0fe7, 3dfb379)
- handle lexical
functiondeclaration in ES6+ (e7b9b4a) - improve ESTree interoperability with third-party tools (ca4185a)
Bug Fixes
- assignment operator (f0ca9cf)
asyncgenerator function (404794f)awaitoperator (0991077)BigIntliteral (2b1c321)classfield (f40dbd6, 1d400f1)classliteral (548f093)- default parameter (57dd3f6)
functioncall (e37a148, a437a61)- generator function (574ca47)
ifstatement (358faaa)- immediately invoked function expression (1d400f1, aef7065, dd88f38, c911704)
instanceofoperator (8d28052)letstatement (0cbd5ea)- logical operator (7270671)
- nullish coalescing operator (2cb6454)
switchstatement (34b6143)- ternary expression (f07dc5c)
- unary arithmetic operator (30bf068)
varstatement (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
globpatterns 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
argumentsobject (5b5f6e3)- arrow function (02d966d)
- assignment operator (1d42e9a)
asyncfunction (15b608f)classmethod (001f6f9)- compound assignment operator (f63b7b0)
- destructuring syntax (eb22f01)
exportstatement (9cdc1ef)- lexical declaration (88dfc49, e0b302d)
- logical operator (78f354b)
returnstatement (887e086)- ternary expression (78f354b, e4bff31)
throwstatement (4e4a2f8)- unary arithmetic operator (ac002b6, f63b7b0)
varstatement (887e086, 4db8106)
v3.17.0
Features
- merge common tail of
ifstatements (996836b) - eliminate superfluous
Object()wrappers (db6fd6d) - improve elimination of
returnstatements (08c386f, ab5c7e6, 6667440, e39f33e, 64e3cee, 8076d66, 884842c, a9d9af5) - improve compression of ternary expressions (672cdfa)
- exclude latest ECMAScript runtime properties from
builtinmangling (8a07f12) - introduce
--expressionfor ease of handling bookmarklets or JSON expressions (f451a7a) - improve resolution and accuracy of source-maps (2c3c4ec)
- inline function calls with simple assignments (5a4cd09)