Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 8.0.0 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) {

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