Socket
Socket
Sign inDemoInstall

multistream

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multistream - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

2

index.js

@@ -46,3 +46,3 @@ module.exports = MultiStream

var chunk
while ((chunk = this._current.read()) !== null) {
while ((chunk = this._current.read()) !== null && this._drained) {
this._drained = this.push(chunk)

@@ -49,0 +49,0 @@ }

{
"name": "multistream",
"description": "A stream that emits multiple other streams one after another (streams2)",
"version": "3.0.0",
"description": "A stream that emits multiple other streams one after another (streams3)",
"version": "3.1.0",
"author": "Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)",

@@ -14,3 +14,3 @@ "bugs": {

"devDependencies": {
"airtap": "2.0.2",
"airtap": "^2.0.3",
"array-to-stream": "^1.0.0",

@@ -17,0 +17,0 @@ "simple-concat": "^1.0.0",

@@ -12,3 +12,3 @@ # multistream [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]

#### A stream that emits multiple other streams one after another (streams2)
#### A stream that emits multiple other streams one after another (streams3)

@@ -19,3 +19,3 @@ [![Sauce Test Status](https://saucelabs.com/browser-matrix/multistream.svg)](https://saucelabs.com/u/multistream)

Simple, robust streams2 version of [combined-stream](https://www.npmjs.org/package/combined-stream). Allows you to combine multiple streams into a single stream. When the first stream ends, the next one starts, and so on, until all streams are consumed.
Simple, robust streams3 version of [combined-stream](https://www.npmjs.org/package/combined-stream). Allows you to combine multiple streams into a single stream. When the first stream ends, the next one starts, and so on, until all streams are consumed.

@@ -22,0 +22,0 @@ This module is used by [WebTorrent](http://webtorrent.io), specifically [create-torrent](https://github.com/feross/create-torrent).

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