1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-04 08:54:20 -05:00
denoland-deno/cli/npm/resolution
David Sherret 3479bc7661
fix(npm): improve peer dependency resolution (#17835)
This PR fixes peer dependency resolution to only resolve peers based on
the current graph traversal path. Previously, it would resolve a peers
by looking at a graph node's ancestors, which is not correct because
graph nodes are shared by different resolutions.

It also stores more information about peer dependency resolution in the
lockfile.
2023-02-21 12:03:48 -05:00
..
common.rs fix(npm): improve peer dependency resolution (#17835) 2023-02-21 12:03:48 -05:00
graph.rs fix(npm): improve peer dependency resolution (#17835) 2023-02-21 12:03:48 -05:00
mod.rs fix(npm): improve peer dependency resolution (#17835) 2023-02-21 12:03:48 -05:00
snapshot.rs fix(npm): improve peer dependency resolution (#17835) 2023-02-21 12:03:48 -05:00
specifier.rs fix(npm): improve peer dependency resolution (#17835) 2023-02-21 12:03:48 -05:00