mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
b5588daef0
commit
3f281b2d70
2 files changed
-6
No files matched your search
@@ -406,10 +406,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` {number} 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
|
||||
|
||||
@@ -161,8 +161,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,
|
||||
|
||||
Reference in new issue
Block a user