diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2018-12-11 21:28:45 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-02-28 17:49:13 +0100 |
commit | 7b674697d8005c29391ebaaf562eb4d92ed9b129 (patch) | |
tree | 5c222e4335b18e46d9966917135f3fbc2d8b8bd6 /test/sequential/test-module-loading.js | |
parent | be78266fb39214b7ab3f1d2353d358561dd8f1f8 (diff) | |
download | node-new-7b674697d8005c29391ebaaf562eb4d92ed9b129.tar.gz |
util: prevent leaking internal properties
This prevents leaking of the internal `inspect()` properties when
using a custom inspect function.
It also aligns the indentation to the way it was in v8.0.0 since
that changed unintentionally. All strings returned by the custom
inspect function will now be indented appropriately to the current
depth.
PR-URL: https://github.com/nodejs/node/pull/24971
Refs: https://github.com/nodejs/node/issues/24765
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/sequential/test-module-loading.js')
0 files changed, 0 insertions, 0 deletions