nissy-dev / blog

blog
https://blog.nissy.dev
MIT License
5 stars 0 forks source link

chore(deps): update dependency open-graph-scraper to v6 #259

Closed nissy-dev closed 7 months ago

nissy-dev commented 7 months ago

This PR contains the following updates:

Package Type Update Change Pending
open-graph-scraper devDependencies major 5.2.3 -> 6.3.4 6.4.0

Release Notes

jshemas/openGraphScraper (open-graph-scraper) ### [`v6.3.4`](https://togithub.com/jshemas/openGraphScraper/blob/HEAD/CHANGELOG.md#634) [Compare Source](https://togithub.com/jshemas/openGraphScraper/compare/a90a2dc0b7132934de0659c5db717a8fececdfa6...2c203d0262f8daba2e4de73a54002de4af854561) - Adding check to make sure `customMetaTags` are valid - Updating dependencies ### [`v6.3.3`](https://togithub.com/jshemas/openGraphScraper/blob/HEAD/CHANGELOG.md#633) [Compare Source](https://togithub.com/jshemas/openGraphScraper/compare/f4345f8707854ad0536dfc3647d3ae655bcf64a2...a90a2dc0b7132934de0659c5db717a8fececdfa6) - Updating dependencies - Sent the `Accept: text/html` header by default ### [`v6.3.2`](https://togithub.com/jshemas/openGraphScraper/blob/HEAD/CHANGELOG.md#632) [Compare Source](https://togithub.com/jshemas/openGraphScraper/compare/c4419f2967bab6959bd747dc5f9f8f29a6171773...f4345f8707854ad0536dfc3647d3ae655bcf64a2) - Fixing issue with npm ### [`v6.3.1`](https://togithub.com/jshemas/openGraphScraper/blob/HEAD/CHANGELOG.md#631) [Compare Source](https://togithub.com/jshemas/openGraphScraper/compare/7929a9d68d4eb858d0f68d7452c3f211bf4849eb...c4419f2967bab6959bd747dc5f9f8f29a6171773) - Adding a fallback for `charset` using `http-equiv` - Updating dependencies to fix npm vulnerabilities ### [`v6.3.0`](https://togithub.com/jshemas/openGraphScraper/blob/HEAD/CHANGELOG.md#630) [Compare Source](https://togithub.com/jshemas/openGraphScraper/compare/88e5d76ae28bbf646b46b141410d53277f30f945...7929a9d68d4eb858d0f68d7452c3f211bf4849eb) - Export `SuccessResult` and `ErrorResult` types - Updating dependencies ### [`v6.2.2`](https://togithub.com/jshemas/openGraphScraper/blob/HEAD/CHANGELOG.md#622) [Compare Source](https://togithub.com/jshemas/openGraphScraper/compare/e6f595fdd890a54a8813cfb5a989c59d04716af6...88e5d76ae28bbf646b46b141410d53277f30f945) - Updating dependencies to fix npm vulnerabilities ### [`v6.2.1`](https://togithub.com/jshemas/openGraphScraper/blob/HEAD/CHANGELOG.md#621) [Compare Source](https://togithub.com/jshemas/openGraphScraper/compare/0db84bad38ebf71921ca3db9dd962aef1f4009e9...e6f595fdd890a54a8813cfb5a989c59d04716af6) - Send back more details when there is a server error ### [`v6.2.0`](https://togithub.com/jshemas/openGraphScraper/blob/HEAD/CHANGELOG.md#620) [Compare Source](https://togithub.com/jshemas/openGraphScraper/compare/1a411902ec083e2510d2d2e7f5cf027a2fa3e1af...0db84bad38ebf71921ca3db9dd962aef1f4009e9) - Modified the `url` property in `OpenGraphScraperOptions` to be an optional property since you don't need this when using just `html` - `Type` can optional in `ImageObject` since type is not set it it's invalid - Take all of the `customMetaTags` out of base of `ogObject` and store them into `ogObject.customMetaTags` - The interal meta properties can be string arrays - Updating Dependencies ### [`v6.1.0`](https://togithub.com/jshemas/openGraphScraper/blob/HEAD/CHANGELOG.md#610) [Compare Source](https://togithub.com/jshemas/openGraphScraper/compare/8646c42bf7348439e9a807633f34d706826df6fe...1a411902ec083e2510d2d2e7f5cf027a2fa3e1af) - Setting the `origin` `header` to the request url since `fetch` runs in [cors mode by default](https://togithub.com/nodejs/undici/issues/1305). - Import `undici` for `fetch` so all versions of node18 are running the same version of `fetch`. Now ogs supports all versions of node18! - Updating Dependencies ### [`v6.0.1`](https://togithub.com/jshemas/openGraphScraper/blob/HEAD/CHANGELOG.md#601) [Compare Source](https://togithub.com/jshemas/openGraphScraper/compare/652fa8a1a9e7ca31d8410279e9c765e6ddb3ddd5...8646c42bf7348439e9a807633f34d706826df6fe) - `OpenGraphScraperOptions.fetchOptions` should be of type `RequestInit` instead of `Request`. - Updating Dependencies ### [`v6.0.0`](https://togithub.com/jshemas/openGraphScraper/blob/HEAD/CHANGELOG.md#600-Has-breaking-changes) [Compare Source](https://togithub.com/jshemas/openGraphScraper/compare/be7843287778c41057451e28762d3ce1b03a3313...652fa8a1a9e7ca31d8410279e9c765e6ddb3ddd5) - Replace `GOT` with [fetch](https://nodejs.org/docs/latest-v18.x/api/globals.html#fetch)! - Only supporting `node18` or higher going forward - Updated how options work. `Fetch` and `OGS` options no longer being mixed together, users can now set [fetch options](https://developer.mozilla.org/en-US/docs/Web/API/fetch#options) using `options.fetchOptions` - Remove any ogImages/ogVideos/twitterImages/twitterPlayers/musicSongs resultes that have no url - The `downloadLimit` option has been removed in favor of just using timeouts. - Limit ogImages/ogVideos/twitterImages/twitterPlayers/musicSongs to 10 items - Adding html to the `SuccessResult` of `OGS` - Adding `options.timeout` to set the fetch request timeout. (default is 10 seconds) - Remove `null` values from ogImages/ogVideos/twitterImages/twitterPlayers/musicSongs - Removing `options.allMedia`, you can just grab the first value of the array for the pervious behavior - Removing `options.ogImageFallback`, you can set `options.onlyGetOpenGraphInfo` to `true` for the pervious behavior - ogImages/ogVideos/twitterImages/twitterPlayers/musicSongs will always be an array now, you can just grab the first value of the array for the pervious behavior - Updating Dependencies

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» 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 Renovate Bot.

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blog 🛑 Canceled (Inspect) Feb 17, 2024 2:08pm