-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
Bumps cheerio from 1.0.0-rc.12 to 1.0.0.
Release notes
Sourced from cheerio's releases.
v1.0.0
Cheerio 1.0 is here!
Announcement Blog Post
Breaking Changes
The minimum NodeJS version is now 18.17 or higher cheeriojs/cheerio#3959
Import paths were simplified. For example, use
cheerio/sliminstead ofcheerio/lib/slim. cheeriojs/cheerio#3970The deprecated default Cheerio instance and static methods were removed. cheeriojs/cheerio#3974
Before, it was possible to write code like this:
')); // ~ '' -- NO LONGER WORKS">import cheerio, { html } from 'cheerio';
html(cheerio('')); // ~ ' ' -- NO LONGER WORKS Make sure to always load documents first:
').html();">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). cheeriojs/cheerio#3969htmlparser2 options now reside exclusively under the
xmlkey (cheeriojs/cheerio#2916):', { xml: { withStartIndices: true, }, });">const $ = cheerio.load('', {
xml: {
withStartIndices: true,
},
});New Features
- Add functions to load buffers, streams & URLs in NodeJS by
@ fb55in cheeriojs/cheerio#2857- Add extract method by
@ fb55in cheeriojs/cheerio#2750Fixes
- Allow imports of
cheerio/utilsby@ blixtin cheeriojs/cheerio#2601- Allow empty string in
data, and simplify by@ fb55in cheeriojs/cheerio#2818
... (truncated)
Commits
50b5d5c1.0.0eea2fecfix(eslint): Disable misfiring lint rulee60f659chore(package): Update published files4fe3e7bchore(docs): Add 1.0 Announcement Post (#3984)944553bbuild(deps): bump docusaurus-plugin-typedoc in /website (#3983)e34967ebuild(deps-dev): bump tsx from 4.16.5 to 4.17.0 (#3982)eb7122bchore(traversing): Add test case forlowerCaseTags(#3981)b824ba8fix(website): Fix ReactLiveScope examples (#3980)08ebee5build(deps-dev): bump eslint-plugin-jsdoc from 49.0.0 to 50.0.0 (#3979)bf5f44cbuild(deps-dev): bump eslint-plugin-jsdoc from 48.11.0 to 49.0.0 (#3976)- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot showwill show all of the ignore conditions of the specified dependencyignore conditions @dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- [Release notes](https://github.com/cheeriojs/cheerio/releases)
- [Commits](cheeriojs/cheerio@v1.0.0-rc.12...v1.0.0)
---
updated-dependencies:
- dependency-name: cheerio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]