1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-26 09:10:40 -05:00
denoland-deno/ext/node
Bartek Iwańczuk efcb93f8b9
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.
2022-12-16 23:41:51 +01:00
..
01_node.js fix(npm): add console global for node environment (#16519) 2022-11-02 19:08:09 -04:00
02_require.js fix(npm): fix require resolution if using --node-modules-dir (#17087) 2022-12-16 23:41:51 +01:00
Cargo.toml chore: forward v1.29.1 release commit to main (#17067) 2022-12-15 13:30:55 -05:00
errors.rs fix(npm): improve exports resolution when type checking (#17071) 2022-12-15 21:15:25 -05:00
lib.rs Revert "feat(ops): Fast zero copy string arguments (#16777)" (#17063) 2022-12-15 15:26:10 +00:00
module_es_shim.js fix(ext/node): fix builtin module module (#15904) 2022-09-17 20:35:32 +09:00
package_json.rs feat(unstable/npm): initial type checking of npm specifiers (#16332) 2022-10-21 15:20:18 +00:00
path.rs feat(npm): add flag for creating and resolving npm packages to a local node_modules folder (#15971) 2022-09-22 11:17:02 -04:00
README.md chore(ext/node): correct publishing for ext/node (#15461) 2022-08-11 17:25:41 -04:00
resolution.rs fix(npm): improve exports resolution when type checking (#17071) 2022-12-15 21:15:25 -05:00

deno_node

require and other node related functionality for Deno.