Skip to content

Commit f8e282e

Browse files
lpincaMylesBorins
authored andcommitted
doc: fix typo in zlib.md
PR-URL: #16480 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Myles Borins <[email protected]>
1 parent 5d9164c commit f8e282e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/zlib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ Returns a new [DeflateRaw][] object with an [options][].
377377
is set to 8 for raw deflate streams. zlib does not have a working implementation
378378
of an 8-bit Window for raw deflate streams and would automatically set windowBit
379379
to 9 if initially set to 8. Newer versions of zlib will throw an exception.
380-
This creates a potential DOS vector, and as such the behavior ahs been reverted
380+
This creates a potential DOS vector, and as such the behavior has been reverted
381381
in Node.js 8, 6, and 4. Node.js version 9 and higher will throw when windowBits
382382
is set to 8.
383383

0 commit comments

Comments
 (0)