Socket
Socket
Sign inDemoInstall

redis-clustr

Package Overview
Dependencies
3
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.4 to 0.0.5

README.md

13

index.js

@@ -80,5 +80,4 @@ var setupCommands = require('./src/setupCommands');

var todo = Object.keys(g).length;
var done = 0;
var isDone = function() {
if (++done === todo) cb();
if (!--todo) cb();
};

@@ -111,1 +110,11 @@

};
RedisClustr.prototype.quit = function(cb) {
var todo = Object.keys(this.clients).length;
for (var i in this.clients) {
this.clients[i].client.quit(function() {
if (!--todo) cb();
});
}
};

2

package.json
{
"name": "redis-clustr",
"version": "0.0.4",
"version": "0.0.5",
"description": "A poor man's redis cluster client",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -67,1 +67,5 @@ // not really tests but being used to ensure things are working

});
c.quit(function() {
console.log('QUIT');
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc