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

redis-clustr

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-clustr - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

1

index.js

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

RedisClustr.prototype.selectClient = function(key) {
if (Array.isArray(key)) key = key[0];
var slot = crc16(key);

@@ -44,0 +45,0 @@

2

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

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

@@ -54,4 +54,6 @@ // not really tests but being used to ensure things are working

console.log(arguments[1]);
})
});
m.zadd(['key', 1, 'a', 2, 'b'], function(){ console.log('multizadd', arguments); });
m.exec(function(err, res) {

@@ -61,2 +63,3 @@ console.log('multi complete', res);

c.zadd(['key2', 1, 'a'], function() { console.log('nomulti zadd', arguments); });

@@ -63,0 +66,0 @@ c.del(['hi','hello','oi','wtf'], function() {

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