diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-05-02 02:35:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-02 02:35:33 +0200 |
| commit | 2f651b2d64523bdd377d22b8b7213a04ad82f459 (patch) | |
| tree | f5776da1ee7e25b70bd736bf2428c3fbb06b35a0 /cli/tests/testdata/npm/registry/object-keys/object-keys-1.1.1.tgz | |
| parent | 000315e75a20e82616a227702c98346f2b5e8b59 (diff) | |
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>
Diffstat (limited to 'cli/tests/testdata/npm/registry/object-keys/object-keys-1.1.1.tgz')
| -rw-r--r-- | cli/tests/testdata/npm/registry/object-keys/object-keys-1.1.1.tgz | bin | 0 -> 7677 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/registry/object-keys/object-keys-1.1.1.tgz b/cli/tests/testdata/npm/registry/object-keys/object-keys-1.1.1.tgz Binary files differnew file mode 100644 index 000000000..3e52f10df --- /dev/null +++ b/cli/tests/testdata/npm/registry/object-keys/object-keys-1.1.1.tgz |
