Packages

terser

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

Upgrading terser From 5.21.0 to 5.22.0

1 release in betweenevery note read

Other targets from 5.21.0Newest 5.x5.51.4Latest5.51.2
  1. 5.21.0yours
  2. 5.22.0target
0
changes to make
0
advisories fixed
0
new
2
fixes

Release by release

  1. 5.22.0

    16 Oct 20232 fixes
    • Fixed

      Do not unsafely shorten expressions like a?.toString() when they're conditional.

    • Fixed

      Avoid running drop_unused in nodes that aren't scopes. Fixes a rare crash.

1 other line we could not sort, mostly version bumps
  • When 'module' is enabled, assume strict mode when figuring out scopes.

    5.22.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.