mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 01:58:05 -05:00
b064c95e93
This improves peer dependency resolution yet again. We did not handle scenarios like the following: ``` // a -> b -> c -> d -> c -> b (peer) ``` ...which would maybe work ok the first time its run in some cases, but then lead to a lockfile that would error on load. This now keeps track of circular dependencies and updates nodes accordingly. That said, there is still a lurking bug in this code somewhere that I've added a comment for (there is a mitigation on the tail end that seems to work well). The current state is much better than before and I can look into it later. I think it's something small that's incorrect. |
||
---|---|---|
.. | ||
resolution | ||
resolvers | ||
cache.rs | ||
installer.rs | ||
mod.rs | ||
registry.rs | ||
tarball.rs |