potato4d / nuxt-basic-auth-module

Provide basic auth your Nuxt.js application
https://www.npmjs.com/package/nuxt-basic-auth-module
MIT License
310 stars 9 forks source link

chore(deps): update dependency cheerio to v1.0.0-rc.9 #193

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cheerio (source) 1.0.0-rc.6 -> 1.0.0-rc.9 age adoption passing confidence

Release Notes

cheeriojs/cheerio ### [`v1.0.0-rc.9`](https://togithub.com/cheeriojs/cheerio/releases/v1.0.0-rc.9) [Compare Source](https://togithub.com/cheeriojs/cheerio/compare/v1.0.0-rc.8...v1.0.0-rc.9) **Port to TypeScript** Cheerio has been ported entirely to TypeScript (in [#​1816](https://togithub.com/cheeriojs/cheerio/issues/1816))! This eliminates a lot of edge-cases within Cheerio and will allow you to use Cheerio with confidence. This release also features a new documentation website based on TypeDoc, allowing you to quickly navigate all available methods: * * * **Breaking change:** If you were using the function exported by Cheerio directly instead of first `load()`ing a document, you will now have to update the `require` to use the `default` export. ```diff - const cheerio = require("cheerio"); + const cheerio = require("cheerio").default; cheerio('div', dom) ``` Please note that this way of using Cheerio is deprecated and might be removed in a future version. Please consider updating your code to: ```js const cheerio = require("cheerio"); const $ = cheerio.load(dom) $('div') ``` * * * For TypeScript types, Cheerio now implements the `ArrayLike` interface. That means that Cheerio instances can contain objects of arbitrary types, but not all methods can be called on them. The TypeScript compiler will figure out what structures you are operating on: - When calling a loaded Cheerio instance with an HTML string like `$('
')`, it will product a `Cheerio` type. - `Node` is the base class for DOM elements and includes eg. comment and text nodes. - When calling Cheerio with a selector like `$('.foo')`, it will produce a `Cheerio`, as only `Element`s can be part of the result set. - `Element` is the class representing tags. - You can still use `$('...').map()` to map to arbitrary values, and will get a compiler error when trying to call method that are not supported. - Eg. `$('.foo').map((i, el) => $(el).text()).attr('test')` will no longer be possible, as `.attr` is not allowed to be called on a `Cheerio`. * * * This release does not contain other changes to functionality. Feedback is greatly appreciated; if you encounter a problem, please [file an issue](https://togithub.com/cheeriojs/cheerio/issues)! ### [`v1.0.0-rc.8`](https://togithub.com/cheeriojs/cheerio/releases/v1.0.0-rc.8) [Compare Source](https://togithub.com/cheeriojs/cheerio/compare/v1.0.0-rc.7...v1.0.0-rc.8) _Second botched release. Please use `v1.0.0-rc.9` instead._ ### [`v1.0.0-rc.7`](https://togithub.com/cheeriojs/cheerio/releases/v1.0.0-rc.7) [Compare Source](https://togithub.com/cheeriojs/cheerio/compare/v1.0.0-rc.6...v1.0.0-rc.7) _Published without a `lib` directory β€” please ignore._

Configuration

πŸ“… Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

codecov[bot] commented 3 years ago

Codecov Report

Merging #193 (564eef0) into master (fc7ea1d) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #193   +/-   ##
=======================================
  Coverage   96.07%   96.07%           
=======================================
  Files           2        2           
  Lines          51       51           
  Branches       13       13           
=======================================
  Hits           49       49           
  Misses          2        2