Skip to content

Commit

Permalink
Upgrade: acorn 5.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Feb 1, 2018
1 parent cea4823 commit 013897f
Show file tree
Hide file tree
Showing 162 changed files with 13,276 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -149,6 +149,8 @@ There are two ECMAScript 2017 syntax changes: `async` functions, and trailing co
Because ECMAScript 2018 is still under development, we are implementing features as they are finalized. Currently, Espree supports:

* Invalid escape sequences in tagged template literals
* Rest/spread properties
* Async Iteration

### How do you determine which experimental features to support?

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -18,7 +18,7 @@
},
"license": "BSD-2-Clause",
"dependencies": {
"acorn": "^5.3.0",
"acorn": "^5.4.0",
"acorn-jsx": "^3.0.0"
},
"devDependencies": {
Expand Down
@@ -0,0 +1,6 @@
module.exports = {
"index": 28,
"lineNumber": 1,
"column": 29,
"message": "Can not use keyword 'await' outside an async function"
};
@@ -0,0 +1,6 @@
module.exports = {
"index": 34,
"lineNumber": 1,
"column": 35,
"message": "Unexpected token a"
};
@@ -0,0 +1 @@
async function* f() { () => await a; }
@@ -0,0 +1,6 @@
module.exports = {
"index": 30,
"lineNumber": 1,
"column": 31,
"message": "Can not use keyword 'await' outside an async function"
};
@@ -0,0 +1,6 @@
module.exports = {
"index": 36,
"lineNumber": 1,
"column": 37,
"message": "Unexpected token a"
};
@@ -0,0 +1 @@
f = async function*() { () => await a; }
@@ -0,0 +1,6 @@
module.exports = {
"index": 27,
"lineNumber": 1,
"column": 28,
"message": "Can not use keyword 'await' outside an async function"
};
@@ -0,0 +1,6 @@
module.exports = {
"index": 33,
"lineNumber": 1,
"column": 34,
"message": "Unexpected token a"
};
@@ -0,0 +1 @@
obj = { async* f() { () => await a; } }
@@ -0,0 +1,6 @@
module.exports = {
"index": 29,
"lineNumber": 1,
"column": 30,
"message": "Can not use keyword 'await' outside an async function"
};
@@ -0,0 +1,6 @@
module.exports = {
"index": 35,
"lineNumber": 1,
"column": 36,
"message": "Unexpected token a"
};
@@ -0,0 +1 @@
class A { async* f() { () => await a; } }
@@ -0,0 +1,6 @@
module.exports = {
"index": 14,
"lineNumber": 2,
"column": 1,
"message": "Unexpected token *"
};
@@ -0,0 +1,2 @@
obj = { async
* f() {} }
@@ -0,0 +1,6 @@
module.exports = {
"index": 16,
"lineNumber": 2,
"column": 1,
"message": "Unexpected token *"
};
@@ -0,0 +1,2 @@
class A { async
* f() {} }
@@ -0,0 +1,6 @@
module.exports = {
"index": 15,
"lineNumber": 1,
"column": 16,
"message": "Unexpected token f"
};
@@ -0,0 +1 @@
obj = { *async f() {}
@@ -0,0 +1,6 @@
module.exports = {
"index": 17,
"lineNumber": 1,
"column": 18,
"message": "Unexpected token f"
};
@@ -0,0 +1 @@
class A { *async f() {} }
@@ -0,0 +1,6 @@
module.exports = {
"index": 14,
"lineNumber": 1,
"column": 15,
"message": "Unexpected token *"
};
@@ -0,0 +1 @@
obj = { *async* f() {}
@@ -0,0 +1,6 @@
module.exports = {
"index": 16,
"lineNumber": 1,
"column": 17,
"message": "Unexpected token *"
};
@@ -0,0 +1 @@
class A { *async* f() {} }
@@ -0,0 +1,6 @@
module.exports = {
"index": 28,
"lineNumber": 1,
"column": 29,
"message": "The keyword 'yield' is reserved"
};
@@ -0,0 +1,6 @@
module.exports = {
"index": 34,
"lineNumber": 1,
"column": 35,
"message": "Unexpected token a"
};
@@ -0,0 +1 @@
async function* f() { () => yield a; }
@@ -0,0 +1,6 @@
module.exports = {
"index": 30,
"lineNumber": 1,
"column": 31,
"message": "The keyword 'yield' is reserved"
};
@@ -0,0 +1,6 @@
module.exports = {
"index": 36,
"lineNumber": 1,
"column": 37,
"message": "Unexpected token a"
};
@@ -0,0 +1 @@
f = async function*() { () => yield a; }
@@ -0,0 +1,6 @@
module.exports = {
"index": 27,
"lineNumber": 1,
"column": 28,
"message": "The keyword 'yield' is reserved"
};
@@ -0,0 +1,6 @@
module.exports = {
"index": 33,
"lineNumber": 1,
"column": 34,
"message": "Unexpected token a"
};
@@ -0,0 +1 @@
obj = { async* f() { () => yield a; } }
@@ -0,0 +1,6 @@
module.exports = {
"index": 29,
"lineNumber": 1,
"column": 30,
"message": "The keyword 'yield' is reserved"
};
@@ -0,0 +1,6 @@
module.exports = {
"index": 35,
"lineNumber": 1,
"column": 36,
"message": "Unexpected token a"
};
@@ -0,0 +1 @@
class A { async* f() { () => yield a; } }

0 comments on commit 013897f

Please sign in to comment.