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: bump cheerio from 1.0.0-rc.6 to 1.0.0-rc.10 #2625

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 14, 2021

Bumps cheerio from 1.0.0-rc.6 to 1.0.0-rc.10.

Release notes

Sourced from cheerio's releases.

v1.0.0-rc.10

Fixes:

Documentation:

  • Document how to define TS types for Plug-Ins (#1915, fixes #1778) 880fd2c
  • Remove obsolete Testing section e0c7cbb
  • Remove now-invalid require 5dfbd35

Refactors:

  • Wrap shared behavior in traversing (#1909) 58e090a
  • Move is to traversing, optimize (#1908) 1c6fa3e
  • Change order of arguments of internal domEach (#1892) feda230
  • Have load export a function (#1869) c370f4e

cheeriojs/cheerio@v1.0.0-rc.9...v1.0.0-rc.10

v1.0.0-rc.9

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.

... (truncated)

Commits
  • 6a6847a 1.0.0-rc.10
  • 258b26b fix(manipulation): .html should move passed nodes (#1923)
  • 5cd2b9c refactor(traversing): Bump cheerio-select, adopt changes (#1922)
  • 05ac73d Revert "build(deps-dev): bump typescript from 4.2.4 to 4.3.2 (#1893)"
  • 880fd2c chore(plugins): Document & use TS type definition (#1915)
  • 58e090a refactor(traversing): Wrap shared behavior (#1909)
  • 040fd51 build(deps-dev): bump eslint-plugin-jsdoc from 35.1.2 to 35.1.3 (#1910)
  • fe3bbbe build(deps-dev): bump prettier from 2.3.0 to 2.3.1 (#1913)
  • 18449ed build(deps-dev): bump @​types/node from 15.6.1 to 15.12.1 (#1914)
  • 9527d52 build(deps-dev): bump eslint from 7.27.0 to 7.28.0 (#1911)
  • 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)

Bumps [cheerio](https://github.com/cheeriojs/cheerio) from 1.0.0-rc.6 to 1.0.0-rc.10.
- [Release notes](https://github.com/cheeriojs/cheerio/releases)
- [Changelog](https://github.com/cheeriojs/cheerio/blob/main/History.md)
- [Commits](cheeriojs/cheerio@v1.0.0-rc.6...v1.0.0-rc.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 14, 2021
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
0 participants