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

emit-stream

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emit-stream - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

test/multiple_listeners.js

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 @@ };

8

package.json
{
"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

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