Skip to content

v2.0.0

Compare
Choose a tag to compare
@kevinoid kevinoid released this 01 May 13:59
v2.0.0

BREAKING CHANGES

  • Require Node.js 10.13 or later.

Bug Fixes

  • Avoid unhandled 'error' in synchronous _processChunk (6541fa4)
  • Call #destroy() when autoDestroy is enabled (5752c52) (2dc04f8)
  • Only emit 'error' once for _detectFormat failures (03a220f)

Features

  • _processChunk support TypedArray/ArrayBuffer (f663330)
  • Inherit from ZlibBase where possible (808c06e)
  • Support options.info for .inflateAuto and .inflateAutoSync (399a57e)
  • Throw ERR_INVALID_ARG_TYPE for invalid arguments (a24c602)
  • Better zlib event compatibility.
  • Dependency updates.