From 921928327e115b747e68c074d3ac29d4069fa437 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Wed, 25 Oct 2017 09:53:24 +0200 Subject: [PATCH] doc: fix typo in zlib.md PR-URL: https://github.com/nodejs/node/pull/16480 Reviewed-By: Gireesh Punathil Reviewed-By: Myles Borins --- doc/api/zlib.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/zlib.md b/doc/api/zlib.md index 6f8254f06272b4..a042379fba42c5 100644 --- a/doc/api/zlib.md +++ b/doc/api/zlib.md @@ -419,7 +419,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.