Upgrading ansi-escapes from 6.x to 7.x
Comparison of the public API of ansi-escapes 6.2.1 and 7.3.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 0 |
| Changed signatures | 1 |
| Removed class or interface members | 0 |
| Changed class or interface members | 0 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 1 |
| New exports | 39 |
Removed exports
None detected.
Changed signatures
| export | Before | After |
|---|---|---|
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 |
Removed class or interface members
None detected.
Changed class or interface members
None detected.
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
engines.node | >=14.16 | >=18 |
New exports (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 |
Frequently asked questions
What are the breaking changes when upgrading ansi-escapes from 6 to 7?
Between ansi-escapes 6.2.1 and 7.3.0, Vigia found 0 removed exports, 1 changed signatures and 0 removed or changed class or interface members.
What became deprecated in ansi-escapes 7?
0 exports or members are newly marked as deprecated in ansi-escapes 7.3.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/ansi-escapes/upgrade?from=6.2.1&to=7.3.0