New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

easy-redis

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

easy-redis - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

7

lib/dispatcher.js

@@ -1,8 +0,1 @@

var crc = require('crc')
module.exports.dispatch = function(uid, servers) {
var idx = Math.abs(parseInt(crc.crc32(uid.toString()), 16)) % servers.length
return servers[idx]
}
function rand(min, max) {

@@ -9,0 +2,0 @@ if (min < 0) {

2

package.json
{
"name": "easy-redis",
"version": "0.4.0",
"version": "0.5.0",
"description": "Just write a config file,you can get one of redis connection with different topic",

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