unstale

npm / parse5-htmlparser2-tree-adapter

parse5-htmlparser2-tree-adapter

What changed in parse5-htmlparser2-tree-adapter 7 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

4 breaking1 new APIs and options1 performance

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

parse5-htmlparser2-tree-adapter 82 changes

Breaking changes 1

  • The package is now ESM-only, so projects using it must use ESM.

    8.0.0release notes

Performance 1

  • The tokenizer uses String.fromCharCode for BMP characters.

    8.0.1release notes

parse5-htmlparser2-tree-adapter 74 changes

Breaking changes 3

  • The adapter now uses domhandler’s node interface, changing the format of tree nodes; some properties are now getters and setters, and vice versa.

    7.0.0release notes

  • The package is now an ECMAScript Module and is provided as a dual package.

    7.0.0release notes

  • Remove external @types/parse5 packages because parse5 now ships its own types.

    7.0.0release notes

New APIs and options 1

  • Hooks for stack events were added to the tree adapter interface.

    7.0.0release notes