Socket
Socket
Sign inDemoInstall

terser

Package Overview
Dependencies
11
Maintainers
1
Versions
169
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1245
17Next

5.19.4

Diff

Changelog

Source

v5.19.4

  • Prevent creating very deeply nested ternaries from a long list of if..return
  • Prevent inlining classes into other functions, to avoid constructors being compared.
fabiosantoscode
published 5.19.3 •

Changelog

Source

v5.19.3

  • Fix side effect detection of optional?.chains.
  • Add roundRect to domprops.js (#1426)
fabiosantoscode
published 5.19.2 •

Changelog

Source

v5.19.2

  • fix performance hit from avoiding HTML comments in the output
fabiosantoscode
published 5.19.1 •

Changelog

Source

v5.19.1

  • Better avoid outputting </script> and HTML comments.
  • Fix unused variables in class static blocks not being dropped correctly.
  • Fix sourcemap names of methods that are async or static
fabiosantoscode
published 5.19.0 •

Changelog

Source

v5.19.0

  • Allow /*@__MANGLE_PROP__*/ annotation in object.property, in addition to property declarations.
fabiosantoscode
published 5.18.2 •

Changelog

Source

v5.18.2

  • Stop using recursion in hoisted defuns fix.
fabiosantoscode
published 5.18.1 •

Changelog

Source

v5.18.1

  • Fix major performance issue caused by hoisted defuns' scopes bugfix.
fabiosantoscode
published 5.18.0 •

Changelog

Source

v5.18.0

  • Add new /*@__MANGLE_PROP__*/ annotation, to mark properties that should be mangled.
fabiosantoscode
published 5.17.7 •

Changelog

Source

v5.17.7

  • Update some dependencies
  • Add consistent sorting for v RegExp flag
  • Add inert DOM attribute to domprops
fabiosantoscode
published 5.17.6 •

Changelog

Source

v5.17.6

  • Fixes to mozilla AST input and output, for class properties, private properties and static blocks
  • Fix outputting a shorthand property in quotes when safari10 and ecma=2015 options are enabled
  • configurable and enumerable, used in Object.defineProperty, added to domprops (#1393)
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc