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

1
19

5.14.2

Diff

Changelog

Source

v5.14.2

  • Security fix for RegExps that should not be evaluated (regexp DDOS)
  • Source maps improvements (#1211)
  • Performance improvements in long property access evaluation (#1213)
fabiosantoscode
published 4.8.1 •

Changelog

Source

v4.8.1 (backport)

  • Security fix for RegExps that should not be evaluated (regexp DDOS)
fabiosantoscode
published 5.14.1 •

Changelog

Source

v5.14.1

  • keep_numbers option added to TypeScript defs (#1208)
  • Fixed parsing of nested template strings (#1204)
fabiosantoscode
published 5.14.0 •

Changelog

Source

v5.14.0

  • Switched to @jridgewell/source-map for sourcemap generation (#1190, #1181)
  • Fixed source maps with non-terminated segments (#1106)
  • Enabled typescript types to be imported from the package (#1194)
  • Extra DOM props have been added (#1191)
  • Delete the AST while generating code, as a means to save RAM
fabiosantoscode
published 5.13.1 •

Changelog

Source

v5.13.1

  • Removed self-assignments (varname=varname) (closes #1081)
  • Separated inlining code (for inlining things into references, or removing IIFEs)
  • Allow multiple identifiers with the same name in var destructuring (eg var { a, a } = x) (#1176)
fabiosantoscode
published 5.13.0 •

Changelog

Source

v5.13.0

  • All calls to eval() were removed (#1171, #1184)
  • source-map was updated to 0.8.0-beta.0 (#1164)
  • NavigatorUAData was added to domprops to avoid property mangling (#1166)
fabiosantoscode
published 5.12.1 •

Changelog

Source

v5.12.1

  • Fixed an issue with function definitions inside blocks (#1155)
  • Fixed parens of new in some situations (closes #1159)
fabiosantoscode
published 5.12.0 •

Changelog

Source

v5.12.0

  • TERSER_DEBUG_DIR environment variable
  • @copyright comments are now preserved with the comments="some" option (#1153)
fabiosantoscode
published 5.11.0 •

Changelog

Source

v5.11.0

  • Unicode code point escapes (\u{abcde}) are not emitted inside RegExp literals anymore (#1147)
  • acorn is now a regular dependency
fabiosantoscode
published 5.10.0 •

Changelog

Source

v5.10.0

  • Massive optimization to max_line_len (#1109)
  • Basic support for import assertions
  • Marked ES2022 Object.hasOwn as a pure function
  • Fix delete optional?.property
  • New CI/CD pipeline with github actions (#1057)
  • Fix reordering of switch branches (#1092), (#1084)
  • Fix error when creating a class property called get
  • Acorn dependency is now an optional peerDependency
  • Fix mangling collision with exported variables (#1072)
  • Fix an issue with return someVariable = (async () => { ... })() (#1073)
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