diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-10-06 18:24:08 -0700 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-10-12 14:58:35 -0700 |
commit | b2d8ae0a1401ad2730219dbb0da489d63a11d924 (patch) | |
tree | 57bd97f988b86152379c53f93d9dcde5dd1aef6e /doc | |
parent | 09c42f45f652ffef2964e721d3b6a20fbefe4817 (diff) | |
download | android-node-v8-b2d8ae0a1401ad2730219dbb0da489d63a11d924.tar.gz android-node-v8-b2d8ae0a1401ad2730219dbb0da489d63a11d924.tar.bz2 android-node-v8-b2d8ae0a1401ad2730219dbb0da489d63a11d924.zip |
zlib: move `bytesRead` accessors to runtime deprecation
This paves way for making `bytesRead` consistent with all other
Node.js streams that provide a property with this name.
PR-URL: https://github.com/nodejs/node/pull/23308
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/deprecations.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index ca23a4fa32..19f96099f3 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -2056,12 +2056,15 @@ core and obsoleted by the removal of NPN (Next Protocol Negotiation) support. ### DEP0108: zlib.bytesRead <!-- YAML changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/23308 + description: Runtime deprecation. - version: v10.0.0 pr-url: https://github.com/nodejs/node/pull/19414 description: Documentation-only deprecation. --> -Type: Documentation-only +Type: Runtime Deprecated alias for [`zlib.bytesWritten`][]. This original name was chosen because it also made sense to interpret the value as the number of bytes |