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 6.0.0 to 6.0.1

6

index.js

@@ -5,3 +5,3 @@ const StreamDemux = require('stream-demux');

let { usabilityMode } = options || {};
this.usabilityMode = usabilityMode;
this.usabilityMode = usabilityMode || false;
this._listenerDemux = new StreamDemux();

@@ -14,4 +14,4 @@ }

AsyncStreamEmitter.prototype.listener = function (eventName, usabilityMode) {
return this._listenerDemux.stream(eventName, usabilityMode);
AsyncStreamEmitter.prototype.listener = function (eventName) {
return this._listenerDemux.stream(eventName, this.usabilityMode);
};

@@ -18,0 +18,0 @@

{
"name": "async-stream-emitter",
"version": "6.0.0",
"version": "6.0.1",
"description": "An alternantive to EventEmitter using consumable 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