1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-05 13:59:01 -05:00
denoland-deno/ext
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
..
broadcast_channel refactor(webidl): move prefix & context out of converters options bag (#18931) 2023-05-04 16:18:26 +02:00
cache fix(core): Use primordials for methods (#18839) 2023-05-04 16:18:35 +02:00
console fix(core): Use primordials for methods (#18839) 2023-05-04 16:18:35 +02:00
crypto fix(core): Use primordials for methods (#18839) 2023-05-04 16:18:35 +02:00
fetch perf: lazily create RootCertStore (#18938) 2023-05-04 16:18:49 +02:00
ffi 1.33.1 (#18895) 2023-04-28 19:05:46 +02:00
fs fix(npm): canonicalize filename before returning (#18948) 2023-05-04 16:18:57 +02:00
http refactor: migrate async ops to generated wrappers (#18937) 2023-05-04 16:18:38 +02:00
io fix(ext/io) several sync fs fixes (#18886) 2023-05-04 16:17:43 +02:00
kv fix(ext/kv): stricter structured clone serializer (#18914) 2023-05-04 16:17:46 +02:00
napi 1.33.1 (#18895) 2023-04-28 19:05:46 +02:00
net perf: lazily create RootCertStore (#18938) 2023-05-04 16:18:49 +02:00
node fix(npm): canonicalize filename before returning (#18948) 2023-05-04 16:18:57 +02:00
tls perf: lazily create RootCertStore (#18938) 2023-05-04 16:18:49 +02:00
url fix(core): Use primordials for methods (#18839) 2023-05-04 16:18:35 +02:00
web refactor: migrate async ops to generated wrappers (#18937) 2023-05-04 16:18:38 +02:00
webidl refactor(webidl): move prefix & context out of converters options bag (#18931) 2023-05-04 16:18:26 +02:00
websocket perf: lazily create RootCertStore (#18938) 2023-05-04 16:18:49 +02:00
webstorage refactor(webidl): move prefix & context out of converters options bag (#18931) 2023-05-04 16:18:26 +02:00