parse5
8.1.0 · 1 Nov 2026MIT227.5M / weekRepositoryHomepagenpmAtom feed
Your version
5.1.1 is the newest release of 5.x.
In short
3 changed
Release note
Fixed: Location info for
textevents inSAXParserandRewritingStreamnow contains
correctendColandendLinecovering all concatenated raw tokens (GH #266).Fixed:
SAXParserandRewritingStreamnow flush last buffered chunk when calling.end()with
no parameters (GH #271).Updated (breaking):
ParserStream,SAXParserandRewritingStreamno longer assume that
each binary chunk is a valid finished UTF-8 chunk, and instead accept only decoded strings (GH #269).