0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
cjihrig 06134e3598
net: use strict comparisons for fd
This commit removes an eslint-disable comment, and moves file
descriptor checks to use strict equality. These checks were
using loose equality to support numeric and string file
descriptors. However, d9e95d8982
introduced strict validation, making the loose equality checks
redundant.

PR-URL: https://github.com/nodejs/node/pull/25014
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-12-15 12:16:42 -05:00
..
internal stream: re-use existing once() implementation 2018-12-15 06:43:38 -08:00
_http_agent.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
_http_client.js http: make parser choice a runtime flag 2018-12-06 05:21:36 +01:00
_http_common.js http: make parser choice a runtime flag 2018-12-06 05:21:36 +01:00
_http_incoming.js lib: use ES6 class inheritance style 2018-12-05 16:55:00 +01:00
_http_outgoing.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
_http_server.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
_stream_duplex.js lib: use ES6 class inheritance style 2018-12-05 16:55:00 +01:00
_stream_passthrough.js lib: use ES6 class inheritance style 2018-12-05 16:55:00 +01:00
_stream_readable.js lib: ensure readable stream flows to end 2018-12-14 09:23:56 -08:00
_stream_transform.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
_stream_wrap.js
_stream_writable.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
_tls_common.js tls: add min/max protocol version options 2018-11-22 09:14:58 -08:00
_tls_wrap.js tls: add min/max protocol version options 2018-11-22 09:14:58 -08:00
.eslintrc.yaml bootstrapper: move internalBinding to NativeModule 2018-10-04 11:55:34 +02:00
assert.js assert: remove unused catch bindings 2018-11-06 10:58:42 -05:00
async_hooks.js lib: extract validateString validator 2018-08-07 10:51:27 -04:00
buffer.js lib: remove internalBinding('config').pendingDeprecation 2018-12-14 21:22:59 -08:00
child_process.js Revert "child_process: change windowsHide default to true" 2018-11-13 14:38:23 -08:00
cluster.js
console.js console: split console into global.js and constructor.js 2018-12-02 04:51:18 +08:00
constants.js src,lib: move natives and constants to internalBinding() 2018-10-21 03:17:12 +02:00
crypto.js src,lib: make process.binding('config') internal 2018-12-05 11:47:05 -08:00
dgram.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
dns.js dns: simplify dns.promises warning logic 2018-12-04 11:32:45 -08:00
domain.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
events.js lib: remove some useless assignments 2018-12-05 15:57:26 -08:00
fs.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
http2.js http2: order declarations in http2.js 2018-11-20 10:42:31 -08:00
http.js http: allow url and options to be passed to http*.request and http*.get 2018-07-13 14:09:39 +01:00
https.js lib: use ES6 class inheritance style 2018-12-05 16:55:00 +01:00
inspector.js inspector: move process.binding to internalBinding 2018-12-13 05:30:51 +01:00
module.js
net.js net: use strict comparisons for fd 2018-12-15 12:16:42 -05:00
os.js os: do not call into JS to push values to an array in GetCPUInfo 2018-11-14 02:59:45 +08:00
path.js path: replace assertPath() with validator 2018-12-06 19:57:11 -08:00
perf_hooks.js lib: use ES6 class inheritance style 2018-12-05 16:55:00 +01:00
process.js
punycode.js lib: update punycode to 2.1.1 2018-07-16 15:55:15 -07:00
querystring.js querystring: remove eslint-disable 2018-12-14 13:13:43 -05:00
readline.js lib: refactor argument validation using validateString 2018-12-13 17:22:43 -08:00
repl.js Revert "lib: repl multiline history support" 2018-12-05 23:36:10 -08:00
stream.js tools: lint for unused catch bindings 2018-11-06 10:59:27 -05:00
string_decoder.js bootstrapper: move internalBinding to NativeModule 2018-10-04 11:55:34 +02:00
sys.js
timers.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
tls.js tls: add min/max protocol version options 2018-11-22 09:14:58 -08:00
trace_events.js src,lib: make process.binding('config') internal 2018-12-05 11:47:05 -08:00
tty.js Revert "tty: make _read throw ERR_TTY_WRITABLE_NOT_READABLE" 2018-10-04 09:20:21 -07:00
url.js lib: refactor argument validation using validateString 2018-12-13 17:22:43 -08:00
util.js util: improve format performance 2018-12-14 18:13:40 +01:00
v8.js lib: refactor argument validation using validateString 2018-12-13 17:22:43 -08:00
vm.js src: cache the result of GetOptions() in JS land 2018-11-07 20:40:38 -08:00
worker_threads.js worker: rename to worker_threads 2018-06-06 19:44:15 +02:00
zlib.js zlib: throw TypeError if callback is missing 2018-12-12 17:09:53 +01:00