Skip to content

v4.0.0

Compare
Choose a tag to compare
@mapsam mapsam released this 23 Jul 15:35
· 2 commits to main since this release
15c3283

BREAKING

  • library now exports two items, Locking and LockingAsync
  • Locking function, which contains the same interface as previous versions
  • LockingAsync class, for managing async/promise functions of arbitrary parameters
  • update lru-cache 7.x, this includes updated options:
    • stale is now allowStale
    • maxAge is now ttl
  • use jest as a test runner
  • test on node 16 & 18, drop node 10 & 12