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

File tree

14 files changed

+316
-346
lines changed

14 files changed

+316
-346
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,36 @@
11
{
2-
"_from": "acorn-class-fields",
3-
"_id": "acorn-class-fields@0.3.1",
4-
"_inBundle": false,
5-
"_integrity": "sha512-X/8hSJuregAnrvfV1Y80VJNfeJx1uhw7yskOwvL631ygYeCGVLPumCnnPDHYZ8acV3ytHhg53K171H3tAemgiw==",
6-
"_location": "/acorn-class-fields",
7-
"_phantomChildren": {},
8-
"_requested": {
9-
"type": "tag",
10-
"registry": true,
11-
"raw": "acorn-class-fields",
12-
"name": "acorn-class-fields",
13-
"escapedName": "acorn-class-fields",
14-
"rawSpec": "",
15-
"saveSpec": null,
16-
"fetchSpec": "latest"
17-
},
18-
"_requiredBy": [
19-
"#USER",
20-
"/"
21-
],
22-
"_resolved": "https://registry.npmjs.org/acorn-class-fields/-/acorn-class-fields-0.3.1.tgz",
23-
"_shasum": "032ce47a9688a71d4713ee366fadcb7fefaea9e0",
24-
"_spec": "acorn-class-fields",
25-
"_where": "/home/ruben/repos/node/node",
26-
"bugs": {
27-
"url": "https://github.com/acornjs/acorn-class-fields/issues"
28-
},
29-
"bundleDependencies": false,
2+
"name": "acorn-class-fields",
3+
"description": "Support for class fields in acorn",
4+
"homepage": "https://github.com/acornjs/acorn-class-fields",
305
"contributors": [
31-
{
32-
"name": "Adrian Heine",
33-
"email": "mail@adrianheine.de"
34-
}
6+
"Adrian Heine <mail@adrianheine.de>"
357
],
36-
"dependencies": {
37-
"acorn-private-class-elements": "^0.1.1"
38-
},
39-
"deprecated": false,
40-
"description": "Support for class fields in acorn",
41-
"devDependencies": {
42-
"acorn": "^6.1.0",
43-
"eslint": "^5.13.0",
44-
"eslint-plugin-node": "^8.0.1",
45-
"mocha": "^5.2.0",
46-
"test262": "git+https://github.com/tc39/test262.git#33a306d1026b72227eb50a918db19ada16f12b3d",
47-
"test262-parser-runner": "^0.5.0"
48-
},
498
"engines": {
509
"node": ">=4.8.2"
5110
},
52-
"homepage": "https://github.com/acornjs/acorn-class-fields",
53-
"license": "MIT",
54-
"name": "acorn-class-fields",
55-
"peerDependencies": {
56-
"acorn": "^6.0.0"
57-
},
5811
"repository": {
5912
"type": "git",
60-
"url": "git+https://github.com/acornjs/acorn-class-fields.git"
13+
"url": "https://github.com/acornjs/acorn-class-fields"
6114
},
15+
"license": "MIT",
6216
"scripts": {
63-
"lint": "eslint -c .eslintrc.json .",
6417
"test": "mocha",
65-
"test:test262": "node run_test262.js"
18+
"test:test262": "node run_test262.js",
19+
"lint": "eslint -c .eslintrc.json ."
6620
},
67-
"version": "0.3.1"
68-
}
21+
"peerDependencies": {
22+
"acorn": "^6.0.0"
23+
},
24+
"version": "0.3.1",
25+
"devDependencies": {
26+
"acorn": "^6.1.0",
27+
"eslint": "^5.13.0",
28+
"eslint-plugin-node": "^8.0.1",
29+
"mocha": "^5.2.0",
30+
"test262": "git+https://github.com/tc39/test262.git#33a306d1026b72227eb50a918db19ada16f12b3d",
31+
"test262-parser-runner": "^0.5.0"
32+
},
33+
"dependencies": {
34+
"acorn-private-class-elements": "^0.1.1"
35+
}
36+
}
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

+4
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

+2-2
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
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+
}
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,36 @@
11
{
2-
"_from": "acorn-private-methods",
3-
"_id": "acorn-private-methods@0.3.0",
4-
"_inBundle": false,
5-
"_integrity": "sha512-+gWTjSA+13lsv1mwCPosSrLzEyghYtWgrr/1Ck7i7Pu5iK7Ke0hOgw3IW1RUxhc4qS2QTQBQx2+qHYqsa4Qlqw==",
6-
"_location": "/acorn-private-methods",
7-
"_phantomChildren": {},
8-
"_requested": {
9-
"type": "tag",
10-
"registry": true,
11-
"raw": "acorn-private-methods",
12-
"name": "acorn-private-methods",
13-
"escapedName": "acorn-private-methods",
14-
"rawSpec": "",
15-
"saveSpec": null,
16-
"fetchSpec": "latest"
17-
},
18-
"_requiredBy": [
19-
"#USER",
20-
"/"
21-
],
22-
"_resolved": "https://registry.npmjs.org/acorn-private-methods/-/acorn-private-methods-0.3.0.tgz",
23-
"_shasum": "a5a9f8cd83d175bc138fa22592fababd0afda35d",
24-
"_spec": "acorn-private-methods",
25-
"_where": "/home/ruben/repos/node/node",
26-
"bugs": {
27-
"url": "https://github.com/acornjs/acorn-private-methods/issues"
28-
},
29-
"bundleDependencies": false,
2+
"name": "acorn-private-methods",
3+
"description": "Support for private methods in acorn",
4+
"homepage": "https://github.com/acornjs/acorn-private-methods",
305
"contributors": [
31-
{
32-
"name": "Adrian Heine",
33-
"email": "mail@adrianheine.de"
34-
}
6+
"Adrian Heine <mail@adrianheine.de>"
357
],
8+
"engines": {
9+
"node": ">=4.8.2"
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/acornjs/acorn-private-methods"
14+
},
15+
"license": "MIT",
16+
"scripts": {
17+
"test": "mocha",
18+
"test:test262": "node run_test262.js",
19+
"lint": "eslint -c .eslintrc.json ."
20+
},
21+
"peerDependencies": {
22+
"acorn": "^6.1.0"
23+
},
3624
"dependencies": {
3725
"acorn-private-class-elements": "^0.1.0"
3826
},
39-
"deprecated": false,
40-
"description": "Support for private methods in acorn",
27+
"version": "0.3.0",
4128
"devDependencies": {
4229
"acorn": "^6.1.0",
4330
"eslint": "^5.13.0",
4431
"eslint-plugin-node": "^8.0.1",
4532
"mocha": "^5.2.0",
4633
"test262": "git+https://github.com/tc39/test262.git#33a306d1026b72227eb50a918db19ada16f12b3d",
4734
"test262-parser-runner": "^0.5.0"
48-
},
49-
"engines": {
50-
"node": ">=4.8.2"
51-
},
52-
"homepage": "https://github.com/acornjs/acorn-private-methods",
53-
"license": "MIT",
54-
"name": "acorn-private-methods",
55-
"peerDependencies": {
56-
"acorn": "^6.1.0"
57-
},
58-
"repository": {
59-
"type": "git",
60-
"url": "git+https://github.com/acornjs/acorn-private-methods.git"
61-
},
62-
"scripts": {
63-
"lint": "eslint -c .eslintrc.json .",
64-
"test": "mocha",
65-
"test:test262": "node run_test262.js"
66-
},
67-
"version": "0.3.0"
68-
}
35+
}
36+
}

0 commit comments

Comments
 (0)