-
Notifications
You must be signed in to change notification settings - Fork 6
Update dependency async to v3 #599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/async-3.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1fa9dc2 to
c7d3f7f
Compare
c7d3f7f to
b151e09
Compare
b151e09 to
ec431a5
Compare
ec431a5 to
cf07c25
Compare
cf07c25 to
2db6c32
Compare
2db6c32 to
e309a5b
Compare
c9fc9b9 to
c89e0ab
Compare
c89e0ab to
b4ef32e
Compare
b4ef32e to
76ab62a
Compare
76ab62a to
a3c0dfa
Compare
a3c0dfa to
eeb3831
Compare
eeb3831 to
dd40485
Compare
dd40485 to
2c0cd9d
Compare
2c0cd9d to
7298f59
Compare
7298f59 to
203755e
Compare
203755e to
89fda08
Compare
89fda08 to
2c826f0
Compare
2c826f0 to
05d3858
Compare
05d3858 to
ea63420
Compare
ea63420 to
ebff79b
Compare
ebff79b to
1248e76
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.6.4→^3.0.0Release Notes
caolan/async (async)
v3.2.6Compare Source
v3.2.5Compare Source
Errorobjects such asAggregateErrorare propagated without modification (#1920)v3.2.4Compare Source
priorityQueuewhere it didn't wait for the result. (#1725)unshiftAsyncwas included inpriorityQueue. (#1790)v3.2.3Compare Source
autoInject. (#1767, #1780)v3.2.2Compare Source
v3.2.1Compare Source
queueMicrotaskif available to the environment (#1761)priorityQueue(#1727)v3.2.0Compare Source
func.namev3.1.1Compare Source
nameproperty on wrapped functions.v3.1.0Compare Source
q.pushAsyncandq.unshiftAsync, analagous toq.pushandq.unshift, except they always do not accept a callback, and reject if processing the task errors. (#1659)q.pushandq.unshiftwhen a callback is not passed now resolve even if an error ocurred. (#1659)autoInjectwith complicated function bodies (#1663)v3.0.1Compare Source
Bug fixes
queueandcargowould be completely flattened. (#1645)v3.0.0Compare Source
The
async/awaitrelease!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
awaitthem from within anasyncfunction.Breaking Changes
await-able! (#1572)queue,priorityQueue,cargoandcargoQueue, the "event"-style methods, likeq.drainandq.saturatedare now methods that register a callback, rather than properties you assign a callback to. They are now of the formq.drain(callback). If you do not pass a callback a Promise will be returned for the next occurrence of the event, making themawait-able, e.g.await q.drain(). (#1586, #1641)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)duringanddoDuringhave been removed, and insteadwhilst,doWhilst,untilanddoUntilnow have asynchronoustestfunctions. (#850, #1557)limitsof less than 1 now cause an error to be thrown in queues and collection methods. (#1249, #1552)memoizeno longer memoizes errors (#1465, #1466)applyEach/applyEachSerieshave 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
cargoQueue, a queue with bothconcurrencyandpayloadsize parameters. (#1567)queuenow have aSymbol.iteratormethod, meaning they can be iterated over to inspect the current list of items in the queue. (#1459, #1556)async.mjsis included in theasyncpackage. This is described in thepackage.json"module"field, meaning it should be automatically used by Webpack and other compatible bundlers.Bug fixes
asyncify(#1568, #1569)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.
This PR was generated by Mend Renovate. View the repository job log.