Aktualizacja ansi-escapes z 6.x do 7.x
Porównanie publicznego API ansi-escapes 6.2.1 i 7.3.0, 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 | 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 | 39 |
Usunięte eksporty
Nie wykryto.
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
ansi-escapes · default | { cursorTo(x: number, y?: number | undefined): string; cursorMove(x: number, y?: number | undefined): string; cursorUp(count?: number | undefined): string; cursorDown(count?: number | undefined): string; cursorForward(count?: number | undefined): string; cursorBackward(count?: number | undefined): string; cursorLeft: string; cursorSavePosition: string; cursorRestorePosition: string; cursorGetPosition: string; cursorNextLine: string; cursorPrevLine: string; cursorHide: string; cursorShow: string; eraseLines(count: number): string; eraseEndLine: string; eraseStartLine: string; eraseLine: string;… | namespace |
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 | >=14.16 | >=18 |
Nowe eksporty (39)
| import | export | kind |
|---|---|---|
ansi-escapes | beep | variable |
ansi-escapes | link | function |
ansi-escapes | iTerm | variable |
ansi-escapes | image | function |
ansi-escapes | ConEmu | variable |
ansi-escapes | setCwd | function |
ansi-escapes | eraseUp | variable |
ansi-escapes | cursorTo | function |
ansi-escapes | cursorUp | function |
ansi-escapes | scrollUp | variable |
ansi-escapes | Primitive | type |
ansi-escapes | eraseDown | variable |
ansi-escapes | eraseLine | variable |
ansi-escapes | cursorDown | function |
ansi-escapes | cursorHide | variable |
ansi-escapes | cursorLeft | variable |
ansi-escapes | cursorMove | function |
ansi-escapes | cursorShow | variable |
ansi-escapes | eraseLines | function |
ansi-escapes | scrollDown | variable |
ansi-escapes | clearScreen | variable |
ansi-escapes | eraseScreen | variable |
ansi-escapes | LiteralUnion | type |
ansi-escapes | eraseEndLine | variable |
ansi-escapes | clearTerminal | variable |
ansi-escapes | clearViewport | variable |
ansi-escapes | cursorForward | function |
ansi-escapes | cursorBackward | function |
ansi-escapes | cursorNextLine | variable |
ansi-escapes | cursorPrevLine | variable |
ansi-escapes | eraseStartLine | variable |
ansi-escapes | cursorGetPosition | variable |
ansi-escapes | cursorSavePosition | variable |
ansi-escapes | synchronizedOutput | function |
ansi-escapes | cursorRestorePosition | variable |
ansi-escapes | endSynchronizedOutput | variable |
ansi-escapes | exitAlternativeScreen | variable |
ansi-escapes | enterAlternativeScreen | variable |
ansi-escapes | beginSynchronizedOutput | variable |
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji ansi-escapes z 6 do 7?
Między ansi-escapes 6.2.1 a 7.3.0 Vigia znalazła 0 usuniętych eksportów, 1 zmienionych sygnatur i 0 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w ansi-escapes 7?
0 eksportów lub składowych oznaczono w ansi-escapes 7.3.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/ansi-escapes/upgrade?from=6.2.1&to=7.3.0