- Convert to typescript
- Test with node.js 20.x
- Replace TravisCI with GitHub Actions
BREAKING
- library now exports two items,
Locking
andLockingAsync
Locking
function, which contains the same interface as previous versionsLockingAsync
class, for managing async/promise functions of arbitrary parameters- update lru-cache 7.x, this includes updated options:
stale
is nowallowStale
maxAge
is nowttl
- use jest as a test runner
- test on node 16 & 18, drop node 10 & 12
- Make sure not to fetch data with a key that doesn't exist
- Upgraded to lru-cache 5.x