New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

quick-lru

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quick-lru - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

1

index.js

@@ -33,2 +33,3 @@ 'use strict';

const value = this.oldCache.get(key);
this.oldCache.delete(key);
this._set(key, value);

@@ -35,0 +36,0 @@ return value;

4

package.json
{
"name": "quick-lru",
"version": "4.0.0",
"version": "4.0.1",
"description": "Simple \"Least Recently Used\" (LRU) cache",

@@ -38,3 +38,3 @@ "license": "MIT",

"coveralls": "^3.0.3",
"nyc": "^13.3.0",
"nyc": "^14.1.1",
"tsd": "^0.7.2",

@@ -41,0 +41,0 @@ "xo": "^0.24.0"

@@ -36,3 +36,3 @@ # quick-lru [![Build Status](https://travis-ci.org/sindresorhus/quick-lru.svg?branch=master)](https://travis-ci.org/sindresorhus/quick-lru) [![Coverage Status](https://coveralls.io/repos/github/sindresorhus/quick-lru/badge.svg?branch=master)](https://coveralls.io/github/sindresorhus/quick-lru?branch=master)

### new QuickLRU([options])
### new QuickLRU(options?)

@@ -43,3 +43,3 @@ Returns a new instance.

Type: `Object`
Type: `object`

@@ -96,6 +96,1 @@ #### maxSize

The stored item count.
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)
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