fb55 / readabilitySAX

a fast and platform independent readability port (JS)
BSD 2-Clause "Simplified" License
245 stars 36 forks source link

Bump htmlparser2 from 8.0.2 to 9.0.0 #179

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps htmlparser2 from 8.0.2 to 9.0.0.

Release notes

Sourced from htmlparser2's releases.

v9.0.0

Breaking Changes

  • The tokenizer now uses the EntityDecoder from the entities module fb55/htmlparser2#1480
    • Parsing of entities in attributes is now aligned with the HTML spec, and some inputs will produce different results. Eg. in <a href='&amp=boo'> the attribute value won't be modified any more.
    • The ontextentity tokenizer callback now has an endIndex argument; if you use the tokenizer directly, make sure indices are still the same.
  • Stacks inside the parser have been reversed. fb55/htmlparser2#1511

Features

  • Added a createDocumentStream function, analogous to createDomStream (which is now deprecated) fb55/htmlparser2#1510

Full Changelog: https://github.com/fb55/htmlparser2/compare/v8.0.2...v9.0.0

Commits
  • 7475934 9.0.0
  • 9a5781d build(deps-dev): Bump eslint from 8.39.0 to 8.40.0 (#1504)
  • 8c91423 build(deps-dev): Bump eslint-plugin-unicorn from 46.0.0 to 47.0.0 (#1506)
  • 5d5987f refactor(parser): Inverse stacks, simplify (#1511)
  • c0b1372 feat(index): Add createDocumentStream (#1510)
  • 19edfbc build(deps-dev): Bump @​types/node from 20.1.0 to 20.1.1 (#1509)
  • 69e3fd3 build(deps-dev): Bump @​typescript-eslint/parser from 5.59.2 to 5.59.5 (#1508)
  • 48fdec5 build(deps-dev): Bump @​typescript-eslint/eslint-plugin (#1507)
  • ef26cea build(deps-dev): Bump @​types/node from 20.0.0 to 20.1.0 (#1505)
  • 18cbf3e build(deps-dev): Bump @​types/node from 18.16.3 to 20.0.0 (#1503)
  • 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)