Skip to content

Commit

Permalink
Upgrade: acorn to ^4.0.11 (#317)
Browse files Browse the repository at this point in the history
* Upgrade: acorn to ^4.0.9

* revert 6/modules-and-classes/class-default-anonymous

* Upgrade: acorn to ^4.0.10

* Upgrade: acorn to ^4.0.11
  • Loading branch information
mysticatea authored and not-an-aardvark committed Mar 18, 2017
1 parent a3442b5 commit 9d86ba5
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"license": "BSD-2-Clause",
"dependencies": {
"acorn": "4.0.4",
"acorn": "^4.0.11",
"acorn-jsx": "^3.0.0"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
"index": 4,
"lineNumber": 1,
"column": 5,
"message": "Unexpected token ("
};
"message": "Parenthesized pattern"
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
"index": 1,
"lineNumber": 1,
"column": 2,
"message": "Unexpected token ("
};
"message": "Parenthesized pattern"
};
48 changes: 24 additions & 24 deletions tests/fixtures/ecma-version/6/destructuring/named-param.result.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ module.exports = {
"loc": {
"start": {
"line": 1,
"column": 0
"column": 1
},
"end": {
"line": 1,
"column": 30
"column": 29
}
},
"range": [
0,
30
1,
29
],
"operator": "=",
"left": {
Expand Down Expand Up @@ -129,16 +129,16 @@ module.exports = {
"loc": {
"start": {
"line": 1,
"column": 27
"column": 26
},
"end": {
"line": 1,
"column": 30
"column": 29
}
},
"range": [
27,
30
26,
29
],
"name": "res"
}
Expand Down Expand Up @@ -257,55 +257,55 @@ module.exports = {
},
{
"type": "Punctuator",
"value": ")",
"value": "=",
"loc": {
"start": {
"line": 1,
"column": 23
"column": 24
},
"end": {
"line": 1,
"column": 24
"column": 25
}
},
"range": [
23,
24
24,
25
]
},
{
"type": "Punctuator",
"value": "=",
"type": "Identifier",
"value": "res",
"loc": {
"start": {
"line": 1,
"column": 25
"column": 26
},
"end": {
"line": 1,
"column": 26
"column": 29
}
},
"range": [
25,
26
26,
29
]
},
{
"type": "Identifier",
"value": "res",
"type": "Punctuator",
"value": ")",
"loc": {
"start": {
"line": 1,
"column": 27
"column": 29
},
"end": {
"line": 1,
"column": 30
}
},
"range": [
27,
29,
30
]
},
Expand All @@ -328,4 +328,4 @@ module.exports = {
]
}
]
};
};
Original file line number Diff line number Diff line change
@@ -1 +1 @@
({ responseText: text }) = res;
({ responseText: text } = res);
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"index": 24,
"lineNumber": 2,
"column": 3,
"index": 0,
"lineNumber": 1,
"column": 1,
"message": "Illegal 'use strict' directive in function with non-simple parameter list"
};

0 comments on commit 9d86ba5

Please sign in to comment.