garden / tree

A multiplayer file system
https://thefiletree.com
European Union Public License 1.2
70 stars 23 forks source link

Update dependency async to v3 - autoclosed #233

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 5 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
async (source) 2.0.1 -> 3.2.4 age adoption passing confidence

Release Notes

caolan/async ### [`v3.2.4`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v324) [Compare Source](https://togithub.com/caolan/async/compare/v3.2.3...v3.2.4) - Fix a bug in `priorityQueue` where it didn't wait for the result. ([#​1725](https://togithub.com/caolan/async/issues/1725)) - Fix a bug where `unshiftAsync` was included in `priorityQueue`. ([#​1790](https://togithub.com/caolan/async/issues/1790)) ### [`v3.2.3`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v323) [Compare Source](https://togithub.com/caolan/async/compare/v3.2.2...v3.2.3) - Fix bugs in comment parsing in `autoInject`. ([#​1767](https://togithub.com/caolan/async/issues/1767), [#​1780](https://togithub.com/caolan/async/issues/1780)) ### [`v3.2.2`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v322) [Compare Source](https://togithub.com/caolan/async/compare/v3.2.1...v3.2.2) - Fix potential prototype pollution exploit ### [`v3.2.1`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v321) [Compare Source](https://togithub.com/caolan/async/compare/v3.2.0...v3.2.1) - Use `queueMicrotask` if available to the environment ([#​1761](https://togithub.com/caolan/async/issues/1761)) - Minor perf improvement in `priorityQueue` ([#​1727](https://togithub.com/caolan/async/issues/1727)) - More examples in documentation ([#​1726](https://togithub.com/caolan/async/issues/1726)) - Various doc fixes ([#​1708](https://togithub.com/caolan/async/issues/1708), [#​1712](https://togithub.com/caolan/async/issues/1712), [#​1717](https://togithub.com/caolan/async/issues/1717), [#​1740](https://togithub.com/caolan/async/issues/1740), [#​1739](https://togithub.com/caolan/async/issues/1739), [#​1749](https://togithub.com/caolan/async/issues/1749), [#​1756](https://togithub.com/caolan/async/issues/1756)) - Improved test coverage ([#​1754](https://togithub.com/caolan/async/issues/1754)) ### [`v3.2.0`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v320) [Compare Source](https://togithub.com/caolan/async/compare/v3.1.1...v3.2.0) - Fix a bug in Safari related to overwriting `func.name` - Remove built-in browserify configuration ([#​1653](https://togithub.com/caolan/async/issues/1653)) - Varios doc fixes ([#​1688](https://togithub.com/caolan/async/issues/1688), [#​1703](https://togithub.com/caolan/async/issues/1703), [#​1704](https://togithub.com/caolan/async/issues/1704)) ### [`v3.1.1`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v311) [Compare Source](https://togithub.com/caolan/async/compare/v3.1.0...v3.1.1) - Allow redefining `name` property on wrapped functions. ### [`v3.1.0`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v310) [Compare Source](https://togithub.com/caolan/async/compare/v3.0.1...v3.1.0) - 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](https://togithub.com/caolan/async/issues/1659)) - Promises returned from `q.push` and `q.unshift` when a callback is not passed now resolve even if an error ocurred. ([#​1659](https://togithub.com/caolan/async/issues/1659)) - Fixed a parsing bug in `autoInject` with complicated function bodies ([#​1663](https://togithub.com/caolan/async/issues/1663)) - Added ES6+ configuration for Browserify bundlers ([#​1653](https://togithub.com/caolan/async/issues/1653)) - Various doc fixes ([#​1664](https://togithub.com/caolan/async/issues/1664), [#​1658](https://togithub.com/caolan/async/issues/1658), [#​1665](https://togithub.com/caolan/async/issues/1665), [#​1652](https://togithub.com/caolan/async/issues/1652)) ### [`v3.0.1`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v301) [Compare Source](https://togithub.com/caolan/async/compare/v3.0.0...v3.0.1) #### Bug fixes - Fixed a regression where arrays passed to `queue` and `cargo` would be completely flattened. ([#​1645](https://togithub.com/caolan/async/issues/1645)) - Clarified Async's browser support ([#​1643](https://togithub.com/caolan/async/issues/1643)) ### [`v3.0.0`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v300) [Compare Source](https://togithub.com/caolan/async/compare/v2.6.4...v3.0.0) 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. ```js 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](https://togithub.com/caolan/async/issues/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](https://togithub.com/caolan/async/issues/1541), [#​1553](https://togithub.com/caolan/async/issues/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](https://togithub.com/caolan/async/issues/1586), [#​1641](https://togithub.com/caolan/async/issues/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](https://togithub.com/caolan/async/issues/1064), [#​1542](https://togithub.com/caolan/async/issues/1542)) - `during` and `doDuring` have been removed, and instead `whilst`, `doWhilst`, `until` and `doUntil` now have asynchronous `test` functions. ([#​850](https://togithub.com/caolan/async/issues/850), [#​1557](https://togithub.com/caolan/async/issues/1557)) - `limits` of less than 1 now cause an error to be thrown in queues and collection methods. ([#​1249](https://togithub.com/caolan/async/issues/1249), [#​1552](https://togithub.com/caolan/async/issues/1552)) - `memoize` no longer memoizes errors ([#​1465](https://togithub.com/caolan/async/issues/1465), [#​1466](https://togithub.com/caolan/async/issues/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](https://togithub.com/caolan/async/issues/1228), [#​1640](https://togithub.com/caolan/async/issues/1640)) #### New Features - Async generators are now supported in all the Collection methods. ([#​1560](https://togithub.com/caolan/async/issues/1560)) - Added `cargoQueue`, a queue with both `concurrency` and `payload` size parameters. ([#​1567](https://togithub.com/caolan/async/issues/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](https://togithub.com/caolan/async/issues/1459), [#​1556](https://togithub.com/caolan/async/issues/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 - Better handle arbitrary error objects in `asyncify` ([#​1568](https://togithub.com/caolan/async/issues/1568), [#​1569](https://togithub.com/caolan/async/issues/1569)) #### Other - Removed Lodash as a dependency ([#​1283](https://togithub.com/caolan/async/issues/1283), [#​1528](https://togithub.com/caolan/async/issues/1528)) - Miscellaneous docs fixes ([#​1393](https://togithub.com/caolan/async/issues/1393), [#​1501](https://togithub.com/caolan/async/issues/1501), [#​1540](https://togithub.com/caolan/async/issues/1540), [#​1543](https://togithub.com/caolan/async/issues/1543), [#​1558](https://togithub.com/caolan/async/issues/1558), [#​1563](https://togithub.com/caolan/async/issues/1563), [#​1564](https://togithub.com/caolan/async/issues/1564), [#​1579](https://togithub.com/caolan/async/issues/1579), [#​1581](https://togithub.com/caolan/async/issues/1581)) - Miscellaneous test fixes ([#​1538](https://togithub.com/caolan/async/issues/1538)) *** ### [`v2.6.4`](https://togithub.com/caolan/async/compare/v2.6.3...v2.6.4) [Compare Source](https://togithub.com/caolan/async/compare/v2.6.3...v2.6.4) ### [`v2.6.3`](https://togithub.com/caolan/async/compare/v2.6.2...v2.6.3) [Compare Source](https://togithub.com/caolan/async/compare/v2.6.2...v2.6.3) ### [`v2.6.2`](https://togithub.com/caolan/async/compare/v2.6.1...v2.6.2) [Compare Source](https://togithub.com/caolan/async/compare/v2.6.1...v2.6.2) ### [`v2.6.1`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v261) [Compare Source](https://togithub.com/caolan/async/compare/v2.6.0...v2.6.1) - Updated lodash to prevent `npm audit` warnings. ([#​1532](https://togithub.com/caolan/async/issues/1532), [#​1533](https://togithub.com/caolan/async/issues/1533)) - Made `async-es` more optimized for webpack users ([#​1517](https://togithub.com/caolan/async/issues/1517)) - Fixed a stack overflow with large collections and a synchronous iterator ([#​1514](https://togithub.com/caolan/async/issues/1514)) - Various small fixes/chores ([#​1505](https://togithub.com/caolan/async/issues/1505), [#​1511](https://togithub.com/caolan/async/issues/1511), [#​1527](https://togithub.com/caolan/async/issues/1527), [#​1530](https://togithub.com/caolan/async/issues/1530)) ### [`v2.6.0`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v260) [Compare Source](https://togithub.com/caolan/async/compare/v2.5.0...v2.6.0) - Added missing aliases for many methods. Previously, you could not (e.g.) `require('async/find')` or use `async.anyLimit`. ([#​1483](https://togithub.com/caolan/async/issues/1483)) - Improved `queue` performance. ([#​1448](https://togithub.com/caolan/async/issues/1448), [#​1454](https://togithub.com/caolan/async/issues/1454)) - Add missing sourcemap ([#​1452](https://togithub.com/caolan/async/issues/1452), [#​1453](https://togithub.com/caolan/async/issues/1453)) - Various doc updates ([#​1448](https://togithub.com/caolan/async/issues/1448), [#​1471](https://togithub.com/caolan/async/issues/1471), [#​1483](https://togithub.com/caolan/async/issues/1483)) ### [`v2.5.0`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v250) [Compare Source](https://togithub.com/caolan/async/compare/v2.4.1...v2.5.0) - Added `concatLimit`, the `Limit` equivalent of [`concat`](https://caolan.github.io/async/docs.html#concat) ([#​1426](https://togithub.com/caolan/async/issues/1426), [#​1430](https://togithub.com/caolan/async/pull/1430)) - `concat` improvements: it now preserves order, handles falsy values and the `iteratee` callback takes a variable number of arguments ([#​1437](https://togithub.com/caolan/async/issues/1437), [#​1436](https://togithub.com/caolan/async/pull/1436)) - Fixed an issue in `queue` where there was a size discrepancy between `workersList().length` and `running()` ([#​1428](https://togithub.com/caolan/async/issues/1428), [#​1429](https://togithub.com/caolan/async/pull/1429)) - Various doc fixes ([#​1422](https://togithub.com/caolan/async/issues/1422), [#​1424](https://togithub.com/caolan/async/pull/1424)) ### [`v2.4.1`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v241) [Compare Source](https://togithub.com/caolan/async/compare/v2.4.0...v2.4.1) - Fixed a bug preventing functions wrapped with `timeout()` from being re-used. ([#​1418](https://togithub.com/caolan/async/issues/1418), [#​1419](https://togithub.com/caolan/async/issues/1419)) ### [`v2.4.0`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v240) [Compare Source](https://togithub.com/caolan/async/compare/v2.3.0...v2.4.0) - Added `tryEach`, for running async functions in parallel, where you only expect one to succeed. ([#​1365](https://togithub.com/caolan/async/issues/1365), [#​687](https://togithub.com/caolan/async/issues/687)) - Improved performance, most notably in `parallel` and `waterfall` ([#​1395](https://togithub.com/caolan/async/issues/1395)) - Added `queue.remove()`, for removing items in a `queue` ([#​1397](https://togithub.com/caolan/async/issues/1397), [#​1391](https://togithub.com/caolan/async/issues/1391)) - Fixed using `eval`, preventing Async from running in pages with Content Security Policy ([#​1404](https://togithub.com/caolan/async/issues/1404), [#​1403](https://togithub.com/caolan/async/issues/1403)) - Fixed errors thrown in an `asyncify`ed function's callback being caught by the underlying Promise ([#​1408](https://togithub.com/caolan/async/issues/1408)) - Fixed timing of `queue.empty()` ([#​1367](https://togithub.com/caolan/async/issues/1367)) - Various doc fixes ([#​1314](https://togithub.com/caolan/async/issues/1314), [#​1394](https://togithub.com/caolan/async/issues/1394), [#​1412](https://togithub.com/caolan/async/issues/1412)) ### [`v2.3.0`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v230) [Compare Source](https://togithub.com/caolan/async/compare/v2.2.0...v2.3.0) - 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](https://togithub.com/caolan/async/issues/1386), [#​1390](https://togithub.com/caolan/async/issues/1390)) - Small doc fix ([#​1392](https://togithub.com/caolan/async/issues/1392)) ### [`v2.2.0`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v220) [Compare Source](https://togithub.com/caolan/async/compare/v2.1.5...v2.2.0) - Added `groupBy`, and the `Series`/`Limit` equivalents, analogous to [`_.groupBy`](http://lodash.com/docs#groupBy) ([#​1364](https://togithub.com/caolan/async/issues/1364)) - Fixed `transform` bug when `callback` was not passed ([#​1381](https://togithub.com/caolan/async/issues/1381)) - Added note about `reflect` to `parallel` docs ([#​1385](https://togithub.com/caolan/async/issues/1385)) ### [`v2.1.5`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v215) [Compare Source](https://togithub.com/caolan/async/compare/v2.1.4...v2.1.5) - Fix `auto` bug when function names collided with Array.prototype ([#​1358](https://togithub.com/caolan/async/issues/1358)) - Improve some error messages ([#​1349](https://togithub.com/caolan/async/issues/1349)) - Avoid stack overflow case in queue - Fixed an issue in `some`, `every` and `find` where processing would continue after the result was determined. - Cleanup implementations of `some`, `every` and `find` ### [`v2.1.4`](https://togithub.com/caolan/async/compare/v2.1.2...v2.1.4) [Compare Source](https://togithub.com/caolan/async/compare/v2.1.2...v2.1.4) ### [`v2.1.2`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v212) [Compare Source](https://togithub.com/caolan/async/compare/v2.1.1...v2.1.2) - Fixed a stackoverflow bug with `detect`, `some`, `every` on large inputs ([#​1293](https://togithub.com/caolan/async/issues/1293)). ### [`v2.1.1`](https://togithub.com/caolan/async/compare/v2.1.0...v2.1.1) [Compare Source](https://togithub.com/caolan/async/compare/v2.1.0...v2.1.1) ### [`v2.1.0`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v210) [Compare Source](https://togithub.com/caolan/async/compare/v2.0.1...v2.1.0) - `retry` and `retryable` now support an optional `errorFilter` function that determines if the `task` should retry on the error ([#​1256](https://togithub.com/caolan/async/issues/1256), [#​1261](https://togithub.com/caolan/async/issues/1261)) - Optimized array iteration in `race`, `cargo`, `queue`, and `priorityQueue` ([#​1253](https://togithub.com/caolan/async/issues/1253)) - Added alias documentation to doc site ([#​1251](https://togithub.com/caolan/async/issues/1251), [#​1254](https://togithub.com/caolan/async/issues/1254)) - Added [BootStrap scrollspy](http://getbootstrap.com/javascript/#scrollspy) to docs to highlight in the sidebar the current method being viewed ([#​1289](https://togithub.com/caolan/async/issues/1289), [#​1300](https://togithub.com/caolan/async/issues/1300)) - Various minor doc fixes ([#​1263](https://togithub.com/caolan/async/issues/1263), [#​1264](https://togithub.com/caolan/async/issues/1264), [#​1271](https://togithub.com/caolan/async/issues/1271), [#​1278](https://togithub.com/caolan/async/issues/1278), [#​1280](https://togithub.com/caolan/async/issues/1280), [#​1282](https://togithub.com/caolan/async/issues/1282), [#​1302](https://togithub.com/caolan/async/issues/1302))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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



This PR has been generated by Mend Renovate. View repository job log here.