cache-manager
Advanced tools
Comparing version 0.9.0 to 0.10.1
// Setup: | ||
// npm install redis | ||
// npm install sol-redis-pool | ||
// npm install redis@0.6.7 sol-redis-pool@0.1.0 | ||
// node examples/redis_example/example.js | ||
@@ -5,0 +4,0 @@ |
@@ -0,1 +1,7 @@ | ||
- 0.10.1 2014-09-10 | ||
Fixed tag/version mismatch | ||
- 0.10.0 2014-09-10 | ||
Fixing Use call instead of apply for cached results, issue #9 (thanks elliotttf) | ||
- 0.9.0 2014-08-19 | ||
@@ -2,0 +8,0 @@ Fixing issue #8 - parallel requests to a wrapped function were calling the |
@@ -42,3 +42,3 @@ /*jshint maxcomplexity:10*/ | ||
} else if (result) { | ||
cb.apply(null, result); | ||
cb.call(cb, null, result); | ||
} else if (self.queues[key]) { | ||
@@ -54,3 +54,4 @@ self.queues[key].push(cb); | ||
} | ||
self.store.set(key, work_args, function (err) { | ||
// Subsequently assume second arg is result. | ||
self.store.set(key, work_args[1], function (err) { | ||
if (err && (!self.ignoreCacheErrors)) { | ||
@@ -57,0 +58,0 @@ return cb(err); |
{ | ||
"name": "cache-manager", | ||
"version": "0.9.0", | ||
"version": "0.10.1", | ||
"description": "Cache module for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71035