diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 45fa6733cc8971..2f0394d4a2deb8 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -2290,6 +2290,9 @@ core and obsoleted by the removal of NPN (Next Protocol Negotiation) support. -Type: Runtime +Type: End-of-Life Deprecated alias for [`zlib.bytesWritten`][]. This original name was chosen because it also made sense to interpret the value as the number of bytes diff --git a/doc/api/zlib.md b/doc/api/zlib.md index b54fcbaeefe5c2..36977eae86af6f 100644 --- a/doc/api/zlib.md +++ b/doc/api/zlib.md @@ -684,22 +684,6 @@ base class of the compressor/decompressor classes. This class inherits from [`stream.Transform`][], allowing `node:zlib` objects to be used in pipes and similar stream operations. -### `zlib.bytesRead` - - - -> Stability: 0 - Deprecated: Use [`zlib.bytesWritten`][] instead. - -* {number} - -Deprecated alias for [`zlib.bytesWritten`][]. This original name was chosen -because it also made sense to interpret the value as the number of bytes -read by the engine, but is inconsistent with other streams in Node.js that -expose values under these names. - ### `zlib.bytesWritten`