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

async-stream-emitter

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-stream-emitter - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

8

index.js

@@ -35,2 +35,10 @@ const StreamDemux = require('stream-demux');

AsyncStreamEmitter.prototype.getListenerConsumerCount = function (eventName) {
return this._listenerDemux.getConsumerCount(eventName);
};
AsyncStreamEmitter.prototype.getAllListenersConsumerCount = function () {
return this._listenerDemux.getConsumerCountAll();
};
AsyncStreamEmitter.prototype.killListener = function (eventName) {

@@ -37,0 +45,0 @@ this._listenerDemux.kill(eventName);

4

package.json
{
"name": "async-stream-emitter",
"version": "4.0.0",
"version": "4.1.0",
"description": "An alternantive to EventEmitter using consumable streams.",

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

"dependencies": {
"stream-demux": "^8.0.0"
"stream-demux": "^8.1.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