Aktualizacja undici-types z 7.x do 8.x
Porównanie publicznego API undici-types 7.30.1 i 8.12.4, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 1 |
|---|---|
| Usunięte eksporty | 0 |
| Zmienione sygnatury | 3 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 5 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 0 |
| Nowe eksporty | 2 |
Usunięte ścieżki importu
| Usunięte ścieżki importu |
|---|
undici-types/socks5-proxy-agent |
Usunięte eksporty
Nie wykryto.
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
undici-types · deleteCookie | (headers: Headers, name: string, attributes?: { name?: string | undefined; domain?: string | undefined; } | undefined): void | (headers: Headers, name: string, attributes?: { path?: string | undefined; domain?: string | undefined; } | undefined): void |
undici-types/cookies · deleteCookie | (headers: Headers, name: string, attributes?: { name?: string | undefined; domain?: string | undefined; } | undefined): void | (headers: Headers, name: string, attributes?: { path?: string | undefined; domain?: string | undefined; } | undefined): void |
undici-types/dispatcher · UndiciHeaders | string[] | Record<string, string | string[]> | IncomingHttpHeaders | Iterable<[string, string | string[] | undefined]> | null | string[] | OutgoingHttpHeaders | Iterable<[string, string | string[] | undefined]> | null |
Usunięte składowe klas lub interfejsów
Nie wykryto.
Zmienione składowe klas lub interfejsów
| member | Przed | Po |
|---|---|---|
Client.connect | (options: ClientConnectOptions): Promise<ConnectData<null>> | (options: ClientConnectOptions, callback: (err: Error | null, data: ConnectData<null>) => void): void | <TOpaque = null>(options: ClientConnectOptions<TOpaque>): Promise<ConnectData<TOpaque>> | <TOpaque = null>(options: ClientConnectOptions<TOpaque>, callback: (err: Error | null, data: ConnectData<TOpaque>) => void): void |
MockClient.connect | (options: ClientConnectOptions): Promise<ConnectData<null>> | (options: ClientConnectOptions, callback: (err: Error | null, data: ConnectData<null>) => void): void | <TOpaque = null>(options: ClientConnectOptions<TOpaque>): Promise<ConnectData<TOpaque>> | <TOpaque = null>(options: ClientConnectOptions<TOpaque>, callback: (err: Error | null, data: ConnectData<TOpaque>) => void): void |
Client.connect | (options: ClientConnectOptions): Promise<ConnectData<null>> | (options: ClientConnectOptions, callback: (err: Error | null, data: ConnectData<null>) => void): void | <TOpaque = null>(options: ClientConnectOptions<TOpaque>): Promise<ConnectData<TOpaque>> | <TOpaque = null>(options: ClientConnectOptions<TOpaque>, callback: (err: Error | null, data: ConnectData<TOpaque>) => void): void |
default.connect | (options: ClientConnectOptions): Promise<ConnectData<null>> | (options: ClientConnectOptions, callback: (err: Error | null, data: ConnectData<null>) => void): void | <TOpaque = null>(options: ClientConnectOptions<TOpaque>): Promise<ConnectData<TOpaque>> | <TOpaque = null>(options: ClientConnectOptions<TOpaque>, callback: (err: Error | null, data: ConnectData<TOpaque>) => void): void |
default.connect | (options: ClientConnectOptions): Promise<ConnectData<null>> | (options: ClientConnectOptions, callback: (err: Error | null, data: ConnectData<null>) => void): void | <TOpaque = null>(options: ClientConnectOptions<TOpaque>): Promise<ConnectData<TOpaque>> | <TOpaque = null>(options: ClientConnectOptions<TOpaque>, callback: (err: Error | null, data: ConnectData<TOpaque>) => void): void |
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
Nie wykryto.
Nowe eksporty (2)
| import | export | kind |
|---|---|---|
undici-types | Dispatcher1Wrapper | class |
undici-types/header | OutgoingHttpHeaders | type |
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 undici-types z 7 do 8?
Między undici-types 7.30.1 a 8.12.4 Vigia znalazła 0 usuniętych eksportów, 3 zmienionych sygnatur i 5 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w undici-types 8?
0 eksportów lub składowych oznaczono w undici-types 8.12.4 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/undici-types/upgrade?from=7.30.1&to=8.12.4