Update uglify-js 3.17.4 → 3.19.1 (minor)
Welcome to Depfu
This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.
After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.
Let us know if you have any questions. Thanks so much for giving Depfu a try!
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳ ️ uglify-js (3.17.4 → 3.19.1) · Repo
Release Notes
3.19.1
Features
- simplify nullish comparison of complex expressions (7a4fb85)
Bug Fixes
3.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)
3.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)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 72 commits:
v3.19.1
fix corner case in `reduce_vars` (#5893)
fix corner case in `reduce_vars` (#5891)
enhance `comparisons` (#5889)
v3.19.0
fix corner case in `booleans` (#5887)
fix corner case in `inline` (#5886)
fix corner case in `dead_code` (#5883)
fix corner case in `semicolons` (#5881)
fix corner cases in `semicolons` (#5879)
fix corner case in `unused` (#5877)
fix corner case in `reduce_vars` (#5875)
fix corner case in `reduce_vars` (#5873)
enhance `inline` (#5871)
fix corner case in `collapse_vars` (#5870)
enhance `collapse_vars`, `unsafe` & `unused` (#5868)
fix corner case in `unused` (#5867)
enhance `hoist_vars` (#5865)
fix corner case in `hoist_vars` (#5864)
fix corner case in `reduce_vars` (#5862)
fix corner cases in `pure_getters` & `reduce_vars` (#5859)
fix corner case in `collapse_vars` (#5855)
enhance `dead_code` & `side_effects` (#5840)
fix corner case in `inline` (#5853)
fix corner cases in `join_vars` (#5852)
fix corner case in `inline` (#5848)
fix corner case in `unused` (#5847)
fix corner case in `inline` (#5846)
fix corner case in `inline` (#5845)
v3.18.0
improve ESTree compatibility (#5836)
workaround `function` declaration quirks in ES6+ (#5833)
fix corner case in `join_vars` (#5832)
fix corner case in `merge_vars` (#5830)
fix corner case in `awaits` (#5828)
include Node.js v20 in CI tests (#5827)
fix scope assignment to `switch` expressions (#5826)
enhance `join_vars` (#5824)
domprops: enableHighAccuracy, maximumAge (#5822)
workaround `node` & `npm` issues (#5825)
fix corner case in `collapse_vars` (#5780)
fix corner case in `reduce_vars` (#5778)
fix corner case in `evaluate` (#5775)
fix corner case in `merge_vars` (#5773)
fix corner case in `merge_vars` (#5771)
fix corner case in `functions` & `inline` (#5767)
improve `--reduce-test` (#5763)
improve CLI interoperability (#5762)
minor lints (#5761)
fix corner case in `inline` (#5760)
improve usability (#5758)
fix corner case in `join_vars` & `loops` (#5757)
fix corner case in `if_return` (#5755)
improve usability (#5753)
improve interoperability of custom `Error`s (#5752)
fix corner case in `yields` (#5750)
fix corner case in `collapse_vars` (#5748)
fix corner case in `join_vars` (#5746)
minor lints (#5744)
fix corner case in `inline` (#5742)
minor lints (#5740)
enhance `join_vars` (#5739)
enable `--module` by default (#5738)
enhance `varify` (#5737)
fix corner case in `inline` (#5736)
suppress false positives in `ufuzz` (#5734)
fix corner case in `reduce_vars` (#5731)
fix corner case in `evaluate` (#5729)
fix corner cases in `evaluate` & `side_effects` (#5726)
fix corner case in `inline` & `unused` (#5725)
fix corner case in `conditionals` (#5723)
fix corner case in `collapse_vars` (#5720)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase
.
All Depfu comment commands
- @depfu rebase
- Rebases against your default branch and redoes this update
- @depfu recreate
- Recreates this PR, overwriting any edits that you've made to it
- @depfu merge
- Merges this PR once your tests are passing and conflicts are resolved
- @depfu cancel merge
- Cancels automatic merging of this PR
- @depfu close
- Closes this PR and deletes the branch
- @depfu reopen
- Restores the branch and reopens this PR (if it's closed)
- @depfu pause
- Ignores all future updates for this dependency and closes this PR
- @depfu pause [minor|major]
- Ignores all future minor/major updates for this dependency and closes this PR
- @depfu resume
- Future versions of this dependency will create PRs again (leaves this PR as is)