0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Rich Trott 55d49eb3cc
errors: replace .split() with .replace()
Replace a somewhat idiosyncratic use of `split()` to remove a prefix
with `replace()`. (A case could be made for `slice()` as well but I
think this is more readable.)

PR-URL: https://github.com/nodejs/node/pull/15545
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2017-09-24 13:02:47 -03:00
..
internal errors: replace .split() with .replace() 2017-09-24 13:02:47 -03:00
_http_agent.js http: check for handle before running asyncReset() 2017-07-24 20:42:24 -04:00
_http_client.js http: set socket timeout when socket connects 2017-09-20 10:41:13 -03:00
_http_common.js
_http_incoming.js
_http_outgoing.js http: revert #14024 writable is never set to false 2017-09-20 11:32:29 +02:00
_http_server.js errors: migrate _http_outgoing 2017-08-14 17:19:19 -04:00
_stream_duplex.js
_stream_passthrough.js
_stream_readable.js stream: support readable/writableHWM for Duplex 2017-08-08 11:18:25 +02:00
_stream_transform.js
_stream_wrap.js uv: improvements to process.binding('uv') 2017-08-23 10:51:15 -07:00
_stream_writable.js stream: fix Writable instanceof for subclasses 2017-08-24 20:58:21 +02:00
_tls_common.js tls: deprecate parseCertString & move to internal 2017-09-13 16:54:35 -03:00
_tls_legacy.js doc, lib, test: do not re-require needlessly 2017-07-21 20:40:52 +03:00
_tls_wrap.js tls: prefer path over port in connect 2017-09-22 16:30:24 -07:00
.eslintrc.yaml tools: remove legacy indentation linting 2017-07-30 09:21:52 -07:00
assert.js assert: handle enumerable symbol keys 2017-09-19 20:13:02 -03:00
async_hooks.js async_hooks: support promise resolve hook 2017-09-23 15:52:03 +02:00
buffer.js buffer: improve Buffer.from performance 2017-09-11 00:05:28 -03:00
child_process.js child_process: set shell to false in fork() 2017-09-13 21:03:39 -04:00
cluster.js
console.js console: improve console.group() 2017-08-25 11:29:33 -07:00
constants.js src: add support to pass flags to dlopen 2017-09-08 17:14:03 -04:00
crypto.js crypto: refactor the crypto module 2017-09-18 08:10:59 -07:00
dgram.js dgram: refactor SO_RCVBUF and SO_SNDBUF methods 2017-09-22 09:35:50 -04:00
dns.js dns: add verbatim option to dns.lookup() 2017-08-23 14:53:47 -07:00
domain.js domain: remove .dispose() 2017-09-20 10:45:33 -03:00
events.js lib: update indentation of ternaries 2017-07-17 22:09:46 -07:00
fs.js fs: refactor close to use destroy 2017-09-21 09:09:05 +02:00
http2.js http2: refactor error handling 2017-08-28 00:39:42 +04:00
http.js
https.js
inspector.js inspector: log exceptions in message handlers 2017-09-07 14:46:53 -07:00
module.js module: deprecate Module._debug 2017-09-22 21:03:29 -03:00
net.js net: support passing null to listen() 2017-09-22 12:16:09 -04:00
os.js os: make EOL configurable and read only 2017-08-21 00:23:24 -04:00
path.js path: fix normalize on directories with two dots 2017-08-30 14:44:55 +02:00
perf_hooks.js perf_hooks: implementation of the perf timing API 2017-08-23 16:00:09 -07:00
process.js
punycode.js
querystring.js querystring: avoid indexOf when parsing 2017-08-09 14:03:48 -04:00
readline.js lib: use Timer.now() in readline module 2017-08-09 22:59:25 -07:00
repl.js repl: force editorMode in .load 2017-09-01 10:33:15 -04:00
stream.js
string_decoder.js string_decoder: Migrate to use internal/errors 2017-09-13 16:59:43 -03:00
sys.js
timers.js timers: do not expose .unref()._handle._list 2017-09-20 11:12:41 -03:00
tls.js tls,doc: fix unallocated deprecation code 2017-09-24 11:28:17 -03:00
tty.js
url.js url: remove unused code from autoEscapeStr 2017-09-03 17:26:18 -03:00
util.js util: use constructor name 2017-09-19 20:24:24 -03:00
v8.js
vm.js vm: support parsing a script in a specific context 2017-09-05 10:47:42 +08:00
zlib.js zlib: fix interaction of flushing and needDrain 2017-07-31 22:44:05 +02:00