node/doc/api
Anna Henningsen 849aaaeeb0
Revert "util: change util.inspect depth default"
This reverts commit b994b8eff6.

This caused regressions in ecosystem code. While the change originally
was semver-major and could be postponed until after Node.js 10,
I think reverting it is a good choice at this point.

Also, I personally do not think defaulting to a shallow inspect
is a bad thing at all – quite the opposite: It makes `util.inspect()`
give an overview of an object, rather than providing a full
display of its contents. Changing the `depth` default to infinity
fundamentally changed the role that `util.inspect()` plays,
and makes output much more verbose and thus at times unusable
for `console.log()`-style debugging.

PR-URL: https://github.com/nodejs/node/pull/20017
Fixes: https://github.com/nodejs/node/issues/19405
Refs: https://github.com/nodejs/node/pull/17907
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2018-05-11 17:46:56 +02:00
..
_toc.md trace_events: adds a new trace_events api 2018-04-17 08:30:20 -07:00
addons.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
all.md doc: prepare for v8/V8 linting in doc text 2017-11-22 08:24:46 -08:00
assert.md doc: update assert documentation 2018-05-10 13:39:17 +02:00
async_hooks.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
buffer.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
child_process.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
cli.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
cluster.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
console.md doc: match console.count()/countReset() signatures 2018-05-08 18:12:55 +03:00
crypto.md doc: update one more command in crypto.md 2018-05-07 04:09:28 +03:00
debugger.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
deprecations.md doc: edit text about revoking deprecations 2018-05-07 11:16:36 -07:00
dgram.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
dns.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
documentation.md doc, tools: unify stability signatures 2018-05-09 00:52:13 +03:00
domain.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
errors.md errors: remove ERR_INVALID_ARRAY_LENGTH 2018-05-07 14:23:29 +02:00
esm.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
events.md doc: clarify this in event listeners 2018-05-08 13:28:38 +03:00
fs.md doc: refactor mode constants parts in fs.md 2018-05-09 00:36:13 +03:00
globals.md 2018-04-24, Version 10.0.0 (Current) 2018-04-24 12:02:31 -07:00
http2.md doc: add parameters for Http2Stream:error event 2018-05-09 10:14:17 +05:30
http.md 2018-05-08, Version 10.1.0 (Current) 2018-05-08 19:42:16 -07:00
https.md https: defines maxHeadersCount in the constructor 2018-05-05 13:57:07 +02:00
index.md doc: git mv to .md 2016-04-20 16:34:27 -07:00
inspector.md doc: remove redundant empty lines 2018-04-29 17:48:43 +03:00
intl.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
modules.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
n-api.md src: add environment cleanup hooks 2018-05-10 14:15:16 +02:00
net.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
os.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
path.md doc: fix various nits 2018-04-04 13:45:39 +03:00
perf_hooks.md doc: remove redundant empty lines 2018-04-29 17:48:43 +03:00
process.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
punycode.md doc: add and unify even more return values 2018-04-12 03:18:01 +03:00
querystring.md doc: remove redundant empty lines 2018-04-29 17:48:43 +03:00
readline.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
repl.md doc: document using domain in REPL 2018-05-04 23:05:56 +03:00
stream.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
string_decoder.md doc: unify section structures 2018-04-15 02:37:50 +03:00
synopsis.md doc: add missing periods or colons 2018-05-02 06:17:08 +03:00
timers.md timers: make timer.refresh() a public API 2018-05-10 22:19:27 +05:30
tls.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
tracing.md doc: add trace category for fs sync methods 2018-05-08 03:23:18 +03:00
tty.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
url.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00
util.md Revert "util: change util.inspect depth default" 2018-05-11 17:46:56 +02:00
v8.md doc: add missing YAML keyword in v8.md metadata 2018-04-14 11:54:09 +03:00
vm.md doc: update VM section text 2018-05-09 10:23:21 +02:00
zlib.md doc: add more missing backticks 2018-05-03 02:12:07 +03:00