0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Sergey Golovin b404aa56c0
path: replace duplicate conditions by functions
It will also remove useless "code" variables by inlining
path.charCodeAt.

PR-URL: https://github.com/nodejs/node/pull/18693
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-02-17 14:53:58 +01:00
..
fs fs: move fs.promises API to fs/promises 2018-02-17 10:15:20 +01:00
internal lib: replace eval with vm.runInThisContext 2018-02-17 14:35:34 +01:00
_http_agent.js async_hooks: clean up usage in internal code 2018-02-16 14:23:14 -05:00
_http_client.js http: process 100, 102-199 according to specs. 2018-02-15 11:57:57 +01:00
_http_common.js http: simplify checkInvalidHeaderChar 2018-02-16 19:27:28 +01:00
_http_incoming.js
_http_outgoing.js async_hooks: clean up usage in internal code 2018-02-16 14:23:14 -05:00
_http_server.js http: process 100, 102-199 according to specs. 2018-02-15 11:57:57 +01:00
_stream_duplex.js
_stream_passthrough.js
_stream_readable.js lib: switch to Number.isNaN 2018-02-16 18:09:56 +01:00
_stream_transform.js
_stream_wrap.js
_stream_writable.js
_tls_common.js
_tls_wrap.js
.eslintrc.yaml test,benchmark,doc: enable dot-notation rule 2018-02-16 19:37:43 +01:00
assert.js
async_hooks.js async_hooks: clean up usage in internal code 2018-02-16 14:23:14 -05:00
buffer.js lib: switch to Number.isNaN 2018-02-16 18:09:56 +01:00
child_process.js
cluster.js
console.js
constants.js
crypto.js
dgram.js async_hooks: clean up usage in internal code 2018-02-16 14:23:14 -05:00
dns.js
domain.js
events.js lib: switch to Number.isNaN 2018-02-16 18:09:56 +01:00
fs.js fs: move fs.promises API to fs/promises 2018-02-17 10:15:20 +01:00
http2.js
http.js
https.js https: add extra options to Agent#getName() 2018-02-10 14:15:57 +01:00
inspector.js
module.js module: replace magic numbers by constants 2018-02-16 19:32:03 +01:00
net.js net: simplify net.Socket#end() 2018-02-17 14:37:35 +01:00
os.js lib,src: audit process.env in lib/ for setuid binary 2018-02-16 17:42:21 +01:00
path.js path: replace duplicate conditions by functions 2018-02-17 14:53:58 +01:00
perf_hooks.js
process.js
punycode.js
querystring.js
readline.js lib: switch to Number.isNaN 2018-02-16 18:09:56 +01:00
repl.js lib: switch to Number.isNaN 2018-02-16 18:09:56 +01:00
stream.js
string_decoder.js string_decoder: fix regressions 2018-02-13 08:03:23 -05:00
sys.js
timers.js async_hooks: clean up usage in internal code 2018-02-16 14:23:14 -05:00
tls.js
tty.js
url.js
util.js
v8.js
vm.js
zlib.js lib: switch to Number.isNaN 2018-02-16 18:09:56 +01:00