Commit a0e598e
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 0ef8f7a commit a0e598e
7 files changed
Lines changed: 85 additions & 2791 deletions
File tree
- storages
- lru-redis
- src
- lru
- src
0 commit comments