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 (cheeriojs/cheerio#2523) and NodeJS specific loader methods (cheeriojs/cheerio#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
Cheerio is now a dual CommonJS and ESM module. That means that deep imports will now fail in newer versions of Node. cheeriojs/cheerio#2508
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)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/veggiemonk/awesome-docker/pull/999
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 5/23/2022
**Status:** ✅ Merged
**Merged:** 6/6/2022
**Merged by:** [@agebhar1](https://github.com/agebhar1)
**Base:** `master` ← **Head:** `dependabot/npm_and_yarn/cheerio-1.0.0-rc.11`
---
### 📝 Commits (1)
- [`f34fd9f`](https://github.com/veggiemonk/awesome-docker/commit/f34fd9f9178e2e0a94ff6044aac810a1e8d65d6f) Bump cheerio from 1.0.0-rc.10 to 1.0.0-rc.11
### 📊 Changes
**2 files changed** (+165 additions, -144 deletions)
<details>
<summary>View changed files</summary>
📝 `package-lock.json` (+164 -143)
📝 `package.json` (+1 -1)
</details>
### 📄 Description
Bumps [cheerio](https://github.com/cheeriojs/cheerio) from 1.0.0-rc.10 to 1.0.0-rc.11.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/cheeriojs/cheerio/releases">cheerio's releases</a>.</em></p>
<blockquote>
<h2>v1.0.0-rc.11</h2>
<p><code>cheerio@1.0.0-rc.11</code> 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 <code>exract</code> method (<a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/issues/2523">cheeriojs/cheerio#2523</a>) and NodeJS specific loader methods (<a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/issues/2051">cheeriojs/cheerio#2051</a>). These are still in flux and I'd appreciate feedback on the proposals.</p>
<p>A big thank you to everyone that contributed to this release! This includes code contributors, as well as the amazing financial support on <a href="https://github.com/sponsors/cheeriojs">GitHub Sponsors</a>!</p>
<p>Under the hood, a lot of work for this release went into updating parse5, cheerio's default HTML parser. Have a look at <a href="https://github.com/inikulin/parse5/releases/tag/v7.0.0">parse5's release notes</a> to see what has changed there.</p>
<h2>Breaking</h2>
<ul>
<li>Cheerio is now a dual CommonJS and ESM module. That means that deep imports will now fail in newer versions of Node. <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2508">cheeriojs/cheerio#2508</a></li>
<li><code>script</code> and <code>style</code> contents are added again in <code>.text()</code> <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2509">cheeriojs/cheerio#2509</a>
<ul>
<li>To keep the old behavior, switch <code>.text()</code> to <code>.prop('innerText')</code></li>
</ul>
</li>
<li>The TypeScript types inherited from upstream dependencies have changed. <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2503">cheeriojs/cheerio#2503</a>
<ul>
<li>Node types are now using tagged unions, which will make consumption a bit easier.</li>
</ul>
</li>
</ul>
<h2>Features</h2>
<ul>
<li>Relevant options are now forwarded to <code>cheerio-select</code> <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2511">cheeriojs/cheerio#2511</a>
<ul>
<li>Custom pseudo classes can now be specified <a href="https://cheerio.js.org/interfaces/CheerioOptions.html#pseudos">using the <code>pseudos</code> option</a>.</li>
</ul>
</li>
<li>For the <code>.prop()</code> method:
<ul>
<li>Add <code>textContent</code> and <code>innerText</code> props <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2214">cheeriojs/cheerio#2214</a></li>
<li>Users can now specify a <code>baseURI</code> option, which will lead to <code>href</code> and <code>src</code> props to be resolved as URLs. <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2510">cheeriojs/cheerio#2510</a></li>
</ul>
</li>
<li>Added a <code>slim</code> export, which will always use htmlparser2 <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/1960">cheeriojs/cheerio#1960</a></li>
</ul>
<h2>Fixes</h2>
<ul>
<li>Have <code>text</code> turn passed values to strings <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2047">cheeriojs/cheerio#2047</a></li>
<li>Include <code>undefined</code> in the return type of <code>get</code> by <a href="https://github.com/glen-84"><code>@glen-84</code></a> in <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2392">cheeriojs/cheerio#2392</a></li>
<li>Recognise comments as HTML <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2504">cheeriojs/cheerio#2504</a></li>
<li>Add missing <code>undefined</code> return value <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2505">cheeriojs/cheerio#2505</a></li>
<li>Export missing static methods <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2506">cheeriojs/cheerio#2506</a></li>
<li>Have style parsing add malformed fields to previous field <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2521">cheeriojs/cheerio#2521</a></li>
</ul>
<h2>Refactor</h2>
<ul>
<li>Use <code>domutils</code> module directly <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/1928">cheeriojs/cheerio#1928</a></li>
<li>Hand-roll <code>isHTML</code> <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/1935">cheeriojs/cheerio#1935</a></li>
<li>Move initialization logic to <code>load</code> <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/1951">cheeriojs/cheerio#1951</a></li>
<li>Only return elements in <code>closest</code> <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2057">cheeriojs/cheerio#2057</a></li>
<li>Remove unnecessary code, be more explicit <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2279">cheeriojs/cheerio#2279</a></li>
<li>Use stricter TS, ESLint configs <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2507">cheeriojs/cheerio#2507</a></li>
<li>Update exported values <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2512">cheeriojs/cheerio#2512</a></li>
</ul>
<h2>Development Experience</h2>
<ul>
<li>Migrate husky to v6 by <a href="https://github.com/DavideViolante"><code>@DavideViolante</code></a> in <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/1934">cheeriojs/cheerio#1934</a></li>
<li>Update CI by <a href="https://github.com/XhmikosR"><code>@XhmikosR</code></a> in <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2149">cheeriojs/cheerio#2149</a></li>
<li>Set permissions for GitHub actions by <a href="https://github.com/neilnaveen"><code>@neilnaveen</code></a> in <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/pull/2453">cheeriojs/cheerio#2453</a></li>
</ul>
<h2>Docs</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/cheeriojs/cheerio/commit/7b260a2233b112375dbeb261013e142cbe48d81d"><code>7b260a2</code></a> 1.0.0-rc.11</li>
<li><a href="https://github.com/cheeriojs/cheerio/commit/1cb0fce510c30aea78d342708f41487601efd7fb"><code>1cb0fce</code></a> Revert <a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/issues/2046">#2046</a></li>
<li><a href="https://github.com/cheeriojs/cheerio/commit/b07df4cfb5d7a308c05f6e83f34a2ad055a99584"><code>b07df4c</code></a> build(deps-dev): bump <code>@types/node</code> from 17.0.34 to 17.0.35 (<a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/issues/2541">#2541</a>)</li>
<li><a href="https://github.com/cheeriojs/cheerio/commit/9c60d818a9e2d93f1be5e8e19d4f146ce9e62212"><code>9c60d81</code></a> build(deps-dev): bump eslint-plugin-jsdoc from 39.2.9 to 39.3.0 (<a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/issues/2540">#2540</a>)</li>
<li><a href="https://github.com/cheeriojs/cheerio/commit/61069944742a8acb402863365f147dc865d3a0a9"><code>6106994</code></a> build(deps-dev): bump <code>@typescript-eslint/parser</code> from 5.24.0 to 5.25.0 (<a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/issues/2539">#2539</a>)</li>
<li><a href="https://github.com/cheeriojs/cheerio/commit/b7e33bdf5722818f0f5b2000a14acf7bf2d9b757"><code>b7e33bd</code></a> build(deps-dev): bump <code>@typescript-eslint/eslint-plugin</code> (<a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/issues/2538">#2538</a>)</li>
<li><a href="https://github.com/cheeriojs/cheerio/commit/bbed6783c92e6ec66335a5055454b617242a51a2"><code>bbed678</code></a> build(deps-dev): bump <code>@typescript-eslint/eslint-plugin</code> (<a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/issues/2534">#2534</a>)</li>
<li><a href="https://github.com/cheeriojs/cheerio/commit/cf5d9a36be9c253fd9ba082c14383ac751966249"><code>cf5d9a3</code></a> build(deps): bump actions/setup-node from 3.1.1 to 3.2.0 (<a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/issues/2537">#2537</a>)</li>
<li><a href="https://github.com/cheeriojs/cheerio/commit/f6a7522ddddec0b30595302dee847a61b956eb5d"><code>f6a7522</code></a> build(deps-dev): bump <code>@typescript-eslint/parser</code> from 5.23.0 to 5.24.0 (<a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/issues/2535">#2535</a>)</li>
<li><a href="https://github.com/cheeriojs/cheerio/commit/19d50b462c3c3341f22ea0d7ac881b959c1839dd"><code>19d50b4</code></a> build(deps): bump cheerio-select from 2.0.0 to 2.1.0 (<a href="https://github-redirect.dependabot.com/cheeriojs/cheerio/issues/2536">#2536</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/cheeriojs/cheerio/compare/v1.0.0-rc.10...v1.0.0-rc.11">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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)
</details>
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/veggiemonk/awesome-docker/pull/999
Author: @dependabot[bot]
Created: 5/23/2022
Status: ✅ Merged
Merged: 6/6/2022
Merged by: @agebhar1
Base:
master← Head:dependabot/npm_and_yarn/cheerio-1.0.0-rc.11📝 Commits (1)
f34fd9fBump cheerio from 1.0.0-rc.10 to 1.0.0-rc.11📊 Changes
2 files changed (+165 additions, -144 deletions)
View changed files
📝
package-lock.json(+164 -143)📝
package.json(+1 -1)📄 Description
Bumps cheerio from 1.0.0-rc.10 to 1.0.0-rc.11.
Release notes
Sourced from cheerio's releases.
... (truncated)
Commits
7b260a21.0.0-rc.111cb0fceRevert #2046b07df4cbuild(deps-dev): bump@types/nodefrom 17.0.34 to 17.0.35 (#2541)9c60d81build(deps-dev): bump eslint-plugin-jsdoc from 39.2.9 to 39.3.0 (#2540)6106994build(deps-dev): bump@typescript-eslint/parserfrom 5.24.0 to 5.25.0 (#2539)b7e33bdbuild(deps-dev): bump@typescript-eslint/eslint-plugin(#2538)bbed678build(deps-dev): bump@typescript-eslint/eslint-plugin(#2534)cf5d9a3build(deps): bump actions/setup-node from 3.1.1 to 3.2.0 (#2537)f6a7522build(deps-dev): bump@typescript-eslint/parserfrom 5.23.0 to 5.24.0 (#2535)19d50b4build(deps): bump cheerio-select from 2.0.0 to 2.1.0 (#2536)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)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.