node/lib
James M Snell 8ff2501a04
module: add isPreloading indicator
Adds a `module.isPreloading` property that is `true` only during the
preload (`-r`) phase of Node.js bootstrap. This provides modules an
easy, non-hacky way of knowing if they are being loaded during preload.

Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/36263
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2020-11-30 08:26:46 -08:00
..
assert
dns
fs
internal module: add isPreloading indicator 2020-11-30 08:26:46 -08:00
path path: add path/posix and path/win32 alias modules 2020-10-20 14:27:31 +00:00
stream
timers timers: refactor to use more primordials 2020-11-18 04:21:24 -08:00
util util: add util/types alias module 2020-10-21 01:26:34 +02:00
_http_agent.js lib: remove ERR_INVALID_OPT_VALUE and ERR_INVALID_OPT_VALUE_ENCODING 2020-09-11 17:54:42 +03:00
_http_client.js http: add support for abortsignal to http.request 2020-11-19 14:32:44 +00:00
_http_common.js http: add requestTimeout 2020-09-15 15:39:54 -04:00
_http_incoming.js http: lazy create IncomingMessage.headers 2020-10-27 09:29:32 +01:00
_http_outgoing.js http: enable call chaining with setHeader() 2020-11-30 05:14:30 -08:00
_http_server.js http: fix typo in comment 2020-11-22 10:50:40 +08:00
_stream_duplex.js stream: move to internal/streams 2020-09-21 08:23:06 +00:00
_stream_passthrough.js stream: move to internal/streams 2020-09-21 08:23:06 +00:00
_stream_readable.js stream: move to internal/streams 2020-09-21 08:23:06 +00:00
_stream_transform.js stream: move to internal/streams 2020-09-21 08:23:06 +00:00
_stream_wrap.js
_stream_writable.js stream: move to internal/streams 2020-09-21 08:23:06 +00:00
_tls_common.js src,crypto: refactoring of crypto_context, SecureContext 2020-11-11 12:05:32 -08:00
_tls_wrap.js tls: allow reading data into a static buffer 2020-10-28 16:07:29 +03:00
.eslintrc.yaml http: add support for abortsignal to http.request 2020-11-19 14:32:44 +00:00
assert.js assert: refactor to use more primordials 2020-11-27 06:17:41 -08:00
async_hooks.js async_hooks: refactor to use more primordials 2020-11-20 20:10:19 +00:00
buffer.js lib: use remaining typed arrays from primordials 2020-10-07 13:44:21 +00:00
child_process.js win, child_process: sanitize env variables 2020-09-24 18:25:18 +02:00
cluster.js
console.js
constants.js
crypto.js crypto: add getCipherInfo method 2020-10-13 09:30:53 -07:00
dgram.js
diagnostics_channel.js lib: create diagnostics_channel module 2020-10-31 21:24:11 +00:00
dns.js net: add support for resolving DNS CAA records 2020-10-16 10:21:32 +02:00
domain.js domain: improve deprecation warning text for DEP0097 2020-11-18 18:58:49 +00:00
events.js events: add max listener warning for EventTarget 2020-11-16 09:48:18 +00:00
fs.js fs: refactor to use more primordials 2020-11-27 18:40:51 +01:00
http2.js
http.js
https.js https: set requestTimeout default to 0 2020-09-21 08:32:26 -07:00
inspector.js
module.js
net.js net: fix invalid write after end error 2020-11-11 00:27:13 +01:00
os.js lib: use Number.parseInt from primordials 2020-10-07 13:44:20 +00:00
path.js
perf_hooks.js perf_hooks: make nodeTiming a first-class object 2020-11-15 00:32:41 +01:00
process.js
punycode.js
querystring.js querystring: reduce memory usage by Int8Array 2020-11-10 20:22:08 +00:00
readline.js lib: add error handling for input stream 2020-11-21 17:46:01 +00:00
repl.js lib: use Number.parseFloat from primordials 2020-10-07 13:44:21 +00:00
stream.js stream: fix legacy pipe error handling 2020-09-23 04:33:05 -07:00
string_decoder.js
sys.js
timers.js lib: use Object static properties from primordials 2020-09-30 17:52:35 +02:00
tls.js lib: replace String global with primordials 2020-10-04 09:40:56 +02:00
trace_events.js
tty.js
url.js querystring: reduce memory usage by Int8Array 2020-11-10 20:22:08 +00:00
util.js tools: add new ESLint rule: prefer-primordials 2020-11-07 18:28:14 +08:00
v8.js tools: add new ESLint rule: prefer-primordials 2020-11-07 18:28:14 +08:00
vm.js vm: refactor to use more primordials 2020-11-14 14:46:19 +00:00
wasi.js lib: replace String global with primordials 2020-10-04 09:40:56 +02:00
worker_threads.js
zlib.js lib: use remaining typed arrays from primordials 2020-10-07 13:44:21 +00:00