ansi-styles を 6.x から 7.x へアップグレード
ansi-styles 6.2.3 と 7.0.0 の公開 API を、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)
| import | export | kind |
|---|---|---|
ansi-styles | UnderlineColor | type |
ansi-styles | UnderlineColorName | type |
ansi-styles | underlineColorNames | variable |
よくある質問
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