Releases: mishoo/UglifyJS
Releases · mishoo/UglifyJS
v3.16.3
v3.16.2
v3.16.1
v3.16.0
Features
- support handling of ES modules (c82fc1e)
- improve handling of input with mixed sloppy/strict modes (e31bbe3, 2152f00)
Bug Fixes
async
function (27aa85f, 3c9e169)class
literal (c2ca7b7, ad3a331)- default parameter (f70462a, 27727e6, d4caa97, 740f93f, a025392)
- destructuring syntax (33c9c48, a025392)
export
statement (fc6a668)- generator function (27aa85f)
- immediately invoked function expression (63f16e4)
- labeled statement (ad5f5ef)
- lexical declaration (8bc03dc)
- logical operator (59b23b8)
- object literal (7db2ada)
return
statement (94aae05, 3c9e169)
v3.15.5
v3.15.4
Features
- ensure
keep_fnames
onfunction
literals assigned to variables (8922f08) - workaround quirk on Chrome v100 (3671894)
Bug Fixes
class
literal (a8e040b, c624b43)- comma operator (8922f08)
- default parameter (ccd77d7)
- destructuring syntax (d75a946)
for...in
loop (01b8407)function
literal (998c979)- labeled statement (224c91b)
- object method (a8e040b)
- rest parameter (15a4074)
- spread syntax (46570a4)
var
statement (fb5e08e, 21bd4c4)yield
keyword (5e30f3a)
v3.15.3
v3.15.2
v3.15.1
Features
- collapse global assignments (5c863b7)
- speed up
max_line_len
&preserve_line
(371d259) - support custom indentation (e4a91a8)
- improve compression of conditional
return
chains (d7eb80b, aad5d6e)
Bug Fixes
arguments
object (77552d9)class
literal (e7d6dd2)- compound assignment operator (0a5a1f3)
- default parameter (67438f3, 9a91a7a, d338e45)
- destructuring syntax (67438f3)
function
literal (3693bde)- global constant property (6fb7de7)
- lexical declaration (18f0045, 28943bc, b106cd9)
- logical assignment operator (0a5a1f3)
- template literal (371d259)
var
statement (8ceb4b0, fa30960)
v3.15.0
Features
- improve
compress
performance (7fe7c39, 509896a) - inline non-trivial function calls (ba42cba, 343bf6d, 29a1e71, e1013bd, 835d130, d51caaf, 87a7426, aa6eb0d, f7841bc, 7889192, 1a054e8, dec359c, 3a3666a, d46eb69, 9aab1f3, c7d2837, f8602ac, ff3c2ed, dfd6418, 43807c2, efed55f)
- improve compression of compound expressions (7b2eb4b, bab4164, b46c794)
- trim non-trivial assignment values (e7ce105)
- improve value expansion of local variables (8d0422b)
- reduce output entropy of
mangle
(2f568b9) - improve compression of compound assignments (10a1523, be8c75b, b0df5d7, f473b4d)
- eliminate unused symbols from
import
statements (9a58270) - improve compression of spread syntax (8c2b76e)
- preserve function argument names via
--keep-fargs
(e24b255, 866cd4a)
Bug Fixes
async
function (d96c59f)await
operator (b636e97)class
literal (e9d9d5a, 87e8aca)- destructuring syntax (9e927ec, b9b2a4f)
- default parameter (e7ce105)
- lexical declaration (80d5f23, c94624f)
new
operator (86406e7)- optional chaining operator (14e1311)
typeof
operator (f639a30, 35d7f31)var
statement (58bea67)