ترقية undici-types من 7.x إلى 8.x
مقارنة الواجهة العامة لـ 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 · UndiciHeaders | string[] | Record<string, string | string[]> | IncomingHttpHeaders | Iterable<[string, string | string[] | undefined]> | null | string[] | 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)
| import | export | kind |
|---|---|---|
undici-types | Dispatcher1Wrapper | class |
undici-types/header | OutgoingHttpHeaders | type |
الأسئلة الشائعة
ما التغييرات غير المتوافقة عند ترقية undici-types من 7 إلى 8؟
بين undici-types 7.30.0 و8.11.2 وجد Vigia عدد 0 من الصادرات المحذوفة، و3 من التوقيعات المعدّلة، و5 من أعضاء الأصناف أو الواجهات المحذوفة أو المعدّلة.
ما الذي أصبح موقوفًا في undici-types 8؟
عُلِّم 0 من الصادرات أو الأعضاء حديثًا على أنها موقوفة في undici-types 8.11.2.
للوكلاء
GET https://vigia.coredls.cloud/v1/packages/npm/undici-types/upgrade?from=7.30.0&to=8.11.2