1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-27 16:10:57 -05:00
denoland-deno/cli/node
Bartek Iwańczuk bd8d529d54
fix(npm): fix require resolution if using --node-modules-dir (#17087)
In our `require()` implementation we use a special logic to resolve
"base path" when looking for matching packages, however this logic
is in contradiction to what needs to happen if there's a local
"node_modules"
directory used. This commit changes require implementation to be aware
if we're running off of global node modules cache or a local one.
2023-01-05 13:03:10 +01:00
..
analyze.rs fix(npm): add console global for node environment (#16519) 2022-11-02 19:08:09 -04:00
mod.rs fix(npm): fix require resolution if using --node-modules-dir (#17087) 2023-01-05 13:03:10 +01:00