Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

async-mutex

Package Overview
Dependencies
1
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.3.1

5

CHANGELOG.md
# Changelog
## 0.3.1
* `withTimeout`: make Jest happy and cancel timer when the mutex is acquired.
Thanks to cantoine for the PR.
## 0.3.0

@@ -4,0 +9,0 @@

1

es6/withTimeout.js

@@ -30,2 +30,3 @@ import { __awaiter, __generator } from "tslib";

else {
clearTimeout(handle);
resolve(ticket);

@@ -32,0 +33,0 @@ }

@@ -33,2 +33,3 @@ "use strict";

else {
clearTimeout(handle);
resolve(ticket);

@@ -35,0 +36,0 @@ }

2

package.json
{
"name": "async-mutex",
"version": "0.3.0",
"version": "0.3.1",
"description": "A mutex for guarding async workflows",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc