highlight-loader
highlight-loader copied to clipboard
Bump css-what and cheerio
Bumps css-what to 6.1.0 and updates ancestor dependency cheerio. These dependencies need to be updated together.
Updates css-what from 1.0.0 to 6.1.0
Release notes
Sourced from css-what's releases.
v6.1.0
- feat: Support pseudo elements with data (#762) 3be227a
https://github.com/fb55/css-what/compare/v6.0.1...v6.1.0
v6.0.1
- Fix parsing column combinators after tag names 503570e
https://github.com/fb55/css-what/compare/v6.0.0...v6.0.1
v6.0.0
Breaking Changes
- Added ES6 module export (by
@spocke, fb55/css-what#680)
- 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
switchstatement 7b6cc76Other
- Adopted CSS Selector parsing tests from WPT 1881bba
- Updated README to reflect changes b165a8d
New Contributors
@spockemade their first contribution in fb55/css-what#680Full Changelog: https://github.com/fb55/css-what/compare/v5.1.0...v6.0.0
v5.1.0
What's Changed
- Add 'where' pseudo selector by
@jannisplin fb55/css-what#620Full Changelog: https://github.com/fb55/css-what/compare/v5.0.1...v5.1.0
v5.0.1
Fixes:
... (truncated)
Commits
- See full diff in compare view
Updates cheerio from 0.19.0 to 1.0.0-rc.12
Release notes
Sourced from cheerio's releases.
v1.0.0-rc.12
Bugfix release. Fixed issues:
- Align
propundefined handling with jQuery by@fb55in cheeriojs/cheerio#2557- Allow deep imports of
cheerio/lib/utilsby@blixtin cheeriojs/cheerio#2601New Contributors
@blixtmade 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
[email protected]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: Anexractmethod (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
scriptandstylecontents 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-selectcheeriojs/cheerio#2511
- Custom pseudo classes can now be specified using the
pseudosoption.- For the
.prop()method:
- Add
textContentandinnerTextprops cheeriojs/cheerio#2214- Users can now specify a
baseURIoption, which will lead tohrefandsrcprops to be resolved as URLs. cheeriojs/cheerio#2510- Added a
slimexport, which will always use htmlparser2 cheeriojs/cheerio#1960Fixes
- Have
textturn passed values to strings cheeriojs/cheerio#2047- Include
undefinedin the return type ofgetby@glen-84in cheeriojs/cheerio#2392- Recognise comments as HTML cheeriojs/cheerio#2504
- Add missing
undefinedreturn 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
domutilsmodule directly cheeriojs/cheerio#1928- Hand-roll
isHTMLcheeriojs/cheerio#1935- Move initialization logic to
loadcheeriojs/cheerio#1951- Only return elements in
closestcheeriojs/cheerio#2057
... (truncated)
Changelog
Sourced from cheerio's changelog.
Starting with 1.0.0-rc.4, release notes are exclusively tracked in GitHub Releases.
1.0.0-rc.3 / 2019-04-06
This release corrects a test expectation that was fixed by one of the project's dependencies.
1.0.0-rc.2 / 2017-07-02
This release changes Cheerio's default parser to the Parse5 HTML parser. Parse5 is an excellent project that rigorously conforms to the HTML standard. It does not support XML, so Cheerio continues to use
htmlparser2when working with XML documents.This switch addresses many long-standing bugs in Cheerio, but some users may experience slower behavior in performance-critical applications. In addition,
htmlparser2is more forgiving of invalid markup which can be useful when input sourced from a third party and cannot be corrected. For these reasons, theloadmethod also accepts a DOM structure as produced by thehtmlparser2library. See the project's "readme" file for more details on this usage pattern.Migrating from version 0.x
cheerio.load( html[, options ] )This method continues to act as a "factory" function. It produces functions that define an API that is similar to the globaljQueryfunction provided by the jQuery library. The generated function operates on a DOM structure based on the provided HTML.In releases prior to version 1.0, the provided HTML was interpreted as a document fragment. Following version 1.0, strings provided to the
loadmethod are interpreted as documents. The same example will produce a$function that operates on a full HTML document, including an<html>document element with nested<head>and<body>tags. This mimics web browser behavior much more closely, but may require alterations to existing code.For example, the following code will produce different results between 0.x and 1.0 releases:
var $ = cheerio.load('<p>Hello, <b>world</b>!</p>');$.root().html();
//=> In version 0.x: '<p>Hello, <b>world</b>!</p>' //=> In version 1.0: '<html><head></head><body><p>Hello, <b>world</b>!</p></body></html>'
Users wishing to parse, manipulate, and render full documents should not need to modify their code. Likewise, code that does not interact with the "root"
... (truncated)
Commits
d1cbc661.0.0-rc.124b4432fchore: Update license to 202272e3c42chore(deps): Remove tslib dependency810ce07build(deps-dev): bump@types/nodefrom 17.0.43 to 18.0.0 (#2596)b6bdc24doc(comments): fix minor spelling mistake (#2585)aef3205Update Sponsors (#2599)febcb41build(deps-dev): bump jsdom from 19.0.0 to 20.0.0 (#2606)16a3adbdocs: update History.md (#2588)43d9f50fix(package): Allow imports ofcheerio/lib/utils(#2601)6fe629abuild(deps-dev): bump@types/jestfrom 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 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 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)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill 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.