cache-manager-memory-store
Advanced tools
Comparing version 1.0.3 to 1.1.0
@@ -79,2 +79,8 @@ 'use strict'; | ||
value: function getClient(cb) { | ||
if (!cb) { | ||
return { | ||
client: this | ||
}; | ||
} | ||
return cb(null, { | ||
@@ -81,0 +87,0 @@ client: this |
{ | ||
"name": "cache-manager-memory-store", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "Extremely simple in-memory store for node-cache-manager. Primarily used for testing purposes.", | ||
@@ -45,2 +45,2 @@ "main": "build/index.js", | ||
} | ||
} | ||
} |
# node-cache-manager-memory-store | ||
Note: `node-cache-manager` already has a built-in memory store as a default when no stores are used. | ||
Simple in-memory store for [node-cache-manager](https://github.com/BryanDonovan/node-cache-manager). Mainly used for unit testing purposes. | ||
@@ -4,0 +6,0 @@ |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14
107
29
0
131807