0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Ruben Bridgewater d4c91f2814
lib: remove internal util._extends() usage
This removes all internal calls to the deprecated `_extends()`
function. It is slower than `Object.assign()` and the object spread
notation since V8 6.8 and using the spread notation often also
results in shorter code.

PR-URL: https://github.com/nodejs/node/pull/25105
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2018-12-20 13:52:44 +01:00
..
internal lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
_http_agent.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
_http_client.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
_http_common.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
_http_incoming.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
_http_outgoing.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
_http_server.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
_stream_duplex.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
_stream_passthrough.js lib: use ES6 class inheritance style 2018-12-05 16:55:00 +01:00
_stream_readable.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
_stream_transform.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
_stream_wrap.js
_stream_writable.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
_tls_common.js
_tls_wrap.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
.eslintrc.yaml lib: switch to object spread where possible 2018-12-20 13:14:46 +01:00
assert.js
async_hooks.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
buffer.js lib: remove internalBinding('config').pendingDeprecation 2018-12-14 21:22:59 -08:00
child_process.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
cluster.js
console.js console: split console into global.js and constructor.js 2018-12-02 04:51:18 +08:00
constants.js
crypto.js src,lib: make process.binding('config') internal 2018-12-05 11:47:05 -08:00
dgram.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
dns.js dns: simplify dns.promises warning logic 2018-12-04 11:32:45 -08:00
domain.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
events.js events: simplify stack compare function 2018-12-19 17:12:00 +01:00
fs.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
http2.js
http.js
https.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
inspector.js inspector: move process.binding to internalBinding 2018-12-13 05:30:51 +01:00
module.js
net.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
os.js os: move process.binding('os') to internalBinding 2018-12-20 05:29:16 +01:00
path.js path: replace assertPath() with validator 2018-12-06 19:57:11 -08:00
perf_hooks.js tools: enable no-useless-constructor lint rule 2018-12-16 20:30:50 -08:00
process.js
punycode.js
querystring.js querystring: remove eslint-disable 2018-12-14 13:13:43 -05:00
readline.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
repl.js lib: switch to object spread where possible 2018-12-20 13:14:46 +01:00
stream.js
string_decoder.js
sys.js
timers.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
tls.js lib: switch to object spread where possible 2018-12-20 13:14:46 +01:00
trace_events.js src,lib: make process.binding('config') internal 2018-12-05 11:47:05 -08:00
tty.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
url.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
util.js util: format() now formats bigint and booleans 2018-12-19 16:31:11 +01:00
v8.js tools: enable no-useless-constructor lint rule 2018-12-16 20:30:50 -08:00
vm.js lib: switch to object spread where possible 2018-12-20 13:14:46 +01:00
worker_threads.js
zlib.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00