terser 5.36.0 → 5.37.0

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/lib/parse.js CHANGED
@@ -2690,6 +2690,7 @@ function parse($TEXT, options) {
2690
2690
  } else if (
2691
2691
  is("name")
2692
2692
  || is("privatename")
2693
+ || is("punc", "[")
2693
2694
  || is("operator", "*")
2694
2695
  || is("punc", ";")
2695
2696
  || is("punc", "}")
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "homepage": "https://terser.org",
5
5
  "author": "Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)",
6
6
  "license": "BSD-2-Clause",
7
- "version": "5.36.0",
7
+ "version": "5.37.0",
8
8
  "engines": {
9
9
  "node": ">=10"
10
10
  },