Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLuigi Pinca <luigipinca@gmail.com>2017-10-25 10:53:24 +0300
committerMyles Borins <myles.borins@gmail.com>2017-10-25 11:27:25 +0300
commit6fbef7f3505818a07116ceb7285bf3344e5bace4 (patch)
tree9716c6da33e164c5ca298f75474d7a8eba6fae0b /doc
parent03e488e411d539b9c9adf0ff6dcd4ec2071c6c8e (diff)
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>
Diffstat (limited to 'doc')
-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 85a3743a9a3..9b7b30aa7de 100644
--- a/doc/api/zlib.md
+++ b/doc/api/zlib.md
@@ -462,7 +462,7 @@ Creates and returns a new [DeflateRaw][] object with the given [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.