1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-07 06:46:59 -05:00
denoland-deno/ext/fs
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
..
30_fs.js refactor: migrate async ops to generated wrappers (#18937) 2023-05-04 16:18:38 +02:00
Cargo.toml 1.33.1 (#18895) 2023-04-28 19:05:46 +02:00
clippy.toml refactor(ext/fs): abstract FS via FileSystem trait (#18599) 2023-04-12 15:13:32 +02:00
interface.rs chore(ext/fs): decouple fs trait from deno_core (#18732) 2023-04-17 16:10:59 +02:00
lib.rs chore(ext/fs): decouple fs trait from deno_core (#18732) 2023-04-17 16:10:59 +02:00
ops.rs chore(ext/fs): decouple fs trait from deno_core (#18732) 2023-04-17 16:10:59 +02:00
README.md refactor: Add "deno_fs" extension crate (#18040) 2023-03-07 18:13:44 +09:00
std_fs.rs fix(npm): canonicalize filename before returning (#18948) 2023-05-04 16:18:57 +02:00

deno_fs

This crate provides ops for interacting with the file system.