Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CR
  • Loading branch information
atlowChemi committed May 23, 2023
commit 90c4cc62edf66ffd411c663300f4cc4671202be2
15 changes: 0 additions & 15 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3378,20 +3378,6 @@ In a future version of Node.js, [`assert.CallTracker`][],
will be removed.
Consider using alternatives such as the [`mock`][] helper function.

### DEP0174: the `readable.asIndexedPairs` method

<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/48102
description: Runtime deprecation.
-->

Type: Runtime

In a future version of Node.js, [`readable.asIndexedPairs`][],
will be removed.

[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4
Expand Down Expand Up @@ -3483,7 +3469,6 @@ will be removed.
[`process.getActiveResourcesInfo()`]: process.md#processgetactiveresourcesinfo
[`process.mainModule`]: process.md#processmainmodule
[`punycode`]: punycode.md
[`readable.asIndexedPairs`]: stream.md#readableasindexedpairsoptions
[`readable.readableEnded`]: stream.md#readablereadableended
[`request.abort()`]: http.md#requestabort
[`request.connection`]: http.md#requestconnection
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/streams/operators.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ function take(number, options = undefined) {
}

module.exports.streamReturningOperators = {
asIndexedPairs: deprecate(asIndexedPairs, 'readable.asIndexedPairs is deprecated.', 'DEP0174'),
asIndexedPairs: deprecate(asIndexedPairs, 'readable.asIndexedPairs is deprecated.'),
drop,
filter,
flatMap,
Expand Down