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

end-of-stream

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

end-of-stream - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

index.js

@@ -49,3 +49,3 @@ var once = require('once');

stream.on('finish', onfinish);
stream.on('error', callback);
if (opts.error !== false) stream.on('error', callback);
stream.on('close', onclose);

@@ -52,0 +52,0 @@

{
"name": "end-of-stream",
"version": "0.1.2",
"version": "0.1.3",
"description": "Call a callback when a readable/writable/duplex stream has completed or failed.",

@@ -5,0 +5,0 @@ "repository": "git://github.com/mafintosh/end-of-stream.git",

@@ -39,2 +39,6 @@ # end-of-stream

});
eos(readableStream, {error:false}, function(err) {
// do not treat emit('error', err) as a end-of-stream
});
```

@@ -41,0 +45,0 @@

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