ترقية ansi-styles من 6.x إلى 7.x
مقارنة الواجهة العامة لـ 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)
| 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؟
عُلِّم 0 من الصادرات أو الأعضاء حديثًا على أنها موقوفة في ansi-styles 7.0.0.
للوكلاء
GET https://vigia.coredls.cloud/v1/packages/npm/ansi-styles/upgrade?from=6.2.3&to=7.0.0