@digitalbazaar/lru-memoize
Advanced tools
Comparing version 1.0.0 to 1.1.0
# @digitalbazaar/lru-memoize ChangeLog | ||
## 1.1.0 - 2020-11-24 | ||
- Implement `delete` API. | ||
## 1.0.0 - 2020-11-23 | ||
- See git history for details. |
@@ -24,2 +24,13 @@ /*! | ||
/** | ||
* Deletes a key from the LRU cache. | ||
* | ||
* @param {string} key - A key for the cache. | ||
* | ||
* @returns {undefined} | ||
*/ | ||
delete(key) { | ||
return this.cache.del(key); | ||
} | ||
/** | ||
* Memoizes a promise via an LRU cache. | ||
@@ -26,0 +37,0 @@ * |
{ | ||
"name": "@digitalbazaar/lru-memoize", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "LRU Memoize", | ||
@@ -30,2 +30,3 @@ "license": "BSD-3-Clause", | ||
"cross-env": "^6.0.3", | ||
"delay": "^4.4.0", | ||
"eslint": "^7.9.0", | ||
@@ -32,0 +33,0 @@ "eslint-config-digitalbazaar": "^2.0.0", |
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
5497
71
17