Vigia

Aktualizacja p-queue z 9.x do 10.x

Porównanie publicznego API p-queue 9.3.5 i 10.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.

Podsumowanie

Usunięte ścieżki importu0
Usunięte eksporty0
Zmienione sygnatury4
Usunięte składowe klas lub interfejsów0
Zmienione składowe klas lub interfejsów3
Nowo wycofane0
Zmiany wymagań (engines, zależności peer)1
Nowe eksporty2

Usunięte eksporty

Nie wykryto.

Zmienione sygnatury

exportPrzedPo
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 · TimeoutErroranyclass
p-queue · QueueAddOptions{ readonly priority?: number | undefined; id?: string | undefined; } & TaskOptions & TimeoutOptions{ readonly priority?: number | undefined; id?: string | undefined; timeout?: number | undefined; } & TaskOptions

Usunięte składowe klas lub interfejsów

Nie wykryto.

Zmienione składowe klas lub interfejsów

memberPrzedPo
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.runningTasksreadonly { 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; }[]

Nowo wycofane

Nie wykryto.

Zmiany wymagań (engines, zależności peer)

PrzedPo
engines.node>=20—
Nowe eksporty (2)
importexportkind
p-queueRunFunctiontype
p-queueTaskOptionstype

Przekaż te dane swojemu agentowi AI

Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie

Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów

Najczęściej zadawane pytania

Jakie są zmiany niekompatybilne przy aktualizacji p-queue z 9 do 10?

Między p-queue 9.3.5 a 10.0.0 Vigia znalazła 0 usuniętych eksportów, 4 zmienionych sygnatur i 3 usuniętych lub zmienionych składowych klas lub interfejsów.

Co zostało wycofane w p-queue 10?

0 eksportów lub składowych oznaczono w p-queue 10.0.0 jako wycofane.

Dla agentów

GET https://vigia.coredls.cloud/v1/packages/npm/p-queue/upgrade?from=9.3.5&to=10.0.0