1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-29 10:39:10 -05:00
denoland-deno/cli/tests/testdata/npm/local_dir_resolves_symlinks
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
..
index.js fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00
index.out fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00
package.json fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00