Please sign in to comment.
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: #24971 Refs: #24765 Reviewed-By: Gus Caplan <email@example.com> Reviewed-By: Anna Henningsen <firstname.lastname@example.org> Reviewed-By: Rich Trott <email@example.com>
- Loading branch information...
Showing with 26 additions and 6 deletions.