Packages

terser

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

Upgrading terser From 5.7.1 to 5.7.2

1 release in betweenevery note read

Other targets from 5.7.1Newest 5.x5.51.4Clears its advisory5.14.2Latest5.51.2
  1. 5.7.1yours
  2. 5.7.2target
0
changes to make
0
advisories fixed
1
new
2
fixes

Security

1 advisory still affects 5.7.2

Upgrading to 5.14.2 clears it.

Release by release

  1. 5.7.2

    24 Aug 20211 new · 2 fixes
    • New

      New recipe for using Terser in gulp was added to RECIPES.md

    • Fixed

      Fixed issues with compressing functions defined in global_defs option

    • Fixed

      Fixed issues with ?? and ?.

5 other lines we could not sort, mostly version bumps
  • Future reserved words such as package no longer require you to disable strict mode to be used as names.

    5.7.2
  • Refactored huge compressor file into multiple more focused files.

    5.7.2
  • Avoided unparenthesized in operator in some for loops (it breaks parsing because of for..in loops)

    5.7.2
  • Improved documentation (#1021, #1025)

    5.7.2
  • More type definitions

    5.7.2

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.