Commit 0a345f9
committed
fix: update lru-cache to v10 and fix build errors
- Update lru-cache from v6 to v10.0.0
- Migrate LRUStorage to use new LRUCache API
- Migrate LRUWithRedisStorage to use new LRUCache API
- Change maxAge option to ttl (in seconds) for consistency
- Export new LRUStorageOptions and LRUWithRedisStorageOptions interfaces
- Update README documentation for new API1 parent 4d55978 commit 0a345f9
7 files changed
Lines changed: 81 additions & 2791 deletions
File tree
- storages
- lru-redis
- src
- lru
- src
0 commit comments