Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(npm): handle peer dep being resolved without resolved dep higher in tree and then with #16640

Merged
merged 2 commits into from
Nov 15, 2022

Conversation

dsherret
Copy link
Member

Peer dependency resolution wasn't handling a peer dependency being resolved without a dep higher in the tree and then with one being found higher in the tree.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I can't say I follow the code 100%, but the panic we saw is gone

@dsherret dsherret merged commit 2df0df5 into denoland:main Nov 15, 2022
@dsherret dsherret deleted the fix_peer_resolution_multiple_times branch November 15, 2022 02:23
@dsherret
Copy link
Member Author

Yeah it’s tricky. I’m not sure the code overall is the best solution to the problem (of peer dependencies).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants