Files
node/lib/internal
Colin Ihrig 93c4dc5e5a module: ensure 'node:'-only modules can access node_modules
This commit allows require() and import to search the
node_modules directories when importing a core module that
must have the node: scheme. This prevents these core modules
from shadowing userland modules with the same name but no
prefix.

PR-URL: https://github.com/nodejs/node/pull/42430
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
2022-04-14 14:08:55 +01:00
..
2022-04-08 11:29:24 +01:00
2021-03-23 11:03:18 -05:00
2021-01-27 20:46:54 +02:00
2022-03-18 15:15:08 +00:00
2020-12-07 10:08:03 -08:00
2020-12-29 15:49:09 +00:00
2021-04-08 10:33:09 +02:00
2021-09-26 11:46:14 +00:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.