node/lib
Ruben Bridgewater 6baddcfddf
util: only inspect error properties that are not visible otherwise
Inspecting errors results in duplicated information in case an error
is created with enumerable `name`, `message` or `stack` properties.
In that case, check if the output already contains that information
and prevent listing that property.

This reduces the noise as receiver.

PR-URL: https://github.com/nodejs/node/pull/32327
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
2020-04-02 18:41:57 +02:00
..
fs fs: add fs/promises alias module 2020-02-18 22:15:50 -08:00
internal util: only inspect error properties that are not visible otherwise 2020-04-02 18:41:57 +02:00
_http_agent.js http: move free socket error handling to agent 2020-03-30 10:25:03 +02:00
_http_client.js http: fix incorrect headersTimeout measurement 2020-04-02 14:50:20 +02:00
_http_common.js http: fix incorrect headersTimeout measurement 2020-04-02 14:50:20 +02:00
_http_incoming.js stream: make readable & writable computed 2020-02-08 23:23:12 +01:00
_http_outgoing.js http: don't emit 'finish' after 'error' 2020-03-18 13:09:26 +01:00
_http_server.js http: fix incorrect headersTimeout measurement 2020-04-02 14:50:20 +02:00
_stream_duplex.js stream: align stream.Duplex with net.Socket 2020-03-25 15:20:22 +01:00
_stream_passthrough.js
_stream_readable.js stream: change var to let/const in stream files 2020-03-30 10:25:41 +02:00
_stream_transform.js stream: change var to let/const in stream files 2020-03-30 10:25:41 +02:00
_stream_wrap.js
_stream_writable.js stream: align stream.Duplex with net.Socket 2020-03-25 15:20:22 +01:00
_tls_common.js
_tls_wrap.js net: make readable/writable start as true 2020-03-24 09:45:25 +01:00
.eslintrc.yaml lib: replace BigInt64Array global by the primordials 2020-01-13 12:42:21 +01:00
assert.js Revert "assert: fix line number calculation after V8 upgrade" 2020-03-18 16:35:41 -07:00
async_hooks.js async_hooks: add sync enterWith to ALS 2020-03-09 14:24:21 -04:00
buffer.js buffer: improve from() performance 2020-02-08 21:40:49 -05:00
child_process.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
cluster.js
console.js
constants.js
crypto.js crypto: add crypto.diffieHellman 2020-01-21 10:49:20 -04:00
dgram.js lib: move isLegalPort to validators, refactor 2020-03-05 11:52:53 -08:00
dns.js dns: add dns.ALL hints flag constant 2020-03-30 17:21:13 +02:00
domain.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
events.js events: fix removeListener for Symbols 2020-03-07 10:47:12 -08:00
fs.js fs: make parameters optional for readSync 2020-04-02 18:34:31 +02:00
http2.js
http.js
https.js https: prevent options object from being mutated 2020-01-03 20:09:27 -08:00
inspector.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
module.js module: add API for interacting with source maps 2020-01-14 12:39:06 -08:00
net.js net: wait for shutdown to complete before closing 2020-04-01 13:05:10 +02:00
os.js src: create a getter for kernel version 2020-03-09 12:44:16 +01:00
path.js
perf_hooks.js perf,src: add HistogramBase and internal/histogram.js 2020-03-02 11:01:00 -08:00
process.js
punycode.js
querystring.js
readline.js readline: remove intermediate variable 2020-02-09 11:06:07 -05:00
repl.js repl: fixup error message 2020-03-27 15:59:43 +01:00
stream.js
string_decoder.js
sys.js
timers.js timers: fix refresh for expired timers 2019-12-25 12:45:24 +01:00
tls.js
trace_events.js lib: replace Set global by the primordials 2020-01-04 12:41:09 -08:00
tty.js
url.js
util.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
v8.js worker: add ability to take heap snapshot from parent thread 2020-02-03 07:04:13 -08:00
vm.js vm: implement vm.measureMemory() for per-context memory measurement 2020-02-26 17:52:39 +08:00
wasi.js wasi: clean up options validation 2020-03-30 17:22:22 +02:00
worker_threads.js
zlib.js zlib: align with streams 2020-03-19 10:56:45 +01:00