util: change inspect's default depth to 4
This changed the default inspect depth to 4. This is a revival of https://github.com/nodejs/node/pull/23062 which was closed in favor of https://github.com/nodejs/node/pull/22846 but that one ended up being reverted so we're back at 2 which I think is just too low as I often find myself in need of one or two more depth levels.
Carefully marking it as semver-major
, thought it probably doesn't need to be strictly speaking.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines