util: remove todo
Most people are going to use the existing option and switching the name now comes with a cost which does not seem to justify the improvement. PR-URL: https://github.com/nodejs/node/pull/24982 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
parent
b32e5e08b2
commit
885de1ba70
@ -449,10 +449,6 @@ changes:
|
||||
* `showProxy` {boolean} If `true`, then objects and functions that are
|
||||
`Proxy` objects will be introspected to show their `target` and `handler`
|
||||
objects. **Default:** `false`.
|
||||
<!--
|
||||
TODO(BridgeAR): Deprecate `maxArrayLength` and replace it with
|
||||
`maxEntries`.
|
||||
-->
|
||||
* `maxArrayLength` {integer} Specifies the maximum number of `Array`,
|
||||
[`TypedArray`][], [`WeakMap`][] and [`WeakSet`][] elements to include when
|
||||
formatting. Set to `null` or `Infinity` to show all elements. Set to `0` or
|
||||
|
@ -163,8 +163,6 @@ function inspect(value, opts) {
|
||||
colors: inspectDefaultOptions.colors,
|
||||
customInspect: inspectDefaultOptions.customInspect,
|
||||
showProxy: inspectDefaultOptions.showProxy,
|
||||
// TODO(BridgeAR): Deprecate `maxArrayLength` and replace it with
|
||||
// `maxEntries`.
|
||||
maxArrayLength: inspectDefaultOptions.maxArrayLength,
|
||||
breakLength: inspectDefaultOptions.breakLength,
|
||||
compact: inspectDefaultOptions.compact,
|
||||
|
Loading…
x
Reference in New Issue
Block a user