@npmcli/arborist 7.4.0 → 7.4.1

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.
@@ -257,7 +257,12 @@ class Results {
257
257
  for (const edge of node.edgesOut.values()) {
258
258
  if (edge.missing) {
259
259
  const pkg = { name: edge.name, version: edge.spec }
260
- res.push(new this.#targetNode.constructor({ pkg }))
260
+ const item = new this.#targetNode.constructor({ pkg })
261
+ item.queryContext = {
262
+ missing: true,
263
+ }
264
+ item.edgesIn = new Set([edge])
265
+ res.push(item)
261
266
  }
262
267
  }
263
268
  return res
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npmcli/arborist",
3
- "version": "7.4.0",
3
+ "version": "7.4.1",
4
4
  "description": "Manage node_modules trees",
5
5
  "dependencies": {
6
6
  "@isaacs/string-locale-compare": "^1.1.0",
@@ -19,12 +19,12 @@
19
19
  "hosted-git-info": "^7.0.1",
20
20
  "json-parse-even-better-errors": "^3.0.0",
21
21
  "json-stringify-nice": "^1.1.4",
22
- "minimatch": "^9.0.0",
22
+ "minimatch": "^9.0.4",
23
23
  "nopt": "^7.0.0",
24
24
  "npm-install-checks": "^6.2.0",
25
25
  "npm-package-arg": "^11.0.1",
26
26
  "npm-pick-manifest": "^9.0.0",
27
- "npm-registry-fetch": "^16.0.0",
27
+ "npm-registry-fetch": "^16.2.0",
28
28
  "npmlog": "^7.0.1",
29
29
  "pacote": "^17.0.4",
30
30
  "parse-conflict-json": "^3.0.0",