fix(deps): update dependency open-graph-scraper to v6 #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.7.1->6.2.2Release Notes
jshemas/openGraphScraper (open-graph-scraper)
v6.2.2Compare Source
v6.2.1Compare Source
v6.2.0Compare Source
urlproperty inOpenGraphScraperOptionsto be an optional property since you don't need this when using justhtmlTypecan optional inImageObjectsince type is not set it it's invalidcustomMetaTagsout of base ofogObjectand store them intoogObject.customMetaTagsv6.1.0Compare Source
originheaderto the request url sincefetchruns in cors mode by default.undiciforfetchso all versions of node18 are running the same version offetch. Now ogs supports all versions of node18!v6.0.1Compare Source
OpenGraphScraperOptions.fetchOptionsshould be of typeRequestInitinstead ofRequest.v6.0.0Compare Source
GOTwith fetch!node18or higher going forwardFetchandOGSoptions no longer being mixed together, users can now set fetch options usingoptions.fetchOptionsdownloadLimitoption has been removed in favor of just using timeouts.SuccessResultofOGSoptions.timeoutto set the fetch request timeout. (default is 10 seconds)nullvalues from ogImages/ogVideos/twitterImages/twitterPlayers/musicSongsoptions.allMedia, you can just grab the first value of the array for the pervious behavioroptions.ogImageFallback, you can setoptions.onlyGetOpenGraphInfototruefor the pervious behaviorv5.2.3Compare Source
v5.2.2Compare Source
SuccessResultandErrorResultbyerrorfield.v5.2.1Compare Source
v5.2.0Compare Source
charsetlib and just usechardetfor finding the html encodingpeekSizeoption since that was used bycharsetcharsetfallback to be more reliablearticle:published_dateandarticle:modified_datemeta tagsv5.1.1Compare Source
importwould cause typescript errorsurlValidatorSettingsdefaults to matchvalidatorjsv5.1.0Compare Source
response.bodyto be astringandresponse.rawBodyto be abuffer. They now match thenodetype forresponse.v5.0.5Compare Source
twitterImageObjectandtwitterPlayerObjecttypesv5.0.4Compare Source
options.downloadLimittype now allows forfalsev5.0.3Compare Source
v5.0.2Compare Source
v5.0.1Compare Source
v5.0.0Compare Source
gotversion 12!retryoption is now a object -> https://github.com/sindresorhus/got/blob/main/documentation/7-retry.md#retrytimeoutoption is now a object -> https://github.com/sindresorhus/got/blob/main/documentation/6-timeout.md#timeout-optionscallbackify-> https://nodejs.org/api/util.html#util_util_callbackify_originalPage not founderrors.gotno longer supports it.options.encoding.v4.11.1Compare Source
v4.11.0Compare Source
v4.10.0Compare Source
content-typeheader, it has to containtext/htmloptions.downloadLimit, it sets the maximum size of the content downloaded from the server, in bytesv4.9.2Compare Source
v4.9.1Compare Source
v4.9.0Compare Source
v4.8.2Compare Source
v4.8.1Compare Source
v4.8.0Compare Source
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 Mend Renovate. View repository job log here.