Packages

async

3.2.6 · 19 Aug 2024MIT149.5M / weekRepositoryHomepagenpmAtom feed

Your version

86 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 3.x · latest line
  2. 3.2.6

    19 Aug 2024
    • Security

      Fix ReDoS vulnerability in autoInject

  3. 3.2.5

    3 Nov 2023
    • Ensure Error objects such as AggregateError are propagated without modification

  4. 3.2.4

    7 Jun 2022
    • Fix a bug in priorityQueue where it didn't wait for the result.

    • Fix a bug where unshiftAsync was included in priorityQueue.

  5. 3.2.3

    10 Jan 2022
    • Fix bugs in comment parsing in autoInject. (#1767, #1780)

  6. 3.2.2

    28 Oct 2021
    • Security

      Fix potential prototype pollution exploit

  7. 3.2.1

    5 Aug 2021
    • Use queueMicrotask if available to the environment

    • Minor perf improvement in priorityQueue

    • More examples in documentation

  8. 3.2.0

    24 Feb 2020
    • Removed

      Remove built-in browserify configuration

    • Fix a bug in Safari related to overwriting func.name

    • Varios doc fixes (#1688, #1703, #1704)

  9. 3.1.1

    24 Jan 2020
    • Allow redefining name property on wrapped functions.

  10. 3.1.0

    23 Jun 2019
    • 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.

    • Promises returned from q.push and q.unshift when a callback is not passed now resolve even if an error ocurred.

    • Fixed a parsing bug in autoInject with complicated function bodies

  11. 3.0.1

    26 May 2019
    • Fixed a regression where arrays passed to queue and cargo would be completely flattened.

    • Clarified Async's browser support

  12. 3.0.0

    20 May 2019
    • Breaking

      Most Async methods return a Promise when the final callback is omitted, making them await-able!

    • Breaking

      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)

    • Breaking

      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)

  13. 2.x
  14. 2.6.2 – 2.6.43 releases without a noteShow each
  15. 2.6.1

    21 May 2018
    • Updated lodash to prevent npm audit warnings. (#1532, #1533)

    • Made async-es more optimized for webpack users

    • Fixed a stack overflow with large collections and a synchronous iterator

  16. 2.6.0

    7 Nov 2017
    • Added missing aliases for many methods. Previously, you could not (e.g.) require('async/find') or use async.anyLimit.

    • Improved queue performance. (#1448, #1454)

    • Add missing sourcemap (#1452, #1453)

  17. 2.5.0

    25 Jun 2017
    • Added concatLimit, the Limit equivalent of concat (#1426, #1430)

    • concat improvements: it now preserves order, handles falsy values and the iteratee callback takes a variable number of arguments (#1437, #1436)

    • Fixed an issue in queue where there was a size discrepancy between workersList().length and running() (#1428, #1429)

  18. 2.4.1

    22 May 2017
    • Fixed a bug preventing functions wrapped with timeout() from being re-used. (#1418, #1419)

  19. 2.4.0

    29 Apr 2017
    • Added tryEach, for running async functions in parallel, where you only expect one to succeed. (#1365, #687)

    • Improved performance, most notably in parallel and waterfall

    • Added queue.remove(), for removing items in a queue (#1397, #1391)

  20. 2.3.0

    2 Apr 2017
    • Added support for ES2017 async functions. Wherever you can pass a Node-style/CPS function that uses a callback, you can also pass an async function. Previously, you had to wrap async functions with asyncify. The caveat is that it will only work if async functions are supported natively in your environment, transpiled implementations can't be detected. (#1386, #1390)

  21. 2.2.0

    25 Mar 2017
    • Added groupBy, and the Series/Limit equivalents, analogous to _.groupBy

    • Fixed transform bug when callback was not passed

  22. 2.1.5

    19 Feb 2017
    • Fix auto bug when function names collided with Array.prototype

    • Improve some error messages

    • Avoid stack overflow case in queue

  23. 2.1.4

    22 Nov 2016
  24. 2.1.2

    16 Oct 2016
    • Fixed a stackoverflow bug with detect, some, every on large inputs (#1293).

  25. 2.1.1

    12 Oct 2016
  26. 2.1.0

    12 Oct 2016
    • retry and retryable now support an optional errorFilter function that determines if the task should retry on the error (#1256, #1261)

    • Optimized array iteration in race, cargo, queue, and priorityQueue

  27. 2.0.1

    22 Jul 2016
    • Significantly optimized all iteration based collection methods such as each, map, filter, etc (#1245, #1246, #1247).

  28. 2.0.0

    13 Jul 2016
    • Breaking

      Calling a callback more than once is considered an error, and an error will be thrown. This had an explicit breaking change in waterfall. If you were relying on this behavior, you should more accurately represent your control flow as an event emitter or stream. (#814, #815, #1048, #1050)

    • Breaking

      auto task functions now always take the callback as the last argument. If a task has dependencies, the results object will be passed as the first argument. To migrate old task functions, wrap them with _.flip (#1036, #1042)

    • Breaking

      Internal setImmediate calls have been refactored away. This may make existing flows vulnerable to stack overflows if you use many synchronous functions in series. Use ensureAsync to work around this. (#696, #704, #1049, #1050)

  29. 1.x
  30. 1.5.2

    8 Jan 2016
    • Allow using "constructor" as an argument in memoize

    • Give a better error messsage when auto dependency checking fails

    • Various doc updates (#936, #956, #979, #1002)

  31. 1.5.1

    2 Jan 2016
    • Fix issue with pause in queue with concurrency enabled

    • while and until now pass the final result to callback

    • auto will properly handle concurrency when there is no callback

  32. 1.5.0

    26 Oct 2015
    • Added transform, analogous to _.transform

    • map now returns an object when an object is passed in, rather than array with non-numeric keys. map will begin always returning an array with numeric indexes in the next major release.

    • auto now accepts an optional concurrency argument to limit the number o. running tasks

  33. 1.4.2

    9 Aug 2015
    • Ensure coverage files don't get published on npm

  34. 1.4.1

    7 Aug 2015
    • Add in overlooked detectLimit method

    • Removed unnecessary files from npm releases

    • Removed usage of a reserved word to prevent :boom: in older environments

  35. 1.4.0

    20 Jul 2015
    • asyncify now supports promises

    • Added Limit versions of filter and reject

    • Add Limit versions of detect, some and every (#828, #829)

  36. 1.3.0

    29 Jun 2015
    • Added constant

    • Added asyncify/wrapSync for making sync functions work with callbacks. (#671, #806)

    • Added during and doDuring, which are like whilst with an async truth test.

  37. 1.2.1

    8 Jun 2015
    • Small regression with synchronous iterator behavior in eachSeries with a 1-element array. Before 1.1.0, eachSeries's callback was called on the same tick, which this patch restores. In 2.0.0, it will be called on the next tick.

  38. 1.2.0

    2 Jun 2015
    • Added timesLimit

    • concurrency can be changed after initialization in queue by setting q.concurrency. The new concurrency will be reflected the next time a task is processed. (#747, #772)

    • Fixed a regression in each and family with empty arrays that have additional properties. (#775, #777)

  39. 1.1.1

    8 Jun 2015
    • Small regression with synchronous iterator behavior in eachSeries with a 1-element array. Before 1.1.0, eachSeries's callback was called on the same tick, which this patch restores. In 2.0.0, it will be called on the next tick.

  40. 1.1.0

    1 Jun 2015
    • cargo now supports all of the same methods and event callbacks as queue.

    • Added ensureAsync - A wrapper that ensures an async function calls its callback on a later tick.

    • Optimized map, eachOf, and waterfall families of functions

  41. 1.0.0

    20 May 2015
    • Start using a changelog!

    • Add forEachOf for iterating over Objects (or to iterate Arrays with indexes available) (#168 #704 #321)

    • Detect deadlocks in auto

  42. 0.9.x
  43. 0.9.0 – 0.9.22 releases without a noteShow each
  44. 0.8.x
  45. 0.8.0

    29 Apr 2014
  46. 0.7.x
  47. 0.7.0

    7 Apr 2014
  48. 0.6.x
  49. 0.6.0 – 0.6.23 releases without a noteShow each
  50. 0.5.x
  51. 0.5.0

    30 Mar 2014
  52. 0.4.x
  53. 0.4.0 – 0.4.12 releases without a noteShow each

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.