Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

fix(deps)!: update dependency node-fetch to v3 #679

Merged
merged 3 commits into from
Feb 7, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 7, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
node-fetch ^2.6.1 -> ^3.0.0 age adoption passing confidence

Release Notes

node-fetch/node-fetch

v3.2.0

Compare Source

Features

v3.1.1

Compare Source

Security patch release

Recommended to upgrade, to not leak sensitive cookie and authentication header information to 3th party host while a redirect occurred

What's Changed

New Contributors

Full Changelog: node-fetch/node-fetch@v3.1.0...v3.1.1

v3.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: node-fetch/node-fetch@v3.0.0...v3.1.0

v3.0.0

Compare Source

version 3 is going out of a long beta period and switches to stable

One major change is that it's now a ESM only package
See changelog for more information about all the changes.


Configuration

📅 Schedule: "before 3am on Monday" (UTC).

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

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

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

kodiakhq[bot]
kodiakhq bot previously approved these changes Feb 7, 2022
@github-actions github-actions bot added the type: bug code to address defects in shipped code label Feb 7, 2022
@ehmicky ehmicky changed the title fix(deps): update dependency node-fetch to v3 fix(deps)!: update dependency node-fetch to v3 Feb 7, 2022
}
}

const addFallbackErrorMessage = function (error, textResponse) {
error.message = error.message || textResponse
Copy link
Contributor

@ehmicky ehmicky Feb 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

export const getFetchError = function (error, url, opts) {
const data = omit.default(opts, ['Authorization'])
error.name = 'FetchError'
if (error.name !== 'FetchError') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

error.name is now non-writable on FetchError.

@ehmicky ehmicky merged commit 457afe9 into main Feb 7, 2022
@ehmicky ehmicky deleted the renovate/node-fetch-3.x branch February 7, 2022 18:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants