lru-cache
Advanced tools
Comparing version 10.0.2 to 10.0.3
{ | ||
"name": "lru-cache", | ||
"description": "A cache object that deletes the least-recently-used items.", | ||
"version": "10.0.2", | ||
"version": "10.0.3", | ||
"author": "Isaac Z. Schlueter <i@izs.me>", | ||
@@ -48,3 +48,6 @@ "keywords": [ | ||
}, | ||
"repository": "git://github.com/isaacs/node-lru-cache.git", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/isaacs/node-lru-cache.git" | ||
}, | ||
"devDependencies": { | ||
@@ -115,6 +118,3 @@ "@tapjs/clock": "^1.1.16", | ||
}, | ||
"type": "module", | ||
"dependencies": { | ||
"semver": "^7.3.5" | ||
} | ||
"type": "module" | ||
} |
@@ -281,6 +281,6 @@ # lru-cache | ||
ttl: 100, | ||
fetchMethod: async (url, oldValue, { signal }) => { | ||
fetchMethod: async (url, oldValue, { signal }) => { | ||
const res = await fetch(url, { signal }) | ||
return await res.json() | ||
} | ||
}, | ||
}) | ||
@@ -287,0 +287,0 @@ cache.set('https://example.com/', { some: 'data' }) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
0
448705
- Removedsemver@^7.3.5
- Removedlru-cache@6.0.0(transitive)
- Removedsemver@7.6.0(transitive)
- Removedyallist@4.0.0(transitive)