Packages

terser

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

Upgrading terser From 4.0.0 to 4.0.1

1 release in betweenevery note read

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

Security

1 advisory still affects 4.0.1

Upgrading to 4.8.1 clears it.

Release by release

  1. 4.0.1

    29 Jun 20191 new · 1 fix
    • New

      Added MutationObserverInit (Object with options for initialising a mutation observer) properties to the DOM property list

    • Fixed

      Fixed issue with collapse_vars when functions are created with the same name as a variable which already exists

8 other lines we could not sort, mostly version bumps
  • Collisions between the arguments of inlined functions and names in the outer scope are now being avoided while inlining

    4.0.1
  • Unmapped segments are now preserved when compressing a file which has source maps

    4.0.1
  • Default values of functions are now correctly converted from Mozilla AST to Terser AST

    4.0.1
  • JSON ⊂ ECMAScript spec (if you don't know what this is you don't need to)

    4.0.1
  • Export AST_* classes to library users

    4.0.1
  • Custom Error subclasses are now internally used instead of old-school Error inheritance hacks.

    4.0.1
  • Documentation fixes

    4.0.1
  • Performance optimizations

    4.0.1

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.