From 62d1cb8f1ec034a49f635c845efeeeb388525abd Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Fri, 3 Mar 2023 06:26:54 +0200 Subject: [PATCH] fix: types error in npm-resolver --- resolving/npm-resolver/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolving/npm-resolver/src/index.ts b/resolving/npm-resolver/src/index.ts index e7d7274f13..9c9cd9dc8d 100644 --- a/resolving/npm-resolver/src/index.ts +++ b/resolving/npm-resolver/src/index.ts @@ -86,7 +86,7 @@ export function createNpmResolver ( cacheKey: (...args) => JSON.stringify(args), maxAge: 1000 * 20, // 20 seconds }) - const metaCache = new LRU({ + const metaCache = new LRU({ max: 10000, ttl: 120 * 1000, // 2 minutes })