Comparing version 5.31.4 to 5.31.5
# Changelog | ||
## v5.31.4 | ||
## v5.31.5 | ||
- Revert v5.31.4, which created mysterious issues #1548, #1549 | ||
## v5.31.4 (reverted) | ||
- drop_unused: drop classes which only have side effects in the `extends` part | ||
@@ -5,0 +8,0 @@ |
@@ -159,3 +159,3 @@ /*********************************************************************** | ||
if (this.is_self_referential() && this.body_has_side_effects(compressor)) { | ||
if (this.is_self_referential() && this.has_side_effects(compressor)) { | ||
return this; | ||
@@ -162,0 +162,0 @@ } |
@@ -156,3 +156,3 @@ /*********************************************************************** | ||
if (node === self) return; | ||
if (node instanceof AST_Class && node.body_has_side_effects(compressor)) { | ||
if (node instanceof AST_Class && node.has_side_effects(compressor)) { | ||
if (node.is_self_referential()) { | ||
@@ -159,0 +159,0 @@ descend(); |
@@ -7,3 +7,3 @@ { | ||
"license": "BSD-2-Clause", | ||
"version": "5.31.4", | ||
"version": "5.31.5", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2193979
62685