emit-stream
Advanced tools
Comparing version 0.1.0 to 0.1.1
10
index.js
@@ -27,8 +27,6 @@ var EventEmitter = require('events').EventEmitter; | ||
ev.emit = function () { | ||
if (s.writable) { | ||
var args = [].slice.call(arguments); | ||
ev._emitStreams.forEach(function (es) { | ||
es.write(args); | ||
}); | ||
} | ||
var args = [].slice.call(arguments); | ||
ev._emitStreams.forEach(function (es) { | ||
es.writable && es.write(args); | ||
}); | ||
emit.apply(ev, arguments); | ||
@@ -35,0 +33,0 @@ }; |
{ | ||
"name" : "emit-stream", | ||
"version" : "0.1.0", | ||
"version" : "0.1.1", | ||
"description" : "turn event emitters into streams and streams into event emitters", | ||
@@ -11,7 +11,7 @@ "main" : "index.js", | ||
"dependencies" : { | ||
"through" : "~0.1.4" | ||
"through" : "~0.3.4" | ||
}, | ||
"devDependencies" : { | ||
"tap" : "~0.3.0", | ||
"JSONStream" : "~0.3.1" | ||
"tap" : "~0.4.2", | ||
"JSONStream" : "~0.6.4" | ||
}, | ||
@@ -18,0 +18,0 @@ "scripts" : { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
11103
10
230
120
0
6
- Removedthrough@0.1.4(transitive)
Updatedthrough@~0.3.4