chore(deps): update utils
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| cheerio (source) | 1.0.0-rc.12 -> 1.0.0 |
||||
| cookie | ^0.6.0 -> ^0.7.0 |
||||
| date-fns-tz | 3.1.3 -> 3.2.0 |
||||
| picocolors | 1.0.0 -> 1.1.0 |
Release Notes
cheeriojs/cheerio (cheerio)
v1.0.0
Cheerio 1.0 is here! 🎉
Announcement Blog Post
Breaking Changes
-
The minimum NodeJS version is now 18.17 or higher https://github.com/cheeriojs/cheerio/pull/3959
-
Import paths were simplified. For example, use
cheerio/sliminstead ofcheerio/lib/slim. https://github.com/cheeriojs/cheerio/pull/3970 -
The deprecated default Cheerio instance and static methods were removed. https://github.com/cheeriojs/cheerio/pull/3974
Before, it was possible to write code like this:
import cheerio, { html } from 'cheerio'; html(cheerio('<test></test>')); // ~ '<test></test>' -- NO LONGER WORKSMake sure to always load documents first:
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). https://github.com/cheeriojs/cheerio/pull/3969 -
htmlparser2 options now reside exclusively under the
xmlkey (https://github.com/cheeriojs/cheerio/pull/2916):const $ = cheerio.load('<html>', { xml: { withStartIndices: true, }, });
New Features
- Add functions to load buffers, streams & URLs in NodeJS by @fb55 in https://github.com/cheeriojs/cheerio/pull/2857
- Add extract method by @fb55 in https://github.com/cheeriojs/cheerio/pull/2750
Fixes
- Allow imports of
cheerio/utilsby @blixt in https://github.com/cheeriojs/cheerio/pull/2601 - Allow empty string in
data, and simplify by @fb55 in https://github.com/cheeriojs/cheerio/pull/2818 - Make
closestbe able to start from text nodes by @Qualtagh in https://github.com/cheeriojs/cheerio/pull/2811 - Fix potential github action smells by @ceddy4395 in https://github.com/cheeriojs/cheerio/pull/3826
Other
- Cheerio has a new website, featuring updated API docs and guides! https://github.com/cheeriojs/cheerio/pull/2950
Full Changelog: https://github.com/cheeriojs/cheerio/compare/v1.0.0-rc.12...v1.0.0
jshttp/cookie (cookie)
v0.7.1
v0.7.0: 0.7.0
- perf: parse cookies ~10% faster (#144 by @kurtextrem and #170)
- fix: narrow the validation of cookies to match RFC6265 (#167 by @bewinsnw)
- fix: add
maintopackage.jsonfor rspack (#166 by @proudparrot2)
marnusw/date-fns-tz (date-fns-tz)
v3.2.0
- [DEPS]
[email protected]supported (#301) - [PERFORMANCE] Make testDateFormatted static to avoid re-initialising it on every call (#297) @hurali97
- [ENHANCEMENT] Compatibility with
date-fnssetDefaultOptions(#286) @yangchristina - [DOCS] Fixed table of contents links (#284)
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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| pixiv-now | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 16, 2024 7:31pm |