1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-13 19:12:20 -05:00
denoland-deno/cli/util
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
..
progress_bar fix(npm): show a progress bar when initializing the node_modules folder (#18136) 2023-03-13 18:18:29 +00:00
checksum.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
console.rs refactor(runtime): factor out deno_io extension crate (#18001) 2023-03-05 00:39:48 +00:00
diff.rs chore: use rustfmt imports_granularity option (#17421) 2023-01-14 23:18:58 -05:00
display.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
draw_thread.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
file_watcher.rs refactor: reland "preserve ProcState::file_fetcher between restarts" (#17636) 2023-02-03 20:15:16 +01:00
fs.rs fix(npm): canonicalize filename before returning (#18948) 2023-05-04 16:18:57 +02:00
logger.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
mod.rs fix(npm): do not "npm install" when npm specifier happens to match package.json entry (#18660) 2023-04-11 18:10:51 -04:00
path.rs feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
sync.rs fix(npm): do not "npm install" when npm specifier happens to match package.json entry (#18660) 2023-04-11 18:10:51 -04:00
text_encoding.rs refactor(core): Improve ergonomics of managing ASCII strings (#18498) 2023-04-04 06:46:31 -06:00
time.rs perf: do not depend on iana-time-zone (#18088) 2023-03-15 07:14:22 +00:00
unix.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
v8.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
windows.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00