Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency node-fetch to v2 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mend-for-github-com[bot]
Copy link

@mend-for-github-com mend-for-github-com bot commented Jul 6, 2022

This PR contains the following updates:

Package Type Update Change
node-fetch dependencies major ^1.7.2 -> ^2.0.0

By merging this PR, the below vulnerabilities will be automatically resolved:

Severity CVSS Score CVE
Medium Medium 6.1 CVE-2022-0235
Low Low 2.6 CVE-2020-15168

Release Notes

node-fetch/node-fetch (node-fetch)

v2.6.7

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

Full Changelog: node-fetch/node-fetch@v2.6.6...v2.6.7

v2.6.6

Compare Source

What's Changed

Full Changelog: node-fetch/node-fetch@v2.6.5...v2.6.6

v2.6.5

Compare Source

v2.6.4

Compare Source

v2.6.3

Compare Source

v2.6.2

Compare Source

fixed main path in package.json

v2.6.1

Compare Source

This is an important security release. It is strongly recommended to update as soon as possible.

See CHANGELOG for details.

v2.6.0

Compare Source

See CHANGELOG.

v2.5.0

Compare Source

See CHANGELOG.

v2.4.1

Compare Source

See CHANGELOG.

v2.4.0

Compare Source

See CHANGELOG.

v2.3.0

Compare Source

See CHANGELOG.

v2.2.1

Compare Source

See CHANGELOG.

v2.2.0

Compare Source

v2.1.2: Version 2.1.2

Compare Source

  • Fix: allow Body methods to work on ArrayBuffer-backed Body` objects
  • Fix: reject promise returned by Body methods when the accumulated Buffer exceeds the maximum size
  • Fix: support custom Host headers with any casing
  • Fix: support importing fetch() from TypeScript in browser.js
  • Fix: handle the redirect response body properly

See CHANGELOG.

v2.1.1: Version 2.1.1

Compare Source

See CHANGELOG.

Fix packaging errors in version 2.1.0.

v2.1.0: Version 2.1.0

Compare Source

See CHANGELOG:

  • Enhance: allow using ArrayBuffer as the body of a fetch() or Request
  • Fix: store HTTP headers of a Headers object internally with the given case, for compatibility with older servers that incorrectly treated header names in a case-sensitive manner
  • Fix: silently ignore invalid HTTP headers
  • Fix: handle HTTP redirect responses without a Location header just like non-redirect responses
  • Fix: include bodies when following a redirection when appropriate

v2.0.0: Version 2.0.0

Compare Source

This is a major release. See upgrade guide on how to upgrade from v1.x, and the changelog for all changes.

v1.7.3

Compare Source

This is a backport maintenance release, see changelog for details


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

@mend-for-github-com mend-for-github-com bot added the security fix Security fix generated by Mend label Jul 6, 2022
@mend-for-github-com mend-for-github-com bot changed the title Update dependency node-fetch to v2 Update dependency node-fetch to v2 - autoclosed Aug 3, 2022
@mend-for-github-com mend-for-github-com bot deleted the whitesource-remediate/node-fetch-2.x branch August 3, 2022 18:05
@mend-for-github-com mend-for-github-com bot changed the title Update dependency node-fetch to v2 - autoclosed Update dependency node-fetch to v2 Aug 5, 2022
@mend-for-github-com mend-for-github-com bot restored the whitesource-remediate/node-fetch-2.x branch August 5, 2022 01:47
@mend-for-github-com mend-for-github-com bot reopened this Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security fix Security fix generated by Mend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants