Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump cheerio from 1.0.0-rc.12 to 1.0.0 #11667

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 21, 2024

Bumps cheerio from 1.0.0-rc.12 to 1.0.0.

Release notes

Sourced from cheerio's releases.

v1.0.0

Cheerio 1.0 is here! 🎉

Announcement Blog Post

Breaking Changes

  • The minimum NodeJS version is now 18.17 or higher cheeriojs/cheerio#3959

  • Import paths were simplified. For example, use cheerio/slim instead of cheerio/lib/slim. cheeriojs/cheerio#3970

  • The deprecated default Cheerio instance and static methods were removed. cheeriojs/cheerio#3974

    Before, it was possible to write code like this:

    import cheerio, { html } from 'cheerio';
    html(cheerio('<test></test>')); // ~ '<test></test>' -- NO LONGER WORKS

    Make sure to always load documents first:

    import * as cheerio from 'cheerio';
    cheerio.load('<test></test>').html();

  • Node types previously re-exported by Cheerio must now be imported directly from (domhandler)(https://github.com/fb55/domhandler). cheeriojs/cheerio#3969

  • htmlparser2 options now reside exclusively under the xml key (cheeriojs/cheerio#2916):

    const $ = cheerio.load('<html>', {
      xml: {
        withStartIndices: true,
      },
    });

New Features

Fixes

... (truncated)

Commits
  • 50b5d5c 1.0.0
  • eea2fec fix(eslint): Disable misfiring lint rule
  • e60f659 chore(package): Update published files
  • 4fe3e7b chore(docs): Add 1.0 Announcement Post (#3984)
  • 944553b build(deps): bump docusaurus-plugin-typedoc in /website (#3983)
  • e34967e build(deps-dev): bump tsx from 4.16.5 to 4.17.0 (#3982)
  • eb7122b chore(traversing): Add test case for lowerCaseTags (#3981)
  • b824ba8 fix(website): Fix ReactLiveScope examples (#3980)
  • 08ebee5 build(deps-dev): bump eslint-plugin-jsdoc from 49.0.0 to 50.0.0 (#3979)
  • bf5f44c build(deps-dev): bump eslint-plugin-jsdoc from 48.11.0 to 49.0.0 (#3976)
  • 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 will merge this PR once CI passes on it, as requested by @mdn-bot.


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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [cheerio](https://github.com/cheeriojs/cheerio) from 1.0.0-rc.12 to 1.0.0.
- [Release notes](https://github.com/cheeriojs/cheerio/releases)
- [Commits](cheeriojs/cheerio@v1.0.0-rc.12...v1.0.0)

---
updated-dependencies:
- dependency-name: cheerio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from mdn-bot as a code owner August 21, 2024 11:04
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 21, 2024
@mdn-bot
Copy link
Collaborator

mdn-bot commented Aug 21, 2024

@dependabot squash and merge

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 21, 2024

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@caugner
Copy link
Contributor

caugner commented Sep 6, 2024

Cheerio 1.0.0 introduced some surprising breaking changes, one of which requiring us to add a new direct dependency (domhandler) to use the types. Since we're replacing our build system, it doesn't make sense to migrate to this version.

@dependabot ignore this dependency

@dependabot dependabot bot closed this Sep 6, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 6, 2024

OK, I won't notify you about cheerio again, unless you re-open this PR.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/cheerio-1.0.0 branch September 6, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants