Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

promise-readable

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-readable - npm Package Versions

1235

1.2.0

Diff

Changelog

Source

v1.2.0 2017-10-03

  • 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.
dex4er
published 1.1.0 •

Changelog

Source

v1.1.0 2017-10-01

  • Typescript: stream is TReadable extends NodeJS.ReadableStream
dex4er
published 1.0.0 •

Changelog

Source

v1.0.0 2017-09-28

  • 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.
dex4er
published 0.4.3 •

Changelog

Source

v0.4.3 2017-06-22

  • 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
dex4er
published 0.4.2 •

Changelog

Source

v0.4.2 2017-03-16

  • Minor tweaks for documentation.
dex4er
published 0.4.1 •

Changelog

Source

v0.4.1 2017-03-14

  • once('error') is the same as once('end').
dex4er
published 0.4.0 •

Changelog

Source

v0.4.0 2017-03-14

  • New method once replaces other once* methods.
dex4er
published 0.3.0 •

Changelog

Source

v0.3.0 2017-03-11

  • Method end is renamed to onceEnd.
dex4er
published 0.2.0 •

Changelog

Source

v0.2.0 2017-03-11

  • Methods onceOpen and onceClose (with prefix).
dex4er
published 0.1.0 •

Changelog

Source

v0.1.0 2017-03-10

  • New methods open and close for fs.ReadStream streams.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc