mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 23:04:45 -05:00
cb74975ab2
Fixes #25861. Previously we were attempting to match the version requirement against the version already present in `node_modules` root, and if they didn't match we would create a node_modules dir in the workspace member's directory with the dependency. Aside from the fact that this caused the panic, on second thought it just doesn't make sense in general. We shouldn't be semver matching, as resolution has already occurred and decided what package versions are required. Instead, we can just compare the versions directly. |
||
---|---|---|
.. | ||
cache | ||
resolvers | ||
mod.rs | ||
registry.rs | ||
resolution.rs |