Socket
Socket
Sign inDemoInstall

lru-cache

Package Overview
Dependencies
0
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.18.0 to 7.18.1

15

index.d.ts

@@ -115,3 +115,3 @@ // Project: https://github.com/isaacs/node-lru-cache

*/
public get(key: K, options?: LRUCache.GetOptions): V | undefined
public get(key: K, options?: LRUCache.GetOptions<V>): V | undefined

@@ -133,3 +133,3 @@ /**

*/
public has(key: K, options?: LRUCache.HasOptions): boolean
public has(key: K, options?: LRUCache.HasOptions<V>): boolean

@@ -163,3 +163,3 @@ /**

) => boolean | undefined | void,
options?: LRUCache.GetOptions
options?: LRUCache.GetOptions<V>
): V | undefined

@@ -662,3 +662,3 @@

*/
interface HasOptions {
interface HasOptions<V> {
updateAgeOnHas?: boolean

@@ -672,3 +672,3 @@ status: Status<V>

*/
interface GetOptions {
interface GetOptions<V> {
allowStale?: boolean

@@ -821,7 +821,2 @@ updateAgeOnGet?: boolean

/**
* The results of the fetchMethod promise were stored in the cache
*/
fetchUpdated?: true
/**
* The fetchMethod promise was rejected

@@ -828,0 +823,0 @@ */

{
"name": "lru-cache",
"description": "A cache object that deletes the least-recently-used items.",
"version": "7.18.0",
"version": "7.18.1",
"author": "Isaac Z. Schlueter <i@izs.me>",

@@ -6,0 +6,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc