stream-compare

Compare the behavior of readable streams.

MIT License

Downloads
6.2K
Stars
1
Committers
4

Bot releases are visible (Hide)

stream-compare - Latest Release

Published by kevinoid over 4 years ago

BREAKING CHANGES

  • Additional events after 'end' are compared by default, if they occur before
    the event queue becomes empty since the previous event (i.e. before setImmediate from the last event on a stream).
  • options.delay applies after setImmediate from the last event.
  • Drop support for Node.js before 10.13.

Bug Fixes

  • makeIncremental now considers whether additional events are expected, rather than whether 'end' has been emitted (f7ddc29)
stream-compare -

Published by kevinoid over 6 years ago

  • BREAKING Drop support for Node < 6.
  • Drop unnecessary dependencies.
  • Dependency version updates.
  • Code style improvements.
stream-compare -

Published by kevinoid over 7 years ago

  • No API Changes Bump to 1.0 is declaration of stability rather than an indication of changes.
  • Code style updates.
  • Add AppVeyor CI.
  • Test dependency updates.
stream-compare -

Published by kevinoid over 8 years ago

Breaking Changes

  • Remove callback argument and return Promise unconditionally. Consider using
    promise-nodeify to migrate.

New Features

  • endEvents option for controlling comparison on stream end.
  • .checkpoint() method on returned Promise allows caller to trigger compare.
  • .end() method on returned Promise allows caller to end comparison.