Socket
Socket
Sign inDemoInstall

terser

Package Overview
Dependencies
Maintainers
1
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terser - npm Package Versions

23
18

5.31.6

Diff

Changelog

Source

v5.31.6

  • Retain side effects in a case when the expression is a sequence (comma) expression
fabiosantoscode
published 5.31.5 •

Changelog

Source

v5.31.5

  • Revert v5.31.4, which created mysterious issues #1548, #1549
fabiosantoscode
published 5.31.4 •

Changelog

Source

v5.31.4

  • drop_unused: drop classes which only have side effects in the extends part
fabiosantoscode
published 5.31.3 •

Changelog

Source

v5.31.3

  • drop_unused: drop unused parameters from IIFEs in some more situations.
fabiosantoscode
published 5.31.2 •

Changelog

Source

v5.31.2

  • drop_unused: scan variables in self-referential class declarations that contain side effects.
  • Don't add parens to arrow function when it's the default for an argument (#1540)
  • Update domprops (#1538)
fabiosantoscode
published 5.31.1 •

Changelog

Source

v5.31.1

  • Allow drop-unused to drop the whole assignment (not just the assigned name) in more situations, in order to avoid duplication of long strings.
fabiosantoscode
published 5.31.0 •

Changelog

Source

v5.31.0

  • Sync up property mangler exceptions with current contents of Firefox and Chrome environments
  • Add more webcomponent properties to property mangler exceptions (#1525)
  • Drop non-nullish constants in ...spreads in objects (#1141)
fabiosantoscode
published 5.30.4 •

Changelog

Source

v5.30.4

  • Fix parsing #private in ... when next to other operators
fabiosantoscode
published 5.30.3 •

Changelog

Source

v5.30.3

  • Fix precedence of #private in ... operator
fabiosantoscode
published 5.30.2 •

Changelog

Source

v5.30.2

  • Avoid optimizations inside computed keys, because they can cause js-engine-specific bugs.
23
18
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc