@npmcli/arborist 7.5.4 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/arborist/build-ideal-tree.js +4 -1
- package/package.json +35 -34
|
@@ -195,7 +195,10 @@ module.exports = cls => class IdealTreeBuilder extends cls {
|
|
|
195
195
|
for (const node of this.idealTree.inventory.values()) {
|
|
196
196
|
if (!node.optional) {
|
|
197
197
|
try {
|
|
198
|
-
|
|
198
|
+
// if devEngines is present in the root node we ignore the engines check
|
|
199
|
+
if (!(node.isRoot && node.package.devEngines)) {
|
|
200
|
+
checkEngine(node.package, npmVersion, nodeVersion, this.options.force)
|
|
201
|
+
}
|
|
199
202
|
} catch (err) {
|
|
200
203
|
if (engineStrict) {
|
|
201
204
|
throw err
|
package/package.json
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npmcli/arborist",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Manage node_modules trees",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@isaacs/string-locale-compare": "^1.1.0",
|
|
7
|
-
"@npmcli/fs": "^
|
|
8
|
-
"@npmcli/installed-package-contents": "^
|
|
9
|
-
"@npmcli/map-workspaces": "^
|
|
10
|
-
"@npmcli/metavuln-calculator": "^
|
|
11
|
-
"@npmcli/name-from-folder": "^
|
|
12
|
-
"@npmcli/node-gyp": "^
|
|
13
|
-
"@npmcli/package-json": "^
|
|
14
|
-
"@npmcli/query": "^
|
|
15
|
-
"@npmcli/redact": "^
|
|
16
|
-
"@npmcli/run-script": "^
|
|
17
|
-
"bin-links": "^
|
|
18
|
-
"cacache": "^
|
|
7
|
+
"@npmcli/fs": "^4.0.0",
|
|
8
|
+
"@npmcli/installed-package-contents": "^3.0.0",
|
|
9
|
+
"@npmcli/map-workspaces": "^4.0.1",
|
|
10
|
+
"@npmcli/metavuln-calculator": "^8.0.0",
|
|
11
|
+
"@npmcli/name-from-folder": "^3.0.0",
|
|
12
|
+
"@npmcli/node-gyp": "^4.0.0",
|
|
13
|
+
"@npmcli/package-json": "^6.0.1",
|
|
14
|
+
"@npmcli/query": "^4.0.0",
|
|
15
|
+
"@npmcli/redact": "^3.0.0",
|
|
16
|
+
"@npmcli/run-script": "^9.0.1",
|
|
17
|
+
"bin-links": "^5.0.0",
|
|
18
|
+
"cacache": "^19.0.1",
|
|
19
19
|
"common-ancestor-path": "^1.0.1",
|
|
20
|
-
"hosted-git-info": "^
|
|
21
|
-
"json-parse-even-better-errors": "^
|
|
20
|
+
"hosted-git-info": "^8.0.0",
|
|
21
|
+
"json-parse-even-better-errors": "^4.0.0",
|
|
22
22
|
"json-stringify-nice": "^1.1.4",
|
|
23
23
|
"lru-cache": "^10.2.2",
|
|
24
24
|
"minimatch": "^9.0.4",
|
|
25
|
-
"nopt": "^
|
|
26
|
-
"npm-install-checks": "^
|
|
27
|
-
"npm-package-arg": "^
|
|
28
|
-
"npm-pick-manifest": "^
|
|
29
|
-
"npm-registry-fetch": "^
|
|
30
|
-
"pacote": "^
|
|
31
|
-
"parse-conflict-json": "^
|
|
32
|
-
"proc-log": "^
|
|
33
|
-
"proggy": "^
|
|
25
|
+
"nopt": "^8.0.0",
|
|
26
|
+
"npm-install-checks": "^7.1.0",
|
|
27
|
+
"npm-package-arg": "^12.0.0",
|
|
28
|
+
"npm-pick-manifest": "^10.0.0",
|
|
29
|
+
"npm-registry-fetch": "^18.0.1",
|
|
30
|
+
"pacote": "^19.0.0",
|
|
31
|
+
"parse-conflict-json": "^4.0.0",
|
|
32
|
+
"proc-log": "^5.0.0",
|
|
33
|
+
"proggy": "^3.0.0",
|
|
34
34
|
"promise-all-reject-late": "^1.0.0",
|
|
35
35
|
"promise-call-limit": "^3.0.1",
|
|
36
|
-
"read-package-json-fast": "^
|
|
36
|
+
"read-package-json-fast": "^4.0.0",
|
|
37
37
|
"semver": "^7.3.7",
|
|
38
|
-
"ssri": "^
|
|
38
|
+
"ssri": "^12.0.0",
|
|
39
39
|
"treeverse": "^3.0.0",
|
|
40
40
|
"walk-up-path": "^3.0.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@npmcli/eslint-config": "^
|
|
44
|
-
"@npmcli/template-oss": "4.
|
|
43
|
+
"@npmcli/eslint-config": "^5.0.1",
|
|
44
|
+
"@npmcli/template-oss": "4.23.3",
|
|
45
45
|
"benchmark": "^2.1.4",
|
|
46
|
-
"minify-registry-metadata": "^
|
|
46
|
+
"minify-registry-metadata": "^4.0.0",
|
|
47
47
|
"nock": "^13.3.3",
|
|
48
48
|
"tap": "^16.3.8",
|
|
49
49
|
"tar-stream": "^3.0.0",
|
|
@@ -54,12 +54,13 @@
|
|
|
54
54
|
"posttest": "npm run lint",
|
|
55
55
|
"snap": "tap",
|
|
56
56
|
"test-proxy": "ARBORIST_TEST_PROXY=1 tap --snapshot",
|
|
57
|
-
"lint": "eslint
|
|
58
|
-
"lintfix": "npm run
|
|
57
|
+
"lint": "npm run eslint",
|
|
58
|
+
"lintfix": "npm run eslint -- --fix",
|
|
59
59
|
"benchmark": "node scripts/benchmark.js",
|
|
60
60
|
"benchclean": "rm -rf scripts/benchmark/*/",
|
|
61
61
|
"postlint": "template-oss-check",
|
|
62
|
-
"template-oss-apply": "template-oss-apply --force"
|
|
62
|
+
"template-oss-apply": "template-oss-apply --force",
|
|
63
|
+
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
|
|
63
64
|
},
|
|
64
65
|
"repository": {
|
|
65
66
|
"type": "git",
|
|
@@ -88,11 +89,11 @@
|
|
|
88
89
|
]
|
|
89
90
|
},
|
|
90
91
|
"engines": {
|
|
91
|
-
"node": "^
|
|
92
|
+
"node": "^18.17.0 || >=20.5.0"
|
|
92
93
|
},
|
|
93
94
|
"templateOSS": {
|
|
94
95
|
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
|
95
|
-
"version": "4.
|
|
96
|
+
"version": "4.23.3",
|
|
96
97
|
"content": "../../scripts/template-oss/index.js"
|
|
97
98
|
}
|
|
98
99
|
}
|