Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented May 28, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
open-graph-scraper 4.7.1 -> 6.2.2 age adoption passing confidence

Release Notes

jshemas/openGraphScraper (open-graph-scraper)

v6.2.2

Compare Source

  • Updating dependencies to fix npm vulnerabilities

v6.2.1

Compare Source

  • Send back more details when there is a server error

v6.2.0

Compare Source

  • 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

Compare Source

  • Setting the origin header to the request url since fetch runs in cors mode by default.
  • 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

Compare Source

  • OpenGraphScraperOptions.fetchOptions should be of type RequestInit instead of Request.
  • Updating Dependencies

v6.0.0

Compare Source

  • Replace GOT with 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 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

v5.2.3

Compare Source

  • Add in declaration files for typescript users.

v5.2.2

Compare Source

  • Specify true/false to distinguish SuccessResult and ErrorResult by error field.

v5.2.1

Compare Source

  • Adding the importsNotUsedAsValues flag and fixing type import issues

v5.2.0

Compare Source

  • Remove the charset lib and just use chardet for finding the html encoding
  • Remove peekSize option since that was used by charset
  • Updating the charset fallback to be more reliable
  • Adding support for article:published_date and article:modified_date meta tags
  • Updating Dependencies

v5.1.1

Compare Source

  • Fix issue where using import would cause typescript errors
  • Updating the urlValidatorSettings defaults to match validatorjs
  • Updating Dependencies

v5.1.0

Compare Source

  • Convert source code to typescript
  • Changing response.body to be a string and response.rawBody to be a buffer. They now match the node type for response.
  • Updating Dependencies

v5.0.5

Compare Source

  • Adding twitterImageObject and twitterPlayerObject types
  • Updating Dependencies

v5.0.4

Compare Source

  • The options.downloadLimit type now allows for false
  • Updating Dependencies

v5.0.3

Compare Source

  • Adding successResult and errorResult types

v5.0.2

Compare Source

  • TS export now has common GOT options.
  • Updating Dependencies

v5.0.1

Compare Source

  • TS export run as a Promise
  • Updating Docs
  • Updating Dependencies

v5.0.0

Compare Source

v4.11.1

Compare Source

  • Updating Dependencies to fix a security vulnerability

v4.11.0

Compare Source

  • Adding support for fetching the favicon
  • Updating Dependencies

v4.10.0

Compare Source

  • Adding a check for the content-type header, it has to contain text/html
  • Adding options.downloadLimit, it sets the maximum size of the content downloaded from the server, in bytes
  • Updating Dependencies

v4.9.2

Compare Source

  • Updating Dependencies to fix a security vulnerability

v4.9.1

Compare Source

  • Updating Dependencies to fix a security vulnerability

v4.9.0

Compare Source

  • Dropping support for Node10 since it has reach it's end of life
  • Setting response.rawBody to the parsed body since response.body is a buffer
  • Updating Dependencies

v4.8.2

Compare Source

  • Adding support for Node16
  • Updating Dependencies

v4.8.1

Compare Source

  • Fixing bug where the title fallback would return multiple titles

v4.8.0

Compare Source

  • Adding support for Proxies
  • 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.


  • If you want to rebase/retry this PR, check this box

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

@renovate
Copy link
Author

renovate bot commented May 28, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
/usr/local/bin/docker: line 4: .: filename argument required
.: usage: . filename [arguments]
ERROR: npm v9.8.0 is known not to run on Node.js v12.22.12.  This version of npm supports the following node versions: `^14.17.0 || ^16.13.0 || >=18.0.0`. You can find the latest version at https://nodejs.org/.

ERROR:
/opt/containerbase/tools/npm/9.8.0/node_modules/npm/lib/utils/exit-handler.js:19
  const hasLoadedNpm = npm?.config.loaded
                           ^

SyntaxError: Unexpected token '.'
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at module.exports (/opt/containerbase/tools/npm/9.8.0/node_modules/npm/lib/cli-entry.js:15:23)
    at module.exports (/opt/containerbase/tools/npm/9.8.0/node_modules/npm/lib/es6/validate-engines.js:39:10)
    at module.exports (/opt/containerbase/tools/npm/9.8.0/node_modules/npm/lib/cli.js:4:31)
ERROR: npm v9.8.0 is known not to run on Node.js v12.22.12.  This version of npm supports the following node versions: `^14.17.0 || ^16.13.0 || >=18.0.0`. You can find the latest version at https://nodejs.org/.

ERROR:
/opt/containerbase/tools/npm/9.8.0/node_modules/npm/lib/utils/exit-handler.js:19
  const hasLoadedNpm = npm?.config.loaded
                           ^

SyntaxError: Unexpected token '.'
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at module.exports (/opt/containerbase/tools/npm/9.8.0/node_modules/npm/lib/cli-entry.js:15:23)
    at module.exports (/opt/containerbase/tools/npm/9.8.0/node_modules/npm/lib/es6/validate-engines.js:39:10)
    at module.exports (/opt/containerbase/tools/npm/9.8.0/node_modules/npm/lib/cli.js:4:31)

@renovate renovate bot force-pushed the renovate/open-graph-scraper-6.x branch from dd6bc3a to 9a9d3d3 Compare June 8, 2023 04:57
@renovate renovate bot force-pushed the renovate/open-graph-scraper-6.x branch 2 times, most recently from 6e3fd4d to 49dd69b Compare June 22, 2023 03:15
@renovate renovate bot force-pushed the renovate/open-graph-scraper-6.x branch from 49dd69b to 8f2affe Compare July 19, 2023 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant