Skip to content

Commit 2c7c343

Browse files
chore(deps): bump p-queue from 8.1.0 to 9.0.0 (#152)
* chore(deps): bump p-queue from 8.1.0 to 9.0.0 Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 8.1.0 to 9.0.0. - [Release notes](https://github.com/sindresorhus/p-queue/releases) - [Commits](sindresorhus/p-queue@v8.1.0...v9.0.0) --- updated-dependencies: - dependency-name: p-queue dependency-version: 9.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Remove throwOnTimeout from queued adapter methods Removed 'throwOnTimeout' option from queue methods. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marcelo Shima <[email protected]>
1 parent d912460 commit 2c7c343

File tree

3 files changed

+70
-10
lines changed

3 files changed

+70
-10
lines changed

package-lock.json

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

workspaces/adapter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"inquirer": "^12.0.0",
4646
"log-symbols": "^7.0.0",
4747
"ora": "^9.0.0",
48-
"p-queue": "^8.0.1",
48+
"p-queue": "^9.0.0",
4949
"text-table": "^0.2.0"
5050
},
5151
"devDependencies": {

workspaces/adapter/src/queued-adapter.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ export class QueuedAdapter implements QueuedAdapterApi {
111111
async prompt<A extends PromptAnswers = PromptAnswers>(questions: PromptQuestions<A>, initialAnswers?: Partial<A>): Promise<A> {
112112
return this.#queue.add(async () => this.actualAdapter.prompt(questions, initialAnswers), {
113113
priority: PROMPT_PRIORITY + this.delta,
114-
throwOnTimeout: true,
115114
signal: this.signal,
116115
});
117116
}
@@ -128,7 +127,6 @@ export class QueuedAdapter implements QueuedAdapterApi {
128127
async queue<TaskResultType>(function_: Task<TaskResultType>): Promise<TaskResultType> {
129128
return this.#queue.add(() => function_(this.actualAdapter), {
130129
priority: BLOCKING_PRIORITY + this.delta,
131-
throwOnTimeout: true,
132130
signal: this.signal,
133131
});
134132
}
@@ -139,7 +137,7 @@ export class QueuedAdapter implements QueuedAdapterApi {
139137
* @returns
140138
*/
141139
async queueLog<TaskResultType>(function_: Task<TaskResultType>): Promise<TaskResultType> {
142-
return this.#queue.add(() => function_(this.actualAdapter), { priority: LOG_PRIORITY + this.delta, throwOnTimeout: true });
140+
return this.#queue.add(() => function_(this.actualAdapter), { priority: LOG_PRIORITY + this.delta });
143141
}
144142

145143
/**

0 commit comments

Comments
 (0)