Aktualizacja undici-types z 7.x do 8.x
Porównanie publicznego API undici-types 7.30.0 i 8.11.2, 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 |
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji undici-types z 7 do 8?
Między undici-types 7.30.0 a 8.11.2 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.11.2 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/undici-types/upgrade?from=7.30.0&to=8.11.2