Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

locks

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

locks - npm Package Versions

0.2.2

Diff

ronkorving
published 0.2.1 •

Changelog

Source

v0.2.1

  • All callbacks now have the object as this value
  • Added tests for ReadWriteLock
  • Added coverage test (rpm run cover)
ronkorving
published 0.2.0 •

Changelog

Source

v0.2.0

Semaphores

Deadlock fix (thanks to Miljenko Rebernisak)

Condition variables

Conditions can now be a string, number, boolean, regexp, besides the previously supported function type. This changes the condition test to a === equality-test or a regexp.test(). This allows code wait calls to become much shorter in common cases. Example:

cond.wait('ready', function () {
	console.log('It is ready!');
});

General

Many unit tests have been added for mutexes, semaphores and condition variables.

published 0.1.0 •

Changelog

Source

v0.1.0

First release

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc