Socket
Socket
Sign inDemoInstall

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

1
19

5.29.0

Diff

Changelog

Source

v5.29.0

  • Re-releases previously reverted 5.28.0
  • Fix crash while optimizing some bitwise ops
  • (internal) Remove needless wrapper for from_moz (#1499)
fabiosantoscode
published 5.28.1 •

Changelog

Source

v5.28.1

(hotfix release)

  • Reverts v5.28.0
fabiosantoscode
published 5.28.0 •

Changelog

Source

v5.28.0

  • Optimise redundant or shrinkable bitwise operations (|, ^, &, >>, <<)
  • Evaluate some BigInt math operations
fabiosantoscode
published 5.27.2 •

Changelog

Source

v5.27.2

  • Recognise this as a reference to the surrounding class in drop_unused. Closes #1472
fabiosantoscode
published 5.27.1 •

Changelog

Source

v5.27.1

  • Fixed case where collapse_vars inlines await expressions into non-async functions.
fabiosantoscode
published 5.27.0 •

Changelog

Source

v5.27.0

  • Created minify_sync() alternative to minify() since there's no async code left.
fabiosantoscode
published 5.26.0 •

Changelog

Source

v5.26.0

  • Do not take the /*#__PURE__*/ annotation into account when the side_effects compress option is off.
  • The preserve_annotations option now automatically opts annotation comments in, instead of requiring the comments option to be configured for this.
  • Refuse to parse empty parenthesized expressions (())
fabiosantoscode
published 5.25.0 •

Changelog

Source

v5.25.0

  • Regex properties added to reserved property mangler (#1471)
  • pure_new option added to drop unused new expressions.
fabiosantoscode
published 5.24.0 •

Changelog

Source

v5.24.0

  • Improve formatting performance in V8 by keeping a small work string and a large output string
fabiosantoscode
published 5.23.0 •

Changelog

Source

v5.23.0

  • When top_retain will keep a variable assignment around, inline the assignee when it's shorter than the name (#1434)
  • Remove empty class static {} blocks.
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