terser
Advanced tools
Comparing version 5.30.1 to 5.30.2
# Changelog | ||
## v5.30.2 | ||
- Avoid optimizations inside computed keys, because they can cause js-engine-specific bugs. | ||
## v5.30.1 | ||
@@ -4,0 +7,0 @@ - Removed useless `\` escapes for non-ascii characters |
@@ -170,2 +170,4 @@ /*********************************************************************** | ||
export function inline_into_symbolref(self, compressor) { | ||
if (compressor.in_computed_key()) return self; | ||
const parent = compressor.parent(); | ||
@@ -320,2 +322,4 @@ const def = self.definition(); | ||
export function inline_into_call(self, compressor) { | ||
if (compressor.in_computed_key()) return self; | ||
var exp = self.expression; | ||
@@ -322,0 +326,0 @@ var fn = exp; |
@@ -85,2 +85,3 @@ /*********************************************************************** | ||
AST_ObjectKeyVal, | ||
AST_ObjectProperty, | ||
AST_PropAccess, | ||
@@ -120,3 +121,3 @@ AST_RegExp, | ||
_NOINLINE | ||
_NOINLINE, | ||
} from "../ast.js"; | ||
@@ -333,2 +334,3 @@ import { | ||
&& has_annotation(parent, _NOINLINE) | ||
|| node instanceof AST_ObjectProperty && node.key instanceof AST_Node | ||
) { | ||
@@ -335,0 +337,0 @@ abort = true; |
@@ -7,3 +7,3 @@ { | ||
"license": "BSD-2-Clause", | ||
"version": "5.30.1", | ||
"version": "5.30.2", | ||
"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
2152299
61066