Skip to content

Releases: dex4er/js-promise-readable

v2.0.0

15 Jul 08:02
Compare
Choose a tag to compare
  • Use native Promise rather than any-event.

v1.2.1

15 Jul 08:02
Compare
Choose a tag to compare
  • Typescript: reference additional modules in our typings file.

v1.2.0

15 Jul 08:02
Compare
Choose a tag to compare
  • once is resolved to undefined when stream is already closed or
    destroyed for "close" or "end" events and rejects for others.
  • read and readAll is resolved when "close" event was occured.

v1.1.0

15 Jul 08:02
Compare
Choose a tag to compare
  • Typescript: stream is TReadable extends NodeJS.ReadableStream

v1.0.0

15 Jul 08:01
Compare
Choose a tag to compare
  • Exports also as a class and namespace and the default.
  • Typings for Typescript.
  • Additional safe checks for detecting already closed stream.

Breaking change:

  • Resolves to undefined rather than null if there is no data or stream is
    closed. Please use double sign equality instead triple sign to check if
    stream is closed, ie. data == null.

v0.4.3

15 Jul 08:01
Compare
Choose a tag to compare
  • Upgraded chai@4.0.2, chai-as-promised@7.0.0, snazzy@7.0.0
    standard@10.0.2, tap@10.5.1, tap-given@0.4.1

v0.4.2

15 Jul 08:01
Compare
Choose a tag to compare
  • Minor tweaks for documentation.

v0.4.1

15 Jul 08:01
Compare
Choose a tag to compare
  • once('error') is the same as once('end').

v0.4.0

15 Jul 08:00
Compare
Choose a tag to compare
  • New method once replaces other once* methods.

v0.3.0

15 Jul 08:00
Compare
Choose a tag to compare
  • Method end is renamed to onceEnd.