Bump cheerio from 1.0.0-rc.3 to 1.0.0-rc.12 in /backend
Created by: dependabot[bot]
Bumps cheerio from 1.0.0-rc.3 to 1.0.0-rc.12.
Release notes
Sourced from cheerio's releases.
v1.0.0-rc.12
Bugfix release. Fixed issues:
- Align
prop
undefined handling with jQuery by@fb55
in cheeriojs/cheerio#2557- Allow deep imports of
cheerio/lib/utils
by@blixt
in cheeriojs/cheerio#2601New Contributors
@blixt
made their first contribution in cheeriojs/cheerio#2601Full Changelog: https://github.com/cheeriojs/cheerio/compare/v1.0.0-rc.11...v1.0.0-rc.12
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: Anexract
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
script
andstyle
contents are added again in.text()
cheeriojs/cheerio#2509
- To keep the old behavior, switch
.text()
to.prop('innerText')
- The TypeScript types inherited from upstream dependencies have changed. cheeriojs/cheerio#2503
- Node types are now using tagged unions, which will make consumption a bit easier.
Features
- Relevant options are now forwarded to
cheerio-select
cheeriojs/cheerio#2511
- Custom pseudo classes can now be specified using the
pseudos
option.- For the
.prop()
method:
- Add
textContent
andinnerText
props cheeriojs/cheerio#2214- Users can now specify a
baseURI
option, which will lead tohref
andsrc
props to be resolved as URLs. cheeriojs/cheerio#2510- Added a
slim
export, which will always use htmlparser2 cheeriojs/cheerio#1960Fixes
- Have
text
turn passed values to strings cheeriojs/cheerio#2047- Include
undefined
in the return type ofget
by@glen-84
in cheeriojs/cheerio#2392- Recognise comments as HTML cheeriojs/cheerio#2504
- Add missing
undefined
return value cheeriojs/cheerio#2505- Export missing static methods cheeriojs/cheerio#2506
- Have style parsing add malformed fields to previous field cheeriojs/cheerio#2521
Refactor
- Use
domutils
module directly cheeriojs/cheerio#1928- Hand-roll
isHTML
cheeriojs/cheerio#1935- Move initialization logic to
load
cheeriojs/cheerio#1951- Only return elements in
closest
cheeriojs/cheerio#2057
... (truncated)
Changelog
Sourced from cheerio's changelog.
Starting with 1.0.0-rc.4, release notes are exclusively tracked in GitHub Releases.
Commits
-
d1cbc66
1.0.0-rc.12 -
4b4432f
chore: Update license to 2022 -
72e3c42
chore(deps): Remove tslib dependency -
810ce07
build(deps-dev): bump@types/node
from 17.0.43 to 18.0.0 (#2596) -
b6bdc24
doc(comments): fix minor spelling mistake (#2585) -
aef3205
Update Sponsors (#2599) -
febcb41
build(deps-dev): bump jsdom from 19.0.0 to 20.0.0 (#2606) -
16a3adb
docs: update History.md (#2588) -
43d9f50
fix(package): Allow imports ofcheerio/lib/utils
(#2601) -
6fe629a
build(deps-dev): bump@types/jest
from 28.1.2 to 28.1.3 (#2609) - Additional commits viewable in compare view
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)