Socket
Socket
Sign inDemoInstall

ioredis

Package Overview
Dependencies
Maintainers
1
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ioredis - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

sdfsdf.txt

4

Changelog.md
## Changelog
### v1.0.10 - April 25, 2015
* [UPDATE] Improve performance for calculating slots.
### v1.0.9 - April 25, 2015

@@ -4,0 +8,0 @@

2

lib/utils/index.js

@@ -222,3 +222,3 @@ /**

}
return crc16(key) % 16384;
return crc16(key) & 16383;
};
{
"name": "ioredis",
"version": "1.0.9",
"version": "1.0.10",
"description": "A delightful, performance-focused Redis client for Node and io.js",

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

@@ -52,3 +52,3 @@ // var noderedis = require('redis');

}]);
cluster.object('encoding', 'foo', function (err, res) {
cluster.mget('foo13', 'foo', function (err, res) {
console.log(err, res);

@@ -55,0 +55,0 @@ });

@@ -104,2 +104,3 @@ var utils = require('../../lib/utils');

expect(utils.calcSlot('ab}')).to.eql(11817);
expect(utils.calcSlot('encoding')).to.eql(3060);
});

@@ -106,0 +107,0 @@ });

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