summaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2018-12-11 21:28:45 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2019-02-28 17:49:13 +0100
commit7b674697d8005c29391ebaaf562eb4d92ed9b129 (patch)
tree5c222e4335b18e46d9966917135f3fbc2d8b8bd6 /.eslintrc.js
parentbe78266fb39214b7ab3f1d2353d358561dd8f1f8 (diff)
downloadandroid-node-v8-7b674697d8005c29391ebaaf562eb4d92ed9b129.tar.gz
android-node-v8-7b674697d8005c29391ebaaf562eb4d92ed9b129.tar.bz2
android-node-v8-7b674697d8005c29391ebaaf562eb4d92ed9b129.zip
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 '.eslintrc.js')
0 files changed, 0 insertions, 0 deletions