You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

terser

Package Overview
Dependencies
3
Maintainers
1
Versions
173
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23
18
Next

5.31.3

Diff

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.
fabiosantoscode
published 5.30.1 •

Changelog

Source

v5.30.1

  • Removed useless \ escapes for non-ascii characters
  • Make modern identifier characters quoted for older environments (#1512)
fabiosantoscode
published 5.30.0 •

Changelog

Source

v5.30.0

  • Improve removal of classes referring to themselves
fabiosantoscode
published 5.29.2 •

Changelog

Source

v5.29.2

  • Make sure 'computed_props' creates string keys
  • Take into account the evaluated size when inlining
23
18
Next
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