feather-cache
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -33,2 +33,3 @@ import { IFeatherCacheDriver } from './feather-cache-driver.interface'; | ||
__$EXPIRED?: boolean; | ||
__$CREATED_AT: Date; | ||
}>; | ||
@@ -35,0 +36,0 @@ /** |
@@ -85,3 +85,3 @@ "use strict"; | ||
const validTill = new Date(new Date().getTime() + (opt.maxAgeInMs || this.options.maxAgeInMs)); | ||
const dataToStore = { validTill, key, val, $__CREATED_AT: new Date() }; | ||
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.2.0", | ||
"version": "1.2.1", | ||
"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
15983
210