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

fix(attributes): Align prop undefined handling with jQuery #2557

Merged
merged 2 commits into from
May 25, 2022
Merged

Conversation

fb55
Copy link
Member

@fb55 fb55 commented May 25, 2022

Fixes #2552

@fb55 fb55 merged commit 03a28fa into main May 25, 2022
@fb55 fb55 deleted the empty-prop branch May 25, 2022 16:51
kodiakhq bot referenced this pull request in X-oss-byte/Canary-nextjs Sep 22, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [cheerio](https://cheerio.js.org/) ([source](https://github.com/cheeriojs/cheerio)) | [`1.0.0-rc.9` -> `1.0.0-rc.12`](https://renovatebot.com/diffs/npm/cheerio/1.0.0-rc.9/1.0.0-rc.12) | [![age](https://developer.mend.io/api/mc/badges/age/npm/cheerio/1.0.0-rc.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cheerio/1.0.0-rc.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cheerio/1.0.0-rc.9/1.0.0-rc.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cheerio/1.0.0-rc.9/1.0.0-rc.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>cheeriojs/cheerio (cheerio)</summary>

### [`v1.0.0-rc.12`](https://github.com/cheeriojs/cheerio/releases/tag/v1.0.0-rc.12)

[Compare Source](https://github.com/cheeriojs/cheerio/compare/v1.0.0-rc.11...v1.0.0-rc.12)

Bugfix release. Fixed issues:

-   Align `prop` undefined handling with jQuery by [@&#8203;fb55](https://github.com/fb55) in [https://github.com/cheeriojs/cheerio/pull/2557](https://github.com/cheeriojs/cheerio/pull/2557)
-   Allow deep imports of `cheerio/lib/utils` by [@&#8203;blixt](https://github.com/blixt) in [https://github.com/cheeriojs/cheerio/pull/2601](https://github.com/cheeriojs/cheerio/pull/2601)

#### New Contributors

-   [@&#8203;blixt](https://github.com/blixt) made their first contribution in [https://github.com/cheeriojs/cheerio/pull/2601](https://github.com/cheeriojs/cheerio/pull/2601)

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

### [`v1.0.0-rc.11`](https://github.com/cheeriojs/cheerio/releases/tag/v1.0.0-rc.11)

[Compare Source](https://github.com/cheeriojs/cheerio/compare/v1.0.0-rc.10...v1.0.0-rc.11)

`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](https://github.com/cheeriojs/cheerio/issues/2523)) and NodeJS specific loader methods ([https://github.com/cheeriojs/cheerio/issues/2051](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](https://github.com/sponsors/cheeriojs)!

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](https://github.com/inikulin/parse5/releases/tag/v7.0.0) 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. [https://github.com/cheeriojs/cheerio/pull/2508](https://github.com/cheeriojs/cheerio/pull/2508)
-   `script` and `style` contents are added again in `.text()` [https://github.com/cheeriojs/cheerio/pull/2509](https://github.com/cheeriojs/cheerio/pull/2509)
    -   To keep the old behavior, switch `.text()` to `.prop('innerText')`
-   The TypeScript types inherited from upstream dependencies have changed. [https://github.com/cheeriojs/cheerio/pull/2503](https://github.com/cheeriojs/cheerio/pull/2503)
    -   Node types are now using tagged unions, which will make consumption a bit easier.

#### Features

-   Relevant options are now forwarded to `cheerio-select` [https://github.com/cheeriojs/cheerio/pull/2511](https://github.com/cheeriojs/cheerio/pull/2511)
    -   Custom pseudo classes can now be specified [using the `pseudos` option](https://cheerio.js.org/interfaces/CheerioOptions.html#pseudos).
-   For the `.prop()` method:
    -   Add `textContent` and `innerText` props [https://github.com/cheeriojs/cheerio/pull/2214](https://github.com/cheeriojs/cheerio/pull/2214)
    -   Users can now specify a `baseURI` option, which will lead to `href` and `src` props to be resolved as URLs. [https://github.com/cheeriojs/cheerio/pull/2510](https://github.com/cheeriojs/cheerio/pull/2510)
-   Added a `slim` export, which will always use htmlparser2 [https://github.com/cheeriojs/cheerio/pull/1960](https://github.com/cheeriojs/cheerio/pull/1960)

#### Fixes

-   Have `text` turn passed values to strings [https://github.com/cheeriojs/cheerio/pull/2047](https://github.com/cheeriojs/cheerio/pull/2047)
-   Include `undefined` in the return type of `get` by [@&#8203;glen-84](https://github.com/glen-84) in [https://github.com/cheeriojs/cheerio/pull/2392](https://github.com/cheeriojs/cheerio/pull/2392)
-   Recognise comments as HTML [https://github.com/cheeriojs/cheerio/pull/2504](https://github.com/cheeriojs/cheerio/pull/2504)
-   Add missing `undefined` return value [https://github.com/cheeriojs/cheerio/pull/2505](https://github.com/cheeriojs/cheerio/pull/2505)
-   Export missing static methods [https://github.com/cheeriojs/cheerio/pull/2506](https://github.com/cheeriojs/cheerio/pull/2506)
-   Have style parsing add malformed fields to previous field [https://github.com/cheeriojs/cheerio/pull/2521](https://github.com/cheeriojs/cheerio/pull/2521)

#### Refactor

-   Use `domutils` module directly [https://github.com/cheeriojs/cheerio/pull/1928](https://github.com/cheeriojs/cheerio/pull/1928)
-   Hand-roll `isHTML` [https://github.com/cheeriojs/cheerio/pull/1935](https://github.com/cheeriojs/cheerio/pull/1935)
-   Move initialization logic to `load` [https://github.com/cheeriojs/cheerio/pull/1951](https://github.com/cheeriojs/cheerio/pull/1951)
-   Only return elements in `closest` [https://github.com/cheeriojs/cheerio/pull/2057](https://github.com/cheeriojs/cheerio/pull/2057)
-   Remove unnecessary code, be more explicit [https://github.com/cheeriojs/cheerio/pull/2279](https://github.com/cheeriojs/cheerio/pull/2279)
-   Use stricter TS, ESLint configs [https://github.com/cheeriojs/cheerio/pull/2507](https://github.com/cheeriojs/cheerio/pull/2507)
-   Update exported values [https://github.com/cheeriojs/cheerio/pull/2512](https://github.com/cheeriojs/cheerio/pull/2512)

#### Development Experience

-   Migrate husky to v6 by [@&#8203;DavideViolante](https://github.com/DavideViolante) in [https://github.com/cheeriojs/cheerio/pull/1934](https://github.com/cheeriojs/cheerio/pull/1934)
-   Update CI by [@&#8203;XhmikosR](https://github.com/XhmikosR) in [https://github.com/cheeriojs/cheerio/pull/2149](https://github.com/cheeriojs/cheerio/pull/2149)
-   Set permissions for GitHub actions by [@&#8203;neilnaveen](https://github.com/neilnaveen) in [https://github.com/cheeriojs/cheerio/pull/2453](https://github.com/cheeriojs/cheerio/pull/2453)

#### Docs

-   Update README "is not a web browser" section by [@&#8203;mxschmitt](https://github.com/mxschmitt) in [https://github.com/cheeriojs/cheerio/pull/2127](https://github.com/cheeriojs/cheerio/pull/2127)

#### New Contributors

-   [@&#8203;DavideViolante](https://github.com/DavideViolante) made their first contribution in [https://github.com/cheeriojs/cheerio/pull/1934](https://github.com/cheeriojs/cheerio/pull/1934)
-   [@&#8203;mxschmitt](https://github.com/mxschmitt) made their first contribution in [https://github.com/cheeriojs/cheerio/pull/2127](https://github.com/cheeriojs/cheerio/pull/2127)
-   [@&#8203;glen-84](https://github.com/glen-84) made their first contribution in [https://github.com/cheeriojs/cheerio/pull/2392](https://github.com/cheeriojs/cheerio/pull/2392)
-   [@&#8203;neilnaveen](https://github.com/neilnaveen) made their first contribution in [https://github.com/cheeriojs/cheerio/pull/2453](https://github.com/cheeriojs/cheerio/pull/2453)

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

### [`v1.0.0-rc.10`](https://github.com/cheeriojs/cheerio/releases/tag/v1.0.0-rc.10)

[Compare Source](https://github.com/cheeriojs/cheerio/compare/v1.0.0-rc.9...v1.0.0-rc.10)

**Fixes:**

-   `.html(node)` now moves passed nodes ([#&#8203;1923](https://github.com/cheeriojs/cheerio/issues/1923), fixes [#&#8203;940](https://github.com/cheeriojs/cheerio/issues/940))  [`258b26b`](https://github.com/cheeriojs/cheerio/commit/258b26b)
-   Boolean attributes are no longer special in xmlMode ([#&#8203;1903](https://github.com/cheeriojs/cheerio/issues/1903), fixes [#&#8203;1805](https://github.com/cheeriojs/cheerio/issues/1805))  [`b393e4a`](https://github.com/cheeriojs/cheerio/commit/b393e4a)
-   Rename parser adapter files ([#&#8203;1873](https://github.com/cheeriojs/cheerio/issues/1873), fixes [#&#8203;1847](https://github.com/cheeriojs/cheerio/issues/1847))  [`8f55dd8`](https://github.com/cheeriojs/cheerio/commit/8f55dd8)
-   Make `filter` work on all collections ([#&#8203;1870](https://github.com/cheeriojs/cheerio/issues/1870), fixes [#&#8203;1867](https://github.com/cheeriojs/cheerio/issues/1867))  [`fb8d31e`](https://github.com/cheeriojs/cheerio/commit/fb8d31e)
-   Bump cheerio-select ([#&#8203;1922](https://github.com/cheeriojs/cheerio/issues/1922), fixes https://www.npmjs.com/advisories/1754)  [`5cd2b9c`](https://github.com/cheeriojs/cheerio/commit/5cd2b9c)

**Documentation:**

-   Document how to define TS types for Plug-Ins ([#&#8203;1915](https://github.com/cheeriojs/cheerio/issues/1915), fixes [#&#8203;1778](https://github.com/cheeriojs/cheerio/issues/1778))  [`880fd2c`](https://github.com/cheeriojs/cheerio/commit/880fd2c)
-   Remove obsolete Testing section  [`e0c7cbb`](https://github.com/cheeriojs/cheerio/commit/e0c7cbb)
-   Remove now-invalid `require`  [`5dfbd35`](https://github.com/cheeriojs/cheerio/commit/5dfbd35)

**Refactors:**

-   Wrap shared behavior in `traversing` ([#&#8203;1909](https://github.com/cheeriojs/cheerio/issues/1909))  [`58e090a`](https://github.com/cheeriojs/cheerio/commit/58e090a)
-   Move `is` to `traversing`, optimize ([#&#8203;1908](https://github.com/cheeriojs/cheerio/issues/1908))  [`1c6fa3e`](https://github.com/cheeriojs/cheerio/commit/1c6fa3e)
-   Change order of arguments of internal `domEach` ([#&#8203;1892](https://github.com/cheeriojs/cheerio/issues/1892))  [`feda230`](https://github.com/cheeriojs/cheerio/commit/feda230)
-   Have `load` export a function ([#&#8203;1869](https://github.com/cheeriojs/cheerio/issues/1869))  [`c370f4e`](https://github.com/cheeriojs/cheerio/commit/c370f4e)

</details>

---

### 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 becomes conflicted, 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/sammyfilly/Canary-nextjs).
kodiakhq bot referenced this pull request in X-oss-byte/Nextjs Sep 25, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [cheerio](https://cheerio.js.org/) ([source](https://github.com/cheeriojs/cheerio)) | [`1.0.0-rc.9` -> `1.0.0-rc.12`](https://renovatebot.com/diffs/npm/cheerio/1.0.0-rc.9/1.0.0-rc.12) | [![age](https://developer.mend.io/api/mc/badges/age/npm/cheerio/1.0.0-rc.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cheerio/1.0.0-rc.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cheerio/1.0.0-rc.9/1.0.0-rc.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cheerio/1.0.0-rc.9/1.0.0-rc.12?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>cheeriojs/cheerio (cheerio)</summary>

### [`v1.0.0-rc.12`](https://github.com/cheeriojs/cheerio/releases/tag/v1.0.0-rc.12)

[Compare Source](https://github.com/cheeriojs/cheerio/compare/v1.0.0-rc.11...v1.0.0-rc.12)

Bugfix release. Fixed issues:

-   Align `prop` undefined handling with jQuery by [@&#8203;fb55](https://github.com/fb55) in [https://github.com/cheeriojs/cheerio/pull/2557](https://github.com/cheeriojs/cheerio/pull/2557)
-   Allow deep imports of `cheerio/lib/utils` by [@&#8203;blixt](https://github.com/blixt) in [https://github.com/cheeriojs/cheerio/pull/2601](https://github.com/cheeriojs/cheerio/pull/2601)

#### New Contributors

-   [@&#8203;blixt](https://github.com/blixt) made their first contribution in [https://github.com/cheeriojs/cheerio/pull/2601](https://github.com/cheeriojs/cheerio/pull/2601)

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

### [`v1.0.0-rc.11`](https://github.com/cheeriojs/cheerio/releases/tag/v1.0.0-rc.11)

[Compare Source](https://github.com/cheeriojs/cheerio/compare/v1.0.0-rc.10...v1.0.0-rc.11)

`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](https://github.com/cheeriojs/cheerio/issues/2523)) and NodeJS specific loader methods ([https://github.com/cheeriojs/cheerio/issues/2051](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](https://github.com/sponsors/cheeriojs)!

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](https://github.com/inikulin/parse5/releases/tag/v7.0.0) 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. [https://github.com/cheeriojs/cheerio/pull/2508](https://github.com/cheeriojs/cheerio/pull/2508)
-   `script` and `style` contents are added again in `.text()` [https://github.com/cheeriojs/cheerio/pull/2509](https://github.com/cheeriojs/cheerio/pull/2509)
    -   To keep the old behavior, switch `.text()` to `.prop('innerText')`
-   The TypeScript types inherited from upstream dependencies have changed. [https://github.com/cheeriojs/cheerio/pull/2503](https://github.com/cheeriojs/cheerio/pull/2503)
    -   Node types are now using tagged unions, which will make consumption a bit easier.

#### Features

-   Relevant options are now forwarded to `cheerio-select` [https://github.com/cheeriojs/cheerio/pull/2511](https://github.com/cheeriojs/cheerio/pull/2511)
    -   Custom pseudo classes can now be specified [using the `pseudos` option](https://cheerio.js.org/interfaces/CheerioOptions.html#pseudos).
-   For the `.prop()` method:
    -   Add `textContent` and `innerText` props [https://github.com/cheeriojs/cheerio/pull/2214](https://github.com/cheeriojs/cheerio/pull/2214)
    -   Users can now specify a `baseURI` option, which will lead to `href` and `src` props to be resolved as URLs. [https://github.com/cheeriojs/cheerio/pull/2510](https://github.com/cheeriojs/cheerio/pull/2510)
-   Added a `slim` export, which will always use htmlparser2 [https://github.com/cheeriojs/cheerio/pull/1960](https://github.com/cheeriojs/cheerio/pull/1960)

#### Fixes

-   Have `text` turn passed values to strings [https://github.com/cheeriojs/cheerio/pull/2047](https://github.com/cheeriojs/cheerio/pull/2047)
-   Include `undefined` in the return type of `get` by [@&#8203;glen-84](https://github.com/glen-84) in [https://github.com/cheeriojs/cheerio/pull/2392](https://github.com/cheeriojs/cheerio/pull/2392)
-   Recognise comments as HTML [https://github.com/cheeriojs/cheerio/pull/2504](https://github.com/cheeriojs/cheerio/pull/2504)
-   Add missing `undefined` return value [https://github.com/cheeriojs/cheerio/pull/2505](https://github.com/cheeriojs/cheerio/pull/2505)
-   Export missing static methods [https://github.com/cheeriojs/cheerio/pull/2506](https://github.com/cheeriojs/cheerio/pull/2506)
-   Have style parsing add malformed fields to previous field [https://github.com/cheeriojs/cheerio/pull/2521](https://github.com/cheeriojs/cheerio/pull/2521)

#### Refactor

-   Use `domutils` module directly [https://github.com/cheeriojs/cheerio/pull/1928](https://github.com/cheeriojs/cheerio/pull/1928)
-   Hand-roll `isHTML` [https://github.com/cheeriojs/cheerio/pull/1935](https://github.com/cheeriojs/cheerio/pull/1935)
-   Move initialization logic to `load` [https://github.com/cheeriojs/cheerio/pull/1951](https://github.com/cheeriojs/cheerio/pull/1951)
-   Only return elements in `closest` [https://github.com/cheeriojs/cheerio/pull/2057](https://github.com/cheeriojs/cheerio/pull/2057)
-   Remove unnecessary code, be more explicit [https://github.com/cheeriojs/cheerio/pull/2279](https://github.com/cheeriojs/cheerio/pull/2279)
-   Use stricter TS, ESLint configs [https://github.com/cheeriojs/cheerio/pull/2507](https://github.com/cheeriojs/cheerio/pull/2507)
-   Update exported values [https://github.com/cheeriojs/cheerio/pull/2512](https://github.com/cheeriojs/cheerio/pull/2512)

#### Development Experience

-   Migrate husky to v6 by [@&#8203;DavideViolante](https://github.com/DavideViolante) in [https://github.com/cheeriojs/cheerio/pull/1934](https://github.com/cheeriojs/cheerio/pull/1934)
-   Update CI by [@&#8203;XhmikosR](https://github.com/XhmikosR) in [https://github.com/cheeriojs/cheerio/pull/2149](https://github.com/cheeriojs/cheerio/pull/2149)
-   Set permissions for GitHub actions by [@&#8203;neilnaveen](https://github.com/neilnaveen) in [https://github.com/cheeriojs/cheerio/pull/2453](https://github.com/cheeriojs/cheerio/pull/2453)

#### Docs

-   Update README "is not a web browser" section by [@&#8203;mxschmitt](https://github.com/mxschmitt) in [https://github.com/cheeriojs/cheerio/pull/2127](https://github.com/cheeriojs/cheerio/pull/2127)

#### New Contributors

-   [@&#8203;DavideViolante](https://github.com/DavideViolante) made their first contribution in [https://github.com/cheeriojs/cheerio/pull/1934](https://github.com/cheeriojs/cheerio/pull/1934)
-   [@&#8203;mxschmitt](https://github.com/mxschmitt) made their first contribution in [https://github.com/cheeriojs/cheerio/pull/2127](https://github.com/cheeriojs/cheerio/pull/2127)
-   [@&#8203;glen-84](https://github.com/glen-84) made their first contribution in [https://github.com/cheeriojs/cheerio/pull/2392](https://github.com/cheeriojs/cheerio/pull/2392)
-   [@&#8203;neilnaveen](https://github.com/neilnaveen) made their first contribution in [https://github.com/cheeriojs/cheerio/pull/2453](https://github.com/cheeriojs/cheerio/pull/2453)

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

### [`v1.0.0-rc.10`](https://github.com/cheeriojs/cheerio/releases/tag/v1.0.0-rc.10)

[Compare Source](https://github.com/cheeriojs/cheerio/compare/v1.0.0-rc.9...v1.0.0-rc.10)

**Fixes:**

-   `.html(node)` now moves passed nodes ([#&#8203;1923](https://github.com/cheeriojs/cheerio/issues/1923), fixes [#&#8203;940](https://github.com/cheeriojs/cheerio/issues/940))  [`258b26b`](https://github.com/cheeriojs/cheerio/commit/258b26b)
-   Boolean attributes are no longer special in xmlMode ([#&#8203;1903](https://github.com/cheeriojs/cheerio/issues/1903), fixes [#&#8203;1805](https://github.com/cheeriojs/cheerio/issues/1805))  [`b393e4a`](https://github.com/cheeriojs/cheerio/commit/b393e4a)
-   Rename parser adapter files ([#&#8203;1873](https://github.com/cheeriojs/cheerio/issues/1873), fixes [#&#8203;1847](https://github.com/cheeriojs/cheerio/issues/1847))  [`8f55dd8`](https://github.com/cheeriojs/cheerio/commit/8f55dd8)
-   Make `filter` work on all collections ([#&#8203;1870](https://github.com/cheeriojs/cheerio/issues/1870), fixes [#&#8203;1867](https://github.com/cheeriojs/cheerio/issues/1867))  [`fb8d31e`](https://github.com/cheeriojs/cheerio/commit/fb8d31e)
-   Bump cheerio-select ([#&#8203;1922](https://github.com/cheeriojs/cheerio/issues/1922), fixes https://www.npmjs.com/advisories/1754)  [`5cd2b9c`](https://github.com/cheeriojs/cheerio/commit/5cd2b9c)

**Documentation:**

-   Document how to define TS types for Plug-Ins ([#&#8203;1915](https://github.com/cheeriojs/cheerio/issues/1915), fixes [#&#8203;1778](https://github.com/cheeriojs/cheerio/issues/1778))  [`880fd2c`](https://github.com/cheeriojs/cheerio/commit/880fd2c)
-   Remove obsolete Testing section  [`e0c7cbb`](https://github.com/cheeriojs/cheerio/commit/e0c7cbb)
-   Remove now-invalid `require`  [`5dfbd35`](https://github.com/cheeriojs/cheerio/commit/5dfbd35)

**Refactors:**

-   Wrap shared behavior in `traversing` ([#&#8203;1909](https://github.com/cheeriojs/cheerio/issues/1909))  [`58e090a`](https://github.com/cheeriojs/cheerio/commit/58e090a)
-   Move `is` to `traversing`, optimize ([#&#8203;1908](https://github.com/cheeriojs/cheerio/issues/1908))  [`1c6fa3e`](https://github.com/cheeriojs/cheerio/commit/1c6fa3e)
-   Change order of arguments of internal `domEach` ([#&#8203;1892](https://github.com/cheeriojs/cheerio/issues/1892))  [`feda230`](https://github.com/cheeriojs/cheerio/commit/feda230)
-   Have `load` export a function ([#&#8203;1869](https://github.com/cheeriojs/cheerio/issues/1869))  [`c370f4e`](https://github.com/cheeriojs/cheerio/commit/c370f4e)

</details>

---

### 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 becomes conflicted, 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

prop('src'): TypeError: Cannot read properties of undefined (reading 'type')
1 participant