1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/cli/npm
Nathan Whitaker cb74975ab2
fix(install): compare versions directly to decide whether to create a child node_modules dir for a workspace member (#26001)
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.
2024-10-02 15:11:43 -07:00
..
managed fix(install): compare versions directly to decide whether to create a child node_modules dir for a workspace member (#26001) 2024-10-02 15:11:43 -07:00
byonm.rs feat(byonm): support deno run npm:<package> when package is not in package.json (#25981) 2024-10-02 21:17:39 +01:00
common.rs feat(node): support username and _password in .npmrc file (#24793) 2024-08-14 18:53:15 +02:00
mod.rs feat(byonm): support deno run npm:<package> when package is not in package.json (#25981) 2024-10-02 21:17:39 +01:00