Оновлення ansi-escapes з 6.x до 7.x
Порівняння публічного API ansi-escapes 6.2.1 і 7.3.0, обчислене автоматично за їхніми типами TypeScript. Змінена сигнатура — можлива несумісна зміна, а не гарантія.
Підсумок
| Видалені шляхи імпорту | 0 |
|---|---|
| Видалені експорти | 0 |
| Змінені сигнатури | 1 |
| Видалені члени класів або інтерфейсів | 0 |
| Змінені члени класів або інтерфейсів | 0 |
| Нові застарівання | 0 |
| Зміни вимог (engines, peer-залежності) | 1 |
| Нові експорти | 39 |
Видалені експорти
Не виявлено.
Змінені сигнатури
| export | Було | Стало |
|---|---|---|
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 |
Видалені члени класів або інтерфейсів
Не виявлено.
Змінені члени класів або інтерфейсів
Не виявлено.
Нові застарівання
Не виявлено.
Зміни вимог (engines, peer-залежності)
| Було | Стало | |
|---|---|---|
engines.node | >=14.16 | >=18 |
Нові експорти (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 |
Поширені запитання
Які несумісні зміни під час оновлення ansi-escapes з 6 до 7?
Між ansi-escapes 6.2.1 і 7.3.0 Vigia знайшла видалених експортів: 0, змінених сигнатур: 1, видалених або змінених членів класів та інтерфейсів: 0.
Що застаріло в ansi-escapes 7?
У ansi-escapes 7.3.0 новими застарілими позначено експортів або членів: 0.
Для агентів
GET https://vigia.coredls.cloud/v1/packages/npm/ansi-escapes/upgrade?from=6.2.1&to=7.3.0