v4.0.0
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