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

disturbed

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

disturbed - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

14

index.js

@@ -44,5 +44,2 @@ /**

// Emit to other nodes
pubClient.publish(evt, JSON.stringify(args));
// Emit to this one

@@ -54,2 +51,13 @@ var handlers = channels[evt];

}
// Emit to other nodes
return new Promise(function(resolve, reject){
pubClient.publish(evt, JSON.stringify(args), function(err){
if(err){
reject(err);
}else{
resolve();
}
});
});
}

@@ -56,0 +64,0 @@

{
"name": "disturbed",
"version": "1.0.1",
"version": "1.0.2",
"description": "A distributed event emitter, both for client and nodejs servers",

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