hexojs / hexo-migrator-wordpress

WordPress migrator for Hexo.
http://hexo.io/docs/migration.html
MIT License
47 stars 29 forks source link

Update async requirement from ^0.9.0 to ^3.0.0 #44

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Updates the requirements on async to permit the latest version.

Changelog *Sourced from [async's changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md).* > # 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://github-redirect.dependabot.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://github-redirect.dependabot.com/caolan/async/issues/1541), [#1553](https://github-redirect.dependabot.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://github-redirect.dependabot.com/caolan/async/issues/1586), [#1641](https://github-redirect.dependabot.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://github-redirect.dependabot.com/caolan/async/issues/1064), [#1542](https://github-redirect.dependabot.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://github-redirect.dependabot.com/caolan/async/issues/850), [#1557](https://github-redirect.dependabot.com/caolan/async/issues/1557)) > - `limits` of less than 1 now cause an error to be thrown in queues and collection methods. ([#1249](https://github-redirect.dependabot.com/caolan/async/issues/1249), [#1552](https://github-redirect.dependabot.com/caolan/async/issues/1552)) > - `memoize` no longer memoizes errors ([#1465](https://github-redirect.dependabot.com/caolan/async/issues/1465), [#1466](https://github-redirect.dependabot.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://github-redirect.dependabot.com/caolan/async/issues/1228), [#1640](https://github-redirect.dependabot.com/caolan/async/issues/1640)) > > ## New Features > - Async generators are now supported in all the Collection methods. ([#1560](https://github-redirect.dependabot.com/caolan/async/issues/1560)) > - Added `cargoQueue`, a queue with both `concurrency` and `payload` size parameters. ([#1567](https://github-redirect.dependabot.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://github-redirect.dependabot.com/caolan/async/issues/1459), [#1556](https://github-redirect.dependabot.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://github-redirect.dependabot.com/caolan/async/issues/1568), [#1569](https://github-redirect.dependabot.com/caolan/async/issues/1569)) > > ## Other > - Removed Lodash as a dependency ([#1283](https://github-redirect.dependabot.com/caolan/async/issues/1283), [#1528](https://github-redirect.dependabot.com/caolan/async/issues/1528)) > - Miscellaneous docs fixes ([#1393](https://github-redirect.dependabot.com/caolan/async/issues/1393), [#1501](https://github-redirect.dependabot.com/caolan/async/issues/1501), [#1540](https://github-redirect.dependabot.com/caolan/async/issues/1540), [#1543](https://github-redirect.dependabot.com/caolan/async/issues/1543), [#1558](https://github-redirect.dependabot.com/caolan/async/issues/1558), [#1563](https://github-redirect.dependabot.com/caolan/async/issues/1563), [#1564](https://github-redirect.dependabot.com/caolan/async/issues/1564), [#1579](https://github-redirect.dependabot.com/caolan/async/issues/1579), [#1581](https://github-redirect.dependabot.com/caolan/async/issues/1581)) > - Miscellaneous test fixes ([#1538](https://github-redirect.dependabot.com/caolan/async/issues/1538)) > > ------- > > # v2.6.1 > - Updated lodash to prevent `npm audit` warnings. ([#1532](https://github-redirect.dependabot.com/caolan/async/issues/1532), [#1533](https://github-redirect.dependabot.com/caolan/async/issues/1533)) > - Made `async-es` more optimized for webpack users ([#1517](https://github-redirect.dependabot.com/caolan/async/issues/1517)) > - Fixed a stack overflow with large collections and a synchronous iterator ([#1514](https://github-redirect.dependabot.com/caolan/async/issues/1514)) > - Various small fixes/chores ([#1505](https://github-redirect.dependabot.com/caolan/async/issues/1505), [#1511](https://github-redirect.dependabot.com/caolan/async/issues/1511), [#1527](https://github-redirect.dependabot.com/caolan/async/issues/1527), [#1530](https://github-redirect.dependabot.com/caolan/async/issues/1530)) > > # v2.6.0 > - Added missing aliases for many methods. Previously, you could not (e.g.) `require('async/find')` or use `async.anyLimit`. ([#1483](https://github-redirect.dependabot.com/caolan/async/issues/1483)) > - Improved `queue` performance. ([#1448](https://github-redirect.dependabot.com/caolan/async/issues/1448), [#1454](https://github-redirect.dependabot.com/caolan/async/issues/1454)) > - Add missing sourcemap ([#1452](https://github-redirect.dependabot.com/caolan/async/issues/1452), [#1453](https://github-redirect.dependabot.com/caolan/async/issues/1453)) > - Various doc updates ([#1448](https://github-redirect.dependabot.com/caolan/async/issues/1448), [#1471](https://github-redirect.dependabot.com/caolan/async/issues/1471), [#1483](https://github-redirect.dependabot.com/caolan/async/issues/1483)) > ... (truncated)
Commits - [`72de392`](https://github.com/caolan/async/commit/72de392b6dffc466419ae7cab419d3b120d2459d) Version 3.0.0 - [`bd88130`](https://github.com/caolan/async/commit/bd881300c0f69b32a0113c3c9b955db87cdc8c8f) Update built files - [`3fa33dd`](https://github.com/caolan/async/commit/3fa33dd70c786d98dc203ae8a0d4d434d418dbd6) move async.mjs to dist - [`aa1c798`](https://github.com/caolan/async/commit/aa1c7988c5f9d4368cbcb0a1547c2a36380b889c) update changelog - [`e19cee4`](https://github.com/caolan/async/commit/e19cee4ca8a5d7feb2e3cfeb1d10f028643786f1) feat: Add .mjs bundle and pkg.main to CJS build ([#1642](https://github-redirect.dependabot.com/caolan/async/issues/1642)) - [`902b8d0`](https://github.com/caolan/async/commit/902b8d0c82308c94b827bad7f597f516bd2b50c6) update changelog - [`e044664`](https://github.com/caolan/async/commit/e0446642d70817f4353b4ed12a3c86e5d769cf01) BREAKING CHANGE: awaitable queues ([#1641](https://github-redirect.dependabot.com/caolan/async/issues/1641)) - [`1d458d9`](https://github.com/caolan/async/commit/1d458d980a8bfee8c941061dca364a33cf15fac0) update changelog - [`667e717`](https://github.com/caolan/async/commit/667e71760e7f2dd558e868796bd6e6008a3bac16) BREAKING CHANGE: remove partial application feature of applyEach ([#1640](https://github-redirect.dependabot.com/caolan/async/issues/1640)) - [`4330d53`](https://github.com/caolan/async/commit/4330d536c106592139fa82062494c9dba0da1fdb) chore: Add Azure Pipelines for CI (Windows, Linux, Mac) ([#1630](https://github-redirect.dependabot.com/caolan/async/issues/1630)), Fix async fu... - Additional commits viewable in [compare view](https://github.com/caolan/async/compare/0.9.0...v3.0.0)


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.
dependabot-preview[bot] commented 5 years ago

Superseded by #45.