Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump htmlparser2 from 6.1.0 to 7.1.1 #226

Merged
merged 1 commit into from
Sep 1, 2021

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 30, 2021

Bumps htmlparser2 from 6.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

fb55/htmlparser2@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:

  • [email protected] 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

fb55/htmlparser2@v7.0.0...v7.1.0

v7.0.0

[email protected] 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)

Bumps [htmlparser2](https://github.com/fb55/htmlparser2) from 6.1.0 to 7.1.1.
- [Release notes](https://github.com/fb55/htmlparser2/releases)
- [Commits](fb55/htmlparser2@v6.1.0...v7.1.1)

---
updated-dependencies:
- dependency-name: htmlparser2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 30, 2021
@devkadirselcuk devkadirselcuk merged commit c208281 into master Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment