p-queue을(를) 9.x에서 10.x로 업그레이드하기
p-queue 9.3.5과 10.0.0의 공개 API를 TypeScript 타입에서 자동으로 비교한 결과입니다. 시그니처 변경은 호환성이 깨질 가능성이 있다는 뜻이며 확정은 아닙니다.
요약
| 삭제된 import 경로 | 0 |
|---|---|
| 삭제된 export | 0 |
| 변경된 시그니처 | 4 |
| 삭제된 클래스·인터페이스 멤버 | 0 |
| 변경된 클래스·인터페이스 멤버 | 3 |
| 새로 지원 중단됨 | 0 |
| 요구 사항 변경 (engines, peer 의존성) | 1 |
| 새 export | 2 |
삭제된 export
감지되지 않았습니다.
변경된 시그니처
| export | 이전 | 이후 |
|---|---|---|
p-queue · Queue | { size: number; filter: (options: Readonly<Partial<Options>>) => Element[]; dequeue: () => Element | undefined; enqueue: (run: Element, options?: Partial<Options> | undefined) => void; setPriority: (id: string, priority: number) => void; remove?: ((id: string) => void) | undefined; } | { size: number; filter: (options: Readonly<Partial<Options>>) => Element[]; dequeue: () => Element | undefined; enqueue: (run: Element, options?: Partial<Options> | undefined) => void; setPriority: (id: string, priority: number) => void; remove: (id: string) => void; } |
p-queue · Options | { readonly concurrency?: number | undefined; readonly autoStart?: boolean | undefined; readonly queueClass?: (new () => QueueType) | undefined; readonly intervalCap?: number | undefined; readonly interval?: number | undefined; readonly carryoverIntervalCount?: boolean | undefined; readonly carryoverConcurrencyCount?: boolean | undefined; readonly strict?: boolean | undefined; } & TimeoutOptions | { readonly concurrency?: number | undefined; readonly autoStart?: boolean | undefined; readonly queueClass?: (new () => QueueType) | undefined; readonly intervalCap?: number | undefined; readonly interval?: number | undefined; readonly carryoverIntervalCount?: boolean | undefined; readonly strict?: boolean | undefined; } & TimeoutOptions |
p-queue · TimeoutError | any | class |
p-queue · QueueAddOptions | { readonly priority?: number | undefined; id?: string | undefined; } & TaskOptions & TimeoutOptions | { readonly priority?: number | undefined; id?: string | undefined; timeout?: number | undefined; } & TaskOptions |
삭제된 클래스·인터페이스 멤버
감지되지 않았습니다.
변경된 클래스·인터페이스 멤버
| member | 이전 | 이후 |
|---|---|---|
default.add | <TaskResultType>(function_: Task<TaskResultType>, options?: Partial<EnqueueOptionsType> | undefined): Promise<TaskResultType> | <TaskResultType>(function_: Task<TaskResultType>, options?: Partial<EnqueueOptionsType> | undefined): Promise<Awaited<TaskResultType>> |
default.addAll | <TaskResultsType>(functions: readonly Task<TaskResultsType>[], options?: Partial<EnqueueOptionsType> | undefined): Promise<TaskResultsType[]> | <const Tasks extends ReadonlyArray<Task<unknown>>>(functions: Tasks, options?: Partial<EnqueueOptionsType> | undefined): Promise<TaskResults<Tasks>> | <TaskResultsType>(functions: readonly Task<TaskResultsType>[], options?: Partial<EnqueueOptionsType> | undefined): Promise<Awaited<TaskResultsType>[]… |
default.runningTasks | readonly { readonly id?: string | undefined; readonly priority: number; readonly startTime: number; readonly timeout?: number | undefined; readonly timeoutRemaining?: number | undefined; }[] | readonly { readonly id: string; readonly priority: number; readonly startTime: number; readonly timeout: number | undefined; readonly timeoutRemaining: number | undefined; }[] |
새로 지원 중단됨
감지되지 않았습니다.
요구 사항 변경 (engines, peer 의존성)
| 이전 | 이후 | |
|---|---|---|
engines.node | >=20 | — |
새 export (2)
| import | export | kind |
|---|---|---|
p-queue | RunFunction | type |
p-queue | TaskOptions | type |
이 데이터를 AI 에이전트에 제공하세요
Vigia는 무료 MCP 서버입니다. 코딩 에이전트가 코드를 작성하기 전에 버전, 호환성을 깨는 변경, 취약점을 확인합니다. 가입도 API 키도 필요 없습니다.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Cursor에 추가VS Code에 추가★ GitHub에서 스타 누르기
그 밖의 MCP 클라이언트
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }에이전트 스킬(SKILL.md): 에이전트에게 Vigia를 언제 쓸지 알려 줍니다 · 풀 리퀘스트용 GitHub Action
자주 묻는 질문
p-queue을(를) 9에서 10(으)로 업그레이드할 때 호환성이 깨지는 변경은 무엇인가요?
p-queue 9.3.5과 10.0.0 사이에서 Vigia는 삭제된 export 0개, 변경된 시그니처 4개, 삭제되거나 변경된 클래스·인터페이스 멤버 3개를 찾았습니다.
p-queue 10에서 지원 중단된 것은 무엇인가요?
p-queue 10.0.0에서 export 또는 멤버 0개가 새로 지원 중단으로 표시되었습니다.
에이전트용
GET https://vigia.coredls.cloud/v1/packages/npm/p-queue/upgrade?from=9.3.5&to=10.0.0