Vigia

Actualizar react-highlight-words de 0.x a 1.x

Comparación de la API pública de react-highlight-words 0.21.1 y 1.0.0, calculada automáticamente a partir de sus tipos TypeScript. Una firma modificada es un posible cambio incompatible, no una certeza.

Resumen

Rutas de importación eliminadas0
Exports eliminados1
Firmas modificadas4
Miembros de clases o interfaces eliminados0
Miembros de clases o interfaces modificados0
Nuevas deprecaciones0
Cambios de requisitos (engines, dependencias peer)1
Exports nuevos1

Exports eliminados

importexportkindAntes
react-highlight-wordsdefaultfunction({ activeClassName, activeIndex, activeStyle, autoEscape, caseSensitive, className, findChunks, highlightClassName, highlightStyle, highlightTag, sanitize, searchWords, textToHighlight, unhighlightClassName, unhighlightStyle, unhighlightTag, ...rest }: HighlighterProps): ReactElement

Firmas modificadas

exportAntesDespués
react-highlight-words · Chunk{ end: number; start: number; }FoundChunk
react-highlight-words · HighlighterPropsOmit<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; }

Miembros de clases o interfaces eliminados

No se detectaron.

Miembros de clases o interfaces modificados

No se detectaron.

Nuevas deprecaciones

No se detectaron.

Cambios de requisitos (engines, dependencias peer)

AntesDespués
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
Exports nuevos (1)
importexportkind
react-highlight-wordsFoundChunktype

Dale estos datos a tu agente de IA

Vigia es un servidor MCP gratuito: tu agente de programación verifica versiones, cambios incompatibles y vulnerabilidades antes de escribir código. Sin registro ni clave de API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Agregar a CursorAgregar a VS Code★ Estrella en GitHub

Cualquier otro cliente MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill para agentes (SKILL.md): le indica al agente cuándo usar Vigia · GitHub Action para pull requests

Preguntas frecuentes

¿Cuáles son los cambios incompatibles al actualizar react-highlight-words de 0 a 1?

Entre react-highlight-words 0.21.1 y 1.0.0, Vigia encontró 1 exports eliminados, 4 firmas modificadas y 0 miembros de clases o interfaces eliminados o modificados.

¿Qué quedó deprecado en react-highlight-words 1?

0 exports o miembros quedaron marcados como deprecados en react-highlight-words 1.0.0.

Para agentes

GET https://vigia.coredls.cloud/v1/packages/npm/react-highlight-words/upgrade?from=0.21.1&to=1.0.0