Snyk has created this PR to upgrade htmlparser2 from 4.1.0 to 7.2.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
The recommended version is 10 versions ahead of your current version.
The recommended version was released 3 months ago, on 2021-11-11.
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
Moved logic of FeedHandler to a function (#912) 3a672ff
Snyk has created this PR to upgrade htmlparser2 from 4.1.0 to 7.2.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
Release notes
Package name: htmlparser2
What's Changed
Fixes:
Docs
parseDocument()
example clearer by @ cameronsteele in #998Refactors:
The refactors lead to a combined ~5% speed-up.
New Contributors
Full Changelog: v7.1.2...v7.2.0
v7.1.1...v7.1.2
endIndex
of text events being off by 1 (#932) 78ef1b7v7.1.0...v7.1.1
Features:
isImplied
flag to theonopentag
/onclosetag
events (#930) f917004Fixes:
htmlparser2@7.0.0
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) 78af88dforeignObject
will always be lowercased in HTML e852205Refactors:
getFeed
todomutils
(#931) f10dc03stream
tests intoWritableStream.spec
(#916) da67ebav7.0.0...v7.1.0
htmlparser2@7.0.0
changes a lot of internals, resulting in an 20% overall performance improvement in AndreasMadsen's htmlparser-benchmark.Breaking changes:
Features:
isVoidElement
method to the parser (#785) 00ce57aRefactors:
Map
foropenImpliesClose
in the parser (#911) 39a8109FeedHandler
to a function (#912) 3a672ffv6.0.0...v6.0.1
Commit messages
Package name: htmlparser2
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs