@npmcli/arborist 6.2.3 → 6.2.4

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.
@@ -1243,7 +1243,7 @@ This is a one-time fix-up, please be patient...
1243
1243
  if (isWorkspace) {
1244
1244
  const existingNode = this.idealTree.edgesOut.get(spec.name).to
1245
1245
  if (existingNode && existingNode.isWorkspace && existingNode.satisfies(edge)) {
1246
- return edge.to
1246
+ return existingNode
1247
1247
  }
1248
1248
  }
1249
1249
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@npmcli/arborist",
3
- "version": "6.2.3",
3
+ "version": "6.2.4",
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
- "@npmcli/installed-package-contents": "^2.0.0",
8
+ "@npmcli/installed-package-contents": "^2.0.2",
9
9
  "@npmcli/map-workspaces": "^3.0.2",
10
10
  "@npmcli/metavuln-calculator": "^5.0.0",
11
11
  "@npmcli/name-from-folder": "^2.0.0",