parse5
8.1.0 · 1 Nov 2026MIT227.5M / weekRepositoryHomepagenpmAtom feed
Upgrading parse5 From 4.0.0 to 5.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- ?
- changes to make
- 0
- advisories fixed
- 0
- new
- 0
- fixes
7 other lines we could not sort, mostly version bumps
- 5.0.0
Updated (breaking): source code location now inserted by tree adapter, so tree adapter developers have control over location info property name. Tree adapters should implement setNodeSourceCodeLocation and getNodeSourceCodeLocation methods. Location info property name added by currently implemented tree adapters has been renamed from
__locationtosourceCodeLocation(GH #189). - 5.0.0
- 5.0.0
Updated (breaking):
SAXParsernow passes token objects to event handlers instead of separate arguments. See SAXParser documentation for more info. (GH #247). - 5.0.0
- 5.0.0
Added: scriptingEnabled flag to the
ParserOptionswhich controls how<noscript>tags are handled by the parser. (GH #192). - 5.0.0
Added: HTML rewriting stream. (GH #222).
- 5.0.0
Removed (breaking):
parse5no longer ship TypeScript definitions. Existing TypeScript definitions have been moved to DefinitelyTyped repo. Please, track the PR in the DefinitelyTyped repo for the updates.