Socket
Socket
Sign inDemoInstall

@digitalbazaar/lru-memoize

Package Overview
Dependencies
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digitalbazaar/lru-memoize - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

lib/LruCache.js

6

CHANGELOG.md
# @digitalbazaar/lru-memoize ChangeLog
## 2.0.0 - 2021-03-02
### Changed
- **BREAKING**: Rename `LruMemoize` class to `LruCache`.
- **BREAKING**: Use named export for `LruCache`.
## 1.1.0 - 2020-11-24

@@ -4,0 +10,0 @@

2

lib/index.js
/*!
* Copyright (c) 2020 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2020-2021 Digital Bazaar, Inc. All rights reserved.
*/

@@ -4,0 +4,0 @@ 'use strict';

/*!
* Copyright (c) 2020 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2020-2021 Digital Bazaar, Inc. All rights reserved.
*/
import LruMemoize from './LruMemoize.js';
export default {LruMemoize};
export {LruCache} from './LruCache.js';
{
"name": "@digitalbazaar/lru-memoize",
"version": "1.1.0",
"version": "2.0.0",
"description": "LRU Memoize",

@@ -18,8 +18,5 @@ "license": "BSD-3-Clause",

"files": [
"lib/main.js",
"lib/index.js",
"lib/LruMemoize.js"
"lib"
],
"dependencies": {
"eslint-plugin-jsdoc": "^30.7.8",
"esm": "^3.2.25",

@@ -34,3 +31,4 @@ "lru-cache": "^6.0.0"

"eslint-config-digitalbazaar": "^2.0.0",
"karma": "^4.0.1",
"eslint-plugin-jsdoc": "^30.7.8",
"karma": "^6.1.1",
"karma-babel-preprocessor": "^8.0.0",

@@ -42,7 +40,7 @@ "karma-chai": "^0.1.0",

"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.2",
"karma-webpack": "^5.0.0",
"mocha": "^8.0.1",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^15.0.0",
"webpack": "^4.29.6"
"webpack": "^5.24.2"
},

@@ -49,0 +47,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc