react-highlight-words을(를) 0.x에서 1.x로 업그레이드하기
react-highlight-words 0.21.1과 1.0.0의 공개 API를 TypeScript 타입에서 자동으로 비교한 결과입니다. 시그니처 변경은 호환성이 깨질 가능성이 있다는 뜻이며 확정은 아닙니다.
요약
| 삭제된 import 경로 | 0 |
|---|---|
| 삭제된 export | 1 |
| 변경된 시그니처 | 4 |
| 삭제된 클래스·인터페이스 멤버 | 0 |
| 변경된 클래스·인터페이스 멤버 | 0 |
| 새로 지원 중단됨 | 0 |
| 요구 사항 변경 (engines, peer 의존성) | 1 |
| 새 export | 1 |
삭제된 export
| import | export | kind | 이전 |
|---|---|---|---|
react-highlight-words | default | function | ({ activeClassName, activeIndex, activeStyle, autoEscape, caseSensitive, className, findChunks, highlightClassName, highlightStyle, highlightTag, sanitize, searchWords, textToHighlight, unhighlightClassName, unhighlightStyle, unhighlightTag, ...rest }: HighlighterProps): ReactElement |
변경된 시그니처
| export | 이전 | 이후 |
|---|---|---|
react-highlight-words · Chunk | { end: number; start: number; } | FoundChunk |
react-highlight-words · HighlighterProps | Omit<HTMLAttributes<HTMLSpanElement>, "children"> & { activeClassName?: string | undefined; activeIndex?: number | undefined; activeStyle?: any; autoEscape?: boolean | undefined; caseSensitive?: boolean | undefined; className?: string | undefined; findChunks?: ((options: FindChunksOptions) => Chunk[]) | undefined; highlightClassName?: string | Record<string, string> | undefined; highlightStyle?: any; highlightTag?: any; sanitize?: ((text: string) => string) | undefined; searchWords: (string | RegExp)[]; textToHighlight: string; unhighlightClassName?: string | undefined; unhighlightStyle?: any;… | Omit<HTMLAttributes<HTMLSpanElement>, "children"> & { activeClassName?: string | undefined; activeIndex?: number | undefined; activeStyle?: any; autoEscape?: boolean | undefined; caseSensitive?: boolean | undefined; className?: string | undefined; findChunks?: ((options: FindChunksOptions) => FoundChunk[]) | undefined; highlightClassName?: string | Record<string, string> | undefined; highlightStyle?: any; highlightTag?: any; sanitize?: ((text: string) => string) | undefined; searchWords: readonly (string | RegExp)[]; textToHighlight: string; unhighlightClassName?: string | undefined; unhighlig… |
react-highlight-words · FindChunksOptions | { autoEscape?: boolean | undefined; caseSensitive?: boolean | undefined; sanitize?: ((text: string) => string) | undefined; searchWords: (string | RegExp)[]; textToHighlight: string; } | FindChunksOptions |
react-highlight-words · HighlightTagProps | { children: string; className: string; highlightIndex: number; style: CSSProperties; } | { children: string; className: string; highlightIndex: number; searchIndex: number; style: CSSProperties; } |
삭제된 클래스·인터페이스 멤버
감지되지 않았습니다.
변경된 클래스·인터페이스 멤버
감지되지 않았습니다.
새로 지원 중단됨
감지되지 않았습니다.
요구 사항 변경 (engines, peer 의존성)
| 이전 | 이후 | |
|---|---|---|
peerDependencies.react | ^0.14.0 || ^15.0.0 || ^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0 || ^19.0.0-0 | ^16.3.0 || ^17.0.0-0 || ^18.0.0-0 || ^19.0.0-0 |
새 export (1)
| import | export | kind |
|---|---|---|
react-highlight-words | FoundChunk | type |
이 데이터를 AI 에이전트에 제공하세요
Vigia는 무료 MCP 서버입니다. 코딩 에이전트가 코드를 작성하기 전에 버전, 호환성을 깨는 변경, 취약점을 확인합니다. 가입도 API 키도 필요 없습니다.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Cursor에 추가VS Code에 추가★ GitHub에서 스타 누르기
그 밖의 MCP 클라이언트
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }에이전트 스킬(SKILL.md): 에이전트에게 Vigia를 언제 쓸지 알려 줍니다 · 풀 리퀘스트용 GitHub Action
자주 묻는 질문
react-highlight-words을(를) 0에서 1(으)로 업그레이드할 때 호환성이 깨지는 변경은 무엇인가요?
react-highlight-words 0.21.1과 1.0.0 사이에서 Vigia는 삭제된 export 1개, 변경된 시그니처 4개, 삭제되거나 변경된 클래스·인터페이스 멤버 0개를 찾았습니다.
react-highlight-words 1에서 지원 중단된 것은 무엇인가요?
react-highlight-words 1.0.0에서 export 또는 멤버 0개가 새로 지원 중단으로 표시되었습니다.
에이전트용
GET https://vigia.coredls.cloud/v1/packages/npm/react-highlight-words/upgrade?from=0.21.1&to=1.0.0