forked from npm/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(arborist): check placed node children for missing deps (npm#7746)
This addresses an edge case where a dep could be placed in the tree with unsatisfied indirect dependencies (see test case).
- Loading branch information
1 parent
e674987
commit f73d07f
Showing
43 changed files
with
46,386 additions
and
14,973 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
187 changes: 187 additions & 0 deletions
187
workspaces/arborist/test/fixtures/lockfile-with-missing-parent/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
workspaces/arborist/test/fixtures/lockfile-with-missing-parent/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "lockfile-with-missing-parent", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"glob": "7.1.6", | ||
"globby": "1.2.0", | ||
"minimatch": "3.0.3" | ||
} | ||
} |
Oops, something went wrong.