Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

chore(deps): update resolutions parse5 to v7 #9046

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 16, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
parse5 6.0.1 -> 7.1.1 age adoption passing confidence

Release Notes

inikulin/parse5

v7.1.1

Compare Source

v7.1.0

Compare Source

This release is only for the parse5 module.

What's Changed

New Contributors

Full Changelog: inikulin/parse5@v7.0.0...v7.1.0

v7.0.0

Compare Source

Welcome to parse5@​7.0.0! ✨ This is a huge release with many changes, features and fixes.

From an organisational perspective, the most important change is that parse5 is now maintained by a team, consisting of James (@​43081j), Titus (@​wooorm) and me (@​fb55). We come from three projects that rely on parse5 — namely Cheerio, rehype, and Lit.

We need your support to continue the project! If you care about parse5, please support us financially on OpenCollective.

Headlining features of this release are ES Modules, TypeScript, and performance improvements: 7.0.0 is 45% faster than 6.0.1 with default options, and 167% faster with location information enabled (for the bench/perf benchmark, on an M1 Mac). Version 7.0.0 is a revamp of every part of the library. There are too many changes to list them all here, so here is a high-level overview:

Breaking: ESM

All of parse5’s packages are now ECMAScript Modules. We are providing dual packages for parse5 and parse5-htmlparser2-tree-adapter for now (see https://github.com/inikulin/parse5/pull/418 and https://github.com/inikulin/parse5/pull/496).

To migrate, please read this Gist on how to update. Note that private internals are no longer available; instead, everything that you need should be imported from the main package.

Implemented by @​43081j in #​351

Breaking: TypeScript

The codebase has been ported to TypeScript. This helped uncover a number of subtle logic bugs, such as dc4e269, b4b5d4a, or a0aff95. TypeScript also helps us refactor with confidence and a lot of the changes in this release would have been much harder to do without it.

To migrate, please remove @types/parse5* as we now ship our own types.

Implemented by @​fb55 in #​362

Potentially breaking changes

If you are using deep imports for any parts of the codebase, you will likely encounter some breakages:

Show internal changes

Other changes

  • minor add hooks for stack events to tree adapter interface #​385
  • minor add support for fragments in parse5-parser-stream #​487
  • minor add serializeOuter (like .outerHTML), scriptingEnabled option #​383
  • patch fix parsing of << in comments parsed wrongly as <! (#​326)
  • patch fix position of endTag for mixed-case foreign elements (#​353)
  • patch fix end position of html, body (#​436)
  • docs: parse5 has a new documentation website at parse5.js.org #​443

New Contributors

Thanks @​anko, @​TrySound, @​samouri, @​alan-agius4, and @​pmdartus!

Full Changelog: inikulin/parse5@v6.0.1...v7.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@codesandbox
Copy link

codesandbox bot commented Nov 16, 2022

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@pi0 pi0 closed this in 45608c0 Nov 16, 2022
@renovate renovate bot deleted the renovate/parse5-7.x branch November 16, 2022 11:21
pi0 added a commit that referenced this pull request Nov 16, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
danielroe pushed a commit that referenced this pull request Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x chore documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants