summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Pinca <luigipinca@gmail.com>2017-10-25 09:53:24 +0200
committerMyles Borins <myles.borins@gmail.com>2017-10-25 04:26:37 -0400
commitf8e282e51cd306f376421cc6c1b4008bb7d6ab81 (patch)
tree3a97bfffb93216248c2d511ee07338b0e47251ff
parent5d9164c315bf7ddcc7693fd81cc7d9c51e29cb7d (diff)
downloadnode-new-f8e282e51cd306f376421cc6c1b4008bb7d6ab81.tar.gz
doc: fix typo in zlib.md
PR-URL: https://github.com/nodejs/node/pull/16480 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
-rw-r--r--doc/api/zlib.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/zlib.md b/doc/api/zlib.md
index b0ea514645..ec62b28aae 100644
--- a/doc/api/zlib.md
+++ b/doc/api/zlib.md
@@ -377,7 +377,7 @@ Returns a new [DeflateRaw][] object with an [options][].
is set to 8 for raw deflate streams. zlib does not have a working implementation
of an 8-bit Window for raw deflate streams and would automatically set windowBit
to 9 if initially set to 8. Newer versions of zlib will throw an exception.
-This creates a potential DOS vector, and as such the behavior ahs been reverted
+This creates a potential DOS vector, and as such the behavior has been reverted
in Node.js 8, 6, and 4. Node.js version 9 and higher will throw when windowBits
is set to 8.