@aomex/cache
Advanced tools
Comparing version 0.0.5 to 0.0.6
# @aomex/cache | ||
## 0.0.6 | ||
### Patch Changes | ||
- [`827b86d`](https://github.com/aomex/aomex/commit/827b86d692786b5708c8602e5985eedabf632981) Thanks [@geekact](https://github.com/geekact)! - feat(cache): change lru as public field | ||
- [`cc01922`](https://github.com/aomex/aomex/commit/cc019228eb3dca43e354467d60c744103424e47b) Thanks [@geekact](https://github.com/geekact)! - chore(cache): upgrade lru-cache from 7.17.0 to 8.0.0 | ||
## 0.0.5 | ||
@@ -4,0 +12,0 @@ |
@@ -0,1 +1,3 @@ | ||
import LRU from 'lru-cache'; | ||
interface CacheOptions { | ||
@@ -77,3 +79,3 @@ keyPrefix?: string; | ||
declare class MemoryCache extends Cache { | ||
private readonly lru; | ||
readonly lru: LRU<string, string>; | ||
protected readonly gcProbability: number; | ||
@@ -80,0 +82,0 @@ constructor(options?: MemoryCacheOptions); |
{ | ||
"name": "@aomex/cache", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "", | ||
@@ -29,5 +29,5 @@ "type": "module", | ||
"dependencies": { | ||
"lru-cache": "^7.17.0" | ||
"lru-cache": "^8.0.0" | ||
}, | ||
"scripts": {} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16467
210
+ Addedlru-cache@8.0.5(transitive)
- Removedlru-cache@7.18.3(transitive)
Updatedlru-cache@^8.0.0