Upgrading parse5 from 7.x to 8.x
Comparison of the public API of parse5 7.3.0 and 8.1.1, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 0 |
| Changed signatures | 0 |
| Removed class or interface members | 1 |
| Changed class or interface members | 5 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 0 |
| New exports | 2 |
Removed exports
None detected.
Changed signatures
None detected.
Removed class or interface members
| member | import | Before |
|---|---|---|
Tokenizer._appendCharToCurrentCharacterToken | parse5 | (type: TokenType.CHARACTER | TokenType.NULL_CHARACTER | TokenType.WHITESPACE_CHARACTER, ch: string): void |
Changed class or interface members
| member | Before | After |
|---|---|---|
Parser._attachElementToTree | (element: T["element"], location: LocationWithAttributes | null): void | (element: T["element"], location: LocationWithAttributes | null, insertionLocation: InsertionLocation<T>): void |
Parser._findFosterParentingLocation | (): { parent: T["parentNode"]; beforeElement: T["element"] | null; } | (): InsertionLocation<T> |
Tokenizer._emitChars | (ch: string): void | (ch: string, cpOffset?: number | undefined): void |
Tokenizer.entityDecoder | EntityDecoder | HtmlEntityDecoder |
Tokenizer._createCharacterToken | (type: TokenType.CHARACTER | TokenType.NULL_CHARACTER | TokenType.WHITESPACE_CHARACTER, chars: string): void | (type: TokenType.CHARACTER | TokenType.NULL_CHARACTER | TokenType.WHITESPACE_CHARACTER): void |
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
None detected.
New exports (2)
| import | export | kind |
|---|---|---|
parse5 | InsertionMode | enum |
parse5 | ElementCreationContext | interface |
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 parse5 from 7 to 8?
Between parse5 7.3.0 and 8.1.1, Vigia found 0 removed exports, 0 changed signatures and 6 removed or changed class or interface members.
What became deprecated in parse5 8?
0 exports or members are newly marked as deprecated in parse5 8.1.1.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/parse5/upgrade?from=7.3.0&to=8.1.1