node/lib
Mohammed Keyvanzadeh 7f5679b901
tls: use logical OR operator
Use the logical OR operator instead of the ternary operator where
applicable.

PR-URL: https://github.com/nodejs/node/pull/44236
Reviewed-By: theanarkh <theratliter@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Feng Yu <F3n67u@outlook.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
2022-08-16 21:34:56 +00:00
..
assert assert: add assert/strict alias module 2020-06-25 08:37:48 -07:00
dns dns: make promise API fully constructed from lib/internal/dns/promises 2022-06-20 19:58:45 +01:00
fs fs: add fs/promises alias module 2020-02-18 22:15:50 -08:00
internal tls: use logical OR operator 2022-08-16 21:34:56 +00:00
path path: add path/posix and path/win32 alias modules 2020-10-20 14:27:31 +00:00
readline readline: use kEmptyObject 2022-06-11 12:18:14 +02:00
stream stream: add reduce 2022-01-30 14:07:32 +00:00
timers timers: use kEmptyObject 2022-06-11 12:18:15 +02:00
util util: add util/types alias module 2020-10-21 01:26:34 +02:00
_http_agent.js http: use Keep-Alive by default in global agents 2022-06-29 12:48:52 +02:00
_http_client.js http: trace http request / response 2022-08-05 14:25:06 +00:00
_http_common.js http: fix http server connection list when close 2022-07-24 15:06:24 +01:00
_http_incoming.js lib: use null-prototype objects for property descriptors 2022-06-03 09:23:58 +01:00
_http_outgoing.js http: add max for http keepalive 2022-08-16 13:09:10 +00:00
_http_server.js http: add max for http keepalive 2022-08-16 13:09:10 +00: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 tools: report unsafe string and regex primordials as lint errors 2022-06-16 00:21:57 +02:00
_tls_wrap.js net,tls: pass a valid socket on tlsClientError 2022-08-01 07:37:45 +01:00
.eslintrc.yaml events: expose CustomEvent on global with CLI flag 2022-07-23 14:39:08 +01:00
assert.js assert: add assert.Snapshot 2022-08-11 13:07:52 +00:00
async_hooks.js async_hooks: use kEmptyObject 2022-06-11 12:18:11 +02:00
buffer.js lib: use null-prototype objects for property descriptors 2022-06-27 16:29:10 +01:00
child_process.js lib: pass env variables to child process on z/OS 2022-08-04 18:52:43 -04:00
cluster.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
console.js
constants.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
crypto.js crypto: do not allow to call setFips from the worker thread 2022-07-08 11:50:24 +01:00
dgram.js lib: add diagnostics channel and perf hooks detail 2022-07-29 14:27:16 +01:00
diagnostics_channel.js lib: improved diagnostics_channel subscribe/unsubscribe 2022-07-14 16:12:21 +00:00
dns.js lib: add diagnostics channel and perf hooks detail 2022-07-29 14:27:16 +01:00
domain.js domain: fix vm promise tracking while keeping isolation 2022-07-14 12:05:50 +01:00
events.js util: mark cwd grey while inspecting errors 2022-07-09 15:46:38 +00:00
fs.js lib: reset RegExp statics before running user code 2022-08-05 10:01:32 +02:00
http2.js http2: add support for sensitive headers 2020-07-16 00:25:47 +02:00
http.js http: make idle http parser count configurable 2022-07-29 10:00:38 +01:00
https.js http: use Keep-Alive by default in global agents 2022-06-29 12:48:52 +02:00
inspector.js src,lib: migrate to console on context's extra binding 2022-05-23 16:45:31 +08:00
module.js module: add API for interacting with source maps 2020-01-14 12:39:06 -08:00
net.js net: remove unused callback 2022-08-11 09:33:14 +00:00
os.js dns: accept 'IPv4' and 'IPv6' for family 2022-06-15 18:02:01 -04:00
path.js lib: fix typos in lib code comments 2021-11-12 23:26:20 +01:00
perf_hooks.js lib: use null-prototype objects for property descriptors 2022-06-03 09:23:58 +01:00
process.js src: disambiguate terms used to refer to builtins and addons 2022-08-09 01:36:49 +08:00
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: fix question stack overflow 2022-06-12 10:48:53 +01:00
repl.js src: disambiguate terms used to refer to builtins and addons 2022-08-09 01:36:49 +08:00
stream.js lib: use null-prototype objects for property descriptors 2022-06-03 09:23:58 +01:00
string_decoder.js lib: use null-prototype objects for property descriptors 2022-06-03 09:23:58 +01:00
sys.js
test.js test_runner: add before/after/each hooks 2022-07-30 23:10:51 +03:00
timers.js lib: use null-prototype objects for property descriptors 2022-06-03 09:23:58 +01:00
tls.js lib: refactor to avoid unsafe regex primordials 2022-06-27 17:16:06 +02: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 lib: refactor transferable AbortSignal 2022-08-04 08:40:50 -07:00
v8.js v8: serialize BigInt64Array and BigUint64Array 2022-07-15 08:56:04 +01:00
vm.js src: merge RunInThisContext() with RunInContext() 2022-07-11 09:08:41 +01:00
wasi.js wasi: use WasmMemoryObject handle for perf (#43544) 2022-06-25 11:02:32 -07:00
worker_threads.js worker: add setEnvironmentData/getEnvironmentData 2021-03-15 07:40:26 -07:00
zlib.js lib: use null-prototype objects for property descriptors 2022-06-03 09:23:58 +01:00