Skip to content

Commit 6fbef7f

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 03e488e commit 6fbef7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/zlib.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ Creates and returns a new [DeflateRaw][] object with the given [options][].
462462
is set to 8 for raw deflate streams. zlib does not have a working implementation
463463
of an 8-bit Window for raw deflate streams and would automatically set windowBit
464464
to 9 if initially set to 8. Newer versions of zlib will throw an exception.
465-
This creates a potential DOS vector, and as such the behavior ahs been reverted
465+
This creates a potential DOS vector, and as such the behavior has been reverted
466466
in Node.js 8, 6, and 4. Node.js version 9 and higher will throw when windowBits
467467
is set to 8.
468468

0 commit comments

Comments
 (0)