mirror of
https://github.com/denoland/deno.git
synced 2024-12-26 09:10:40 -05:00
efcb93f8b9
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. |
||
---|---|---|
.. | ||
01_node.js | ||
02_require.js | ||
Cargo.toml | ||
errors.rs | ||
lib.rs | ||
module_es_shim.js | ||
package_json.rs | ||
path.rs | ||
README.md | ||
resolution.rs |
deno_node
require
and other node related functionality for Deno.