Skip to content

Commit b719350

Browse files
convex-renovate-runner[bot]Convex, Inc.
authored and
Convex, Inc.
committed
Update dependency modern-async to v2 (#33962)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [modern-async](https://nicolas-van.github.io/modern-async) ([source](https://redirect.github.com/nicolas-van/modern-async)) | dependencies | major | [`^1.1.4` -> `^2.0.0`](https://renovatebot.com/diffs/npm/modern-async/1.1.5/2.0.4) | --- ### Release Notes <details> <summary>nicolas-van/modern-async (modern-async)</summary> ### [`v2.0.4`](https://redirect.github.com/nicolas-van/modern-async/releases/tag/2.0.4) [Compare Source](https://redirect.github.com/nicolas-van/modern-async/compare/2.0.3...2.0.4) Republication to npm. ### [`v2.0.3`](https://redirect.github.com/nicolas-van/modern-async/releases/tag/2.0.3) [Compare Source](https://redirect.github.com/nicolas-van/modern-async/compare/2.0.2...2.0.3) Re-publication on npm. ### [`v2.0.2`](https://redirect.github.com/nicolas-van/modern-async/blob/HEAD/CHANGELOG.md#202) [Compare Source](https://redirect.github.com/nicolas-van/modern-async/compare/2.0.1...2.0.2) - Fixes [#&#8203;21](https://redirect.github.com/nicolas-van/modern-async/issues/21), regarding the absence of call to [`AsyncGenerator.return()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator/return) in `asyncGeneratorMap` when iteration is interrupted. #### 2.0.1 - Fixes [#&#8203;19](https://redirect.github.com/nicolas-van/modern-async/issues/19) #### 2.0.0 - Major re-design of the API. This re-design was made with the following goals: - Avoiding function naming conflict with popular libraries (notably lodash) - Simplifying the API by removing duplicate functions - Proposing safer default parameters regarding concurrency handling See the [migration guide](https://redirect.github.com/nicolas-van/modern-async/blob/master/version-1-to-2-guide.md) to know how to migrate to version 2.X. - Added `reflectAsyncStatus()` function. #### 1.1.4 - Fixed typescript declarations. #### 1.1.3 - Fixed Typescript definitions for `reduce()` and `reduceRight()`. - Minor adjustments to the documentation. #### 1.1.1 - Fixed issue where the typescript definition file was not exported to npm #### 1.1.0 - Changed most of the functions that took `Iterable` as argument to make them also take an `AsyncIterable`. - Changed most of the functions that used a `concurrency` argument to allow them to take a `Queue` instead. - Added `ordered` argument to `find`, `findIndex`, `findLimit` and `findIndexLimit`. - Added new functions `filterGenerator`, `mapGenerator`, `asyncIterableWrap`, `queueMicrotask`, and `toArray`. - Fixed `delay` and `delayCancellable` inconsistencies due to `setTimeout` usage. Now they use corejs' `setTimeout` implementation. - Added Typescript declarations. #### 1.0.4 - Fixed bug in `forEachLimit` #### 1.0.3 - Performance improvements. Notably the `Queue` class will now avoid calling the `delay()` function and will immediately trigger any pending task as soon as a task is finished. This change indirectly impacts most functions in this library as they internally use `Queue`. This change can produce minor behavior changes but is not considered a breaking change. - Improved tests. #### 1.0.2 - Altered UMD deployment to only support browsers that support async/await language feature. The reason is that bundling both regenerator-runtime and all the necessary shims is too complex. For older browsers it is easier to just process the lib with Babel then add regenerator-runtime and core-js. #### 1.0.1 - Fixed map, filter and forEach behavior in case of exception. Pending tasks were not cancelled in case of exception and the behavior in that case was not documented as opposed to other functions. #### 1.0.1 First version. ### [`v2.0.1`](https://redirect.github.com/nicolas-van/modern-async/blob/HEAD/CHANGELOG.md#201) [Compare Source](https://redirect.github.com/nicolas-van/modern-async/compare/2.0.0...2.0.1) - Fixes [#&#8203;19](https://redirect.github.com/nicolas-van/modern-async/issues/19) ### [`v2.0.0`](https://redirect.github.com/nicolas-van/modern-async/blob/HEAD/CHANGELOG.md#200) [Compare Source](https://redirect.github.com/nicolas-van/modern-async/compare/1.1.5...2.0.0) - Major re-design of the API. This re-design was made with the following goals: - Avoiding function naming conflict with popular libraries (notably lodash) - Simplifying the API by removing duplicate functions - Proposing safer default parameters regarding concurrency handling See the [migration guide](https://redirect.github.com/nicolas-van/modern-async/blob/master/version-1-to-2-guide.md) to know how to migrate to version 2.X. - Added `reflectAsyncStatus()` function. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on the first day of the month" in timezone America/Los_Angeles, 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). GitOrigin-RevId: fe746f959950401a02985f02f595bb8f0c09e4aa
1 parent abb2932 commit b719350

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

npm-packages/common/config/rush/pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm-packages/convex-ai-chat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"cheerio": "^1.0.0-rc.12",
4242
"langchain": "^0.3.0",
4343
"openai": "^4.6.0",
44-
"modern-async": "^1.1.4",
44+
"modern-async": "^2.0.0",
4545
"prettier": "3.5.1"
4646
},
4747
"peerDependencies": {

0 commit comments

Comments
 (0)