1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-08 15:19:40 -05:00
denoland-deno/ext
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
..
broadcast_channel refactor(webidl): move prefix & context out of converters options bag (#18931) 2023-05-01 10:47:13 +00:00
cache fix(core): Use primordials for methods (#18839) 2023-05-01 15:30:02 +02:00
console fix(core): Use primordials for methods (#18839) 2023-05-01 15:30:02 +02:00
crypto fix(core): Use primordials for methods (#18839) 2023-05-01 15:30:02 +02:00
fetch perf: lazily create RootCertStore (#18938) 2023-05-01 16:42:05 -04:00
ffi chore: forward v1.33.1 release commit to main (#18897) 2023-04-28 21:14:26 +02:00
fs fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00
http refactor: migrate async ops to generated wrappers (#18937) 2023-05-01 17:40:00 +02:00
io fix(ext/io) several sync fs fixes (#18886) 2023-04-28 12:16:17 -07:00
kv fix(ext/kv): stricter structured clone serializer (#18914) 2023-04-29 17:43:07 +02:00
napi chore: forward v1.33.1 release commit to main (#18897) 2023-04-28 21:14:26 +02:00
net perf: lazily create RootCertStore (#18938) 2023-05-01 16:42:05 -04:00
node fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00
tls perf: lazily create RootCertStore (#18938) 2023-05-01 16:42:05 -04:00
url fix(core): Use primordials for methods (#18839) 2023-05-01 15:30:02 +02:00
web refactor: migrate async ops to generated wrappers (#18937) 2023-05-01 17:40:00 +02:00
webidl refactor(webidl): move prefix & context out of converters options bag (#18931) 2023-05-01 10:47:13 +00:00
websocket perf: lazily create RootCertStore (#18938) 2023-05-01 16:42:05 -04:00
webstorage refactor(webidl): move prefix & context out of converters options bag (#18931) 2023-05-01 10:47:13 +00:00