diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 5e57c642f5a10a..d26d62a2c14dd0 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -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 - - - -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 @@ -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 diff --git a/lib/internal/streams/operators.js b/lib/internal/streams/operators.js index 343f36adf4e966..73155f6fa4767d 100644 --- a/lib/internal/streams/operators.js +++ b/lib/internal/streams/operators.js @@ -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,