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 1.1.0 to 1.2.0

3

History.md

@@ -0,1 +1,4 @@

- 1.2.0 2015-10-07
- using `isCacheableValue` in `getFromHighestPriorityCache` and `getAndPassUp` (#32).
- 1.1.0 2015-07-22

@@ -2,0 +5,0 @@ - Allow stores to override isCacheableValue. - @PuKoren

4

lib/multi_caching.js

@@ -46,3 +46,3 @@ /** @module cacheManager/multiCaching */

}
if (result) {
if (self._isCacheableValue(result)) {
// break out of async loop.

@@ -82,3 +82,3 @@ return cb(err, result, i);

if (result !== undefined && index) {
if (self._isCacheableValue(result) && index) {
var cachesToUpdate = caches.slice(0, index);

@@ -85,0 +85,0 @@ async.each(cachesToUpdate, function(cache, next) {

{
"name": "cache-manager",
"version": "1.1.0",
"version": "1.2.0",
"description": "Cache module for Node.js",

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

@@ -31,2 +31,7 @@ [![build status](https://secure.travis-ci.org/BryanDonovan/node-cache-manager.png)](http://travis-ci.org/BryanDonovan/node-cache-manager)

## Store Engines
* [node-cache-manager-redis](https://github.com/dial-once/node-cache-manager-redis)
* [node-cache-manager-mongodb](https://github.com/v4l3r10/node-cache-manager-mongodb)
## Overview

@@ -33,0 +38,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