Upgrading simple-html-tokenizer from 0.x to 1.x
Comparison of the public API of simple-html-tokenizer 0.5.11 and 1.0.0, 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 | 2 |
| Removed class or interface members | 0 |
| Changed class or interface members | 8 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 0 |
| New exports | 0 |
Removed exports
None detected.
Changed signatures
| export | Before | After |
|---|---|---|
simple-html-tokenizer · TokenType | TokenType | "Doctype" | "StartTag" | "EndTag" | "Chars" | "Comment" |
simple-html-tokenizer · TokenizerState | TokenizerState | "beforeData" | "data" | "rcdata" | "rawtext" | "scriptData" | "plaintext" | "tagOpen" | "endTagOpen" | "tagName" | "endTagName" | "rcdataLessThanSign" | "rcdataEndTagOpen" | "rcdataEndTagName" | "rawtextLessThanSign" | "rawtextEndTagOpen" | "rawtextEndTagName" | "scriptDataLessThanSign" | "scriptDataEndTagOpen" | "scriptDataEndTagName" | "scriptDataEscapeStart" | "scriptDataEscapeStartDash" | "scriptDataEscaped" | "scriptDataEscapedDash" | "scriptDataEscapedDashDash" | "scriptDataEscapedLessThanSign" | "scriptDataEscapedEndTagOpen" | "scriptDataEscapedEndTagName" | "scriptDataDoubleEscapeStart… |
Removed class or interface members
None detected.
Changed class or interface members
| member | Before | After |
|---|---|---|
Chars.type | TokenType.Chars | "Chars" |
EndTag.type | TokenType.EndTag | "EndTag" |
Comment.type | TokenType.Comment | "Comment" |
Doctype.type | TokenType.Doctype | "Doctype" |
StartTag.type | TokenType.StartTag | "StartTag" |
Tokenizer.currentAttribute | (): [string, string, boolean] | undefined | (): Attribute | undefined |
EventedTokenizer.appendToTagName | (char: any): any | any |
EventedTokenizer.isIgnoredEndTag | (): any | any |
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
None detected.
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 simple-html-tokenizer from 0 to 1?
Between simple-html-tokenizer 0.5.11 and 1.0.0, Vigia found 0 removed exports, 2 changed signatures and 8 removed or changed class or interface members.
What became deprecated in simple-html-tokenizer 1?
0 exports or members are newly marked as deprecated in simple-html-tokenizer 1.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/simple-html-tokenizer/upgrade?from=0.5.11&to=1.0.0