Vigia

Оновлення undici-types з 7.x до 8.x

Порівняння публічного API undici-types 7.30.0 і 8.11.2, обчислене автоматично за їхніми типами TypeScript. Змінена сигнатура — можлива несумісна зміна, а не гарантія.

Підсумок

Видалені шляхи імпорту1
Видалені експорти0
Змінені сигнатури3
Видалені члени класів або інтерфейсів0
Змінені члени класів або інтерфейсів5
Нові застарівання0
Зміни вимог (engines, peer-залежності)0
Нові експорти2

Видалені шляхи імпорту

Видалені шляхи імпорту
undici-types/socks5-proxy-agent

Видалені експорти

Не виявлено.

Змінені сигнатури

exportБулоСтало
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 · UndiciHeadersstring[] | Record<string, string | string[]> | IncomingHttpHeaders | Iterable<[string, string | string[] | undefined]> | nullstring[] | OutgoingHttpHeaders | Iterable<[string, string | string[] | undefined]> | null

Видалені члени класів або інтерфейсів

Не виявлено.

Змінені члени класів або інтерфейсів

memberБулоСтало
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

Нові застарівання

Не виявлено.

Зміни вимог (engines, peer-залежності)

Не виявлено.

Нові експорти (2)
importexportkind
undici-typesDispatcher1Wrapperclass
undici-types/headerOutgoingHttpHeaderstype

Поширені запитання

Які несумісні зміни під час оновлення undici-types з 7 до 8?

Між undici-types 7.30.0 і 8.11.2 Vigia знайшла видалених експортів: 0, змінених сигнатур: 3, видалених або змінених членів класів та інтерфейсів: 5.

Що застаріло в undici-types 8?

У undici-types 8.11.2 новими застарілими позначено експортів або членів: 0.

Для агентів

GET https://vigia.coredls.cloud/v1/packages/npm/undici-types/upgrade?from=7.30.0&to=8.11.2