🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

stream-demux

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-demux - npm Package Compare versions

Comparing version

to
8.1.0

8

index.js

@@ -115,2 +115,10 @@ const WritableConsumableStream = require('writable-consumable-stream');

getConsumerCount(streamName) {
return this.getConsumerStatsList(streamName).length;
}
getConsumerCountAll() {
return this.getConsumerStatsListAll().length;
}
createConsumer(streamName, timeout) {

@@ -117,0 +125,0 @@ let mainStreamConsumer = this._mainStream.createConsumer(timeout);

4

package.json
{
"name": "stream-demux",
"version": "8.0.0",
"version": "8.1.0",
"description": "A consumable stream demultiplexer.",

@@ -32,4 +32,4 @@ "main": "index.js",

"consumable-stream": "^2.0.0",
"writable-consumable-stream": "^2.0.0"
"writable-consumable-stream": "^3.0.1"
}
}

@@ -46,3 +46,3 @@ # stream-demux

// createConsumer(n) method to force the iteration to
// timeout after n milliseconds of innactivity.
// timeout after n milliseconds of inactivity.
let consumer = demux.stream('def').createConsumer();

@@ -49,0 +49,0 @@ while (true) {