terser 5.47.0 → 5.47.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/bundle.min.js +1 -0
- package/lib/scope.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/bundle.min.js
CHANGED
|
@@ -12795,6 +12795,7 @@ AST_Toplevel.DEFMETHOD("mangle_names", function(options) {
|
|
|
12795
12795
|
if (
|
|
12796
12796
|
function_defs
|
|
12797
12797
|
&& node instanceof AST_VarDef
|
|
12798
|
+
&& node.name instanceof AST_Symbol
|
|
12798
12799
|
&& node.value instanceof AST_Lambda
|
|
12799
12800
|
&& !node.value.name
|
|
12800
12801
|
&& keep_name(options.keep_fnames, node.name.name)
|
package/lib/scope.js
CHANGED
|
@@ -858,6 +858,7 @@ AST_Toplevel.DEFMETHOD("mangle_names", function(options) {
|
|
|
858
858
|
if (
|
|
859
859
|
function_defs
|
|
860
860
|
&& node instanceof AST_VarDef
|
|
861
|
+
&& node.name instanceof AST_Symbol
|
|
861
862
|
&& node.value instanceof AST_Lambda
|
|
862
863
|
&& !node.value.name
|
|
863
864
|
&& keep_name(options.keep_fnames, node.name.name)
|