CommonJS is still provided for earlier NodeJS versions, but this change might cause issues with your build system. If they aren't trivially resolved, please open an issue!
Removed all options 5cad07b
BREAKING: Added a new value for ignoreCase: 'quirks' should ignore the case only in quirks mode.
BREAKING: Tags and attributes aren't lowercased anymore
Made selector types & actions enums 65121fe
Set empty namespace to null in attributes de367ca
Simplify stringify output 8a29466 b3e5e59
Features
Support parsing column combinators 8030f67
Fixes
Strip leading whitespace encapsulated in comments a812a1c
This used to be a way to sneak in descendant operators in front of selectors.
Refactors
Switched parsing to numbers 65121fe
Restructured the parser to a big switch statement 7b6cc76
Other
Adopted CSS Selector parsing tests from WPT 1881bba
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 (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
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/ecirpnaes/SimpleDataScripter/network/alerts).
Bumps css-what and cheerio. These dependencies needed to be updated together. Updates
css-what
from 4.0.0 to 6.1.0Release notes
Sourced from css-what's releases.
... (truncated)
Commits
ee41dda
6.1.03be227a
feat: Support pseudo elements with data (#762)13ffc5b
build(deps-dev): bump@typescript-eslint/parser
from 5.16.0 to 5.17.0 (#760)7d0cc2f
build(deps-dev): bump@typescript-eslint/eslint-plugin
(#759)389d1b3
build(deps-dev): bump eslint from 8.11.0 to 8.12.0 (#758)afd14e7
build(deps-dev): bump prettier from 2.6.0 to 2.6.1 (#757)a1542de
build(deps-dev): bump typescript from 4.6.2 to 4.6.3 (#756)41d9752
build(deps-dev): bump ts-jest from 27.1.3 to 27.1.4 (#755)fed0407
build(deps): bump minimist from 1.2.5 to 1.2.6 (#754)96a2408
build(deps-dev): bump@types/node
from 17.0.22 to 17.0.23 (#753)Updates
cheerio
from 1.0.0-rc.5 to 1.0.0-rc.12Release notes
Sourced from cheerio's releases.
... (truncated)
Commits
d1cbc66
1.0.0-rc.124b4432f
chore: Update license to 202272e3c42
chore(deps): Remove tslib dependency810ce07
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)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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/ecirpnaes/SimpleDataScripter/network/alerts).