Packages

terser

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

Your version

5.26.0

7 Dec 2023Where it was published

5.51.4 is the newest release of 5.x.

In short

1 fixed2 changed

Release note

  • Do not take the /*#__PURE__*/ annotation into account when the side_effects compress option is off.

  • The preserve_annotations option now automatically opts annotation comments in, instead of requiring the comments option to be configured for this.

  • Refuse to parse empty parenthesized expressions (())

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.