Vigia

ansi-styles을(를) 6.x에서 7.x로 업그레이드하기

ansi-styles 6.2.3과 7.0.0의 공개 API를 TypeScript 타입에서 자동으로 비교한 결과입니다. 시그니처 변경은 호환성이 깨질 가능성이 있다는 뜻이며 확정은 아닙니다.

요약

삭제된 import 경로0
삭제된 export0
변경된 시그니처2
삭제된 클래스·인터페이스 멤버0
변경된 클래스·인터페이스 멤버0
새로 지원 중단됨0
요구 사항 변경 (engines, peer 의존성)1
새 export3

삭제된 export

감지되지 않았습니다.

변경된 시그니처

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
새 export (3)
importexportkind
ansi-stylesUnderlineColortype
ansi-stylesUnderlineColorNametype
ansi-stylesunderlineColorNamesvariable

자주 묻는 질문

ansi-styles을(를) 6에서 7(으)로 업그레이드할 때 호환성이 깨지는 변경은 무엇인가요?

ansi-styles 6.2.3과 7.0.0 사이에서 Vigia는 삭제된 export 0개, 변경된 시그니처 2개, 삭제되거나 변경된 클래스·인터페이스 멤버 0개를 찾았습니다.

ansi-styles 7에서 지원 중단된 것은 무엇인가요?

ansi-styles 7.0.0에서 export 또는 멤버 0개가 새로 지원 중단으로 표시되었습니다.

에이전트용

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