mix / schenkerian

[Deprecated] HTML keyword analyzer
19 stars 1 forks source link

Bump htmlparser2 from 4.1.0 to 7.1.1 #224

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps htmlparser2 from 4.1.0 to 7.1.1.

Release notes

Sourced from htmlparser2's releases.

v7.1.1

  • Fixed a bug where implied close tags would be misreported (#933) 903fb43
  • Fixed endIndex of text events being off by 1 (#932) 78ef1b7

https://github.com/fb55/htmlparser2/compare/v7.1.0...v7.1.1

v7.1.0

Features:

  • Added an isImplied flag to the onopentag/onclosetag events (#930) f917004
  • It is now possible to get indices for attributes (#929) 28c162b

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

https://github.com/fb55/htmlparser2/compare/v7.0.0...v7.1.0

v7.0.0

htmlparser2@7.0.0 changes a lot of internals, resulting in an 20% overall performance improvement in AndreasMadsen's htmlparser-benchmark.

Breaking changes:

  • Fixed how start & end index positions are calculated (#910) 5ab080e
    • Some indices, especially end indices, will now have changed. Most importantly, end indices will now always be greater or equal than start indices (whoops!).

Features:

  • Added an isVoidElement method to the parser (#785) 00ce57a

Refactors:

  • Use a trie to decode HTML & XML entities in the tokenizer (#863) 9a47a55
    • Leads to large speed-ups when dealing with entities.
  • Iterate over char codes in the tokenizer (#894) f5aed75
    • Improved tokenizer performance by ~40%.
  • Use Map for openImpliesClose in the parser (#911) 39a8109

... (truncated)

Commits
  • f15b7bd 7.1.1
  • 903fb43 fix(parser): Implied close indices would be misreported (#933)
  • 78ef1b7 fix(parser): Fix endIndex of text events being off by 1 (#932)
  • 0ae35d6 7.1.0
  • f10dc03 refactor(feeds): Move getFeed to domutils (#931)
  • e852205 fix(parser): Tag name foreignObject will always be lowercased in HTML
  • f917004 feat(parser): Add isImplied flag to onopentag/onclosetag (#930)
  • 28c162b refactor: Fix how indices are computed, add attrib indices (#929)
  • 4e25252 fix(parser): Fix indices for end, CDATA, add indices to tests (#928)
  • 9c30fe6 refactor(tokenizer): Use explicit empty buffer if we have reached the end
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #226.