Packages

terser

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

Upgrading terser From 4.2.1 to 4.3.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Security

1 advisory still affects 4.3.0

Upgrading to 4.8.1 clears it.

Release by release

  1. 4.3.0

    7 Sep 20192 fixes
    • Fixed

      Do not drop computed object keys with side effects

    • Fixed

      Fixed scoping issues with try and switch

3 other lines we could not sort, mostly version bumps
  • Functions passed to other functions in calls are now wrapped in parentheses by default, which speeds up loading most modules

    4.3.0
  • Objects with computed properties are now less likely to be hoisted

    4.3.0
  • Speed and memory efficiency optimizations

    4.3.0

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.