node/lib
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
..
assert assert: add assert/strict alias module 2020-06-25 08:37:48 -07:00
dns
fs
internal module: ensure 'node:'-only modules can access node_modules 2022-04-14 14:08:55 +01:00
path path: add path/posix and path/win32 alias modules 2020-10-20 14:27:31 +00:00
readline readline: propagate signal.reason in awaitable question 2021-12-02 12:13:02 -08:00
stream stream: add reduce 2022-01-30 14:07:32 +00:00
timers tools: add timers functions to the list of restricted globals 2022-02-18 11:37:36 +00:00
util util: add util/types alias module 2020-10-21 01:26:34 +02:00
_http_agent.js http: make TCP noDelay enabled by default 2022-03-09 14:37:49 +00:00
_http_client.js http: refactor headersTimeout and requestTimeout logic 2022-04-13 15:47:59 +01:00
_http_common.js http: refactor headersTimeout and requestTimeout logic 2022-04-13 15:47:59 +01:00
_http_incoming.js lib: fix typos in lib code comments 2021-11-12 23:26:20 +01:00
_http_outgoing.js http: don't write empty data on req/res end() 2021-12-10 19:44:24 +00:00
_http_server.js http: refactor headersTimeout and requestTimeout logic 2022-04-13 15:47:59 +01:00
_stream_duplex.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_stream_passthrough.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_stream_readable.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_stream_transform.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_stream_wrap.js
_stream_writable.js stream: do not use _stream_* anymore 2021-01-05 19:02:04 +01:00
_tls_common.js tls: move tls.parseCertString to end-of-life 2022-01-15 17:00:25 +01:00
_tls_wrap.js tls: avoid throw in onerror for bad TLSSocket obj 2022-02-14 08:08:37 +00:00
.eslintrc.yaml stream: expose web streams globals, remove runtime experimental warning 2022-04-04 09:36:54 +01:00
assert.js lib: refactor to use primordials in lib/assert.js 2022-03-15 00:17:12 +00:00
async_hooks.js lib: fix AsyncResource.bind not using 'this' from the caller by default 2022-03-08 22:00:55 +00:00
buffer.js buffer: fix atob input validation 2022-04-12 16:34:59 +02:00
child_process.js child_process: add env contents types in JSDoc 2022-03-30 15:03:48 +01:00
cluster.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
console.js
constants.js
crypto.js src: include crypto in the bootstrap snapshot 2022-03-11 17:15:13 +00:00
dgram.js src: properly report exceptions from AddressToJS() 2022-03-26 15:39:59 +00:00
diagnostics_channel.js lib: add unsubscribe method to non-active DC channels 2021-10-19 14:46:14 +00:00
dns.js dns: remove dns.lookup and dnsPromises.lookup options type coercion 2022-04-12 05:50:11 +02:00
domain.js domain: pass opts to EventEmitter.init 2022-01-19 11:26:38 +00:00
events.js lib: add internal genericNodeError() function 2022-02-09 01:56:15 +00:00
fs.js fs: runtime deprecate string coercion in fs.write, fs.writeFileSync 2022-04-08 11:16:08 +01:00
http2.js http2: add support for sensitive headers 2020-07-16 00:25:47 +02:00
http.js lib,test,tools: use consistent JSDoc types 2021-11-29 06:48:00 +00:00
https.js http: refactor headersTimeout and requestTimeout logic 2022-04-13 15:47:59 +01:00
inspector.js lib: replace validator and error 2022-02-05 08:36:48 -08:00
module.js
net.js net: make server.address() return an integer for family 2022-04-12 05:50:09 +02:00
os.js net: make server.address() return an integer for family 2022-04-12 05:50:09 +02:00
path.js lib: fix typos in lib code comments 2021-11-12 23:26:20 +01:00
perf_hooks.js perf_hooks: fix performance timeline wpt failures 2021-07-30 07:29:44 -07:00
process.js
punycode.js punycode: add pending deprecation 2021-04-30 10:59:28 -07:00
querystring.js lib: include return types in JSDoc 2021-12-12 03:51:00 +00:00
readline.js readline: propagate signal.reason in awaitable question 2021-12-02 12:13:02 -08:00
repl.js module,repl: support 'node:'-only core modules 2022-03-21 22:21:09 +00:00
stream.js stream: port more test262 tests 2022-02-23 21:06:00 +00:00
string_decoder.js string_decoder: fix crash when calling __proto__.write() 2022-03-08 16:36:11 +00:00
sys.js
test.js test: add initial test module 2022-03-21 22:21:09 +00:00
timers.js lib: replace validator and error 2022-02-05 08:36:48 -08:00
tls.js tls: move tls.parseCertString to end-of-life 2022-01-15 17:00:25 +01:00
trace_events.js lib: refactor to use validateObject 2021-01-28 12:53:50 +01:00
tty.js tty: enable buffering 2021-07-07 14:50:47 +02:00
url.js url: throw on NULL in IPv6 hostname 2022-03-14 21:12:44 +00:00
util.js util: expose stripVTControlCharacters() 2021-10-01 22:56:58 -04:00
v8.js lib,test,tools: use consistent JSDoc types 2021-11-29 06:48:00 +00:00
vm.js vm: add support for import assertions in dynamic imports 2021-10-09 08:44:53 +00:00
wasi.js wasi: use missing validator 2021-06-26 16:31:30 +02:00
worker_threads.js worker: add setEnvironmentData/getEnvironmentData 2021-03-15 07:40:26 -07:00
zlib.js lib: add internal genericNodeError() function 2022-02-09 01:56:15 +00:00