deps: update acorn to v7.1.1 · nodejs/node@f690fc9 · GitHub
Skip to content

Commit f690fc9

Browse files
BridgeARaddaleax
authored andcommitted
deps: update acorn to v7.1.1
Also clean up the plugins package.json files. PR-URL: #32310 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent b973b93 commit f690fc9

14 files changed

Lines changed: 316 additions & 346 deletions

File tree

Lines changed: 24 additions & 56 deletions
Lines changed: 21 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,33 @@
11
{
2-
"_from": "acorn-numeric-separator",
3-
"_id": "acorn-numeric-separator@0.3.0",
4-
"_inBundle": false,
5-
"_integrity": "sha512-g9FikQZHwG/P1Xs+dDzecqagmGBbU4b8OF4UbDQK8Wr8apwuFGG1c7KiaFxC4ClYU8D7zNl60vzqOCUuhKM3kA==",
6-
"_location": "/acorn-numeric-separator",
7-
"_phantomChildren": {},
8-
"_requested": {
9-
"type": "tag",
10-
"registry": true,
11-
"raw": "acorn-numeric-separator",
12-
"name": "acorn-numeric-separator",
13-
"escapedName": "acorn-numeric-separator",
14-
"rawSpec": "",
15-
"saveSpec": null,
16-
"fetchSpec": "latest"
17-
},
18-
"_requiredBy": [
19-
"#USER",
20-
"/"
21-
],
22-
"_resolved": "https://registry.npmjs.org/acorn-numeric-separator/-/acorn-numeric-separator-0.3.0.tgz",
23-
"_shasum": "15e2f9a698bbec83a339a70a7026ab1d9d257de2",
24-
"_spec": "acorn-numeric-separator",
25-
"_where": "/home/ruben/repos/node/node",
26-
"bugs": {
27-
"url": "https://github.com/acornjs/acorn-numeric-separator/issues"
28-
},
29-
"bundleDependencies": false,
2+
"name": "acorn-numeric-separator",
3+
"description": "Support for numeric separators in acorn",
4+
"homepage": "https://github.com/acornjs/acorn-numeric-separator",
305
"contributors": [
31-
{
32-
"name": "Adrian Heine",
33-
"email": "mail@adrianheine.de"
34-
}
6+
"Adrian Heine <mail@adrianheine.de>"
357
],
36-
"deprecated": false,
37-
"description": "Support for numeric separators in acorn",
38-
"devDependencies": {
39-
"acorn": "^6.0.0",
40-
"eslint": "^5.5.0",
41-
"eslint-plugin-node": "^8.0.1",
42-
"mocha": "^6.0.2",
43-
"test262": "git+https://github.com/tc39/test262.git#de567d3aa5de4eaa11e00131d26b9fe77997dfb0",
44-
"test262-parser-runner": "^0.5.0"
45-
},
468
"engines": {
479
"node": ">=4.8.2"
4810
},
49-
"homepage": "https://github.com/acornjs/acorn-numeric-separator",
50-
"license": "MIT",
51-
"name": "acorn-numeric-separator",
52-
"peerDependencies": {
53-
"acorn": "^6.0.0"
54-
},
5511
"repository": {
5612
"type": "git",
57-
"url": "git+https://github.com/acornjs/acorn-numeric-separator.git"
13+
"url": "https://github.com/acornjs/acorn-numeric-separator"
5814
},
15+
"license": "MIT",
5916
"scripts": {
60-
"lint": "eslint -c .eslintrc.json .",
6117
"test": "mocha",
62-
"test:test262": "node run_test262.js"
18+
"test:test262": "node run_test262.js",
19+
"lint": "eslint -c .eslintrc.json ."
20+
},
21+
"peerDependencies": {
22+
"acorn": "^6.0.0"
6323
},
64-
"version": "0.3.0"
65-
}
24+
"version": "0.3.0",
25+
"devDependencies": {
26+
"acorn": "^6.0.0",
27+
"eslint": "^5.5.0",
28+
"eslint-plugin-node": "^8.0.1",
29+
"mocha": "^6.0.2",
30+
"test262": "git+https://github.com/tc39/test262.git#de567d3aa5de4eaa11e00131d26b9fe77997dfb0",
31+
"test262-parser-runner": "^0.5.0"
32+
}
33+
}

deps/acorn-plugins/acorn-private-class-elements/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.0 (2020-03-07)
2+
3+
* Mark as compatible with acorn v7
4+
15
## 0.1.1 (2019-02-09)
26

37
* Add \_branch() method

deps/acorn-plugins/acorn-private-class-elements/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"use strict"
22

33
const acorn = require('internal/deps/acorn/acorn/dist/acorn')
4-
if (acorn.version.indexOf("6.") != 0 || acorn.version.indexOf("6.0.") == 0) {
5-
throw new Error(`acorn-private-class-elements requires acorn@^6.1.0, not ${acorn.version}`)
4+
if (acorn.version.indexOf("6.") != 0 && acorn.version.indexOf("6.0.") == 0 && acorn.version.indexOf("7.") != 0) {
5+
throw new Error(`acorn-private-class-elements requires acorn@^6.1.0 or acorn@7.0.0, not ${acorn.version}`)
66
}
77
const tt = acorn.tokTypes
88
const TokenType = acorn.TokenType
Lines changed: 19 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,30 @@
11
{
2-
"_from": "acorn-private-class-elements@^0.1.1",
3-
"_id": "acorn-private-class-elements@0.1.1",
4-
"_inBundle": false,
5-
"_integrity": "sha512-bZpmSnaOsK3jkF7J8xaLJ05f008vapPX+XliIv8+jjkclvDR+M4OnTHLhFnCCSeJ0fMwRKjbY+BXsglSNpVZtw==",
6-
"_location": "/acorn-private-class-elements",
7-
"_phantomChildren": {},
8-
"_requested": {
9-
"type": "range",
10-
"registry": true,
11-
"raw": "acorn-private-class-elements@^0.1.1",
12-
"name": "acorn-private-class-elements",
13-
"escapedName": "acorn-private-class-elements",
14-
"rawSpec": "^0.1.1",
15-
"saveSpec": null,
16-
"fetchSpec": "^0.1.1"
17-
},
18-
"_requiredBy": [
19-
"/acorn-class-fields"
20-
],
21-
"_resolved": "https://registry.npmjs.org/acorn-private-class-elements/-/acorn-private-class-elements-0.1.1.tgz",
22-
"_shasum": "85209cb5791ab84fde2362cb208fa51e7679bcdc",
23-
"_spec": "acorn-private-class-elements@^0.1.1",
24-
"_where": "/home/ruben/repos/node/node/node_modules/acorn-class-fields",
25-
"bugs": {
26-
"url": "https://github.com/acornjs/acorn-private-class-elements/issues"
27-
},
28-
"bundleDependencies": false,
2+
"name": "acorn-private-class-elements",
3+
"description": "Helpers for supporting private class methods and fields in acorn",
4+
"homepage": "https://github.com/acornjs/acorn-private-class-elements",
295
"contributors": [
30-
{
31-
"name": "Adrian Heine",
32-
"email": "mail@adrianheine.de"
33-
}
6+
"Adrian Heine <mail@adrianheine.de>"
347
],
35-
"dependencies": {
36-
"mocha": "^5.2.0"
37-
},
38-
"deprecated": false,
39-
"description": "Helpers for supporting private class methods and fields in acorn",
40-
"devDependencies": {
41-
"acorn": "^6.1.0",
42-
"eslint": "^5.13.0",
43-
"eslint-plugin-node": "^8.0.1"
44-
},
458
"engines": {
469
"node": ">=4.8.2"
4710
},
48-
"homepage": "https://github.com/acornjs/acorn-private-class-elements",
49-
"license": "MIT",
50-
"name": "acorn-private-class-elements",
51-
"peerDependencies": {
52-
"acorn": "^6.1.0"
53-
},
5411
"repository": {
5512
"type": "git",
56-
"url": "git+https://github.com/acornjs/acorn-private-class-elements.git"
13+
"url": "https://github.com/acornjs/acorn-private-class-elements"
5714
},
15+
"license": "MIT",
5816
"scripts": {
59-
"lint": "eslint -c .eslintrc.json .",
60-
"test": "mocha"
17+
"test": "mocha",
18+
"lint": "eslint -c .eslintrc.json ."
19+
},
20+
"peerDependencies": {
21+
"acorn": "^6.1.0 || ^7.0.0"
6122
},
62-
"version": "0.1.1"
63-
}
23+
"version": "0.2.0",
24+
"devDependencies": {
25+
"acorn": "^7.0.0",
26+
"eslint": "^6.8.0",
27+
"eslint-plugin-node": "^11.0.0",
28+
"mocha": "^7.1.0"
29+
}
30+
}
Lines changed: 23 additions & 55 deletions

0 commit comments

Comments
 (0)