1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/cli/npm
Bartek Iwańczuk 2f651b2d64
fix(npm): canonicalize filename before returning (#18948)
This commit changes how paths for npm packages are handled,
by canonicalizing them when resolving. This is done so that instead
of returning
"node_modules/<package_name>@<version>/node_modules/<dep>/index.js"
(which is a symlink) we "node_modules/<dep>@<dep_version>/index.js.

Fixes https://github.com/denoland/deno/issues/18924
Fixes https://github.com/bluwy/create-vite-extra/issues/31

---------

Co-authored-by: David Sherret <dsherret@gmail.com>
2023-05-02 02:35:33 +02:00
..
resolvers fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00
cache.rs perf: lazily create RootCertStore (#18938) 2023-05-01 16:42:05 -04:00
installer.rs refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
mod.rs refactor(node): move most of cli/node to ext/node (#18797) 2023-04-21 21:02:46 -04:00
registry.rs perf: lazily create RootCertStore (#18938) 2023-05-01 16:42:05 -04:00
resolution.rs refactor(node): move most of cli/node to ext/node (#18797) 2023-04-21 21:02:46 -04:00
tarball.rs refactor(npm): use deno_npm and deno_semver (#18602) 2023-04-06 18:46:44 -04:00