cache-manager
Advanced tools
Comparing version 4.0.1 to 4.1.0
@@ -0,1 +1,4 @@ | ||
- 4.1.0 | ||
- Support for TTL as third arg in memory store set function (#196). - @ZirionNeft | ||
- 4.0.1 | ||
@@ -2,0 +5,0 @@ - Fix TTL option bug for memory cache (#194). - @anchan828 |
@@ -67,2 +67,6 @@ /*eslint no-unused-vars:0*/ | ||
if (options && typeof options === 'number') { | ||
options = {ttl: options}; | ||
} | ||
var ttl = (options.ttl || options.ttl === 0) ? options.ttl * 1000 : lruOpts.ttl; | ||
@@ -69,0 +73,0 @@ |
{ | ||
"name": "cache-manager", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "Cache module for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81557
1634