🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

cachetree-redis

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cachetree-redis - npm Package Compare versions

Comparing version

to
1.1.3

11

lib/store.js

@@ -13,2 +13,7 @@ /**

/**
* Empty noop function
*/
var noop = function() {};
/**
* Export RedisStore

@@ -141,3 +146,3 @@ */

len;
if (typeof cb !== 'function') {
if (cb && typeof cb !== 'function') {
args.push(cb);

@@ -178,3 +183,3 @@ cb = null;

}
this.client.hmset(key, data, cb);
this.client.hmset(key, data, cb || noop);
}

@@ -288,3 +293,3 @@ } else {

}, this);
this.client.del(args, cb);
this.client.del(args, cb || noop);
} else {

@@ -291,0 +296,0 @@ if (typeof cb === 'function') cb(new Error('Invalid key'));

{
"name": "cachetree-redis",
"description": "Redis storage backend for Cachetree",
"version": "1.1.2",
"version": "1.1.3",
"author": "David Wood <bitprobe@gmail.com>",

@@ -6,0 +6,0 @@ "repository": {