terser 3.8.0 → 3.8.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.
Potentially problematic release.
This version of terser might be problematic. Click here for more details.
- package/dist/browser.bundle.js +2 -1
- package/dist/browser.bundle.js.map +1 -1
- package/lib/parse.js +5 -1
- package/package.json +1 -1
package/lib/parse.js
CHANGED
@@ -2064,7 +2064,11 @@ function parse($TEXT, options) {
|
|
2064
2064
|
return new_(allow_calls);
|
2065
2065
|
}
|
2066
2066
|
var start = S.token;
|
2067
|
-
var
|
2067
|
+
var peeked;
|
2068
|
+
var async = is("name", "async")
|
2069
|
+
&& (peeked = peek()).value != "["
|
2070
|
+
&& peeked.type != "arrow"
|
2071
|
+
&& as_atom_node();
|
2068
2072
|
if (is("punc")) {
|
2069
2073
|
switch (S.token.value) {
|
2070
2074
|
case "(":
|
package/package.json
CHANGED