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
Features:
Add media content parsing to FeedHandler (#560 by @gcandal) a85e4e0
Expose the quotes that were used in the onattribute event 3c86256
Add "sideEffects: false" to package.json (#474 by @ericjeney) d90dd64
Explain stream usage in README (#446 by @mnmkng) 4c0fba8
Bug Fixes:
Properly back out of numeric entities, decode entities in attributes (fixes #276) eaf2872
Fix broken parsing after self-closing special tags (#515 by @warriordog) 4ec596f
Fix parse bug when tag name is not ASCII alpha (#497 by @Zuckjet) bc010de
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 5.0.1.
Release notes
Sourced from htmlparser2's releases.
Commits
4f2c6eb
5.0.124e62e1
build(deps-dev): Bump ts-jest from 26.4.1 to 26.4.24598f52
build(deps-dev): Bump jest from 26.6.0 to 26.6.11517b97
build(deps-dev): Bump eslint from 7.11.0 to 7.12.0164ed58
build(deps-dev): Bump @types/node from 14.14.0 to 14.14.20d262e0
build(deps-dev): Bump eslint-config-prettier from 6.13.0 to 6.14.0f92daa5
Add test case for entity in title not being decoded when decodeEntities=false...3295a8b
fix(tokenizer): Parse entities in <title> tags (#614)1ace384
fix(deps): Remove @types/node as a peer dependency1947a31
build(deps-dev): Bump @types/node from 14.11.10 to 14.14.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)