Vigia

Оновлення ansi-styles з 6.x до 7.x

Порівняння публічного API ansi-styles 6.2.3 і 7.0.0, обчислене автоматично за їхніми типами TypeScript. Змінена сигнатура — можлива несумісна зміна, а не гарантія.

Підсумок

Видалені шляхи імпорту0
Видалені експорти0
Змінені сигнатури2
Видалені члени класів або інтерфейсів0
Змінені члени класів або інтерфейсів0
Нові застарівання0
Зміни вимог (engines, peer-залежності)1
Нові експорти3

Видалені експорти

Не виявлено.

Змінені сигнатури

exportБулоСтало
ansi-styles · default{ readonly modifier: Modifier; readonly color: ColorBase & ForegroundColor; readonly bgColor: ColorBase & BackgroundColor; readonly codes: ReadonlyMap<number, number>; } & ForegroundColor & BackgroundColor & Modifier & ConvertColor{ readonly modifier: Modifier; readonly color: ColorBase & ForegroundColor; readonly bgColor: ColorBase & BackgroundColor; readonly underlineColor: ColorBase & UnderlineColor; readonly codes: ReadonlyMap<number, number>; } & ForegroundColor & BackgroundColor & UnderlineColor & Modifier & ConvertColor
ansi-styles · Modifier{ readonly reset: CSPair; readonly bold: CSPair; readonly dim: CSPair; readonly italic: CSPair; readonly underline: CSPair; readonly overline: CSPair; readonly inverse: CSPair; readonly hidden: CSPair; readonly strikethrough: CSPair; }{ readonly reset: CSPair; readonly bold: CSPair; readonly dim: CSPair; readonly italic: CSPair; readonly underline: CSPair; readonly underlineDouble: CSPair; readonly underlineCurly: CSPair; readonly underlineDotted: CSPair; readonly underlineDashed: CSPair; readonly overline: CSPair; readonly inverse: CSPair; readonly hidden: CSPair; readonly strikethrough: CSPair; }

Видалені члени класів або інтерфейсів

Не виявлено.

Змінені члени класів або інтерфейсів

Не виявлено.

Нові застарівання

Не виявлено.

Зміни вимог (engines, peer-залежності)

БулоСтало
engines.node>=12>=22
Нові експорти (3)
importexportkind
ansi-stylesUnderlineColortype
ansi-stylesUnderlineColorNametype
ansi-stylesunderlineColorNamesvariable

Поширені запитання

Які несумісні зміни під час оновлення ansi-styles з 6 до 7?

Між ansi-styles 6.2.3 і 7.0.0 Vigia знайшла видалених експортів: 0, змінених сигнатур: 2, видалених або змінених членів класів та інтерфейсів: 0.

Що застаріло в ansi-styles 7?

У ansi-styles 7.0.0 новими застарілими позначено експортів або членів: 0.

Для агентів

GET https://vigia.coredls.cloud/v1/packages/npm/ansi-styles/upgrade?from=6.2.3&to=7.0.0