Skip to content

Commit 9d86ba5

Browse files
mysticateanot-an-aardvark
authored andcommitted
Upgrade: acorn to ^4.0.11 (#317)
* 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
1 parent a3442b5 commit 9d86ba5

File tree

6 files changed

+33
-33
lines changed

6 files changed

+33
-33
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"license": "BSD-2-Clause",
2020
"dependencies": {
21-
"acorn": "4.0.4",
21+
"acorn": "^4.0.11",
2222
"acorn-jsx": "^3.0.0"
2323
},
2424
"devDependencies": {

tests/fixtures/ecma-version/6/arrowFunctions/error-missing-paren.result.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ module.exports = {
22
"index": 4,
33
"lineNumber": 1,
44
"column": 5,
5-
"message": "Unexpected token ("
6-
};
5+
"message": "Parenthesized pattern"
6+
};

tests/fixtures/ecma-version/6/arrowFunctions/error-wrapped-param.result.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ module.exports = {
22
"index": 1,
33
"lineNumber": 1,
44
"column": 2,
5-
"message": "Unexpected token ("
6-
};
5+
"message": "Parenthesized pattern"
6+
};

tests/fixtures/ecma-version/6/destructuring/named-param.result.js

+24-24
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ module.exports = {
3636
"loc": {
3737
"start": {
3838
"line": 1,
39-
"column": 0
39+
"column": 1
4040
},
4141
"end": {
4242
"line": 1,
43-
"column": 30
43+
"column": 29
4444
}
4545
},
4646
"range": [
47-
0,
48-
30
47+
1,
48+
29
4949
],
5050
"operator": "=",
5151
"left": {
@@ -129,16 +129,16 @@ module.exports = {
129129
"loc": {
130130
"start": {
131131
"line": 1,
132-
"column": 27
132+
"column": 26
133133
},
134134
"end": {
135135
"line": 1,
136-
"column": 30
136+
"column": 29
137137
}
138138
},
139139
"range": [
140-
27,
141-
30
140+
26,
141+
29
142142
],
143143
"name": "res"
144144
}
@@ -257,55 +257,55 @@ module.exports = {
257257
},
258258
{
259259
"type": "Punctuator",
260-
"value": ")",
260+
"value": "=",
261261
"loc": {
262262
"start": {
263263
"line": 1,
264-
"column": 23
264+
"column": 24
265265
},
266266
"end": {
267267
"line": 1,
268-
"column": 24
268+
"column": 25
269269
}
270270
},
271271
"range": [
272-
23,
273-
24
272+
24,
273+
25
274274
]
275275
},
276276
{
277-
"type": "Punctuator",
278-
"value": "=",
277+
"type": "Identifier",
278+
"value": "res",
279279
"loc": {
280280
"start": {
281281
"line": 1,
282-
"column": 25
282+
"column": 26
283283
},
284284
"end": {
285285
"line": 1,
286-
"column": 26
286+
"column": 29
287287
}
288288
},
289289
"range": [
290-
25,
291-
26
290+
26,
291+
29
292292
]
293293
},
294294
{
295-
"type": "Identifier",
296-
"value": "res",
295+
"type": "Punctuator",
296+
"value": ")",
297297
"loc": {
298298
"start": {
299299
"line": 1,
300-
"column": 27
300+
"column": 29
301301
},
302302
"end": {
303303
"line": 1,
304304
"column": 30
305305
}
306306
},
307307
"range": [
308-
27,
308+
29,
309309
30
310310
]
311311
},
@@ -328,4 +328,4 @@ module.exports = {
328328
]
329329
}
330330
]
331-
};
331+
};
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
({ responseText: text }) = res;
1+
({ responseText: text } = res);
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
2-
"index": 24,
3-
"lineNumber": 2,
4-
"column": 3,
2+
"index": 0,
3+
"lineNumber": 1,
4+
"column": 1,
55
"message": "Illegal 'use strict' directive in function with non-simple parameter list"
66
};

0 commit comments

Comments
 (0)