doc: fix typo in zlib.md · nodejs/node@b0fadbe

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