Aktualizacja p-limit z 6.x do 7.x
Porównanie publicznego API p-limit 6.2.0 i 7.3.3, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 0 |
| Zmienione sygnatury | 4 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 0 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 1 |
| Nowe eksporty | 0 |
Usunięte eksporty
Nie wykryto.
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
p-limit · Options | { readonly concurrency: number; } | { readonly concurrency: number; readonly rejectOnClear?: boolean | undefined; } |
p-limit · default | (concurrency: number): LimitFunction | (concurrency: number | Options): LimitFunction |
p-limit · LimitFunction | { <Arguments extends unknown[], ReturnType>(function_: (...arguments_: Arguments) => ReturnType | PromiseLike<ReturnType>, ...arguments_: Arguments): Promise<ReturnType>; readonly activeCount: number; readonly pendingCount: number; concurrency: number; clearQueue: () => void; } | { <Arguments extends unknown[], ReturnType>(function_: (...arguments_: Arguments) => ReturnType | PromiseLike<ReturnType>, ...arguments_: Arguments): Promise<ReturnType>; readonly activeCount: number; readonly pendingCount: number; concurrency: number; clearQueue: () => void; map: <Input, ReturnType>(iterable: Iterable<Input>, mapperFunction: (input: Input, index: number) => ReturnType | PromiseLike<ReturnType>) => Promise<ReturnType[]>; } |
p-limit · limitFunction | <Arguments extends unknown[], ReturnType>(function_: (...arguments_: Arguments) => ReturnType | PromiseLike<ReturnType>, option: Options): (...arguments_: Arguments) => Promise<ReturnType> | <Arguments extends unknown[], ReturnType>(function_: (...arguments_: Arguments) => PromiseLike<ReturnType>, options: Options): ((...arguments_: Arguments) => Promise<ReturnType>) & Pick<LimitFunction, "clearQueue"> |
Usunięte składowe klas lub interfejsów
Nie wykryto.
Zmienione składowe klas lub interfejsów
Nie wykryto.
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
| Przed | Po | |
|---|---|---|
engines.node | >=18 | >=20 |
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji p-limit z 6 do 7?
Między p-limit 6.2.0 a 7.3.3 Vigia znalazła 0 usuniętych eksportów, 4 zmienionych sygnatur i 0 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w p-limit 7?
0 eksportów lub składowych oznaczono w p-limit 7.3.3 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/p-limit/upgrade?from=6.2.0&to=7.3.3