async-stream-emitter
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
19655