Skip to content

v7.1.0

Compare
Choose a tag to compare
@fb55 fb55 released this 27 Aug 23:49
· 790 commits to master since this release

Features:

Fixes:

  • htmlparser2@7.0.0 changed how indices were computed. Unfortunately, a lot of edge-cases weren't handled correctly. This version fixes this.
    • refactor: Fix how indices are computed, add attrib indices (#929) 28c162b
    • fix(parser): Fix indices for end, CDATA, add indices to tests (#928) 4e25252
    • fix(parser): Don't override position for implied opening tags (#917) fac221d
    • fix(parser): Index of closing tag was misaligned (#913) 04c411c
  • .pause would lead to data being wrongfully discarded (#927) 78af88d
  • The tokenizer would still emit some data after an error (#923) 08b2040
  • Issue in foreign content: The tag name foreignObject will always be lowercased in HTML e852205

Refactors:

  • refactor(feeds): Move getFeed to domutils (#931) f10dc03
  • refactor(tokenizer): Use explicit empty buffer if we have reached the end 9c30fe6
  • chore(tests): Add test for error without a listener 0eb0067
  • chore(tests): Use proxies to collect events (#920) a2b0bf3
  • chore(tests): Move stream tests into WritableStream.spec (#916) da67eba
  • refactor(tokenizer): Remove unused branches, improve test coverage (#914) a2eae51
  • docs(readme): Update benchmark results d45fc82

v7.0.0...v7.1.0