@npmcli/arborist 6.2.10 → 7.0.0-pre.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/reify.js +1 -2
- package/package.json +24 -19
package/lib/arborist/reify.js
CHANGED
|
@@ -1423,8 +1423,7 @@ module.exports = cls => class Reifier extends cls {
|
|
|
1423
1423
|
for (const tree of updatedTrees) {
|
|
1424
1424
|
// refresh the edges so they have the correct specs
|
|
1425
1425
|
tree.package = tree.package
|
|
1426
|
-
const pkgJson = await PackageJson.load(tree.path)
|
|
1427
|
-
.catch(() => new PackageJson(tree.path))
|
|
1426
|
+
const pkgJson = await PackageJson.load(tree.path, { create: true })
|
|
1428
1427
|
const {
|
|
1429
1428
|
dependencies = {},
|
|
1430
1429
|
devDependencies = {},
|
package/package.json
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npmcli/arborist",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0-pre.0",
|
|
4
4
|
"description": "Manage node_modules trees",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@isaacs/string-locale-compare": "^1.1.0",
|
|
7
7
|
"@npmcli/fs": "^3.1.0",
|
|
8
8
|
"@npmcli/installed-package-contents": "^2.0.2",
|
|
9
9
|
"@npmcli/map-workspaces": "^3.0.2",
|
|
10
|
-
"@npmcli/metavuln-calculator": "^
|
|
10
|
+
"@npmcli/metavuln-calculator": "^7.0.0",
|
|
11
11
|
"@npmcli/name-from-folder": "^2.0.0",
|
|
12
12
|
"@npmcli/node-gyp": "^3.0.0",
|
|
13
|
-
"@npmcli/package-json": "^
|
|
13
|
+
"@npmcli/package-json": "^5.0.0",
|
|
14
14
|
"@npmcli/query": "^3.0.0",
|
|
15
|
-
"@npmcli/run-script": "^
|
|
15
|
+
"@npmcli/run-script": "^7.0.1",
|
|
16
16
|
"bin-links": "^4.0.1",
|
|
17
|
-
"cacache": "^
|
|
17
|
+
"cacache": "^18.0.0",
|
|
18
18
|
"common-ancestor-path": "^1.0.1",
|
|
19
|
-
"hosted-git-info": "^
|
|
19
|
+
"hosted-git-info": "^7.0.0",
|
|
20
20
|
"json-parse-even-better-errors": "^3.0.0",
|
|
21
21
|
"json-stringify-nice": "^1.1.4",
|
|
22
22
|
"minimatch": "^9.0.0",
|
|
23
23
|
"nopt": "^7.0.0",
|
|
24
|
-
"npm-install-checks": "^6.
|
|
25
|
-
"npm-package-arg": "^
|
|
26
|
-
"npm-pick-manifest": "^
|
|
27
|
-
"npm-registry-fetch": "^
|
|
24
|
+
"npm-install-checks": "^6.2.0",
|
|
25
|
+
"npm-package-arg": "^11.0.0",
|
|
26
|
+
"npm-pick-manifest": "^9.0.0",
|
|
27
|
+
"npm-registry-fetch": "^16.0.0",
|
|
28
28
|
"npmlog": "^7.0.1",
|
|
29
|
-
"pacote": "^
|
|
29
|
+
"pacote": "^17.0.4",
|
|
30
30
|
"parse-conflict-json": "^3.0.0",
|
|
31
31
|
"proc-log": "^3.0.0",
|
|
32
32
|
"promise-all-reject-late": "^1.0.0",
|
|
33
33
|
"promise-call-limit": "^1.0.2",
|
|
34
34
|
"read-package-json-fast": "^3.0.2",
|
|
35
35
|
"semver": "^7.3.7",
|
|
36
|
-
"ssri": "^10.0.
|
|
36
|
+
"ssri": "^10.0.5",
|
|
37
37
|
"treeverse": "^3.0.0",
|
|
38
38
|
"walk-up-path": "^3.0.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@npmcli/eslint-config": "^4.0.0",
|
|
42
|
-
"@npmcli/template-oss": "4.
|
|
42
|
+
"@npmcli/template-oss": "4.18.0",
|
|
43
43
|
"benchmark": "^2.1.4",
|
|
44
44
|
"minify-registry-metadata": "^3.0.0",
|
|
45
|
-
"nock": "^13.3.
|
|
46
|
-
"tap": "^16.3.
|
|
45
|
+
"nock": "^13.3.3",
|
|
46
|
+
"tap": "^16.3.8",
|
|
47
47
|
"tar-stream": "^3.0.0",
|
|
48
48
|
"tcompare": "^5.0.6"
|
|
49
49
|
},
|
|
@@ -79,7 +79,6 @@
|
|
|
79
79
|
"test-env": [
|
|
80
80
|
"LC_ALL=sk"
|
|
81
81
|
],
|
|
82
|
-
"color": 1,
|
|
83
82
|
"timeout": "360",
|
|
84
83
|
"nyc-arg": [
|
|
85
84
|
"--exclude",
|
|
@@ -87,11 +86,17 @@
|
|
|
87
86
|
]
|
|
88
87
|
},
|
|
89
88
|
"engines": {
|
|
90
|
-
"node": "^
|
|
89
|
+
"node": "^16.14.0 || >=18.0.0"
|
|
91
90
|
},
|
|
92
91
|
"templateOSS": {
|
|
93
92
|
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
|
94
|
-
"version": "4.
|
|
95
|
-
"content": "../../scripts/template-oss/index.js"
|
|
93
|
+
"version": "4.18.0",
|
|
94
|
+
"content": "../../scripts/template-oss/index.js",
|
|
95
|
+
"ciVersions": [
|
|
96
|
+
"16.14.0",
|
|
97
|
+
"16.x",
|
|
98
|
+
"18.0.0",
|
|
99
|
+
"18.x"
|
|
100
|
+
]
|
|
96
101
|
}
|
|
97
102
|
}
|