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
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 from 4.1.0 to 7.1.1.
Release notes
Sourced from htmlparser2's releases.
... (truncated)
Commits
f15b7bd
7.1.1903fb43
fix(parser): Implied close indices would be misreported (#933)78ef1b7
fix(parser): FixendIndex
of text events being off by 1 (#932)0ae35d6
7.1.0f10dc03
refactor(feeds): MovegetFeed
todomutils
(#931)e852205
fix(parser): Tag nameforeignObject
will always be lowercased in HTMLf917004
feat(parser): AddisImplied
flag toonopentag
/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 endDependabot 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)