Socket
Socket
Sign inDemoInstall

redis-clustr

Package Overview
Dependencies
6
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

4

index.js

@@ -26,3 +26,3 @@ var setupCommands = require('./src/setupCommands');

if (!slots) {
slots = [ i * 65536 / config.clients.length, (i + 1) * 65536 / config.clients.length - 1]
slots = [ i * 65536 / config.clients.length, (i + 1) * 65536 / config.clients.length ]
}

@@ -46,3 +46,3 @@

for (var i in this.clients) {
if (slot >= this.clients[i].slots[0] && slot <= this.clients[i].slots[1]) {
if (slot >= this.clients[i].slots[0] && slot < this.clients[i].slots[1]) {
return this.clients[i];

@@ -49,0 +49,0 @@ }

{
"name": "redis-clustr",
"version": "0.1.0",
"version": "0.1.1",
"description": "A poor man's redis cluster client",

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

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