Skip to content

Commit 90c4cc6

Browse files
committed
CR
1 parent f5e17ea commit 90c4cc6

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

doc/api/deprecations.md

-15
Original file line numberDiff line numberDiff line change
@@ -3378,20 +3378,6 @@ In a future version of Node.js, [`assert.CallTracker`][],
33783378
will be removed.
33793379
Consider using alternatives such as the [`mock`][] helper function.
33803380

3381-
### DEP0174: the `readable.asIndexedPairs` method
3382-
3383-
<!-- YAML
3384-
changes:
3385-
- version: REPLACEME
3386-
pr-url: https://github.com/nodejs/node/pull/48102
3387-
description: Runtime deprecation.
3388-
-->
3389-
3390-
Type: Runtime
3391-
3392-
In a future version of Node.js, [`readable.asIndexedPairs`][],
3393-
will be removed.
3394-
33953381
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
33963382
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
33973383
[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4
@@ -3483,7 +3469,6 @@ will be removed.
34833469
[`process.getActiveResourcesInfo()`]: process.md#processgetactiveresourcesinfo
34843470
[`process.mainModule`]: process.md#processmainmodule
34853471
[`punycode`]: punycode.md
3486-
[`readable.asIndexedPairs`]: stream.md#readableasindexedpairsoptions
34873472
[`readable.readableEnded`]: stream.md#readablereadableended
34883473
[`request.abort()`]: http.md#requestabort
34893474
[`request.connection`]: http.md#requestconnection

lib/internal/streams/operators.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ function take(number, options = undefined) {
421421
}
422422

423423
module.exports.streamReturningOperators = {
424-
asIndexedPairs: deprecate(asIndexedPairs, 'readable.asIndexedPairs is deprecated.', 'DEP0174'),
424+
asIndexedPairs: deprecate(asIndexedPairs, 'readable.asIndexedPairs is deprecated.'),
425425
drop,
426426
filter,
427427
flatMap,

0 commit comments

Comments
 (0)