mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -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. |
||
---|---|---|
.. | ||
common | ||
common.rs | ||
global.rs | ||
local.rs | ||
mod.rs |