Skip to content

Update dependency async to v3#498

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/async-3.x
Open

Update dependency async to v3#498
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/async-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Aug 15, 2025

This PR contains the following updates:

Package Change Age Confidence
async (source) ^2.6.4^3.0.0 age confidence

Release Notes

caolan/async (async)

v3.2.6

Compare Source

v3.2.5

Compare Source

  • Ensure Error objects such as AggregateError are propagated without modification (#​1920)

v3.2.4

Compare Source

  • Fix a bug in priorityQueue where it didn't wait for the result. (#​1725)
  • Fix a bug where unshiftAsync was included in priorityQueue. (#​1790)

v3.2.3

Compare Source

v3.2.2

Compare Source

  • Fix potential prototype pollution exploit

v3.2.1

Compare Source

v3.2.0

Compare Source

v3.1.1

Compare Source

  • Allow redefining name property on wrapped functions.

v3.1.0

Compare Source

  • Added q.pushAsync and q.unshiftAsync, analagous to q.push and q.unshift, except they always do not accept a callback, and reject if processing the task errors. (#​1659)
  • Promises returned from q.push and q.unshift when a callback is not passed now resolve even if an error ocurred. (#​1659)
  • Fixed a parsing bug in autoInject with complicated function bodies (#​1663)
  • Added ES6+ configuration for Browserify bundlers (#​1653)
  • Various doc fixes (#​1664, #​1658, #​1665, #​1652)

v3.0.1

Compare Source

Bug fixes

  • Fixed a regression where arrays passed to queue and cargo would be completely flattened. (#​1645)
  • Clarified Async's browser support (#​1643)

v3.0.0

Compare Source

The async/await release!

There are a lot of new features and subtle breaking changes in this major version, but the biggest feature is that most Async methods return a Promise if you omit the callback, meaning you can await them from within an async function.

const results = await async.mapLimit(urls, 5, async url => {
    const resp = await fetch(url)
    return resp.body
})

Breaking Changes

  • Most Async methods return a Promise when the final callback is omitted, making them await-able! (#​1572)
  • We are now making heavy use of ES2015 features, this means we have dropped out-of-the-box support for Node 4 and earlier, and many old versions of browsers. (#​1541, #​1553)
  • In queue, priorityQueue, cargo and cargoQueue, the "event"-style methods, like q.drain and q.saturated are now methods that register a callback, rather than properties you assign a callback to. They are now of the form q.drain(callback). If you do not pass a callback a Promise will be returned for the next occurrence of the event, making them await-able, e.g. await q.drain(). (#​1586, #​1641)
  • Calling callback(false) will cancel an async method, preventing further iteration and callback calls. This is useful for preventing memory leaks when you break out of an async flow by calling an outer callback. (#​1064, #​1542)
  • during and doDuring have been removed, and instead whilst, doWhilst, until and doUntil now have asynchronous test functions. (#​850, #​1557)
  • limits of less than 1 now cause an error to be thrown in queues and collection methods. (#​1249, #​1552)
  • memoize no longer memoizes errors (#​1465, #​1466)
  • applyEach/applyEachSeries have a simpler interface, to make them more easily type-able. It always returns a function that takes in a single callback argument. If that callback is omitted, a promise is returned, making it awaitable. (#​1228, #​1640)

New Features

  • Async generators are now supported in all the Collection methods. (#​1560)
  • Added cargoQueue, a queue with both concurrency and payload size parameters. (#​1567)
  • Queue objects returned from queue now have a Symbol.iterator method, meaning they can be iterated over to inspect the current list of items in the queue. (#​1459, #​1556)
  • A ESM-flavored async.mjs is included in the async package. This is described in the package.json "module" field, meaning it should be automatically used by Webpack and other compatible bundlers.

Bug fixes

Other



Configuration

📅 Schedule: Branch creation - Between 04:00 PM and 07:59 PM, Monday through Friday ( * 16-19 * * 1-5 ) in timezone Europe/London, Automerge - Between 02:00 PM and 06:59 PM, Monday through Thursday ( * 14-18 * * 1-4 ) in timezone Europe/London.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/async-3.x branch from ec84e0c to 3d636e4 Compare August 19, 2025 12:42
@renovate renovate bot force-pushed the renovate/async-3.x branch from 3d636e4 to 3805d21 Compare August 22, 2025 16:39
@renovate renovate bot force-pushed the renovate/async-3.x branch from 3805d21 to 2d73b48 Compare August 27, 2025 19:03
@renovate renovate bot force-pushed the renovate/async-3.x branch from 2d73b48 to d42990c Compare August 31, 2025 12:05
@renovate renovate bot force-pushed the renovate/async-3.x branch from d42990c to 0eef33c Compare September 1, 2025 17:43
@renovate renovate bot force-pushed the renovate/async-3.x branch from 0eef33c to 235b09b Compare September 8, 2025 19:33
@renovate renovate bot force-pushed the renovate/async-3.x branch from 235b09b to 41c1e14 Compare September 25, 2025 17:27
@renovate renovate bot force-pushed the renovate/async-3.x branch 2 times, most recently from d760b26 to 0ddac4b Compare October 20, 2025 13:37
@hmcts-jenkins-a-to-c hmcts-jenkins-a-to-c bot requested a deployment to preview October 20, 2025 13:46 Abandoned
@renovate renovate bot force-pushed the renovate/async-3.x branch from 0ddac4b to 7b205d8 Compare October 21, 2025 19:14
@hmcts-jenkins-a-to-c hmcts-jenkins-a-to-c bot requested a deployment to preview October 22, 2025 05:51 Abandoned
@renovate renovate bot force-pushed the renovate/async-3.x branch from 7b205d8 to dc0be35 Compare November 10, 2025 22:36
@hmcts-jenkins-a-to-c hmcts-jenkins-a-to-c bot requested a deployment to preview November 11, 2025 07:08 Abandoned
@renovate renovate bot force-pushed the renovate/async-3.x branch 2 times, most recently from 3615900 to 3d71e6e Compare November 18, 2025 04:29
@hmcts-jenkins-a-to-c hmcts-jenkins-a-to-c bot requested a deployment to preview November 18, 2025 04:38 Abandoned
@renovate renovate bot force-pushed the renovate/async-3.x branch from 3d71e6e to e8e9a5e Compare November 18, 2025 23:32
@renovate renovate bot force-pushed the renovate/async-3.x branch 3 times, most recently from 1734f1c to d43d98c Compare January 28, 2026 13:58
@renovate renovate bot force-pushed the renovate/async-3.x branch 3 times, most recently from 2eb4f6f to 3a46242 Compare February 2, 2026 16:10
@renovate renovate bot force-pushed the renovate/async-3.x branch from 3a46242 to 11fe681 Compare February 3, 2026 10:44
@renovate renovate bot force-pushed the renovate/async-3.x branch from 11fe681 to beb39b8 Compare February 3, 2026 13:29
@renovate renovate bot force-pushed the renovate/async-3.x branch from beb39b8 to 8c671aa Compare February 3, 2026 18:00
@renovate renovate bot force-pushed the renovate/async-3.x branch from 8c671aa to 2c73ef2 Compare February 3, 2026 18:41
@renovate renovate bot force-pushed the renovate/async-3.x branch from 2c73ef2 to 723fc39 Compare February 3, 2026 19:21
@renovate renovate bot force-pushed the renovate/async-3.x branch from 723fc39 to 106c586 Compare February 3, 2026 20:09
@renovate renovate bot force-pushed the renovate/async-3.x branch 2 times, most recently from a1d151b to 7319c5e Compare February 4, 2026 17:11
@renovate renovate bot force-pushed the renovate/async-3.x branch from 7319c5e to 4d3bafd Compare February 4, 2026 17:33
@renovate renovate bot force-pushed the renovate/async-3.x branch from 4d3bafd to 107fedd Compare February 4, 2026 17:55
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Feb 4, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: eslint-config-airbnb-base@14.2.1
npm error Found: eslint@9.39.3
npm error node_modules/eslint
npm error   dev eslint@"9.39.3" from the root project
npm error   peer eslint@"^6.0.0 || ^7.0.0 || >=8.0.0" from @eslint-community/eslint-utils@4.9.1
npm error   node_modules/@eslint-community/eslint-utils
npm error     @eslint-community/eslint-utils@"^4.8.0" from eslint@9.39.3
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^5.16.0 || ^6.8.0 || ^7.2.0" from eslint-config-airbnb-base@14.2.1
npm error node_modules/eslint-config-airbnb-base
npm error   dev eslint-config-airbnb-base@"^14.0.0" from the root project
npm error
npm error Conflicting peer dependency: eslint@7.32.0
npm error node_modules/eslint
npm error   peer eslint@"^5.16.0 || ^6.8.0 || ^7.2.0" from eslint-config-airbnb-base@14.2.1
npm error   node_modules/eslint-config-airbnb-base
npm error     dev eslint-config-airbnb-base@"^14.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-03-28T02_56_43_364Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-03-28T02_56_43_364Z-debug-0.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants