Packages

parse5

8.1.0 · 1 Nov 2026MIT227.5M / weekRepositoryHomepagenpmAtom feed

Your version

3.0.0

major5 Dec 2016Where it was published

3.0.3 is the newest release of 3.x.

In short

7 changed

Release note

  • Added: parse5 now ships with TypeScript definitions from which new documentation website is generated (GH #125).

  • Added: PlainTextConversionStream (GH #135).

  • Updated: Significantly reduced initial memory consumption (GH #52).

  • Updated (breaking): Added support for limited quirks mode. document.quirksMode property was replaced with document.mode property which can have
    'no-quirks', 'quirks' and 'limited-quirks' values. Tree adapter setQuirksMode and isQuirksMode methods were replaced with setDocumentMode and getDocumentMode methods (GH #83).

  • Updated (breaking): AST collections (e.g. attributes dictionary) don't have prototype anymore (GH #119).

  • Updated (breaking): Doctype now always serialized as <!DOCTYPE html> as per spec (GH #137).

  • Fixed: Incorrect line for __location.endTag when the start tag contains newlines (GH #166)