package: add async-mutex dep

This will allow us to clear Baileys of any race conditions on async workflows
This commit is contained in:
Rajeh Taher
2025-03-09 01:28:21 +02:00
parent bb291ca6ed
commit 40b8cc5383
2 changed files with 8 additions and 0 deletions

View File

@@ -43,6 +43,7 @@
"@hapi/boom": "^9.1.3",
"@whiskeysockets/eslint-config": "github:whiskeysockets/eslint-config",
"async-lock": "^1.4.1",
"async-mutex": "^0.5.0",
"axios": "^1.6.0",
"cache-manager": "^5.7.6",
"libsignal": "github:WhiskeySockets/libsignal-node",

View File

@@ -1650,6 +1650,13 @@ async-lock@^1.4.1:
resolved "https://registry.yarnpkg.com/async-lock/-/async-lock-1.4.1.tgz#56b8718915a9b68b10fce2f2a9a3dddf765ef53f"
integrity sha512-Az2ZTpuytrtqENulXwO3GGv1Bztugx6TT37NIo7imr/Qo0gsYiGtSdBa2B6fsXhTpVZDNfu1Qn3pk531e3q+nQ==
async-mutex@^0.5.0:
version "0.5.0"
resolved "https://registry.yarnpkg.com/async-mutex/-/async-mutex-0.5.0.tgz#353c69a0b9e75250971a64ac203b0ebfddd75482"
integrity sha512-1A94B18jkJ3DYq284ohPxoXbfTA5HsQ7/Mf4DEhcyLx3Bz27Rh59iScbB6EPiP+B+joue6YCxcMXSbFC1tZKwA==
dependencies:
tslib "^2.4.0"
async-retry@1.3.3:
version "1.3.3"
resolved "https://registry.yarnpkg.com/async-retry/-/async-retry-1.3.3.tgz#0e7f36c04d8478e7a58bdbed80cedf977785f280"