Skip to content

Commit

Permalink
deps: update acorn to v7.1.1
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
BridgeAR authored and addaleax committed Mar 30, 2020
1 parent b973b93 commit f690fc9
Show file tree
Hide file tree
Showing 14 changed files with 316 additions and 346 deletions.
80 changes: 24 additions & 56 deletions deps/acorn-plugins/acorn-class-fields/package.json
Original file line number Diff line number Diff line change
@@ -1,68 +1,36 @@
{
"_from": "acorn-class-fields",
"_id": "acorn-class-fields@0.3.1",
"_inBundle": false,
"_integrity": "sha512-X/8hSJuregAnrvfV1Y80VJNfeJx1uhw7yskOwvL631ygYeCGVLPumCnnPDHYZ8acV3ytHhg53K171H3tAemgiw==",
"_location": "/acorn-class-fields",
"_phantomChildren": {},
"_requested": {
"type": "tag",
"registry": true,
"raw": "acorn-class-fields",
"name": "acorn-class-fields",
"escapedName": "acorn-class-fields",
"rawSpec": "",
"saveSpec": null,
"fetchSpec": "latest"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/acorn-class-fields/-/acorn-class-fields-0.3.1.tgz",
"_shasum": "032ce47a9688a71d4713ee366fadcb7fefaea9e0",
"_spec": "acorn-class-fields",
"_where": "/home/ruben/repos/node/node",
"bugs": {
"url": "https://github.com/acornjs/acorn-class-fields/issues"
},
"bundleDependencies": false,
"name": "acorn-class-fields",
"description": "Support for class fields in acorn",
"homepage": "https://github.com/acornjs/acorn-class-fields",
"contributors": [
{
"name": "Adrian Heine",
"email": "mail@adrianheine.de"
}
"Adrian Heine <mail@adrianheine.de>"
],
"dependencies": {
"acorn-private-class-elements": "^0.1.1"
},
"deprecated": false,
"description": "Support for class fields in acorn",
"devDependencies": {
"acorn": "^6.1.0",
"eslint": "^5.13.0",
"eslint-plugin-node": "^8.0.1",
"mocha": "^5.2.0",
"test262": "git+https://github.com/tc39/test262.git#33a306d1026b72227eb50a918db19ada16f12b3d",
"test262-parser-runner": "^0.5.0"
},
"engines": {
"node": ">=4.8.2"
},
"homepage": "https://github.com/acornjs/acorn-class-fields",
"license": "MIT",
"name": "acorn-class-fields",
"peerDependencies": {
"acorn": "^6.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/acornjs/acorn-class-fields.git"
"url": "https://github.com/acornjs/acorn-class-fields"
},
"license": "MIT",
"scripts": {
"lint": "eslint -c .eslintrc.json .",
"test": "mocha",
"test:test262": "node run_test262.js"
"test:test262": "node run_test262.js",
"lint": "eslint -c .eslintrc.json ."
},
"version": "0.3.1"
}
"peerDependencies": {
"acorn": "^6.0.0"
},
"version": "0.3.1",
"devDependencies": {
"acorn": "^6.1.0",
"eslint": "^5.13.0",
"eslint-plugin-node": "^8.0.1",
"mocha": "^5.2.0",
"test262": "git+https://github.com/tc39/test262.git#33a306d1026b72227eb50a918db19ada16f12b3d",
"test262-parser-runner": "^0.5.0"
},
"dependencies": {
"acorn-private-class-elements": "^0.1.1"
}
}
74 changes: 21 additions & 53 deletions deps/acorn-plugins/acorn-numeric-separator/package.json
Original file line number Diff line number Diff line change
@@ -1,65 +1,33 @@
{
"_from": "acorn-numeric-separator",
"_id": "acorn-numeric-separator@0.3.0",
"_inBundle": false,
"_integrity": "sha512-g9FikQZHwG/P1Xs+dDzecqagmGBbU4b8OF4UbDQK8Wr8apwuFGG1c7KiaFxC4ClYU8D7zNl60vzqOCUuhKM3kA==",
"_location": "/acorn-numeric-separator",
"_phantomChildren": {},
"_requested": {
"type": "tag",
"registry": true,
"raw": "acorn-numeric-separator",
"name": "acorn-numeric-separator",
"escapedName": "acorn-numeric-separator",
"rawSpec": "",
"saveSpec": null,
"fetchSpec": "latest"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/acorn-numeric-separator/-/acorn-numeric-separator-0.3.0.tgz",
"_shasum": "15e2f9a698bbec83a339a70a7026ab1d9d257de2",
"_spec": "acorn-numeric-separator",
"_where": "/home/ruben/repos/node/node",
"bugs": {
"url": "https://github.com/acornjs/acorn-numeric-separator/issues"
},
"bundleDependencies": false,
"name": "acorn-numeric-separator",
"description": "Support for numeric separators in acorn",
"homepage": "https://github.com/acornjs/acorn-numeric-separator",
"contributors": [
{
"name": "Adrian Heine",
"email": "mail@adrianheine.de"
}
"Adrian Heine <mail@adrianheine.de>"
],
"deprecated": false,
"description": "Support for numeric separators in acorn",
"devDependencies": {
"acorn": "^6.0.0",
"eslint": "^5.5.0",
"eslint-plugin-node": "^8.0.1",
"mocha": "^6.0.2",
"test262": "git+https://github.com/tc39/test262.git#de567d3aa5de4eaa11e00131d26b9fe77997dfb0",
"test262-parser-runner": "^0.5.0"
},
"engines": {
"node": ">=4.8.2"
},
"homepage": "https://github.com/acornjs/acorn-numeric-separator",
"license": "MIT",
"name": "acorn-numeric-separator",
"peerDependencies": {
"acorn": "^6.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/acornjs/acorn-numeric-separator.git"
"url": "https://github.com/acornjs/acorn-numeric-separator"
},
"license": "MIT",
"scripts": {
"lint": "eslint -c .eslintrc.json .",
"test": "mocha",
"test:test262": "node run_test262.js"
"test:test262": "node run_test262.js",
"lint": "eslint -c .eslintrc.json ."
},
"peerDependencies": {
"acorn": "^6.0.0"
},
"version": "0.3.0"
}
"version": "0.3.0",
"devDependencies": {
"acorn": "^6.0.0",
"eslint": "^5.5.0",
"eslint-plugin-node": "^8.0.1",
"mocha": "^6.0.2",
"test262": "git+https://github.com/tc39/test262.git#de567d3aa5de4eaa11e00131d26b9fe77997dfb0",
"test262-parser-runner": "^0.5.0"
}
}
4 changes: 4 additions & 0 deletions deps/acorn-plugins/acorn-private-class-elements/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.0 (2020-03-07)

* Mark as compatible with acorn v7

## 0.1.1 (2019-02-09)

* Add \_branch() method
Expand Down
4 changes: 2 additions & 2 deletions deps/acorn-plugins/acorn-private-class-elements/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"use strict"

const acorn = require('internal/deps/acorn/acorn/dist/acorn')
if (acorn.version.indexOf("6.") != 0 || acorn.version.indexOf("6.0.") == 0) {
throw new Error(`acorn-private-class-elements requires acorn@^6.1.0, not ${acorn.version}`)
if (acorn.version.indexOf("6.") != 0 && acorn.version.indexOf("6.0.") == 0 && acorn.version.indexOf("7.") != 0) {
throw new Error(`acorn-private-class-elements requires acorn@^6.1.0 or acorn@7.0.0, not ${acorn.version}`)
}
const tt = acorn.tokTypes
const TokenType = acorn.TokenType
Expand Down
71 changes: 19 additions & 52 deletions deps/acorn-plugins/acorn-private-class-elements/package.json
Original file line number Diff line number Diff line change
@@ -1,63 +1,30 @@
{
"_from": "acorn-private-class-elements@^0.1.1",
"_id": "acorn-private-class-elements@0.1.1",
"_inBundle": false,
"_integrity": "sha512-bZpmSnaOsK3jkF7J8xaLJ05f008vapPX+XliIv8+jjkclvDR+M4OnTHLhFnCCSeJ0fMwRKjbY+BXsglSNpVZtw==",
"_location": "/acorn-private-class-elements",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "acorn-private-class-elements@^0.1.1",
"name": "acorn-private-class-elements",
"escapedName": "acorn-private-class-elements",
"rawSpec": "^0.1.1",
"saveSpec": null,
"fetchSpec": "^0.1.1"
},
"_requiredBy": [
"/acorn-class-fields"
],
"_resolved": "https://registry.npmjs.org/acorn-private-class-elements/-/acorn-private-class-elements-0.1.1.tgz",
"_shasum": "85209cb5791ab84fde2362cb208fa51e7679bcdc",
"_spec": "acorn-private-class-elements@^0.1.1",
"_where": "/home/ruben/repos/node/node/node_modules/acorn-class-fields",
"bugs": {
"url": "https://github.com/acornjs/acorn-private-class-elements/issues"
},
"bundleDependencies": false,
"name": "acorn-private-class-elements",
"description": "Helpers for supporting private class methods and fields in acorn",
"homepage": "https://github.com/acornjs/acorn-private-class-elements",
"contributors": [
{
"name": "Adrian Heine",
"email": "mail@adrianheine.de"
}
"Adrian Heine <mail@adrianheine.de>"
],
"dependencies": {
"mocha": "^5.2.0"
},
"deprecated": false,
"description": "Helpers for supporting private class methods and fields in acorn",
"devDependencies": {
"acorn": "^6.1.0",
"eslint": "^5.13.0",
"eslint-plugin-node": "^8.0.1"
},
"engines": {
"node": ">=4.8.2"
},
"homepage": "https://github.com/acornjs/acorn-private-class-elements",
"license": "MIT",
"name": "acorn-private-class-elements",
"peerDependencies": {
"acorn": "^6.1.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/acornjs/acorn-private-class-elements.git"
"url": "https://github.com/acornjs/acorn-private-class-elements"
},
"license": "MIT",
"scripts": {
"lint": "eslint -c .eslintrc.json .",
"test": "mocha"
"test": "mocha",
"lint": "eslint -c .eslintrc.json ."
},
"peerDependencies": {
"acorn": "^6.1.0 || ^7.0.0"
},
"version": "0.1.1"
}
"version": "0.2.0",
"devDependencies": {
"acorn": "^7.0.0",
"eslint": "^6.8.0",
"eslint-plugin-node": "^11.0.0",
"mocha": "^7.1.0"
}
}
78 changes: 23 additions & 55 deletions deps/acorn-plugins/acorn-private-methods/package.json
Original file line number Diff line number Diff line change
@@ -1,68 +1,36 @@
{
"_from": "acorn-private-methods",
"_id": "acorn-private-methods@0.3.0",
"_inBundle": false,
"_integrity": "sha512-+gWTjSA+13lsv1mwCPosSrLzEyghYtWgrr/1Ck7i7Pu5iK7Ke0hOgw3IW1RUxhc4qS2QTQBQx2+qHYqsa4Qlqw==",
"_location": "/acorn-private-methods",
"_phantomChildren": {},
"_requested": {
"type": "tag",
"registry": true,
"raw": "acorn-private-methods",
"name": "acorn-private-methods",
"escapedName": "acorn-private-methods",
"rawSpec": "",
"saveSpec": null,
"fetchSpec": "latest"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/acorn-private-methods/-/acorn-private-methods-0.3.0.tgz",
"_shasum": "a5a9f8cd83d175bc138fa22592fababd0afda35d",
"_spec": "acorn-private-methods",
"_where": "/home/ruben/repos/node/node",
"bugs": {
"url": "https://github.com/acornjs/acorn-private-methods/issues"
},
"bundleDependencies": false,
"name": "acorn-private-methods",
"description": "Support for private methods in acorn",
"homepage": "https://github.com/acornjs/acorn-private-methods",
"contributors": [
{
"name": "Adrian Heine",
"email": "mail@adrianheine.de"
}
"Adrian Heine <mail@adrianheine.de>"
],
"engines": {
"node": ">=4.8.2"
},
"repository": {
"type": "git",
"url": "https://github.com/acornjs/acorn-private-methods"
},
"license": "MIT",
"scripts": {
"test": "mocha",
"test:test262": "node run_test262.js",
"lint": "eslint -c .eslintrc.json ."
},
"peerDependencies": {
"acorn": "^6.1.0"
},
"dependencies": {
"acorn-private-class-elements": "^0.1.0"
},
"deprecated": false,
"description": "Support for private methods in acorn",
"version": "0.3.0",
"devDependencies": {
"acorn": "^6.1.0",
"eslint": "^5.13.0",
"eslint-plugin-node": "^8.0.1",
"mocha": "^5.2.0",
"test262": "git+https://github.com/tc39/test262.git#33a306d1026b72227eb50a918db19ada16f12b3d",
"test262-parser-runner": "^0.5.0"
},
"engines": {
"node": ">=4.8.2"
},
"homepage": "https://github.com/acornjs/acorn-private-methods",
"license": "MIT",
"name": "acorn-private-methods",
"peerDependencies": {
"acorn": "^6.1.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/acornjs/acorn-private-methods.git"
},
"scripts": {
"lint": "eslint -c .eslintrc.json .",
"test": "mocha",
"test:test262": "node run_test262.js"
},
"version": "0.3.0"
}
}
}
Loading

0 comments on commit f690fc9

Please sign in to comment.