[Snyk] Upgrade node-fetch from 1.7.3 to 3.1.0 #2
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.
Snyk has created this PR to upgrade node-fetch from 1.7.3 to 3.1.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
The recommended version fixes:
npm:extend:20180424
Why? Has a fix available, CVSS 7.3
SNYK-JS-NODEFETCH-674311
Why? Has a fix available, CVSS 7.3
SNYK-JS-NODEFETCH-2342118
Why? Has a fix available, CVSS 7.3
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: node-fetch
What's Changed
Body.body
into anode:stream
by @ jimmywarting in #924url
toURL
by @ dhritzkiv in #1318BodyMixin.formData()
and constructing bodies with FormData by @ jimmywarting in #1314New Contributors
Full Changelog: v3.0.0...v3.1.0
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.
This package is now a ESM only package. To import fetch you either have to use
// Or if you are still using commonjs or want to lazy
// import fetch then the async import works fine
import('node-fetch')
res.blob().stream()
now returns a whatwg ReadableStream instadSee CHANGELOG for details.
This is an important security release. It is strongly recommended to update as soon as possible.
See CHANGELOG for details.
What's Changed
Full Changelog: v2.6.5...v2.6.6
fix: import whatwg-url in a way compatible with ESM Node
release: 2.6.5
fixed main path in package.json
This is an important security release. It is strongly recommended to update as soon as possible.
See CHANGELOG for details.
Commit messages
Package name: node-fetch
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs