Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

terser

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terser - npm Package Versions

13
19

5.31.2

Diff

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
fabiosantoscode
published 5.29.1 •

Changelog

Source

v5.29.1

  • fix optimisation of all-bits mask check
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc