thu-info-community / thu-info-app

An APP aimed at integrating various sources of campus information, developed with React Native
https://app.cs.tsinghua.edu.cn
Other
153 stars 11 forks source link

fix(deps): update dependency cheerio to v1.0.0 #587

Closed renovate[bot] closed 3 days ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cheerio (source) 1.0.0-rc.12 -> 1.0.0 age adoption passing confidence

Release Notes

cheeriojs/cheerio (cheerio) ### [`v1.0.0`](https://togithub.com/cheeriojs/cheerio/releases/tag/v1.0.0) [Compare Source](https://togithub.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 [https://github.com/cheeriojs/cheerio/pull/3959](https://togithub.com/cheeriojs/cheerio/pull/3959) - Import paths were simplified. For example, use `cheerio/slim` instead of `cheerio/lib/slim`. [https://github.com/cheeriojs/cheerio/pull/3970](https://togithub.com/cheeriojs/cheerio/pull/3970) - The deprecated default Cheerio instance and static methods were removed. [https://github.com/cheeriojs/cheerio/pull/3974](https://togithub.com/cheeriojs/cheerio/pull/3974) Before, it was possible to write code like this: ```ts import cheerio, { html } from 'cheerio'; html(cheerio('')); // ~ '' -- NO LONGER WORKS ``` Make sure to always load documents first: ```ts import * as cheerio from 'cheerio'; cheerio.load('').html(); ``` - Node types previously re-exported by Cheerio must now be imported directly from (`domhandler`)(https://github.com/fb55/domhandler). [https://github.com/cheeriojs/cheerio/pull/3969](https://togithub.com/cheeriojs/cheerio/pull/3969) - htmlparser2 options now reside exclusively under the `xml` key ([https://github.com/cheeriojs/cheerio/pull/2916](https://togithub.com/cheeriojs/cheerio/pull/2916)): ```ts const $ = cheerio.load('', { xml: { withStartIndices: true, }, }); ``` #### New Features - Add functions to load buffers, streams & URLs in NodeJS by [@​fb55](https://togithub.com/fb55) in [https://github.com/cheeriojs/cheerio/pull/2857](https://togithub.com/cheeriojs/cheerio/pull/2857) - Add extract method by [@​fb55](https://togithub.com/fb55) in [https://github.com/cheeriojs/cheerio/pull/2750](https://togithub.com/cheeriojs/cheerio/pull/2750) #### Fixes - Allow imports of `cheerio/utils` by [@​blixt](https://togithub.com/blixt) in [https://github.com/cheeriojs/cheerio/pull/2601](https://togithub.com/cheeriojs/cheerio/pull/2601) - Allow empty string in `data`, and simplify by [@​fb55](https://togithub.com/fb55) in [https://github.com/cheeriojs/cheerio/pull/2818](https://togithub.com/cheeriojs/cheerio/pull/2818) - Make `closest` be able to start from text nodes by [@​Qualtagh](https://togithub.com/Qualtagh) in [https://github.com/cheeriojs/cheerio/pull/2811](https://togithub.com/cheeriojs/cheerio/pull/2811) - Fix potential github action smells by [@​ceddy4395](https://togithub.com/ceddy4395) in [https://github.com/cheeriojs/cheerio/pull/3826](https://togithub.com/cheeriojs/cheerio/pull/3826) #### Other - Cheerio has [a new website](https://cheerio.js.org), featuring updated API docs and guides! [https://github.com/cheeriojs/cheerio/pull/2950](https://togithub.com/cheeriojs/cheerio/pull/2950) **Full Changelog**: https://github.com/cheeriojs/cheerio/compare/v1.0.0-rc.12...v1.0.0

Configuration

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

🚦 Automerge: Enabled.

â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 2 months ago

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


renovate[bot] commented 3 days ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (1.0.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.