Skip to content

Commit 885de1b

Browse files
BridgeARTrott
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: nodejs#24982 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent b32e5e0 commit 885de1b

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

doc/api/util.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -449,10 +449,6 @@ changes:
449449
* `showProxy` {boolean} If `true`, then objects and functions that are
450450
`Proxy` objects will be introspected to show their `target` and `handler`
451451
objects. **Default:** `false`.
452-
<!--
453-
TODO(BridgeAR): Deprecate `maxArrayLength` and replace it with
454-
`maxEntries`.
455-
-->
456452
* `maxArrayLength` {integer} Specifies the maximum number of `Array`,
457453
[`TypedArray`][], [`WeakMap`][] and [`WeakSet`][] elements to include when
458454
formatting. Set to `null` or `Infinity` to show all elements. Set to `0` or

lib/internal/util/inspect.js

Lines changed: 0 additions & 2 deletions
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)