mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
util: fix custom inspect description
Using a custom inspect function on the inspected object is deprecated. Remove the reference from the option description to make sure the user will read about the deprecation in the more detailed description. PR-URL: https://github.com/nodejs/node/pull/17576 Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
@@ -351,8 +351,7 @@ changes:
|
||||
codes. Defaults to `false`. Colors are customizable, see
|
||||
[Customizing `util.inspect` colors][].
|
||||
* `customInspect` {boolean} If `false`, then custom `inspect(depth, opts)`
|
||||
functions exported on the `object` being inspected will not be called.
|
||||
Defaults to `true`.
|
||||
functions will not be called. Defaults to `true`.
|
||||
* `showProxy` {boolean} If `true`, then objects and functions that are
|
||||
`Proxy` objects will be introspected to show their `target` and `handler`
|
||||
objects. Defaults to `false`.
|
||||
|
||||
Reference in New Issue
Block a user