@pnpm/npm-resolver
Advanced tools
Comparing version 13.1.0 to 13.1.1
@@ -61,3 +61,3 @@ "use strict"; | ||
function createResolver(fetchFromRegistry, getCredentials, opts) { | ||
if (typeof opts.cacheDir !== 'string') { // eslint-disable-line | ||
if (typeof opts.cacheDir !== 'string') { | ||
throw new TypeError('`opts.cacheDir` is required and needs to be a string'); | ||
@@ -76,4 +76,4 @@ } | ||
max: 10000, | ||
maxAge: 120 * 1000, // 2 minutes | ||
}); // eslint-disable-line @typescript-eslint/no-explicit-any | ||
ttl: 120 * 1000, // 2 minutes | ||
}); | ||
return resolveNpm.bind(null, { | ||
@@ -80,0 +80,0 @@ getAuthHeaderValueByURI, |
{ | ||
"name": "@pnpm/npm-resolver", | ||
"version": "13.1.0", | ||
"version": "13.1.1", | ||
"description": "Resolver for npm-hosted packages", | ||
@@ -40,3 +40,3 @@ "main": "lib/index.js", | ||
"load-json-file": "^6.2.0", | ||
"lru-cache": "^6.0.0", | ||
"lru-cache": "^7.13.2", | ||
"normalize-path": "^3.0.0", | ||
@@ -55,5 +55,4 @@ "p-limit": "^3.1.0", | ||
"@pnpm/logger": "^4.0.0", | ||
"@pnpm/npm-resolver": "13.1.0", | ||
"@pnpm/test-fixtures": "0.0.16", | ||
"@types/lru-cache": "^5.1.1", | ||
"@pnpm/npm-resolver": "13.1.1", | ||
"@pnpm/test-fixtures": "0.0.18", | ||
"@types/normalize-path": "^3.0.0", | ||
@@ -60,0 +59,0 @@ "@types/semver": "^7.3.10", |
Sorry, the diff of this file is not supported yet
10
59168
+ Addedlru-cache@7.18.3(transitive)
- Removedlru-cache@6.0.0(transitive)
Updatedlru-cache@^7.13.2