Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Update cheerio requirement from ^1.0.0-rc.5 to ^1.0.0-rc.6 - #93

Closed
dependabot-preview[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/cheerio-tw-1.0.0-rc.6
Closed

Update cheerio requirement from ^1.0.0-rc.5 to ^1.0.0-rc.6#93
dependabot-preview[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/cheerio-tw-1.0.0-rc.6

Conversation

@dependabot-preview

Copy link
Copy Markdown
Contributor

Updates the requirements on cheerio to permit the latest version.

Release notes

Sourced from cheerio's releases.

v1.0.0-rc.6

Breaking:

This release contains three breaking changes inherited from dependencies.

  • Selectors (see css-select@4.0.0):
    • Several pseudo selectors are now stricter, in line with the HTML spec.
    • Some attributes are now case-insensitive based on the HTML spec.
  • DOM:
    • In XML mode, all elements will have type: 'tag'.

New features:

  • Add .unwrap (#1651 by @5saviahv) 2037d83
  • Add .wrapAll (#1590 by @5saviahv) cd4a4d9
  • Support prop('innerHTML') (#1578 by @fb55) c58258f
  • Expose the scriptingEnabled parse5 option (#1707 by @5saviahv) 7eb4cc4
    • By setting scriptingEnabled to false, it is now possible to parse the contents of <noscript> tags.

Types:

Bug fixes:

  • Fix handling of undefined as value in .attr() (#1757 by @5saviahv) 98186e8
  • Fix filter for {prev,next}Until (#1728 by @fb55) f2615d2
  • Fix parentsUntil filtering (#1708 by @5saviahv) bf899d5
  • Remove module caching dependency (#1691 by @5saviahv) a9d6a43
  • Filter text nodes in find function (#1680 by @5saviahv) 9b28b49
  • Fix .add modifying previous selections (#1656 by @5saviahv) 9f9b493
  • Stop parent() from throwing an error in some cases (#1637 by @5saviahv) 43592d6
  • Make it possible to .find siblings (#1583 by @fb55) 1062a6c
  • Fix replaceWith replacing element with itself (#1581 by @fb55) 88ae636
  • Fix attr handling of undefined as value (#1582 by @fb55) 3b35ae4
  • Support passing a single element to load (#1580 by @fb55) 0855be6
  • Update attribute value when setting prop in .prop (#1579 by @fb55) db3fce7
  • Add length instance property to all Cheerio instances (#1681 by @5saviahv) b3010d7
  • Enforce LF (#1602 by @XhmikosR) 0bbad23
  • .html() send context to parse5 (#1627 by @5saviahv) bf04330

Documentation updates:

... (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 htmlparser2 when 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, htmlparser2 is more forgiving of invalid markup which can be useful when input sourced from a third party and cannot be corrected. For these reasons, the load method also accepts a DOM structure as produced by the htmlparser2 library. 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 global jQuery function 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 load method 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
  • 0c787f6 1.0.0-rc.6
  • cfab13f refactor(forms): Use :enabled pseudo
  • 78dacda build(deps): Upgrade dependencies
  • 9d56795 build(deps): bump domhandler from 4.0.0 to 4.1.0
  • d6fae6c build(deps-dev): bump prettier-plugin-jsdoc from 0.3.13 to 0.3.14
  • 8a001a3 build(deps-dev): bump @types/node from 14.14.35 to 14.14.36
  • f60cc58 build(deps-dev): bump clean-jsdoc-theme from 3.0.8 to 3.0.10
  • cee6b7a build(deps-dev): bump eslint-plugin-jest from 24.2.1 to 24.3.2
  • 9373e8e build(deps-dev): bump @types/node from 14.14.32 to 14.14.35
  • 17d6dd6 build(deps-dev): bump jsdom from 16.5.0 to 16.5.1
  • 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)
  • @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
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Updates the requirements on [cheerio](https://github.com/cheeriojs/cheerio) to permit the latest version.
- [Release notes](https://github.com/cheeriojs/cheerio/releases)
- [Changelog](https://github.com/cheeriojs/cheerio/blob/main/History.md)
- [Commits](cheeriojs/cheerio@v1.0.0-rc.5...v1.0.0-rc.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview
dependabot-preview Bot requested a review from KagChi as a code owner April 9, 2021 06:51
@dependabot-preview dependabot-preview Bot added the dependencies Pull requests that update a dependency file label Apr 9, 2021
@dependabot-preview

Copy link
Copy Markdown
Contributor Author

Superseded by #110.

@dependabot-preview
dependabot-preview Bot deleted the dependabot/npm_and_yarn/cheerio-tw-1.0.0-rc.6 branch May 7, 2021 08:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants