cache-manager 3.5.0 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/History.md +3 -0
- package/lib/stores/memory.js +7 -0
- package/package.json +1 -1
package/History.md
CHANGED
package/lib/stores/memory.js
CHANGED
|
@@ -186,6 +186,13 @@ var memoryStore = function(args) {
|
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
188
|
|
|
189
|
+
/**
|
|
190
|
+
* This method is not available in the caching modules.
|
|
191
|
+
*/
|
|
192
|
+
self.keyCount = function() {
|
|
193
|
+
return lruCache.length;
|
|
194
|
+
};
|
|
195
|
+
|
|
189
196
|
/**
|
|
190
197
|
* This method is not available in the caching modules.
|
|
191
198
|
*/
|