Skip to content

Releases: fb55/htmlparser2

v6.1.0

08 Apr 20:48
Compare
Choose a tag to compare

Features:

Fixes:

  • Allow XML tags to start with any character (#778) 0b94ab5

Upgrades:

v6.0.1...v6.1.0

v6.0.1

07 Mar 19:23
Compare
Choose a tag to compare

v6.0.0...v6.0.1

v6.0.0

08 Dec 03:02
Compare
Choose a tag to compare

Breaking:

  • Bump domhandler, domutils 4dd4233 0d278fd
    • The new version of domhandler now comes with an actual root element for the document. This might break tests in a few cases. See the domhandler release notes for more details.
  • Make some private properties actually private 1c71e60

Features:

  • Add a parseDocument method 4653f23
    • This returns the root node of the document, instead of an array of the first nodes. You likely want to use this instead of the now deprecated getDOM method.
  • Improve docs df7ea98 1ce1d3b 0437d9c

Minor:

  • FeedHandler: Slightly restructure code b6b4382

v5.0.1...v6.0.0

v5.0.1

26 Oct 00:05
Compare
Choose a tag to compare

Also pulls in a new version of the entities module, which features more compact entity maps.

v5.0.0

03 Oct 22:00
Compare
Choose a tag to compare

Breaking changes:

  • Default the decodeEntities option to true 8ac01e0
  • Removes underscores in front of many private properties & methods. 6e296d2
  • Removes EVENTS, WritableStream and CollectingHandler exports from module import. The latter two are still part of the module, but now have to be imported explicitly. 6e296d2
  • The parser no longer extends EventEmitter f30f13c
  • HTML <title> tag content is now processed as text (#483 by @billneff79) 0189e56

Features:

Bug Fixes:

Diverse:

Thanks to everyone that contributed to this release!

Commit Range:
v4.1.0...v5.0.0

v4.1.0

23 Feb 01:31
Compare
Choose a tag to compare
  • Don't fail when parsing <__proto__> (fixes #387)
  • Add types field to package.json
  • Update dependencies

v4.0.0

03 Aug 20:50
Compare
Choose a tag to compare
  • Port to TypeScript, Jest
  • Remove the Stream and ProxyHandler exports
  • Order some conditionals in Tokenizer by their likelihood to be hit
  • Fix implicit closing of certain tags — @voithos
  • Fix: options.Tokenizer modified outer scope — @thorn0

3.3.0: [tests] write only single characters for testing chunked data

11 Sep 07:37
Compare
Choose a tag to compare
failed previously (only for FeedHandler tests), fixed now due to
DomHandler upgrade (which removed the `ignoreWhitespace` option)