-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(arborist):
node.target
can be null
when it is a file dep or s…
…ymlink (#7027) Co-authored-by: Luke Karrys <luke@lukekarrys.com>
- Loading branch information
1 parent
5a2e334
commit ae2d982
Showing
13 changed files
with
2,231 additions
and
2 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
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
9 changes: 9 additions & 0 deletions
9
...arborist/test/fixtures/conflict-bundle-file-dep/fixtures-has-package-exports/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 @@ | ||
{ | ||
"bundleDependencies": true, | ||
"dependencies": { | ||
"abbrev": "1.1.1" | ||
}, | ||
"devDependencies": { | ||
"has-package-exports": "file:." | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
workspaces/arborist/test/fixtures/conflict-bundle-file-dep/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,6 @@ | ||
{ | ||
"dependencies": { | ||
"@fixtures/has-package-exports": "file:fixtures-has-package-exports", | ||
"has-package-exports": "^1.3.0" | ||
} | ||
} |
Oops, something went wrong.
ae2d982
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WOW