Packages

terser

5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed

Upgrading terser From 4.6.10 to 4.6.11

1 release in betweenevery note read

Other targets from 4.6.10Newest 4.x4.8.2Clears its advisory4.8.1Latest5.51.2
  1. 4.6.10yours
  2. 4.6.11target
0
changes to make
0
advisories fixed
0
new
1
fix

Security

1 advisory still affects 4.6.11

Upgrading to 4.8.1 clears it.

Release by release

  1. 4.6.11

    8 Apr 20201 fix
    • Fixed

      Prevent inlining into block scopes when there are name collisions

5 other lines we could not sort, mostly version bumps
  • Read unused classes' properties and method keys, to figure out if they use other variables.

    4.6.11
  • Functions are no longer inlined into parameter defaults, because they live in their own special scope.

    4.6.11
  • When inlining identity functions, take into account the fact they may be used to drop this in function calls.

    4.6.11
  • Nullish coalescing operator (x ?? y), plus basic optimization for it.

    4.6.11
  • Template literals in binary expressions such as + have been further optimized

    4.6.11

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.