Packages

parse5

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

Upgrading parse5 From 1.5.1 to 2.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.5.1Latest8.1.0
  1. 1.5.1yours
  2. 2.0.0target
1
change to make
0
advisories fixed
3
new
0
fixes

Before you upgrade

Tick each one off as you go
  • breaking2.0.0

Release by release

  1. 2.0.0

    Migration needed7 Dec 20153 new
8 other lines we could not sort, mostly version bumps
  • Added: ParserStream with the scripting support. (GH #26).

    2.0.0
  • Added: Line/column location info. (GH #67).

    2.0.0
  • Update (breaking): Location info properties start and end were renamed to startOffset and endOffset respectively.

    2.0.0
  • Update (breaking): SimpleApiParser was renamed to SAXParser.

    2.0.0
  • Update (breaking): SAXParser handler subscription is done via events now.

    2.0.0
  • Added: SAXParser.stop(). (GH #47).

    2.0.0
  • Updated: Parsing algorithm was updated with the latest HTML spec changes.

    2.0.0
  • Update (breaking): default tree adapter now stores <template> content in template.content property instead of template.childNodes[0].

    2.0.0