feather-cache
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -85,3 +85,3 @@ "use strict"; | ||
const validTill = new Date(new Date().getTime() + (opt.maxAgeInMs || this.options.maxAgeInMs)); | ||
const dataToStore = { validTill, key, val }; | ||
const dataToStore = { validTill, key, val, $__CREATED_AT: new Date() }; | ||
yield this.options.setFn.call(this, key, dataToStore); | ||
@@ -88,0 +88,0 @@ }); |
{ | ||
"name": "feather-cache", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "A Simple Lightweight Pluggable Key-Value Cache For Multiple Storage Options.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/vajahath/feather-cache#readme", |
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
15954