Skip to content

Commit 9219283

Browse files
lpincaMylesBorins
authored andcommitted
doc: fix typo in zlib.md
PR-URL: #16480 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
1 parent 3e96c85 commit 9219283

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
@@ -419,7 +419,7 @@ Returns a new [DeflateRaw][] object with an [options][].
419419
is set to 8 for raw deflate streams. zlib does not have a working implementation
420420
of an 8-bit Window for raw deflate streams and would automatically set windowBit
421421
to 9 if initially set to 8. Newer versions of zlib will throw an exception.
422-
This creates a potential DOS vector, and as such the behavior ahs been reverted
422+
This creates a potential DOS vector, and as such the behavior has been reverted
423423
in Node.js 8, 6, and 4. Node.js version 9 and higher will throw when windowBits
424424
is set to 8.
425425

0 commit comments

Comments
 (0)