Aktualizacja p-retry z 8.x do 9.x
Porównanie publicznego API p-retry 8.0.1 i 9.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 0 |
| Zmienione sygnatury | 2 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 1 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 0 |
| Nowe eksporty | 0 |
Usunięte eksporty
Nie wykryto.
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
p-retry · Options | { readonly onFailedAttempt?: ((context: RetryContext) => void | Promise<void>) | undefined; readonly shouldRetry?: ((context: RetryContext) => boolean | Promise<boolean>) | undefined; readonly shouldConsumeRetry?: ((context: RetryContext) => boolean | Promise<boolean>) | undefined; readonly retries?: number | undefined; readonly factor?: number | undefined; readonly minTimeout?: number | undefined; readonly maxTimeout?: number | undefined; readonly randomize?: boolean | undefined; readonly maxRetryTime?: number | undefined; readonly signal?: AbortSignal | undefined; readonly unref?: boolean | … | { readonly onFailedAttempt?: ((context: RetryContext) => void | Promise<void>) | undefined; readonly shouldRetry?: ((context: RetryContext) => boolean | Promise<boolean>) | undefined; readonly shouldConsumeRetry?: ((context: RetryContext) => boolean | void | Promise<boolean | void>) | undefined; readonly retries?: number | undefined; readonly factor?: number | undefined; readonly minTimeout?: number | undefined; readonly maxTimeout?: number | undefined; readonly randomize?: boolean | undefined; readonly maxRetryTime?: number | undefined; readonly signal?: AbortSignal | undefined; readonly unre… |
p-retry · makeRetriable | <Arguments extends readonly unknown[], Result>(function_: (...arguments_: Arguments) => Result | PromiseLike<Result>, options?: Options | undefined): (...arguments_: Arguments) => Promise<Result> | <Arguments extends readonly unknown[], Result, This = unknown>(function_: (this: This, ...arguments_: Arguments) => Result | PromiseLike<Result>, options?: Options | undefined): (this: This, ...arguments_: Arguments) => Promise<Result> |
Usunięte składowe klas lub interfejsów
Nie wykryto.
Zmienione składowe klas lub interfejsów
| member | Przed | Po |
|---|---|---|
AbortError.constructor | (message: string | Error): AbortError | (message?: string | Error | undefined): AbortError |
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
Nie wykryto.
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-retry z 8 do 9?
Między p-retry 8.0.1 a 9.0.0 Vigia znalazła 0 usuniętych eksportów, 2 zmienionych sygnatur i 1 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w p-retry 9?
0 eksportów lub składowych oznaczono w p-retry 9.0.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/p-retry/upgrade?from=8.0.1&to=9.0.0