v7.1.0
Features:
- Added an
isImplied
flag to theonopentag
/onclosetag
events (#930) f917004- This allows consumers to set start/end indices more correctly. Inspired by posthtml/posthtml-parser#80.
- It is now possible to get indices for attributes (#929) 28c162b
Fixes:
[email protected]
changed how indices were computed. Unfortunately, a lot of edge-cases weren't handled correctly. This version fixes this..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
todomutils
(#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 intoWritableStream.spec
(#916) da67eba - refactor(tokenizer): Remove unused branches, improve test coverage (#914) a2eae51
- docs(readme): Update benchmark results d45fc82