Packages

terser

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

Your version

5.16.2

30 Jan 2023Where it was published

5.51.4 is the newest release of 5.x.

In short

2 new3 fixed2 changed

Release note

  • Fix sourcemaps with non-ascii characters

  • Support string module name and export * as

  • Do not move let out of for initializers, as it can change scoping

  • Fix a corner case that would generate the invalid syntax if (something) let x ("let" in braceless if body)

  • Knowledge of more native object properties

  • Got rid of Travis

  • Added semi-secret asObject sourcemap option to typescript defs

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.