Files
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
..
2018-05-03 02:12:07 +03:00
2018-05-10 13:39:17 +02:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-08 13:28:38 +03:00
2018-05-08 19:42:16 -07:00
2016-04-20 16:34:27 -07:00
2018-04-29 17:48:43 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-10 14:15:16 +02:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-04-04 13:45:39 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-04 23:05:56 +03:00
2018-05-03 02:12:07 +03:00
2018-05-02 06:17:08 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-03 02:12:07 +03:00
2018-05-09 10:23:21 +02:00
2018-05-03 02:12:07 +03:00