1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 01:58:05 -05:00
denoland-deno/ext/node/ops
Bartek Iwańczuk 797f0ef42e
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-04 16:18:57 +02:00
..
crypto feat(node/crypto): Elliptic Curve Diffie-Hellman (ECDH) support (#18832) 2023-04-27 18:31:35 +02:00
zlib refactor(ext/node): reorganize ops (#18799) 2023-04-24 12:22:21 +02:00
idna.rs refactor(ext/node): reorganize ops (#18799) 2023-04-24 12:22:21 +02:00
mod.rs refactor(ext/node): reorganize ops (#18799) 2023-04-24 12:22:21 +02:00
require.rs fix(npm): canonicalize filename before returning (#18948) 2023-05-04 16:18:57 +02:00
v8.rs refactor(ext/node): reorganize ops (#18799) 2023-04-24 12:22:21 +02:00
winerror.rs refactor(ext/node): reorganize ops (#18799) 2023-04-24 12:22:21 +02:00