Skip to content

Commit a1f0da1

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 ac919ef commit a1f0da1

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
@@ -435,10 +435,6 @@ changes:
435435
* `showProxy` {boolean} If `true`, then objects and functions that are
436436
`Proxy` objects will be introspected to show their `target` and `handler`
437437
objects. **Default:** `false`.
438-
<!--
439-
TODO(BridgeAR): Deprecate `maxArrayLength` and replace it with
440-
`maxEntries`.
441-
-->
442438
* `maxArrayLength` {integer} Specifies the maximum number of `Array`,
443439
[`TypedArray`][], [`WeakMap`][] and [`WeakSet`][] elements to include when
444440
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
@@ -163,8 +163,6 @@ function inspect(value, opts) {
163163
colors: inspectDefaultOptions.colors,
164164
customInspect: inspectDefaultOptions.customInspect,
165165
showProxy: inspectDefaultOptions.showProxy,
166-
// TODO(BridgeAR): Deprecate `maxArrayLength` and replace it with
167-
// `maxEntries`.
168166
maxArrayLength: inspectDefaultOptions.maxArrayLength,
169167
breakLength: inspectDefaultOptions.breakLength,
170168
compact: inspectDefaultOptions.compact,

0 commit comments

Comments
 (0)