Skip to content

Commit

Permalink
CR
Browse files Browse the repository at this point in the history
  • Loading branch information
atlowChemi committed May 23, 2023
1 parent f5e17ea commit 90c4cc6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
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

0 comments on commit 90c4cc6

Please sign in to comment.