Skip to content

Commit

Permalink
chore(deps): update dependency cheerio to v1.0.0 (#977)
Browse files Browse the repository at this point in the history
[![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.12` ->
`1.0.0`](https://renovatebot.com/diffs/npm/cheerio/1.0.0-rc.12/1.0.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/cheerio/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cheerio/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cheerio/1.0.0-rc.12/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cheerio/1.0.0-rc.12/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

Cheerio 1.0 is here! 🎉

### [Announcement Blog Post](https://cheerio.js.org/blog/cheerio-1.0)

#### Breaking Changes

- The minimum NodeJS version is now 18.17 or higher
[cheeriojs/cheerio#3959

- Import paths were simplified. For example, use `cheerio/slim` instead
of
`cheerio/lib/slim`.
[cheeriojs/cheerio#3970

- The deprecated default Cheerio instance and static methods were
removed.
[cheeriojs/cheerio#3974

    Before, it was possible to write code like this:

    ```ts
    import cheerio, { html } from 'cheerio';

html(cheerio('<test></test>')); // ~ '<test></test>' -- NO LONGER WORKS
    ```

    Make sure to always load documents first:

    ```ts
    import * as cheerio from 'cheerio';

    cheerio.load('<test></test>').html();
    ```

- Node types previously re-exported by Cheerio must now be imported
directly
from (`domhandler`)(https://github.com/fb55/domhandler).
[cheeriojs/cheerio#3969

- htmlparser2 options now reside exclusively under the `xml` key
([cheeriojs/cheerio#2916):

    ```ts
    const $ = cheerio.load('<html>', {
      xml: {
        withStartIndices: true,
      },
    });
    ```

#### New Features

- Add functions to load buffers, streams & URLs in NodeJS by
[@&#8203;fb55](https://github.com/fb55) in
[cheeriojs/cheerio#2857
- Add extract method by [@&#8203;fb55](https://github.com/fb55) in
[cheeriojs/cheerio#2750

#### Fixes

- Allow imports of `cheerio/utils` by
[@&#8203;blixt](https://github.com/blixt) in
[cheeriojs/cheerio#2601
- Allow empty string in `data`, and simplify by
[@&#8203;fb55](https://github.com/fb55) in
[cheeriojs/cheerio#2818
- Make `closest` be able to start from text nodes by
[@&#8203;Qualtagh](https://github.com/Qualtagh) in
[cheeriojs/cheerio#2811
- Fix potential github action smells by
[@&#8203;ceddy4395](https://github.com/ceddy4395) in
[cheeriojs/cheerio#3826

#### Other

- Cheerio has [a new website](https://cheerio.js.org), featuring updated
API docs and guides!
[cheeriojs/cheerio#2950

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

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/tomacheese/telcheck).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Aug 10, 2024
1 parent 3b65cb9 commit ea6fa0e
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@types/node": "20.14.15",
"@types/web-push": "3.6.3",
"axios": "1.7.3",
"cheerio": "1.0.0-rc.12",
"cheerio": "1.0.0",
"eslint": "9.9.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.29.1",
Expand Down
67 changes: 57 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ea6fa0e

Please sign in to comment.