summaryrefslogtreecommitdiff
path: root/doc/api/deprecations.md
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2018-10-06 18:24:08 -0700
committerAnna Henningsen <anna@addaleax.net>2018-10-12 14:58:35 -0700
commitb2d8ae0a1401ad2730219dbb0da489d63a11d924 (patch)
tree57bd97f988b86152379c53f93d9dcde5dd1aef6e /doc/api/deprecations.md
parent09c42f45f652ffef2964e721d3b6a20fbefe4817 (diff)
downloadandroid-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/api/deprecations.md')
-rw-r--r--doc/api/deprecations.md5
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