Skip to content
Permalink
Browse files

chore(deps): patch `@babel/parser`

  • Loading branch information...
buschtoens committed Jun 4, 2019
1 parent f12c0ef commit 231e73bea85b9fcf32303264581e7d6730e3244b
Showing with 238 additions and 14 deletions.
  1. +3 −0 package.json
  2. +13 −0 patches/@babel+parser+7.4.5.patch
  3. +222 −14 yarn.lock
@@ -20,6 +20,7 @@
"start": "ember serve",
"test": "ember test",
"test:all": "ember try:each",
"postinstall": "patch-package",
"prepublishOnly": "ember ts:precompile",
"postpublish": "ember ts:clean"
},
@@ -64,6 +65,8 @@
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-typescript": "^0.14.0",
"loader.js": "^4.7.0",
"patch-package": "^6.1.2",
"postinstall-postinstall": "^2.0.0",
"prettier": "^1.17.1",
"typescript": "^3.4.5",
"typescript-eslint-parser": "^22.0.0"
@@ -0,0 +1,13 @@
diff --git a/node_modules/@babel/parser/lib/index.js b/node_modules/@babel/parser/lib/index.js
index 5c5e616..767a5b5 100644
--- a/node_modules/@babel/parser/lib/index.js
+++ b/node_modules/@babel/parser/lib/index.js
@@ -9995,7 +9995,7 @@ class StatementParser extends ExpressionParser {
node.expression = this.parseMaybeDecoratorArguments(expr);
this.state.decoratorStack.pop();
} else {
- node.expression = this.parseMaybeAssign();
+ node.expression = this.parseExprSubscripts();
}

return this.finishNode(node, "Decorator");

0 comments on commit 231e73b

Please sign in to comment.
You can’t perform that action at this time.