Open
Conversation
Snyk has created this PR to upgrade node-fetch from 2.6.7 to 3.1.0. See this package in npm: https://www.npmjs.com/package/node-fetch See this project in Snyk: https://app.snyk.io/org/platform-dux/project/2ea5b48b-617e-40a9-b685-28c2eecca4df?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 2.6.7 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.
Release notes
Package name: node-fetch
-
3.1.0 - 2021-11-08
- fix(Body): Discourage form-data and buffer() by @ jimmywarting in #1212
- fix: Pass url string to http.request by @ serverwentdown in #1268
- Fix octocat image link by @ lakuapik in #1281
- fix(Body.body): Normalize
- docs(Headers): Add default Host request header to README.md file by @ robertoaceves in #1316
- Update CHANGELOG.md by @ jimmywarting in #1292
- Add highWaterMark to cloned properties by @ davesidious in #1162
- Update README.md to fix HTTPResponseError by @ thedanfernandez in #1135
- docs: switch
- fix(types): declare buffer() deprecated by @ dnalborczyk in #1345
- chore: fix lint by @ dnalborczyk in #1348
- refactor: use node: prefix for imports by @ dnalborczyk in #1346
- Bump data-uri-to-buffer from 3.0.1 to 4.0.0 by @ dependabot in #1319
- Bump mocha from 8.4.0 to 9.1.3 by @ dependabot in #1339
- Referrer and Referrer Policy by @ tekwiz in #1057
- Add typing for Response.redirect(url, status) by @ c-w in #1169
- chore: Correct stuff in README.md by @ Jiralite in #1361
- docs: Improve clarity of "Loading and configuring" by @ serverwentdown in #1323
- feat(Body): Added support for
- template: Make PR template more task oriented by @ jimmywarting in #1224
- docs: Update code examples by @ jimmywarting in #1365
- @ serverwentdown made their first contribution in #1268
- @ lakuapik made their first contribution in #1281
- @ robertoaceves made their first contribution in #1316
- @ davesidious made their first contribution in #1162
- @ thedanfernandez made their first contribution in #1135
- @ dhritzkiv made their first contribution in #1318
- @ dnalborczyk made their first contribution in #1345
- @ dependabot made their first contribution in #1319
- @ c-w made their first contribution in #1169
-
3.0.0 - 2021-08-31
-
3.0.0-beta.6-exportfix - 2020-05-25
-
3.0.0-beta.10 - 2021-07-19
import fetch from 'node-fetch';
-
3.0.0-beta.9 - 2020-09-05
-
3.0.0-beta.8 - 2020-08-10
-
3.0.0-beta.7 - 2020-06-11
-
3.0.0-beta.6 - 2020-05-25
-
3.0.0-beta.5 - 2020-04-22
-
3.0.0-beta.4 - 2020-03-14
-
3.0.0-beta.3 - 2020-03-13
-
3.0.0-beta.2 - 2020-03-13
-
3.0.0-beta.1 - 2020-03-13
-
2.6.7 - 2022-01-16
from node-fetch GitHub release notesWhat's Changed
Body.bodyinto anode:streamby @ jimmywarting in #924urltoURLby @ 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.
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