The new version of domhandler now comes with an actual root element for the document. This might break tests in a few cases. See the domhandler release notes for more details.
Make some private properties actually private 1c71e60
Features:
Add a parseDocument method 4653f23
This returns the root node of the document, instead of an array of the first nodes. You likely want to use this instead of the now deprecated getDOM method.
Fix: Remove @types/node as a peer dependency 1ace384
Also pulls in a new version of the entities module, which features more compact entity maps.
v5.0.0
Breaking changes:
Default the decodeEntities option to true 8ac01e0
Removes underscores in front of many private properties & methods. 6e296d2
Removes EVENTS, WritableStream and CollectingHandler exports from module import. The latter two are still part of the module, but now have to be imported explicitly. 6e296d2
The parser no longer extends EventEmitter f30f13c
HTML <title> tag content is now processed as text (#483 by @billneff79) 0189e56
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 6.1.0.
Release notes
Sourced from htmlparser2's releases.
... (truncated)
Commits
24470b8
6.1.07c233de
build(deps): Bump domutils from 2.5.1 to 2.5.20b94ab5
fix(tokenizer): Allow XML tags to start with any character (#778)ee68790
Merge branch 'master' of https://github.com/fb55/htmlparser2b8966e3
build(deps-dev): Bump typescript from 4.2.3 to 4.2.4b10d502
build(deps-dev): Bump@typescript-eslint/eslint-plugin
00ecd39
build(deps-dev): Bump@typescript-eslint/parser
from 4.20.0 to 4.21.0cf77476
build(deps): Bump domutils from 2.5.0 to 2.5.1e64e8e5
build(deps): Bump domhandler from 4.0.0 to 4.1.08bc1719
build(deps): Bump domelementtype from 2.1.0 to 2.2.0Dependabot 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)