Skip to content

Commit

Permalink
chore(deps): patch @babel/parser
Browse files Browse the repository at this point in the history
  • Loading branch information
buschtoens committed Jun 4, 2019
1 parent f12c0ef commit fac7aba
Show file tree
Hide file tree
Showing 3 changed files with 237 additions and 3 deletions.
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -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"
},
Expand Down Expand Up @@ -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"
Expand Down
13 changes: 13 additions & 0 deletions patches/@babel+parser+7.3.4.patch
@@ -0,0 +1,13 @@
diff --git a/node_modules/@babel/parser/lib/index.js b/node_modules/@babel/parser/lib/index.js
index af6952e..4e83782 100644
--- a/node_modules/@babel/parser/lib/index.js
+++ b/node_modules/@babel/parser/lib/index.js
@@ -7456,7 +7456,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 fac7aba

Please sign in to comment.