Skip to content

chore(deps): update dependency cheerio to v1.1.2 #355

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 25, 2021

This PR contains the following updates:

Package Change Age Confidence
cheerio (source) 1.0.0-rc.3 -> 1.1.2 age confidence

Release Notes

cheeriojs/cheerio (cheerio)

v1.1.2

Compare Source

What's Changed

Full Changelog: cheeriojs/cheerio@v1.1.1...v1.1.2

v1.1.1

Compare Source


v1.1.0

Compare Source

What's Changed

Doc Improvements

New Contributors

Full Changelog: cheeriojs/cheerio@v1.0.0...v1.1.0

v1.0.0

Compare Source

Cheerio 1.0 is here! 🎉

Announcement Blog Post

Breaking Changes

New Features

Fixes

Other

Full Changelog: cheeriojs/cheerio@v1.0.0-rc.12...v1.0.0

v1.0.0-rc.12

Compare Source

Bugfix release. Fixed issues:

New Contributors

Full Changelog: cheeriojs/cheerio@v1.0.0-rc.11...v1.0.0-rc.12

v1.0.0-rc.11

Compare Source

cheerio@1.0.0-rc.11 is hopefully the last RC before the 1.0.0 release of Cheerio. There are two APIs that will be added for the next major release: An exract method (https://github.com/cheeriojs/cheerio/issues/2523) and NodeJS specific loader methods (https://github.com/cheeriojs/cheerio/issues/2051). These are still in flux and I'd appreciate feedback on the proposals.

A big thank you to everyone that contributed to this release! This includes code contributors, as well as the amazing financial support on GitHub Sponsors!

Under the hood, a lot of work for this release went into updating parse5, cheerio's default HTML parser. Have a look at parse5's release notes to see what has changed there.

Breaking

Features

Fixes

Refactor

Development Experience

Docs

New Contributors

Full Changelog: cheeriojs/cheerio@v1.0.0-rc.10...v1.0.0-rc.11

v1.0.0-rc.10

Compare Source

Fixes:

Documentation:

Refactors:

v1.0.0-rc.9

Compare Source

Port to TypeScript

Cheerio has been ported entirely to TypeScript (in #​1816)! This eliminates a lot of edge-cases within Cheerio and will allow you to use Cheerio with confidence. This release also features a new documentation website based on TypeDoc, allowing you to quickly navigate all available methods: https://cheerio.js.org


Breaking change: If you were using the function exported by Cheerio directly instead of first load()ing a document, you will now have to update the require to use the default export.

- const cheerio = require("cheerio");
+ const cheerio = require("cheerio").default;

cheerio('div', dom)

Please note that this way of using Cheerio is deprecated and might be removed in a future version. Please consider updating your code to:

const cheerio = require("cheerio");

const $ = cheerio.load(dom)
$('div')

Note: Cheerio uses template literal types to determine return types. These are available starting with TypeScript 4.1, so you might have to bump your TypeScript version.

For TypeScript types, Cheerio now implements the ArrayLike<T> interface. That means that Cheerio instances can contain objects of arbitrary types, but not all methods can be called on them.

The TypeScript compiler will figure out what structures you are operating on:

  • When calling a loaded Cheerio instance with an HTML string like $('<div>'), it will product a Cheerio<Node> type.
    • Node is the base class for DOM elements and includes eg. comment and text nodes.
  • When calling Cheerio with a selector like $('.foo'), it will produce a Cheerio<Element>, as only Elements can be part of the result set.
    • Element is the class representing tags.
  • You can still use $('...').map() to map to arbitrary values, and will get a compiler error when trying to call method that are not supported.
    • Eg. $('.foo').map((i, el) => $(el).text()).attr('test') will no longer be possible, as .attr is not allowed to be called on a Cheerio<string>.

This release does not contain other changes to functionality. Feedback is greatly appreciated; if you encounter a problem, please file an issue!

v1.0.0-rc.8

Compare Source

Second botched release. Please use v1.0.0-rc.9 instead.

v1.0.0-rc.7

Compare Source

Published without a lib directory — please ignore.

v1.0.0-rc.6

Compare Source

Breaking:

  • Fixed the ordering of the output of several methods, including prevAll, prevUntil and parentsUntil. The new order matches jQuery.

This release contains three breaking changes inherited from dependencies.

  • Selectors (see css-select@4.0.0):
    • Several pseudo selectors are now stricter, in line with the HTML spec.
    • Some attributes are now case-insensitive based on the HTML spec.
  • DOM:
    • In XML mode, all elements will have type: 'tag'.

New features:

Types:

Bug fixes:

Documentation updates:

Refactors:

CI:

Test changes:

Commit Range:

v1.0.0-rc.5

Compare Source

Hotfix release

  • fix(package): Use cheerio-select-tmp until naming issue is resolved 3751929

v1.0.0-rc.4

Compare Source

Welcome to cheerio@1.0.0-rc.4! This is the last pre-release before a full 1.0.0 release — please make sure to test this release and report any issues you might find.

This release was made possible by our supporters on Open Collective. If you want to support this project going forward, have a look at sponsorship options!

Breaking:

  • After upgrading parse5, cheerio temporarily has a minimum Node version of Node 6. See #​1585 for details.
  • Use the parser's DOM without modifications (#​1559 by @​fb55)
    • Nodes no longer have a root reference. The root node is now referenced by the parent property.
  • Use parse5 to serialize the DOM (04091a4 by @​fb55)
    • We will no longer encode non-ASCII characters by default. Please make sure that you pass on the appropriate content encoding.

New Features:

Bug Fixes:

Other notable changes:


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 is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@vercel
Copy link

vercel bot commented Jan 25, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/github56/react-jsonschema-form-material-ui/4Lga3V1pMVRWNm3vr93J16HDrj99
✅ Preview: https://react-jsonschema-form-material-ui-git-renovate-d1bc3a-github56.vercel.app

@renovate renovate bot changed the title chore(deps): update dependency cheerio to v1.0.0-rc.5 Update dependency cheerio to v1.0.0-rc.5 Feb 13, 2021
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from cdc1c53 to 3637f11 Compare April 8, 2021 23:36
@renovate renovate bot changed the title Update dependency cheerio to v1.0.0-rc.5 Update dependency cheerio to v1.0.0-rc.6 Apr 8, 2021
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from 3637f11 to 1612e9e Compare April 24, 2021 15:58
@renovate renovate bot changed the title Update dependency cheerio to v1.0.0-rc.6 chore(deps): update dependency cheerio to v1.0.0-rc.6 Apr 24, 2021
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from 1612e9e to cb0ab4a Compare April 24, 2021 19:22
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from cb0ab4a to e6d8fbf Compare April 25, 2021 06:28
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from e6d8fbf to 51f877c Compare April 25, 2021 06:46
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from 51f877c to ec6df2c Compare April 25, 2021 07:46
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from ec6df2c to 1a4e8a6 Compare April 25, 2021 20:16
@renovate renovate bot changed the title chore(deps): update dependency cheerio to v1.0.0-rc.6 Update dependency cheerio to v1.0.0-rc.6 Apr 25, 2021
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from 1a4e8a6 to 653c2fb Compare April 25, 2021 21:58
@renovate renovate bot changed the title Update dependency cheerio to v1.0.0-rc.6 chore(deps): update dependency cheerio to v1.0.0-rc.6 Apr 25, 2021
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from 653c2fb to 2f23d14 Compare April 26, 2021 00:19
@vercel
Copy link

vercel bot commented Apr 26, 2021

Deployment failed with the following error:

Resource is limited - try again after in 6 hours (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot force-pushed the renovate/cheerio-1.x branch 3 times, most recently from dead1c9 to 71f1c21 Compare August 16, 2023 20:25
@vercel
Copy link

vercel bot commented Aug 16, 2023

Deployment failed with the following error:

Resource is limited - try again in 9 hours (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot force-pushed the renovate/cheerio-1.x branch 2 times, most recently from 305516b to f08bea7 Compare August 16, 2023 21:04
@vercel
Copy link

vercel bot commented Aug 16, 2023

Deployment failed with the following error:

Resource is limited - try again in 8 hours (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot force-pushed the renovate/cheerio-1.x branch 2 times, most recently from 8e3c8ad to 81bb7a6 Compare August 17, 2023 10:19
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from 81bb7a6 to 69110fb Compare July 26, 2024 22:13
@renovate renovate bot changed the title Update dependency cheerio to v1.0.0-rc.12 chore(deps): update dependency cheerio to v1.0.0-rc.12 Jul 26, 2024
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from 69110fb to d19d150 Compare August 9, 2024 19:25
@renovate renovate bot changed the title chore(deps): update dependency cheerio to v1.0.0-rc.12 chore(deps): update dependency cheerio to v1.0.0 Aug 9, 2024
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from d19d150 to a18eced Compare November 23, 2024 15:09
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from a18eced to 5c7fbcb Compare May 26, 2025 12:45
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from 5c7fbcb to 54a53fc Compare June 8, 2025 21:45
@renovate renovate bot changed the title chore(deps): update dependency cheerio to v1.0.0 chore(deps): update dependency cheerio to v1.1.0 Jun 8, 2025
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from 54a53fc to 35403dc Compare July 21, 2025 02:33
@renovate renovate bot changed the title chore(deps): update dependency cheerio to v1.1.0 chore(deps): update dependency cheerio to v1.1.1 Jul 21, 2025
@renovate renovate bot force-pushed the renovate/cheerio-1.x branch from 35403dc to b473ed5 Compare July 21, 2025 10:58
@renovate renovate bot changed the title chore(deps): update dependency cheerio to v1.1.1 chore(deps): update dependency cheerio to v1.1.2 Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants