Socket
Socket
Sign inDemoInstall

cache-manager

Package Overview
Dependencies
Maintainers
1
Versions
104
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 2.7.0 to 2.8.0

5

History.md

@@ -0,1 +1,6 @@

- 2.8.0 2018-02-28
- Added link to node-cache-manager-fs-hash - @rolandstarke
- Bugfix for options object in multiCache.set (#115) - @sebelga
- Bugfix for keysToFetch in getFromHighestProrityCache (#117) - @sebelga
- 2.7.0 2018-02-13

@@ -2,0 +7,0 @@ - allow setting, getting and deleting multiple keys (#114) - @sebelga

4

lib/multi_caching.js

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

// delete key from our keysToFetch array
keysToFetch.splice(i, 1);
keysToFetch.splice(i - diff, 1);
diff += 1;

@@ -213,3 +213,3 @@ }

if (isObject(args[args.length - 1])) {
if (args.length % 2 > 0 && isObject(args[args.length - 1])) {
options = args.pop();

@@ -216,0 +216,0 @@ }

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

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

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

* [node-cache-manager-fs-hash](https://github.com/rolandstarke/node-cache-manager-fs-hash)
* [node-cache-manager-hazelcast](https://github.com/marudor/node-cache-manager-hazelcast)

@@ -48,0 +50,0 @@

Sorry, the diff of this file is too big to display

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