0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Ruben Bridgewater 9e8c9be3ff
timers: rename validateTimerDuration to getTimerDuration
The function did not only validate the timer but it caused side
effects like a warning and potentially returned a different value
than the input value. Thus the name `validate` did not seem to be
appropriate.

PR-URL: https://github.com/nodejs/node/pull/26809
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-03-27 17:05:14 +01:00
..
internal timers: rename validateTimerDuration to getTimerDuration 2019-03-27 17:05:14 +01:00
_http_agent.js http: reduce usage of public util 2019-03-12 06:40:57 +01:00
_http_client.js timers: rename validateTimerDuration to getTimerDuration 2019-03-27 17:05:14 +01:00
_http_common.js http: reduce usage of public util 2019-03-12 06:40:57 +01:00
_http_incoming.js http: improve performance for incoming headers 2019-02-13 21:25:20 +08:00
_http_outgoing.js lib: refactor Error.captureStackTrace() usage 2019-03-23 02:55:54 +01:00
_http_server.js lib: move DTRACE_* probes out of global scope 2019-03-12 14:19:36 +00:00
_stream_duplex.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
_stream_passthrough.js
_stream_readable.js lib: move extra properties into error creation 2019-03-21 22:52:08 +01:00
_stream_transform.js stream: make sure 'readable' is emitted before ending the stream 2019-03-06 08:38:29 +00:00
_stream_wrap.js lib: assign missed deprecation code 2019-03-07 15:48:55 +01:00
_stream_writable.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
_tls_common.js tls: support TLSv1.3 2019-03-20 07:48:25 -07:00
_tls_wrap.js tls: remove usage of public require('util') 2019-03-25 00:15:39 +01:00
.eslintrc.yaml tools: remove eslint rule no-let-in-for-declaration 2019-03-26 09:46:41 -07:00
assert.js lib: validate Error.captureStackTrace() calls 2019-03-23 02:55:55 +01:00
async_hooks.js async_hooks: remove deprecated emitBefore and emitAfter 2019-03-18 11:36:48 +01:00
buffer.js lib: refactor Error.captureStackTrace() usage 2019-03-23 02:55:54 +01:00
child_process.js child_process: reduce internal usage of public require of util 2019-03-22 12:41:25 +08:00
cluster.js
console.js
constants.js
crypto.js crypto: expose KeyObject class 2019-03-17 10:53:58 +01:00
dgram.js dgram: remove usage of public require('util') 2019-03-23 18:37:39 +05:30
dns.js dns: use IDNA 2008 to encode non-ascii hostnames 2019-01-28 20:42:44 +01:00
domain.js domain: set .domain non-enumerable on resources 2019-03-13 00:07:42 +00:00
events.js lib: validate Error.captureStackTrace() calls 2019-03-23 02:55:55 +01:00
fs.js lib: rename validateMode to parseMode 2019-03-27 17:05:12 +01:00
http2.js
http.js
https.js https: remove usage of public require('util') 2019-03-23 18:40:24 +05:30
inspector.js inspector: return Error objects on error 2019-02-26 16:44:47 -05:00
module.js
net.js tools: enable getter-return lint rule 2019-03-25 20:02:10 -04:00
os.js lib: refactor Error.captureStackTrace() usage 2019-03-23 02:55:54 +01:00
path.js path: refactor code for clarity 2019-03-01 14:55:33 +01:00
perf_hooks.js perf_hooks: load internal/errors eagerly 2019-03-22 00:41:09 +01:00
process.js
punycode.js
querystring.js benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
readline.js readline: remove usage of require('util') 2019-03-23 12:18:32 +08:00
repl.js repl: fix terminal default setting 2019-03-25 16:28:07 +01:00
stream.js stream: reduce internal usage of public require of util 2019-03-22 00:48:32 +01:00
string_decoder.js
sys.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
timers.js timers: rename validateTimerDuration to getTimerDuration 2019-03-27 17:05:14 +01:00
tls.js lib: move extra properties into error creation 2019-03-21 22:52:08 +01:00
trace_events.js trace_events: remove usage of require('util') 2019-03-24 18:28:07 +08:00
tty.js tty: remove util.inherits usage 2019-03-25 00:26:49 +01:00
url.js lib: use Array#includes instead of Array#indexOf 2019-03-21 21:38:02 +08:00
util.js lib: refactor Error.captureStackTrace() usage 2019-03-23 02:55:54 +01:00
v8.js v8: integrate node-heapdump into core 2019-03-13 15:50:32 +00:00
vm.js inspector,vm: remove --eval wrapper 2019-02-03 20:40:16 +01:00
worker_threads.js worker: implement worker.moveMessagePortToContext() 2019-03-15 16:54:19 +01:00
zlib.js lib: refactor Error.captureStackTrace() usage 2019-03-23 02:55:54 +01:00