Aktualizacja balanced-match z 3.x do 4.x
Porównanie publicznego API balanced-match 3.0.1 i 4.0.4, 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 | 2 |
| Zmienione sygnatury | 1 |
| 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 | 1 |
Usunięte eksporty
| import | export | kind | Przed |
|---|---|---|---|
balanced-match | Output | interface | interface |
balanced-match | default | function | (a: string | RegExp, b: string | RegExp, str: string): Output | undefined |
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
balanced-match · range | (a: string | RegExp, b: string | RegExp, str: string): [number, number] | undefined | (a: string, b: string, str: string): [number, number] | undefined |
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 | >= 16 | 18 || 20 || >=22 |
Nowe eksporty (1)
| import | export | kind |
|---|---|---|
balanced-match | balanced | variable |
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji balanced-match z 3 do 4?
Między balanced-match 3.0.1 a 4.0.4 Vigia znalazła 2 usuniętych eksportów, 1 zmienionych sygnatur i 0 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w balanced-match 4?
0 eksportów lub składowych oznaczono w balanced-match 4.0.4 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/balanced-match/upgrade?from=3.0.1&to=4.0.4