Socket
Socket
Sign inDemoInstall

@digitalbazaar/lru-memoize

Package Overview
Dependencies
3
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.1.0

4

CHANGELOG.md
# @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 @@ *

3

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc