mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Bump async to 3.2.2 (#7618)
[all] Upgrade async package to 3.2.2 - [web] Fix usages of async library - [project-history] Fix usage of async library - [third-party-references] Fix usage of async library - [track-changes] Fix usage of async library Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: June Kelly <june.kelly@overleaf.com> GitOrigin-RevId: 90cf132f13da53b2bd6690ee3cdf4d6c8563ecd2
This commit is contained in:
committed by
Copybot
co-authored by
June Kelly
parent
2dce428d89
commit
d55f4dfafa
@@ -591,11 +591,13 @@ module.exports = UpdatesManager = {
|
||||
}
|
||||
// repeatedly get updates and pass them through the summariser to get an final output with user info
|
||||
return async.whilst(
|
||||
() =>
|
||||
cb =>
|
||||
// console.log "checking iterator.done", iterator.done()
|
||||
summarizedUpdates.length < options.min_count &&
|
||||
!iterator.done(),
|
||||
|
||||
cb(
|
||||
null,
|
||||
summarizedUpdates.length < options.min_count &&
|
||||
!iterator.done()
|
||||
),
|
||||
cb =>
|
||||
iterator.next(function (err, partialUpdates) {
|
||||
if (err != null) {
|
||||
@@ -651,7 +653,7 @@ module.exports = UpdatesManager = {
|
||||
const accumulatedUserIds = new Set()
|
||||
|
||||
async.whilst(
|
||||
() => !iterator.done(),
|
||||
cb => cb(null, !iterator.done()),
|
||||
|
||||
cb =>
|
||||
iterator.next((err, updatesFromASinglePack) => {
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"@overleaf/o-error": "^3.4.0",
|
||||
"@overleaf/redis-wrapper": "^2.0.0",
|
||||
"@overleaf/settings": "^3.0.0",
|
||||
"async": "^2.6.3",
|
||||
"async": "^3.2.2",
|
||||
"aws-sdk": "^2.643.0",
|
||||
"body-parser": "^1.19.0",
|
||||
"bson": "^1.1.5",
|
||||
|
||||
Reference in New Issue
Block a user