Vigia

Upgrading highlight-words-core from 1.x to 2.x

Comparison of the public API of highlight-words-core 1.2.3 and 2.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.

Summary

Removed import paths0
Removed exports2
Changed signatures2
Removed class or interface members0
Changed class or interface members0
Newly deprecated0
Requirement changes (engines, peer dependencies)0
New exports7

Removed exports

importexportkindBefore
highlight-words-coreFindAllArgsinterfaceinterface
highlight-words-coreFindChunksArgsinterfaceinterface

Changed signatures

exportBeforeAfter
highlight-words-core · ChunkinterfaceHighlightedChunk | NonHighlightedChunk
highlight-words-core · findAll(args: FindAllArgs): Chunk[]({ autoEscape, caseSensitive, findChunks, sanitize, searchWords, textToHighlight }: FindChunksOptions & { findChunks?: ((options: Required<FindChunksOptions>) => FoundChunk[]) | undefined; }): Chunk[]

Removed class or interface members

None detected.

Changed class or interface members

None detected.

Newly deprecated

None detected.

Requirement changes (engines, peer dependencies)

None detected.

New exports (7)
importexportkind
highlight-words-coreFoundChunktype
highlight-words-corefindChunksfunction
highlight-words-corefillInChunksfunction
highlight-words-corecombineChunksvariable
highlight-words-coreHighlightedChunktype
highlight-words-coreFindChunksOptionstype
highlight-words-coreNonHighlightedChunktype

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

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

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What are the breaking changes when upgrading highlight-words-core from 1 to 2?

Between highlight-words-core 1.2.3 and 2.0.0, Vigia found 2 removed exports, 2 changed signatures and 0 removed or changed class or interface members.

What became deprecated in highlight-words-core 2?

0 exports or members are newly marked as deprecated in highlight-words-core 2.0.0.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/highlight-words-core/upgrade?from=1.2.3&to=2.0.0