Update dependency uglify-js to v3.17.4
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
uglify-js | 3.1.6 -> 3.17.4 |
Release Notes
mishoo/UglifyJS (uglify-js)
v3.17.4
Features
Bug Fixes
-
async
generator function (5411360
) - compound assignment operator (
19c471c
) - generator function (
7edd10e
) - immediately invoked function expression (
8319bad
) - logical operator (
5a5200d
) - rest parameter (
bccb1c3
) - unary arithmetic operator (
19c471c
)
v3.17.3
Features
- improve heuristics for
mangle.properties
(3fa2086
) - enable
domprops
to be used underminify()
(bd5fc4c
) - improve compression of boolean & conditional expressions (
80fc862
,dabcc39
,58d997a
)
Bug Fixes
-
async
generator function (8e65413
,a570c00
) -
class
field (e1e3516
) -
for await...of
loop (140e4e0
) - lexical declaration (
be8ccc3
) -
switch
statement (6cdc035
)
v3.17.2
Bug Fixes
- assignment operator (
9efa02a
,63b04a6
) -
if
statement (9ac3879
) -
return
statement (37d3e4f
) - ternary expression (
43ec350
)
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
)
Bug Fixes
-
async
generator function (da930af
) -
class
property (41b65af
,dd90135
) -
class
static
block (41b65af
) - default parameter (
c32fe26
) - destructuring syntax (
c32fe26
) -
function
literal (513995f
) - lexical declaration (
937a672
)
v3.16.3
Features
- improve elimination of
return
statements (0207b46
,c8d98f4
) - merge common tail of
if
statements (d89f096
,3dcf098
,902292f
,b92a89f
) - improve compression of non-trivial function parameters (
154edf0
,24443b6
,b371dc2
) - support
import
&export
of non-ECMAScript identifiers (d67daa8
)
Bug Fixes
- assignment operator (
5792f30
,f0120e9
) - default parameter (
ec4558b
) -
export
statement (b2bc2e1
) -
import()
(0b808f6
) -
import.meta
(0b808f6
) -
import
statement (b2bc2e1
) - rest parameter (
38bd4f6
) - spread syntax (
56e9454
)
v3.16.2
Features
- improve elimination of
return
statements (9f57920
,8b46433
,fcc87ed
) - expand inlining within
async
generator functions (51deeff
)
Bug Fixes
-
async
function (e1b03d0
) -
async
generator function (f1b3e9d
) -
class
field (2426657
) - default parameter (
4c227cc
,3596b4f
) - destructuring syntax (
4c227cc
) -
function
literal (4c227cc
) - lexical declaration (
933ca9d
) - rest parameter (
4c227cc
)
v3.16.1
Features
- support top-level
await
via--module
(d2bd0d1
,0c7b016
) - support
class static
initialization block (88b4283
,0066576
,4382bfe
) - discard all unused
in
&instanceof
expressions viaunsafe_comps
(5d69545
) - improve detection of unreferenced
class
&function
(b6f250f
)
Bug Fixes
-
__proto__
accessor (123f9cf
) - arrow function (
44e5e99
) - assignment operator (
99946a3
) -
await
operator (be53c48
) -
class
literal (2501797
,053cb27
) -
instanceof
operator (139fad0
)
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
Bug Fixes
-
arguments
object (5ebfa78
) - arrow function (
950609f
) - assignment operator (
a0c0c29
,89a35f9
) - class literal (
35c2149
) - immediately invoked function expression (
fbdb7ee
) -
try
statement (20252c6
)
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
Features
- improve
compress
efficiency (fdbbef2
)
Bug Fixes
v3.15.2
Features
- improve
compress
efficiency (b6c72c8
) - generalise optimisation on conditional branches (
6d0bb58
,a14555a
,d5afe16
) - extend nullish comparison truncation (
9686379
) - minimise
mangle
entropy (a7d0616
) - trim
return
from discarded calls (dd3b81d
)
Bug Fixes
-
class
literal (316245e
) -
function
call (313e497
) -
function
literal (63b92ea
) - postfix operator (
82e8ebd
) - rest parameter (
fbc5ecf
) - string literal (
a9d0dde
) - unary arithmetic operator (
0b50880
,212ce46
)
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
)
v3.14.5
Features
v3.14.4
Features
- improve compression of logical assignments (
6d94242
) - compress transpiled TypeScript
enum
s (3acb5a3
,6e4aa03
,77f7ae5
) - improve tracking of non-initialised variables (
f97e107
) - improve compression of destructuring assignments (
1e3ca4c
,dc9e1ff
) - minimise interference from
merge_vars
(3ee1b0d
,ea10498
,1a8f2ec
,0b6c185
,1b4bd70
,3f8f0e2
)
Bug Fixes
-
await
operator (ae5c3ee
) - default parameter (
bfd0ac7
) - destructuring syntax (
e9932e1
) -
function
call (2d0f8bc
) - object method (
ae5c3ee
) - rest parameter (
f9a4b36
) -
yield
keyword (ae5c3ee
)
v3.14.3
Features
- eliminate extraneous label on loops (
436a293
) - improve compression of template literals (
f766bab
,0b2573c
)
Bug Fixes
-
await
operator (eb93d92
,a841d45
) -
class
literal (c8b0f68
) - default parameter (
940887f
) - destructuring syntax (
a0250ec
) -
function
call (87b9916
) -
let
keyword (2580162
) - rest parameter (
55418fd
) - string concatenation (
03aec89
)
v3.14.2
Features
Bug Fixes
-
arguments
object (fdcc6d3
) - default parameter (
db94d21
) - destructuring syntax (
befb99b
) -
function
literal (c3aef23
) - optional chaining operator (
9634a9d
) - rest parameter (
c09f63a
) -
try
statement (02eb8ba
)
v3.14.1
Bug Fixes
v3.14.0
Features
- improve escape analysis on lambda expression (
798121c
,972b9f0
,f4ae267
,f5dbb67
,6961c57
,d0e3f69
,1fefe3f
,ea7829d
,d147d5d
) - extend simplification of ternary expression (
1b74549
) - drop extraneous whitespace during
beautify
of loop statements (668f966
) - support destructured shorthand for default parameter (
2340fef
) - improve escape analysis on default parameter (
6577d64
) - prune unreachable expressions in destrucuturing assignment (
f67dd31
,aae1fcd
,1ad830f
,0d350b7
,92c3fdd
,a7e7865
,8926a2f
) - address call & member resolution quirks under Internet Explorer (
ef5f7fc
) - extend
keep_quoted_props
over numeric keys (65adeba
)
Bug Fixes
-
class
literal (0668fad
,902997b
) - default parameter (
0c48b84
) - destructuring syntax (
85968de
) -
for await...of
loop (64ebf6e
) -
if
statement (611abff
) - object literal (
08391b8
) - optional chaining operator (
4ba8b66
,7fac839
) - property accessor (
f18804f
) - rest parameter (
450aaba
)
v3.13.10
Features
- finer pruning of
switch
branch (498ac83
,bf76e35
,21fc8f4
,7880568
) - improve detection of superfluous assignment (
fd8dec6
) - extend simplification of boolean expression (
7c5b6f3
,980dbde
) - implement workaround for Safari/WebKit
var
bug (82772cc
)
Bug Fixes
- assignment operator (
111366f
,8b05677
) -
await
operator (6fc7a2a
,e9c902b
) -
class
literal (ce75477
,e368d39
) - default parameter (
e70b848
) - destructuring syntax (
e70b848
) -
function
literal (7cbcd11
,1a064b6
,7621527
) -
import
statement (f8b2215
) - lexical declaration (
95090db
) - spread syntax (
ac1262d
) -
yield
keyword (e9c902b
)
v3.13.9
Features
- drop unused default parameter (
362abe0
) - enhance elision of
await
operator (ab42a90
,d320a6c
,55a230d
) - extend inlining of
async
function (8cd95dd
,d40631f
) - improve compress efficiency on block scope (
260431f
,23b9f36
,06e3dbc
)
Bug Fixes
-
arguments
object (e3798d9
) -
class
literal (8d23496
,b9d5bba
) - destructuring syntax (
749a828
) -
get
syntax (7fa1dea
) - lexical declaration (
7e88d52
) - static
class
field (83f7887
)
v3.13.8
Features
- improve compression on tagged template literal (
e0695ef
) - support source mapping of
class
property (5d4e6e3
)
Bug Fixes
-
arguments
object (de376c3
,df47632
) -
function
scope (eb08fed
) - lexical declaration (
8b0c836
,1e787c5
,7caab39
) - optional chaining operator (
4a19575
) - private
class
property (d2a45ba
) - static
class
field (eff45ea
) -
throw
statement (d6152e6
)
v3.13.7
Features
Bug Fixes
-
__proto__
accessor (e136155
) - assignment operator (
bbed9b1
,2549377
) - function declaration (
a7698f8
) - lexical declaration (
2cff7c9
) - logical assignment operator (
ae51f76
) - optional chaining operator (
60f3b55
,e044293
) - template literal (
7576048
)
v3.13.6
Features
- support optional chaining operator (
f0de9a8
,ce3c35f
) - improve granularity of variable substitutions (
16411dc
,6ab26ee
,fb03561
,4114431
,203f4b7
,3094eaa
,d464be3
) - extend circular self-reference eliminations (
53b57ee
,19d232b
)
Bug Fixes
-
__proto__
accessor (d833e66
,8e4a19f
,df980db
,8bbfaac
,ac1f7d6
) - default parameter (
ee9ceb7
) - property accessor (
bbca9de
,bb22536
) - template literal (
5d9224d
)
v3.13.5
Features
- drop unused self-referencing
class
&function
(bddb5a0
) - handle
Map
,Set
,WeakMap
&WeakSet
(f46209b
) - improve detection of unused assignment (
9b8deff
) - improve compression on variable reassignment (
10dd9d4
) - enable ESTree translation on all supported ECMAScript features (
324587f
,97bd56b
) - support
__PURE__
in ESTree translation (d576495
)
Bug Fixes
- assignment operator (
4cccc01
) - default parameter (
c53af3d
) -
export
statement (80efaa2
) -
for [await]...of
loop (acf951a
) -
function
parameter (a1a212f
) - global constant property (
3c161a6
,c296a63
) - logical assignment operator (
a06e203
) -
yield
keyword (a2b1b96
)
v3.13.4
Features
Bug Fixes
-
class
literal (1947a21
) -
for
loop (a37ca55
) - immediately invoked function expression (
0df0281
) -
import.meta
(cf38b52
) - lexical declaration (
8a82822
) - new operator (
e755d01
) - object method (
cea1fb5
) - octal number syntax (
b179a24
) - spread syntax (
ebe4e1a
) -
try
statement (ca49f6f
)
v3.13.3
Features
- support logical assignment operator (
f9055df
,e7be38b
,40ef074
,daa8319
) - improve compress efficiency on block scope (
d559960
)
Bug Fixes
v3.13.2
Features
- support exponentiation assignment operator (
01aa078
) - flexible handling of
__PURE__
through newannotations
option (3b5d501
) - retain
class
names viakeep_fnames
(997d09b
) - better formatting of comments under
beautify
(7d595e2
) -
import/export { foo as foo };
➡ import/export { foo };
(2411132
) -
var f = async function*() { ... };
➡ async function* f() { ... }
(b244b4e
)
Bug Fixes
-
arguments
object (9faee3b
) - arrow function (
e124ef5
) -
async
function (c36c3cb
) -
BigInt
literal (3016a78
) - comma operator (
24619da
) -
delete
operator (48c46fa
,2508481
) -
export
statement (6f3ab09
,b872ffe
) - generator function (
73e6b25
,7da49b5
) - iteration statement (
e821787
) - logical operator (
b89cc84
) -
new.target
(352a944
,2508481
) - numeric literal (
aa6e33e
) - spread syntax (
2619bff
,149d75c
,d837a46
) -
super
keyword (77c9116
) - template literal (
176581d
) - Unicode escape sequence (
9fc0ff5
) -
var
statement (9a95430
)
v3.13.1
v3.13.0
v3.12.8
v3.12.7
v3.12.6
v3.12.5
v3.12.4
v3.12.3
v3.12.2
v3.12.1
v3.12.0
v3.11.6
v3.11.5
v3.11.4
v3.11.3
v3.11.2
v3.11.1
v3.11.0
v3.10.4
v3.10.3
v3.10.2
v3.10.1
v3.10.0
v3.9.4
v3.9.3
v3.9.2
v3.9.1
v3.9.0
v3.8.1
v3.8.0
v3.7.7
v3.7.6
v3.7.5
v3.7.4
v3.7.3
v3.7.2
v3.7.1
v3.7.0
v3.6.9
v3.6.8
v3.6.7
v3.6.6
v3.6.5
v3.6.4
v3.6.3
v3.6.2
v3.6.1
v3.6.0
v3.5.15
v3.5.14
v3.5.13
v3.5.12
v3.5.11
v3.5.10
v3.5.9
v3.5.8
v3.5.7
v3.5.6
v3.5.5
v3.5.4
v3.5.3
v3.5.2
v3.5.1
v3.5.0
v3.4.10
v3.4.9
v3.4.8
v3.4.7
v3.4.6
v3.4.5
v3.4.4
v3.4.3
v3.4.2
v3.4.1
v3.4.0
v3.3.28
v3.3.27
v3.3.26
v3.3.25
v3.3.24
v3.3.23
v3.3.22
v3.3.21
v3.3.20
v3.3.19
v3.3.18
v3.3.17
v3.3.16
v3.3.15
v3.3.14
v3.3.13
v3.3.12
v3.3.11
v3.3.10
v3.3.9
v3.3.8
v3.3.7
v3.3.6
v3.3.5
v3.3.4
v3.3.3
v3.3.2
v3.3.1
v3.3.0
v3.2.2
v3.2.1
v3.2.0
v3.1.10
v3.1.9
v3.1.8
v3.1.7
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.