Vigia

Upgrading undici-types from 7.x to 8.x

Comparison of the public API of undici-types 7.30.0 and 8.11.2, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.

Summary

Removed import paths1
Removed exports0
Changed signatures3
Removed class or interface members0
Changed class or interface members5
Newly deprecated0
Requirement changes (engines, peer dependencies)0
New exports2

Removed import paths

Removed import paths
undici-types/socks5-proxy-agent

Removed exports

None detected.

Changed signatures

exportBeforeAfter
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

Removed class or interface members

None detected.

Changed class or interface members

memberBeforeAfter
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

Newly deprecated

None detected.

Requirement changes (engines, peer dependencies)

None detected.

New exports (2)
importexportkind
undici-typesDispatcher1Wrapperclass
undici-types/headerOutgoingHttpHeaderstype

Frequently asked questions

What are the breaking changes when upgrading undici-types from 7 to 8?

Between undici-types 7.30.0 and 8.11.2, Vigia found 0 removed exports, 3 changed signatures and 5 removed or changed class or interface members.

What became deprecated in undici-types 8?

0 exports or members are newly marked as deprecated in undici-types 8.11.2.

For agents

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