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

cache-manager

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cache-manager - npm Package Compare versions

Comparing version 0.9.0 to 0.10.1

3

examples/redis_example/example.js
// 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",

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