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

stream-stream

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-stream - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

14

lib/StreamStream.js

@@ -67,9 +67,11 @@ var util = require('util');

var self = this;
stream.on('readable', function() {
var chunk;
while(chunk = stream.read()) {
self.push(chunk);
}
function onData (data) {
// TODO pause stream on overrun
self.push(data);
}
stream.on('data', onData);
stream.on('end', function () {
stream.removeListener('data', onData);
done();
});
stream.on('end', done);
this._needSeparator = true;

@@ -76,0 +78,0 @@ this._lastStream = stream;

{
"name": "stream-stream",
"version": "1.2.4",
"version": "1.2.5",
"description": "A stream of streams in order to concatenates the contents of several streams",

@@ -5,0 +5,0 @@ "main": "index.js",

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