🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

redis-semaphore

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-semaphore - npm Package Versions

1345

5.0.0

Diff
swarthy
published 5.0.0 •

Changelog

Source

redis-semaphore@5.0.0

  • Breadking change: Drop Node.js v10.x, v12.x support
  • Added ioredis@5 support
swarthy
published 4.1.0 •

Changelog

Source

redis-semaphore@4.1.0

  • Added .isAcquired property on all locks
  • Added onLostLock constructor option. By default throws unhandled error.
swarthy
published 4.0.1 •
swarthy
published 4.0.0 •

Changelog

Source

redis-semaphore@4.0.0

  • Breaking change: Mutex, Semaphore, MultiSemaphore not longer support Cluster. For multi-node case use Redlock* instead.
  • Added RedlockMutex, RedlockSemaphore, RedlockMultiSemaphore
  • Internals refactored
swarthy
published 3.2.1 •
swarthy
published 3.2.0 •

Changelog

Source

redis-semaphore@3.2.0

  • Added MultiSemaphore
swarthy
published 3.1.0 •
swarthy
published 2.2.0 •
swarthy
published 3.0.0 •

Changelog

Source

redis-semaphore@3.0.0

  • Breaking change: FairSemaphore has been removed. Use Semaphore instead (has the same "fairness")
    • the acquire method in Semaphore no longer returns a boolean. Instead, it throws an error if it cannot acquire, and if it doesn't throw, you can assume it worked.
  • Internal code has been cleaned up
  • Added more test, include synthetic node unsynchroned clocks
swarthy
published 2.1.1 •