Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@type-cacheable/lru-cache-adapter

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@type-cacheable/lru-cache-adapter - npm Package Compare versions

Comparing version 12.1.0 to 13.0.0

6

dist/index.d.ts

@@ -1,4 +0,4 @@

import * as LRUCache from 'lru-cache';
import LRUCache from 'lru-cache';
import { CacheClient } from '@type-cacheable/core';
export declare class LRUCacheAdapter<T> implements CacheClient {
export declare class LRUCacheAdapter<T extends {}> implements CacheClient {
constructor(lruClient: LRUCache<string, T>);

@@ -13,2 +13,2 @@ private lruClient;

}
export declare const useAdapter: <T>(client: LRUCache<string, T>, asFallback?: boolean) => LRUCacheAdapter<T>;
export declare const useAdapter: <T extends {} = {}>(client: LRUCache<string, T, unknown>, asFallback?: boolean) => LRUCacheAdapter<T>;
{
"name": "@type-cacheable/lru-cache-adapter",
"version": "12.1.0",
"version": "13.0.0",
"description": "Adapter for using lru-cache with type-cacheable",

@@ -31,3 +31,6 @@ "main": "dist/index.js",

],
"author": "Joshua Slate",
"author": {
"name": "Joshua Slate",
"url": "https://joshuaslate.com"
},
"license": "MIT",

@@ -39,5 +42,5 @@ "bugs": {

"devDependencies": {
"@type-cacheable/core": "^11.1.1",
"@type-cacheable/core": "^11.1.2",
"@types/lru-cache": "^7.4.0",
"lru-cache": "^7.3.0",
"lru-cache": "^8.0.4",
"typescript": "^5.0.2"

@@ -47,5 +50,5 @@ },

"@type-cacheable/core": "^11.0.0",
"lru-cache": "^7.3.0"
"lru-cache": "^8.0.4"
},
"gitHead": "46becef54f5a494354e00437cb82933e01c249d9"
"gitHead": "68e67d288d213593bf680810cd8a4265f3a5ae08"
}
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