Skip to content

Commit 3f281b2

Browse files
BridgeARBethGriggs
authored andcommitted
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: #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>
1 parent b5588da commit 3f281b2

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

doc/api/util.md

-4
Original file line numberDiff line numberDiff line change
@@ -406,10 +406,6 @@ changes:
406406
* `showProxy` {boolean} If `true`, then objects and functions that are
407407
`Proxy` objects will be introspected to show their `target` and `handler`
408408
objects. **Default:** `false`.
409-
<!--
410-
TODO(BridgeAR): Deprecate `maxArrayLength` and replace it with
411-
`maxEntries`.
412-
-->
413409
* `maxArrayLength` {number} Specifies the maximum number of `Array`,
414410
[`TypedArray`][], [`WeakMap`][] and [`WeakSet`][] elements to include when
415411
formatting. Set to `null` or `Infinity` to show all elements. Set to `0` or

lib/internal/util/inspect.js

-2
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ function inspect(value, opts) {
161161
colors: inspectDefaultOptions.colors,
162162
customInspect: inspectDefaultOptions.customInspect,
163163
showProxy: inspectDefaultOptions.showProxy,
164-
// TODO(BridgeAR): Deprecate `maxArrayLength` and replace it with
165-
// `maxEntries`.
166164
maxArrayLength: inspectDefaultOptions.maxArrayLength,
167165
breakLength: inspectDefaultOptions.breakLength,
168166
compact: inspectDefaultOptions.compact,

0 commit comments

Comments
 (0)