Socket
Socket
Sign inDemoInstall

terser

Package Overview
Dependencies
11
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.25.0 to 5.26.0

5

CHANGELOG.md
# Changelog
## 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 (`()`)
## v5.25.0

@@ -4,0 +9,0 @@ - Regex properties added to reserved property mangler (#1471)

5

lib/compress/inference.js

@@ -834,3 +834,6 @@ /***********************************************************************

}
return !!has_annotation(this, _PURE) || !compressor.pure_funcs(this);
if (compressor.option("side_effects") && has_annotation(this, _PURE)) {
return true;
}
return !compressor.pure_funcs(this);
});

@@ -837,0 +840,0 @@

2

package.json

@@ -7,3 +7,3 @@ {

"license": "BSD-2-Clause",
"version": "5.25.0",
"version": "5.26.0",
"engines": {

@@ -10,0 +10,0 @@ "node": ">=10"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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