Socket
Socket
Sign inDemoInstall

terser

Package Overview
Dependencies
Maintainers
1
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terser - npm Package Compare versions

Comparing version 5.31.5 to 5.31.6

3

CHANGELOG.md
# Changelog
## v5.31.6
- Retain side effects in a `case` when the expression is a sequence (comma) expression
## v5.31.5

@@ -4,0 +7,0 @@ - Revert v5.31.4, which created mysterious issues #1548, #1549

2

lib/compress/inference.js

@@ -427,3 +427,3 @@ /***********************************************************************

def_has_side_effects(AST_VarDef, function() {
return this.value;
return this.value != null;
});

@@ -430,0 +430,0 @@ def_has_side_effects(AST_TemplateSegment, return_false);

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

"license": "BSD-2-Clause",
"version": "5.31.5",
"version": "5.31.6",
"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

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