Bump cheerio from 1.0.0-rc.3 to 1.0.0-rc.10
Bumps cheerio from 1.0.0-rc.3 to 1.0.0-rc.10.
Release notes
Sourced from cheerio's releases.
v1.0.0-rc.10
Fixes:
.html(node)now moves passed nodes (#1923, fixes #940) 258b26b- Boolean attributes are no longer special in xmlMode (#1903, fixes #1805) b393e4a
- Rename parser adapter files (#1873, fixes #1847) 8f55dd8
- Make
filterwork on all collections (#1870, fixes #1867) fb8d31e- Bump cheerio-select (#1922, fixes https://www.npmjs.com/advisories/1754) 5cd2b9c
Documentation:
- Document how to define TS types for Plug-Ins (#1915, fixes #1778) 880fd2c
- Remove obsolete Testing section e0c7cbb
- Remove now-invalid
require5dfbd35Refactors:
- Wrap shared behavior in
traversing(#1909) 58e090a- Move
istotraversing, optimize (#1908) 1c6fa3e- Change order of arguments of internal
domEach(#1892) feda230- Have
loadexport a function (#1869) c370f4ehttps://github.com/cheeriojs/cheerio/compare/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 therequireto use thedefaultexport.- 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)
Changelog
Sourced from cheerio's changelog.
Starting with 1.0.0-rc.4, release notes are exclusively tracked in Github Releases.
Commits
6a6847a1.0.0-rc.10258b26bfix(manipulation):.htmlshould move passed nodes (#1923)5cd2b9crefactor(traversing): Bump cheerio-select, adopt changes (#1922)05ac73dRevert "build(deps-dev): bump typescript from 4.2.4 to 4.3.2 (#1893)"880fd2cchore(plugins): Document & use TS type definition (#1915)58e090arefactor(traversing): Wrap shared behavior (#1909)040fd51build(deps-dev): bump eslint-plugin-jsdoc from 35.1.2 to 35.1.3 (#1910)fe3bbbebuild(deps-dev): bump prettier from 2.3.0 to 2.3.1 (#1913)18449edbuild(deps-dev): bump@types/nodefrom 15.6.1 to 15.12.1 (#1914)9527d52build(deps-dev): bump eslint from 7.27.0 to 7.28.0 (#1911)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)