-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
fix(Body.body): Normalize Body.body
into a node:stream
#924
Merged
Conversation
This file contains 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
jimmywarting
changed the title
Body conversion
fix(Body.body): Normalize Sep 13, 2021
Body.body
into a stream
4 tasks
jimmywarting
changed the title
fix(Body.body): Normalize
fix(Body.body): Normalize Sep 13, 2021
Body.body
into a streamBody.body
into a node:stream
gr2m
approved these changes
Sep 13, 2021
LinusU
approved these changes
Sep 14, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat! 👍
This was referenced Jan 22, 2022
This was referenced Jan 23, 2022
esmadau
referenced
this pull request
in microsoft/dicom-server
Jul 14, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [node-fetch](https://github.com/node-fetch/node-fetch) | [`^2.6.12` -> `^3.0.0`](https://renovatebot.com/diffs/npm/node-fetch/2.6.12/3.3.1) | [![age](https://badges.renovateapi.com/packages/npm/node-fetch/3.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/node-fetch/3.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/node-fetch/3.3.1/compatibility-slim/2.6.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/node-fetch/3.3.1/confidence-slim/2.6.12)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>node-fetch/node-fetch (node-fetch)</summary> ### [`v3.3.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.3.0...v3.3.1) ##### Bug Fixes - release "Allow URL class object as an argument for fetch()" [#​1696](https://github.com/node-fetch/node-fetch/issues/1696) ([#​1716](https://github.com/node-fetch/node-fetch/issues/1716)) ([7b86e94](https://github.com/node-fetch/node-fetch/commit/7b86e946b02dfdd28f4f8fca3d73a022cbb5ca1e)) ### [`v3.3.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.10...v3.3.0) ##### Features - add static Response.json ([#​1670](https://github.com/node-fetch/node-fetch/issues/1670)) ([55a4870](https://github.com/node-fetch/node-fetch/commit/55a4870ae5f805d8ff9a890ea2c652c9977e048e)) ### [`v3.2.10`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.10) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.9...v3.2.10) ##### Bug Fixes - ReDoS referrer ([#​1611](https://github.com/node-fetch/node-fetch/issues/1611)) ([2880238](https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d)) ### [`v3.2.9`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.9) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.8...v3.2.9) ##### Bug Fixes - **Headers:** don't forward secure headers on protocol change ([#​1599](https://github.com/node-fetch/node-fetch/issues/1599)) ([e87b093](https://github.com/node-fetch/node-fetch/commit/e87b093fd678a9ea39c5b17b2a1bdfc4691eedc7)) ### [`v3.2.8`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.8) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.7...v3.2.8) ##### Bug Fixes - possibly flaky test ([#​1523](https://github.com/node-fetch/node-fetch/issues/1523)) ([11b7033](https://github.com/node-fetch/node-fetch/commit/11b703361134340a8361f591d6e3a0bcf6a261fa)) ### [`v3.2.7`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.7) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.6...v3.2.7) ##### Bug Fixes - always warn Request.data ([#​1550](https://github.com/node-fetch/node-fetch/issues/1550)) ([4f43c9e](https://github.com/node-fetch/node-fetch/commit/4f43c9ed63da98f4b5167f0a8e447cd0f0133cd3)) ### [`v3.2.6`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.6) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.5...v3.2.6) ##### Bug Fixes - undefined reference to response.body when aborted ([#​1578](https://github.com/node-fetch/node-fetch/issues/1578)) ([1c5ed6b](https://github.com/node-fetch/node-fetch/commit/1c5ed6b981e6c5dd28bd50f5ab5418e5bd262b99)) ### [`v3.2.5`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.5) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.4...v3.2.5) ##### Bug Fixes - use space in accept-encoding values ([#​1572](https://github.com/node-fetch/node-fetch/issues/1572)) ([a92b5d5](https://github.com/node-fetch/node-fetch/commit/a92b5d5cf4457c2da95d8404b08cfd06a426a2fa)), closes [#​1571](https://github.com/node-fetch/node-fetch/issues/1571) ### [`v3.2.4`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.4) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.4) ##### Bug Fixes - don't uppercase unknown methods ([#​1542](https://github.com/node-fetch/node-fetch/issues/1542)) ([004b3ac](https://github.com/node-fetch/node-fetch/commit/004b3ac8324e6cdbfb5d04b8bbdc6664ea48fbcf)) ### [`v3.2.3`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.3) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.2...v3.2.3) ##### Bug Fixes - handle bom in text and json ([#​1482](https://github.com/node-fetch/node-fetch/issues/1482)) ([6425e20](https://github.com/node-fetch/node-fetch/commit/6425e2021a7def096e13dbabcac2f10e6da83d11)) ### [`v3.2.2`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.2) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.1...v3.2.2) ##### Bug Fixes - add missing formdata export to types ([#​1518](https://github.com/node-fetch/node-fetch/issues/1518)) ([a4ea5f9](https://github.com/node-fetch/node-fetch/commit/a4ea5f9308f942400695cce261291d0a80cd1b02)), closes [#​1517](https://github.com/node-fetch/node-fetch/issues/1517) ### [`v3.2.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.0...v3.2.1) ##### Bug Fixes - cancel request example import ([#​1513](https://github.com/node-fetch/node-fetch/issues/1513)) ([61b3b5a](https://github.com/node-fetch/node-fetch/commit/61b3b5a06384003d332581080af6522bec19417f)) ### [`v3.2.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.1.1...v3.2.0) ##### Features - export Blob, File and FormData + utilities ([#​1463](https://github.com/node-fetch/node-fetch/issues/1463)) ([81b1378](https://github.com/node-fetch/node-fetch/commit/81b1378bb3bda555d3d2114e7d3dfddbd91f210c)) ### [`v3.1.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.1.0...v3.1.1) #### 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 - core: update fetch-blob by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1371](https://github.com/node-fetch/node-fetch/pull/1371) - docs: Fix typo around sending a file by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1381](https://github.com/node-fetch/node-fetch/pull/1381) - core: (http.request): Cast URL to string before sending it to NodeJS core by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1378](https://github.com/node-fetch/node-fetch/pull/1378) - core: handle errors from the request body stream by [@​mdmitry01](https://github.com/mdmitry01) in [https://github.com/node-fetch/node-fetch/pull/1392](https://github.com/node-fetch/node-fetch/pull/1392) - core: Better handle wrong redirect header in a response by [@​tasinet](https://github.com/tasinet) in [https://github.com/node-fetch/node-fetch/pull/1387](https://github.com/node-fetch/node-fetch/pull/1387) - core: Don't use buffer to make a blob by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1402](https://github.com/node-fetch/node-fetch/pull/1402) - docs: update readme for TS [@​types/node-fetch](https://github.com/types/node-fetch) by [@​adamellsworth](https://github.com/adamellsworth) in [https://github.com/node-fetch/node-fetch/pull/1405](https://github.com/node-fetch/node-fetch/pull/1405) - core: Fix logical operator priority to disallow GET/HEAD with non-empty body by [@​maxshirshin](https://github.com/maxshirshin) in [https://github.com/node-fetch/node-fetch/pull/1369](https://github.com/node-fetch/node-fetch/pull/1369) - core: Don't use global buffer by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1422](https://github.com/node-fetch/node-fetch/pull/1422) - ci: fix main branch by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1429](https://github.com/node-fetch/node-fetch/pull/1429) - core: use more node: protocol imports by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1428](https://github.com/node-fetch/node-fetch/pull/1428) - core: Warn when using data by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1421](https://github.com/node-fetch/node-fetch/pull/1421) - docs: Create SECURITY.md by [@​JamieSlome](https://github.com/JamieSlome) in [https://github.com/node-fetch/node-fetch/pull/1445](https://github.com/node-fetch/node-fetch/pull/1445) - core: don't forward secure headers to 3th party by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1449](https://github.com/node-fetch/node-fetch/pull/1449) #### New Contributors - [@​mdmitry01](https://github.com/mdmitry01) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1392](https://github.com/node-fetch/node-fetch/pull/1392) - [@​tasinet](https://github.com/tasinet) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1387](https://github.com/node-fetch/node-fetch/pull/1387) - [@​adamellsworth](https://github.com/adamellsworth) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1405](https://github.com/node-fetch/node-fetch/pull/1405) - [@​maxshirshin](https://github.com/maxshirshin) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1369](https://github.com/node-fetch/node-fetch/pull/1369) - [@​JamieSlome](https://github.com/JamieSlome) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1445](https://github.com/node-fetch/node-fetch/pull/1445) **Full Changelog**: node-fetch/node-fetch@v3.1.0...v3.1.1 ### [`v3.1.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.0.0...v3.1.0) #### What's Changed - fix(Body): Discourage form-data and buffer() by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1212](https://github.com/node-fetch/node-fetch/pull/1212) - fix: Pass url string to http.request by [@​serverwentdown](https://github.com/serverwentdown) in [https://github.com/node-fetch/node-fetch/pull/1268](https://github.com/node-fetch/node-fetch/pull/1268) - Fix octocat image link by [@​lakuapik](https://github.com/lakuapik) in [https://github.com/node-fetch/node-fetch/pull/1281](https://github.com/node-fetch/node-fetch/pull/1281) - fix(Body.body): Normalize `Body.body` into a `node:stream` by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/924](https://github.com/node-fetch/node-fetch/pull/924) - docs(Headers): Add default Host request header to README.md file by [@​robertoaceves](https://github.com/robertoaceves) in [https://github.com/node-fetch/node-fetch/pull/1316](https://github.com/node-fetch/node-fetch/pull/1316) - Update CHANGELOG.md by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1292](https://github.com/node-fetch/node-fetch/pull/1292) - Add highWaterMark to cloned properties by [@​davesidious](https://github.com/davesidious) in [https://github.com/node-fetch/node-fetch/pull/1162](https://github.com/node-fetch/node-fetch/pull/1162) - Update README.md to fix HTTPResponseError by [@​thedanfernandez](https://github.com/thedanfernandez) in [https://github.com/node-fetch/node-fetch/pull/1135](https://github.com/node-fetch/node-fetch/pull/1135) - docs: switch `url` to `URL` by [@​dhritzkiv](https://github.com/dhritzkiv) in [https://github.com/node-fetch/node-fetch/pull/1318](https://github.com/node-fetch/node-fetch/pull/1318) - fix(types): declare buffer() deprecated by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1345](https://github.com/node-fetch/node-fetch/pull/1345) - chore: fix lint by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1348](https://github.com/node-fetch/node-fetch/pull/1348) - refactor: use node: prefix for imports by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1346](https://github.com/node-fetch/node-fetch/pull/1346) - Bump data-uri-to-buffer from 3.0.1 to 4.0.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/node-fetch/node-fetch/pull/1319](https://github.com/node-fetch/node-fetch/pull/1319) - Bump mocha from 8.4.0 to 9.1.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/node-fetch/node-fetch/pull/1339](https://github.com/node-fetch/node-fetch/pull/1339) - Referrer and Referrer Policy by [@​tekwiz](https://github.com/tekwiz) in [https://github.com/node-fetch/node-fetch/pull/1057](https://github.com/node-fetch/node-fetch/pull/1057) - Add typing for Response.redirect(url, status) by [@​c-w](https://github.com/c-w) in [https://github.com/node-fetch/node-fetch/pull/1169](https://github.com/node-fetch/node-fetch/pull/1169) - chore: Correct stuff in README.md by [@​Jiralite](https://github.com/Jiralite) in [https://github.com/node-fetch/node-fetch/pull/1361](https://github.com/node-fetch/node-fetch/pull/1361) - docs: Improve clarity of "Loading and configuring" by [@​serverwentdown](https://github.com/serverwentdown) in [https://github.com/node-fetch/node-fetch/pull/1323](https://github.com/node-fetch/node-fetch/pull/1323) - feat(Body): Added support for `BodyMixin.formData()` and constructing bodies with FormData by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1314](https://github.com/node-fetch/node-fetch/pull/1314) - template: Make PR template more task oriented by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1224](https://github.com/node-fetch/node-fetch/pull/1224) - docs: Update code examples by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1365](https://github.com/node-fetch/node-fetch/pull/1365) #### New Contributors - [@​serverwentdown](https://github.com/serverwentdown) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1268](https://github.com/node-fetch/node-fetch/pull/1268) - [@​lakuapik](https://github.com/lakuapik) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1281](https://github.com/node-fetch/node-fetch/pull/1281) - [@​robertoaceves](https://github.com/robertoaceves) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1316](https://github.com/node-fetch/node-fetch/pull/1316) - [@​davesidious](https://github.com/davesidious) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1162](https://github.com/node-fetch/node-fetch/pull/1162) - [@​thedanfernandez](https://github.com/thedanfernandez) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1135](https://github.com/node-fetch/node-fetch/pull/1135) - [@​dhritzkiv](https://github.com/dhritzkiv) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1318](https://github.com/node-fetch/node-fetch/pull/1318) - [@​dnalborczyk](https://github.com/dnalborczyk) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1345](https://github.com/node-fetch/node-fetch/pull/1345) - [@​dependabot](https://github.com/dependabot) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1319](https://github.com/node-fetch/node-fetch/pull/1319) - [@​c-w](https://github.com/c-w) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1169](https://github.com/node-fetch/node-fetch/pull/1169) **Full Changelog**: node-fetch/node-fetch@v3.0.0...v3.1.0 ### [`v3.0.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.0.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v2.6.12...v3.0.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](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md#v300) for more information about all the changes. </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/microsoft/dicom-server). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNi41LjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot
referenced
this pull request
in X-oss-byte/Canary-nextjs
Oct 8, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [node-fetch](https://github.com/node-fetch/node-fetch) | [`2.7.0` -> `3.3.2`](https://renovatebot.com/diffs/npm/node-fetch/2.7.0/3.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [node-fetch](https://github.com/node-fetch/node-fetch) | [`^2.6.0` -> `^3.0.0`](https://renovatebot.com/diffs/npm/node-fetch/2.7.0/3.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>node-fetch/node-fetch (node-fetch)</summary> ### [`v3.3.2`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.2) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.3.1...v3.3.2) ##### Bug Fixes - Remove the default connection close header. ([#​1736](https://github.com/node-fetch/node-fetch/issues/1736)) ([8b3320d](https://github.com/node-fetch/node-fetch/commit/8b3320d2a7c07bce4afc6b2bf6c3bbddda85b01f)), closes [#​1735](https://github.com/node-fetch/node-fetch/issues/1735) [#​1473](https://github.com/node-fetch/node-fetch/issues/1473) ### [`v3.3.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.3.0...v3.3.1) ##### Bug Fixes - release "Allow URL class object as an argument for fetch()" [#​1696](https://github.com/node-fetch/node-fetch/issues/1696) ([#​1716](https://github.com/node-fetch/node-fetch/issues/1716)) ([7b86e94](https://github.com/node-fetch/node-fetch/commit/7b86e946b02dfdd28f4f8fca3d73a022cbb5ca1e)) ### [`v3.3.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.10...v3.3.0) ##### Features - add static Response.json ([#​1670](https://github.com/node-fetch/node-fetch/issues/1670)) ([55a4870](https://github.com/node-fetch/node-fetch/commit/55a4870ae5f805d8ff9a890ea2c652c9977e048e)) ### [`v3.2.10`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.10) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.9...v3.2.10) ##### Bug Fixes - ReDoS referrer ([#​1611](https://github.com/node-fetch/node-fetch/issues/1611)) ([2880238](https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d)) ### [`v3.2.9`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.9) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.8...v3.2.9) ##### Bug Fixes - **Headers:** don't forward secure headers on protocol change ([#​1599](https://github.com/node-fetch/node-fetch/issues/1599)) ([e87b093](https://github.com/node-fetch/node-fetch/commit/e87b093fd678a9ea39c5b17b2a1bdfc4691eedc7)) ### [`v3.2.8`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.8) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.7...v3.2.8) ##### Bug Fixes - possibly flaky test ([#​1523](https://github.com/node-fetch/node-fetch/issues/1523)) ([11b7033](https://github.com/node-fetch/node-fetch/commit/11b703361134340a8361f591d6e3a0bcf6a261fa)) ### [`v3.2.7`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.7) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.6...v3.2.7) ##### Bug Fixes - always warn Request.data ([#​1550](https://github.com/node-fetch/node-fetch/issues/1550)) ([4f43c9e](https://github.com/node-fetch/node-fetch/commit/4f43c9ed63da98f4b5167f0a8e447cd0f0133cd3)) ### [`v3.2.6`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.6) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.5...v3.2.6) ##### Bug Fixes - undefined reference to response.body when aborted ([#​1578](https://github.com/node-fetch/node-fetch/issues/1578)) ([1c5ed6b](https://github.com/node-fetch/node-fetch/commit/1c5ed6b981e6c5dd28bd50f5ab5418e5bd262b99)) ### [`v3.2.5`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.5) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.4...v3.2.5) ##### Bug Fixes - use space in accept-encoding values ([#​1572](https://github.com/node-fetch/node-fetch/issues/1572)) ([a92b5d5](https://github.com/node-fetch/node-fetch/commit/a92b5d5cf4457c2da95d8404b08cfd06a426a2fa)), closes [#​1571](https://github.com/node-fetch/node-fetch/issues/1571) ### [`v3.2.4`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.4) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.4) ##### Bug Fixes - don't uppercase unknown methods ([#​1542](https://github.com/node-fetch/node-fetch/issues/1542)) ([004b3ac](https://github.com/node-fetch/node-fetch/commit/004b3ac8324e6cdbfb5d04b8bbdc6664ea48fbcf)) ### [`v3.2.3`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.3) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.2...v3.2.3) ##### Bug Fixes - handle bom in text and json ([#​1482](https://github.com/node-fetch/node-fetch/issues/1482)) ([6425e20](https://github.com/node-fetch/node-fetch/commit/6425e2021a7def096e13dbabcac2f10e6da83d11)) ### [`v3.2.2`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.2) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.1...v3.2.2) ##### Bug Fixes - add missing formdata export to types ([#​1518](https://github.com/node-fetch/node-fetch/issues/1518)) ([a4ea5f9](https://github.com/node-fetch/node-fetch/commit/a4ea5f9308f942400695cce261291d0a80cd1b02)), closes [#​1517](https://github.com/node-fetch/node-fetch/issues/1517) ### [`v3.2.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.0...v3.2.1) ##### Bug Fixes - cancel request example import ([#​1513](https://github.com/node-fetch/node-fetch/issues/1513)) ([61b3b5a](https://github.com/node-fetch/node-fetch/commit/61b3b5a06384003d332581080af6522bec19417f)) ### [`v3.2.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.1.1...v3.2.0) ##### Features - export Blob, File and FormData + utilities ([#​1463](https://github.com/node-fetch/node-fetch/issues/1463)) ([81b1378](https://github.com/node-fetch/node-fetch/commit/81b1378bb3bda555d3d2114e7d3dfddbd91f210c)) ### [`v3.1.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.1.0...v3.1.1) #### 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 - core: update fetch-blob by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1371](https://github.com/node-fetch/node-fetch/pull/1371) - docs: Fix typo around sending a file by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1381](https://github.com/node-fetch/node-fetch/pull/1381) - core: (http.request): Cast URL to string before sending it to NodeJS core by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1378](https://github.com/node-fetch/node-fetch/pull/1378) - core: handle errors from the request body stream by [@​mdmitry01](https://github.com/mdmitry01) in [https://github.com/node-fetch/node-fetch/pull/1392](https://github.com/node-fetch/node-fetch/pull/1392) - core: Better handle wrong redirect header in a response by [@​tasinet](https://github.com/tasinet) in [https://github.com/node-fetch/node-fetch/pull/1387](https://github.com/node-fetch/node-fetch/pull/1387) - core: Don't use buffer to make a blob by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1402](https://github.com/node-fetch/node-fetch/pull/1402) - docs: update readme for TS [@​types/node-fetch](https://github.com/types/node-fetch) by [@​adamellsworth](https://github.com/adamellsworth) in [https://github.com/node-fetch/node-fetch/pull/1405](https://github.com/node-fetch/node-fetch/pull/1405) - core: Fix logical operator priority to disallow GET/HEAD with non-empty body by [@​maxshirshin](https://github.com/maxshirshin) in [https://github.com/node-fetch/node-fetch/pull/1369](https://github.com/node-fetch/node-fetch/pull/1369) - core: Don't use global buffer by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1422](https://github.com/node-fetch/node-fetch/pull/1422) - ci: fix main branch by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1429](https://github.com/node-fetch/node-fetch/pull/1429) - core: use more node: protocol imports by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1428](https://github.com/node-fetch/node-fetch/pull/1428) - core: Warn when using data by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1421](https://github.com/node-fetch/node-fetch/pull/1421) - docs: Create SECURITY.md by [@​JamieSlome](https://github.com/JamieSlome) in [https://github.com/node-fetch/node-fetch/pull/1445](https://github.com/node-fetch/node-fetch/pull/1445) - core: don't forward secure headers to 3th party by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1449](https://github.com/node-fetch/node-fetch/pull/1449) #### New Contributors - [@​mdmitry01](https://github.com/mdmitry01) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1392](https://github.com/node-fetch/node-fetch/pull/1392) - [@​tasinet](https://github.com/tasinet) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1387](https://github.com/node-fetch/node-fetch/pull/1387) - [@​adamellsworth](https://github.com/adamellsworth) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1405](https://github.com/node-fetch/node-fetch/pull/1405) - [@​maxshirshin](https://github.com/maxshirshin) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1369](https://github.com/node-fetch/node-fetch/pull/1369) - [@​JamieSlome](https://github.com/JamieSlome) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1445](https://github.com/node-fetch/node-fetch/pull/1445) **Full Changelog**: node-fetch/node-fetch@v3.1.0...v3.1.1 ### [`v3.1.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.0.0...v3.1.0) #### What's Changed - fix(Body): Discourage form-data and buffer() by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1212](https://github.com/node-fetch/node-fetch/pull/1212) - fix: Pass url string to http.request by [@​serverwentdown](https://github.com/serverwentdown) in [https://github.com/node-fetch/node-fetch/pull/1268](https://github.com/node-fetch/node-fetch/pull/1268) - Fix octocat image link by [@​lakuapik](https://github.com/lakuapik) in [https://github.com/node-fetch/node-fetch/pull/1281](https://github.com/node-fetch/node-fetch/pull/1281) - fix(Body.body): Normalize `Body.body` into a `node:stream` by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/924](https://github.com/node-fetch/node-fetch/pull/924) - docs(Headers): Add default Host request header to README.md file by [@​robertoaceves](https://github.com/robertoaceves) in [https://github.com/node-fetch/node-fetch/pull/1316](https://github.com/node-fetch/node-fetch/pull/1316) - Update CHANGELOG.md by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1292](https://github.com/node-fetch/node-fetch/pull/1292) - Add highWaterMark to cloned properties by [@​davesidious](https://github.com/davesidious) in [https://github.com/node-fetch/node-fetch/pull/1162](https://github.com/node-fetch/node-fetch/pull/1162) - Update README.md to fix HTTPResponseError by [@​thedanfernandez](https://github.com/thedanfernandez) in [https://github.com/node-fetch/node-fetch/pull/1135](https://github.com/node-fetch/node-fetch/pull/1135) - docs: switch `url` to `URL` by [@​dhritzkiv](https://github.com/dhritzkiv) in [https://github.com/node-fetch/node-fetch/pull/1318](https://github.com/node-fetch/node-fetch/pull/1318) - fix(types): declare buffer() deprecated by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1345](https://github.com/node-fetch/node-fetch/pull/1345) - chore: fix lint by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1348](https://github.com/node-fetch/node-fetch/pull/1348) - refactor: use node: prefix for imports by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1346](https://github.com/node-fetch/node-fetch/pull/1346) - Bump data-uri-to-buffer from 3.0.1 to 4.0.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/node-fetch/node-fetch/pull/1319](https://github.com/node-fetch/node-fetch/pull/1319) - Bump mocha from 8.4.0 to 9.1.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/node-fetch/node-fetch/pull/1339](https://github.com/node-fetch/node-fetch/pull/1339) - Referrer and Referrer Policy by [@​tekwiz](https://github.com/tekwiz) in [https://github.com/node-fetch/node-fetch/pull/1057](https://github.com/node-fetch/node-fetch/pull/1057) - Add typing for Response.redirect(url, status) by [@​c-w](https://github.com/c-w) in [https://github.com/node-fetch/node-fetch/pull/1169](https://github.com/node-fetch/node-fetch/pull/1169) - chore: Correct stuff in README.md by [@​Jiralite](https://github.com/Jiralite) in [https://github.com/node-fetch/node-fetch/pull/1361](https://github.com/node-fetch/node-fetch/pull/1361) - docs: Improve clarity of "Loading and configuring" by [@​serverwentdown](https://github.com/serverwentdown) in [https://github.com/node-fetch/node-fetch/pull/1323](https://github.com/node-fetch/node-fetch/pull/1323) - feat(Body): Added support for `BodyMixin.formData()` and constructing bodies with FormData by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1314](https://github.com/node-fetch/node-fetch/pull/1314) - template: Make PR template more task oriented by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1224](https://github.com/node-fetch/node-fetch/pull/1224) - docs: Update code examples by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1365](https://github.com/node-fetch/node-fetch/pull/1365) #### New Contributors - [@​serverwentdown](https://github.com/serverwentdown) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1268](https://github.com/node-fetch/node-fetch/pull/1268) - [@​lakuapik](https://github.com/lakuapik) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1281](https://github.com/node-fetch/node-fetch/pull/1281) - [@​robertoaceves](https://github.com/robertoaceves) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1316](https://github.com/node-fetch/node-fetch/pull/1316) - [@​davesidious](https://github.com/davesidious) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1162](https://github.com/node-fetch/node-fetch/pull/1162) - [@​thedanfernandez](https://github.com/thedanfernandez) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1135](https://github.com/node-fetch/node-fetch/pull/1135) - [@​dhritzkiv](https://github.com/dhritzkiv) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1318](https://github.com/node-fetch/node-fetch/pull/1318) - [@​dnalborczyk](https://github.com/dnalborczyk) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1345](https://github.com/node-fetch/node-fetch/pull/1345) - [@​dependabot](https://github.com/dependabot) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1319](https://github.com/node-fetch/node-fetch/pull/1319) - [@​c-w](https://github.com/c-w) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1169](https://github.com/node-fetch/node-fetch/pull/1169) **Full Changelog**: node-fetch/node-fetch@v3.0.0...v3.1.0 ### [`v3.0.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.0.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v2.7.0...v3.0.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](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md#v300) for more information about all the changes. </details> --- ### 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 these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Canary-nextjs).
kodiakhq bot
referenced
this pull request
in X-oss-byte/Nextjs
Oct 14, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [node-fetch](https://github.com/node-fetch/node-fetch) | [`2.7.0` -> `3.3.2`](https://renovatebot.com/diffs/npm/node-fetch/2.7.0/3.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [node-fetch](https://github.com/node-fetch/node-fetch) | [`^2.6.0` -> `^3.0.0`](https://renovatebot.com/diffs/npm/node-fetch/2.6.12/3.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/node-fetch/2.6.12/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/node-fetch/2.6.12/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>node-fetch/node-fetch (node-fetch)</summary> ### [`v3.3.2`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.2) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.3.1...v3.3.2) ##### Bug Fixes - Remove the default connection close header. ([#​1736](https://github.com/node-fetch/node-fetch/issues/1736)) ([8b3320d](https://github.com/node-fetch/node-fetch/commit/8b3320d2a7c07bce4afc6b2bf6c3bbddda85b01f)), closes [#​1735](https://github.com/node-fetch/node-fetch/issues/1735) [#​1473](https://github.com/node-fetch/node-fetch/issues/1473) ### [`v3.3.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.3.0...v3.3.1) ##### Bug Fixes - release "Allow URL class object as an argument for fetch()" [#​1696](https://github.com/node-fetch/node-fetch/issues/1696) ([#​1716](https://github.com/node-fetch/node-fetch/issues/1716)) ([7b86e94](https://github.com/node-fetch/node-fetch/commit/7b86e946b02dfdd28f4f8fca3d73a022cbb5ca1e)) ### [`v3.3.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.10...v3.3.0) ##### Features - add static Response.json ([#​1670](https://github.com/node-fetch/node-fetch/issues/1670)) ([55a4870](https://github.com/node-fetch/node-fetch/commit/55a4870ae5f805d8ff9a890ea2c652c9977e048e)) ### [`v3.2.10`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.10) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.9...v3.2.10) ##### Bug Fixes - ReDoS referrer ([#​1611](https://github.com/node-fetch/node-fetch/issues/1611)) ([2880238](https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d)) ### [`v3.2.9`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.9) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.8...v3.2.9) ##### Bug Fixes - **Headers:** don't forward secure headers on protocol change ([#​1599](https://github.com/node-fetch/node-fetch/issues/1599)) ([e87b093](https://github.com/node-fetch/node-fetch/commit/e87b093fd678a9ea39c5b17b2a1bdfc4691eedc7)) ### [`v3.2.8`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.8) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.7...v3.2.8) ##### Bug Fixes - possibly flaky test ([#​1523](https://github.com/node-fetch/node-fetch/issues/1523)) ([11b7033](https://github.com/node-fetch/node-fetch/commit/11b703361134340a8361f591d6e3a0bcf6a261fa)) ### [`v3.2.7`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.7) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.6...v3.2.7) ##### Bug Fixes - always warn Request.data ([#​1550](https://github.com/node-fetch/node-fetch/issues/1550)) ([4f43c9e](https://github.com/node-fetch/node-fetch/commit/4f43c9ed63da98f4b5167f0a8e447cd0f0133cd3)) ### [`v3.2.6`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.6) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.5...v3.2.6) ##### Bug Fixes - undefined reference to response.body when aborted ([#​1578](https://github.com/node-fetch/node-fetch/issues/1578)) ([1c5ed6b](https://github.com/node-fetch/node-fetch/commit/1c5ed6b981e6c5dd28bd50f5ab5418e5bd262b99)) ### [`v3.2.5`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.5) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.4...v3.2.5) ##### Bug Fixes - use space in accept-encoding values ([#​1572](https://github.com/node-fetch/node-fetch/issues/1572)) ([a92b5d5](https://github.com/node-fetch/node-fetch/commit/a92b5d5cf4457c2da95d8404b08cfd06a426a2fa)), closes [#​1571](https://github.com/node-fetch/node-fetch/issues/1571) ### [`v3.2.4`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.4) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.4) ##### Bug Fixes - don't uppercase unknown methods ([#​1542](https://github.com/node-fetch/node-fetch/issues/1542)) ([004b3ac](https://github.com/node-fetch/node-fetch/commit/004b3ac8324e6cdbfb5d04b8bbdc6664ea48fbcf)) ### [`v3.2.3`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.3) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.2...v3.2.3) ##### Bug Fixes - handle bom in text and json ([#​1482](https://github.com/node-fetch/node-fetch/issues/1482)) ([6425e20](https://github.com/node-fetch/node-fetch/commit/6425e2021a7def096e13dbabcac2f10e6da83d11)) ### [`v3.2.2`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.2) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.1...v3.2.2) ##### Bug Fixes - add missing formdata export to types ([#​1518](https://github.com/node-fetch/node-fetch/issues/1518)) ([a4ea5f9](https://github.com/node-fetch/node-fetch/commit/a4ea5f9308f942400695cce261291d0a80cd1b02)), closes [#​1517](https://github.com/node-fetch/node-fetch/issues/1517) ### [`v3.2.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.0...v3.2.1) ##### Bug Fixes - cancel request example import ([#​1513](https://github.com/node-fetch/node-fetch/issues/1513)) ([61b3b5a](https://github.com/node-fetch/node-fetch/commit/61b3b5a06384003d332581080af6522bec19417f)) ### [`v3.2.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.1.1...v3.2.0) ##### Features - export Blob, File and FormData + utilities ([#​1463](https://github.com/node-fetch/node-fetch/issues/1463)) ([81b1378](https://github.com/node-fetch/node-fetch/commit/81b1378bb3bda555d3d2114e7d3dfddbd91f210c)) ### [`v3.1.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.1.0...v3.1.1) #### 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 - core: update fetch-blob by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1371](https://github.com/node-fetch/node-fetch/pull/1371) - docs: Fix typo around sending a file by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1381](https://github.com/node-fetch/node-fetch/pull/1381) - core: (http.request): Cast URL to string before sending it to NodeJS core by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1378](https://github.com/node-fetch/node-fetch/pull/1378) - core: handle errors from the request body stream by [@​mdmitry01](https://github.com/mdmitry01) in [https://github.com/node-fetch/node-fetch/pull/1392](https://github.com/node-fetch/node-fetch/pull/1392) - core: Better handle wrong redirect header in a response by [@​tasinet](https://github.com/tasinet) in [https://github.com/node-fetch/node-fetch/pull/1387](https://github.com/node-fetch/node-fetch/pull/1387) - core: Don't use buffer to make a blob by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1402](https://github.com/node-fetch/node-fetch/pull/1402) - docs: update readme for TS [@​types/node-fetch](https://github.com/types/node-fetch) by [@​adamellsworth](https://github.com/adamellsworth) in [https://github.com/node-fetch/node-fetch/pull/1405](https://github.com/node-fetch/node-fetch/pull/1405) - core: Fix logical operator priority to disallow GET/HEAD with non-empty body by [@​maxshirshin](https://github.com/maxshirshin) in [https://github.com/node-fetch/node-fetch/pull/1369](https://github.com/node-fetch/node-fetch/pull/1369) - core: Don't use global buffer by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1422](https://github.com/node-fetch/node-fetch/pull/1422) - ci: fix main branch by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1429](https://github.com/node-fetch/node-fetch/pull/1429) - core: use more node: protocol imports by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1428](https://github.com/node-fetch/node-fetch/pull/1428) - core: Warn when using data by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1421](https://github.com/node-fetch/node-fetch/pull/1421) - docs: Create SECURITY.md by [@​JamieSlome](https://github.com/JamieSlome) in [https://github.com/node-fetch/node-fetch/pull/1445](https://github.com/node-fetch/node-fetch/pull/1445) - core: don't forward secure headers to 3th party by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1449](https://github.com/node-fetch/node-fetch/pull/1449) #### New Contributors - [@​mdmitry01](https://github.com/mdmitry01) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1392](https://github.com/node-fetch/node-fetch/pull/1392) - [@​tasinet](https://github.com/tasinet) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1387](https://github.com/node-fetch/node-fetch/pull/1387) - [@​adamellsworth](https://github.com/adamellsworth) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1405](https://github.com/node-fetch/node-fetch/pull/1405) - [@​maxshirshin](https://github.com/maxshirshin) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1369](https://github.com/node-fetch/node-fetch/pull/1369) - [@​JamieSlome](https://github.com/JamieSlome) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1445](https://github.com/node-fetch/node-fetch/pull/1445) **Full Changelog**: node-fetch/node-fetch@v3.1.0...v3.1.1 ### [`v3.1.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.0.0...v3.1.0) #### What's Changed - fix(Body): Discourage form-data and buffer() by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1212](https://github.com/node-fetch/node-fetch/pull/1212) - fix: Pass url string to http.request by [@​serverwentdown](https://github.com/serverwentdown) in [https://github.com/node-fetch/node-fetch/pull/1268](https://github.com/node-fetch/node-fetch/pull/1268) - Fix octocat image link by [@​lakuapik](https://github.com/lakuapik) in [https://github.com/node-fetch/node-fetch/pull/1281](https://github.com/node-fetch/node-fetch/pull/1281) - fix(Body.body): Normalize `Body.body` into a `node:stream` by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/924](https://github.com/node-fetch/node-fetch/pull/924) - docs(Headers): Add default Host request header to README.md file by [@​robertoaceves](https://github.com/robertoaceves) in [https://github.com/node-fetch/node-fetch/pull/1316](https://github.com/node-fetch/node-fetch/pull/1316) - Update CHANGELOG.md by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1292](https://github.com/node-fetch/node-fetch/pull/1292) - Add highWaterMark to cloned properties by [@​davesidious](https://github.com/davesidious) in [https://github.com/node-fetch/node-fetch/pull/1162](https://github.com/node-fetch/node-fetch/pull/1162) - Update README.md to fix HTTPResponseError by [@​thedanfernandez](https://github.com/thedanfernandez) in [https://github.com/node-fetch/node-fetch/pull/1135](https://github.com/node-fetch/node-fetch/pull/1135) - docs: switch `url` to `URL` by [@​dhritzkiv](https://github.com/dhritzkiv) in [https://github.com/node-fetch/node-fetch/pull/1318](https://github.com/node-fetch/node-fetch/pull/1318) - fix(types): declare buffer() deprecated by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1345](https://github.com/node-fetch/node-fetch/pull/1345) - chore: fix lint by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1348](https://github.com/node-fetch/node-fetch/pull/1348) - refactor: use node: prefix for imports by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1346](https://github.com/node-fetch/node-fetch/pull/1346) - Bump data-uri-to-buffer from 3.0.1 to 4.0.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/node-fetch/node-fetch/pull/1319](https://github.com/node-fetch/node-fetch/pull/1319) - Bump mocha from 8.4.0 to 9.1.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/node-fetch/node-fetch/pull/1339](https://github.com/node-fetch/node-fetch/pull/1339) - Referrer and Referrer Policy by [@​tekwiz](https://github.com/tekwiz) in [https://github.com/node-fetch/node-fetch/pull/1057](https://github.com/node-fetch/node-fetch/pull/1057) - Add typing for Response.redirect(url, status) by [@​c-w](https://github.com/c-w) in [https://github.com/node-fetch/node-fetch/pull/1169](https://github.com/node-fetch/node-fetch/pull/1169) - chore: Correct stuff in README.md by [@​Jiralite](https://github.com/Jiralite) in [https://github.com/node-fetch/node-fetch/pull/1361](https://github.com/node-fetch/node-fetch/pull/1361) - docs: Improve clarity of "Loading and configuring" by [@​serverwentdown](https://github.com/serverwentdown) in [https://github.com/node-fetch/node-fetch/pull/1323](https://github.com/node-fetch/node-fetch/pull/1323) - feat(Body): Added support for `BodyMixin.formData()` and constructing bodies with FormData by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1314](https://github.com/node-fetch/node-fetch/pull/1314) - template: Make PR template more task oriented by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1224](https://github.com/node-fetch/node-fetch/pull/1224) - docs: Update code examples by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1365](https://github.com/node-fetch/node-fetch/pull/1365) #### New Contributors - [@​serverwentdown](https://github.com/serverwentdown) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1268](https://github.com/node-fetch/node-fetch/pull/1268) - [@​lakuapik](https://github.com/lakuapik) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1281](https://github.com/node-fetch/node-fetch/pull/1281) - [@​robertoaceves](https://github.com/robertoaceves) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1316](https://github.com/node-fetch/node-fetch/pull/1316) - [@​davesidious](https://github.com/davesidious) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1162](https://github.com/node-fetch/node-fetch/pull/1162) - [@​thedanfernandez](https://github.com/thedanfernandez) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1135](https://github.com/node-fetch/node-fetch/pull/1135) - [@​dhritzkiv](https://github.com/dhritzkiv) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1318](https://github.com/node-fetch/node-fetch/pull/1318) - [@​dnalborczyk](https://github.com/dnalborczyk) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1345](https://github.com/node-fetch/node-fetch/pull/1345) - [@​dependabot](https://github.com/dependabot) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1319](https://github.com/node-fetch/node-fetch/pull/1319) - [@​c-w](https://github.com/c-w) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1169](https://github.com/node-fetch/node-fetch/pull/1169) **Full Changelog**: node-fetch/node-fetch@v3.0.0...v3.1.0 ### [`v3.0.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.0.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v2.7.0...v3.0.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](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md#v300) for more information about all the changes. </details> --- ### 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 these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
LUISDASARTIMANHAS
referenced
this pull request
in LUISDASARTIMANHAS/Dime-Bot-Store
Dec 25, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [node-fetch](https://github.com/node-fetch/node-fetch) | [`^2.7.0` -> `^3.0.0`](https://renovatebot.com/diffs/npm/node-fetch/2.7.0/3.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>node-fetch/node-fetch (node-fetch)</summary> ### [`v3.3.2`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.2) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.3.1...v3.3.2) ##### Bug Fixes - Remove the default connection close header. ([#​1736](https://github.com/node-fetch/node-fetch/issues/1736)) ([8b3320d](https://github.com/node-fetch/node-fetch/commit/8b3320d2a7c07bce4afc6b2bf6c3bbddda85b01f)), closes [#​1735](https://github.com/node-fetch/node-fetch/issues/1735) [#​1473](https://github.com/node-fetch/node-fetch/issues/1473) ### [`v3.3.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.3.0...v3.3.1) ##### Bug Fixes - release "Allow URL class object as an argument for fetch()" [#​1696](https://github.com/node-fetch/node-fetch/issues/1696) ([#​1716](https://github.com/node-fetch/node-fetch/issues/1716)) ([7b86e94](https://github.com/node-fetch/node-fetch/commit/7b86e946b02dfdd28f4f8fca3d73a022cbb5ca1e)) ### [`v3.3.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.10...v3.3.0) ##### Features - add static Response.json ([#​1670](https://github.com/node-fetch/node-fetch/issues/1670)) ([55a4870](https://github.com/node-fetch/node-fetch/commit/55a4870ae5f805d8ff9a890ea2c652c9977e048e)) ### [`v3.2.10`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.10) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.9...v3.2.10) ##### Bug Fixes - ReDoS referrer ([#​1611](https://github.com/node-fetch/node-fetch/issues/1611)) ([2880238](https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d)) ### [`v3.2.9`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.9) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.8...v3.2.9) ##### Bug Fixes - **Headers:** don't forward secure headers on protocol change ([#​1599](https://github.com/node-fetch/node-fetch/issues/1599)) ([e87b093](https://github.com/node-fetch/node-fetch/commit/e87b093fd678a9ea39c5b17b2a1bdfc4691eedc7)) ### [`v3.2.8`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.8) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.7...v3.2.8) ##### Bug Fixes - possibly flaky test ([#​1523](https://github.com/node-fetch/node-fetch/issues/1523)) ([11b7033](https://github.com/node-fetch/node-fetch/commit/11b703361134340a8361f591d6e3a0bcf6a261fa)) ### [`v3.2.7`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.7) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.6...v3.2.7) ##### Bug Fixes - always warn Request.data ([#​1550](https://github.com/node-fetch/node-fetch/issues/1550)) ([4f43c9e](https://github.com/node-fetch/node-fetch/commit/4f43c9ed63da98f4b5167f0a8e447cd0f0133cd3)) ### [`v3.2.6`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.6) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.5...v3.2.6) ##### Bug Fixes - undefined reference to response.body when aborted ([#​1578](https://github.com/node-fetch/node-fetch/issues/1578)) ([1c5ed6b](https://github.com/node-fetch/node-fetch/commit/1c5ed6b981e6c5dd28bd50f5ab5418e5bd262b99)) ### [`v3.2.5`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.5) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.4...v3.2.5) ##### Bug Fixes - use space in accept-encoding values ([#​1572](https://github.com/node-fetch/node-fetch/issues/1572)) ([a92b5d5](https://github.com/node-fetch/node-fetch/commit/a92b5d5cf4457c2da95d8404b08cfd06a426a2fa)), closes [#​1571](https://github.com/node-fetch/node-fetch/issues/1571) ### [`v3.2.4`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.4) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.4) ##### Bug Fixes - don't uppercase unknown methods ([#​1542](https://github.com/node-fetch/node-fetch/issues/1542)) ([004b3ac](https://github.com/node-fetch/node-fetch/commit/004b3ac8324e6cdbfb5d04b8bbdc6664ea48fbcf)) ### [`v3.2.3`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.3) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.2...v3.2.3) ##### Bug Fixes - handle bom in text and json ([#​1482](https://github.com/node-fetch/node-fetch/issues/1482)) ([6425e20](https://github.com/node-fetch/node-fetch/commit/6425e2021a7def096e13dbabcac2f10e6da83d11)) ### [`v3.2.2`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.2) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.1...v3.2.2) ##### Bug Fixes - add missing formdata export to types ([#​1518](https://github.com/node-fetch/node-fetch/issues/1518)) ([a4ea5f9](https://github.com/node-fetch/node-fetch/commit/a4ea5f9308f942400695cce261291d0a80cd1b02)), closes [#​1517](https://github.com/node-fetch/node-fetch/issues/1517) ### [`v3.2.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.0...v3.2.1) ##### Bug Fixes - cancel request example import ([#​1513](https://github.com/node-fetch/node-fetch/issues/1513)) ([61b3b5a](https://github.com/node-fetch/node-fetch/commit/61b3b5a06384003d332581080af6522bec19417f)) ### [`v3.2.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.1.1...v3.2.0) ##### Features - export Blob, File and FormData + utilities ([#​1463](https://github.com/node-fetch/node-fetch/issues/1463)) ([81b1378](https://github.com/node-fetch/node-fetch/commit/81b1378bb3bda555d3d2114e7d3dfddbd91f210c)) ### [`v3.1.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.1.0...v3.1.1) #### 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 - core: update fetch-blob by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1371](https://github.com/node-fetch/node-fetch/pull/1371) - docs: Fix typo around sending a file by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1381](https://github.com/node-fetch/node-fetch/pull/1381) - core: (http.request): Cast URL to string before sending it to NodeJS core by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1378](https://github.com/node-fetch/node-fetch/pull/1378) - core: handle errors from the request body stream by [@​mdmitry01](https://github.com/mdmitry01) in [https://github.com/node-fetch/node-fetch/pull/1392](https://github.com/node-fetch/node-fetch/pull/1392) - core: Better handle wrong redirect header in a response by [@​tasinet](https://github.com/tasinet) in [https://github.com/node-fetch/node-fetch/pull/1387](https://github.com/node-fetch/node-fetch/pull/1387) - core: Don't use buffer to make a blob by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1402](https://github.com/node-fetch/node-fetch/pull/1402) - docs: update readme for TS [@​types/node-fetch](https://github.com/types/node-fetch) by [@​adamellsworth](https://github.com/adamellsworth) in [https://github.com/node-fetch/node-fetch/pull/1405](https://github.com/node-fetch/node-fetch/pull/1405) - core: Fix logical operator priority to disallow GET/HEAD with non-empty body by [@​maxshirshin](https://github.com/maxshirshin) in [https://github.com/node-fetch/node-fetch/pull/1369](https://github.com/node-fetch/node-fetch/pull/1369) - core: Don't use global buffer by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1422](https://github.com/node-fetch/node-fetch/pull/1422) - ci: fix main branch by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1429](https://github.com/node-fetch/node-fetch/pull/1429) - core: use more node: protocol imports by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1428](https://github.com/node-fetch/node-fetch/pull/1428) - core: Warn when using data by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1421](https://github.com/node-fetch/node-fetch/pull/1421) - docs: Create SECURITY.md by [@​JamieSlome](https://github.com/JamieSlome) in [https://github.com/node-fetch/node-fetch/pull/1445](https://github.com/node-fetch/node-fetch/pull/1445) - core: don't forward secure headers to 3th party by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1449](https://github.com/node-fetch/node-fetch/pull/1449) #### New Contributors - [@​mdmitry01](https://github.com/mdmitry01) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1392](https://github.com/node-fetch/node-fetch/pull/1392) - [@​tasinet](https://github.com/tasinet) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1387](https://github.com/node-fetch/node-fetch/pull/1387) - [@​adamellsworth](https://github.com/adamellsworth) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1405](https://github.com/node-fetch/node-fetch/pull/1405) - [@​maxshirshin](https://github.com/maxshirshin) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1369](https://github.com/node-fetch/node-fetch/pull/1369) - [@​JamieSlome](https://github.com/JamieSlome) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1445](https://github.com/node-fetch/node-fetch/pull/1445) **Full Changelog**: node-fetch/node-fetch@v3.1.0...v3.1.1 ### [`v3.1.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.0.0...v3.1.0) #### What's Changed - fix(Body): Discourage form-data and buffer() by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1212](https://github.com/node-fetch/node-fetch/pull/1212) - fix: Pass url string to http.request by [@​serverwentdown](https://github.com/serverwentdown) in [https://github.com/node-fetch/node-fetch/pull/1268](https://github.com/node-fetch/node-fetch/pull/1268) - Fix octocat image link by [@​lakuapik](https://github.com/lakuapik) in [https://github.com/node-fetch/node-fetch/pull/1281](https://github.com/node-fetch/node-fetch/pull/1281) - fix(Body.body): Normalize `Body.body` into a `node:stream` by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/924](https://github.com/node-fetch/node-fetch/pull/924) - docs(Headers): Add default Host request header to README.md file by [@​robertoaceves](https://github.com/robertoaceves) in [https://github.com/node-fetch/node-fetch/pull/1316](https://github.com/node-fetch/node-fetch/pull/1316) - Update CHANGELOG.md by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1292](https://github.com/node-fetch/node-fetch/pull/1292) - Add highWaterMark to cloned properties by [@​davesidious](https://github.com/davesidious) in [https://github.com/node-fetch/node-fetch/pull/1162](https://github.com/node-fetch/node-fetch/pull/1162) - Update README.md to fix HTTPResponseError by [@​thedanfernandez](https://github.com/thedanfernandez) in [https://github.com/node-fetch/node-fetch/pull/1135](https://github.com/node-fetch/node-fetch/pull/1135) - docs: switch `url` to `URL` by [@​dhritzkiv](https://github.com/dhritzkiv) in [https://github.com/node-fetch/node-fetch/pull/1318](https://github.com/node-fetch/node-fetch/pull/1318) - fix(types): declare buffer() deprecated by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1345](https://github.com/node-fetch/node-fetch/pull/1345) - chore: fix lint by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1348](https://github.com/node-fetch/node-fetch/pull/1348) - refactor: use node: prefix for imports by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1346](https://github.com/node-fetch/node-fetch/pull/1346) - Bump data-uri-to-buffer from 3.0.1 to 4.0.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/node-fetch/node-fetch/pull/1319](https://github.com/node-fetch/node-fetch/pull/1319) - Bump mocha from 8.4.0 to 9.1.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/node-fetch/node-fetch/pull/1339](https://github.com/node-fetch/node-fetch/pull/1339) - Referrer and Referrer Policy by [@​tekwiz](https://github.com/tekwiz) in [https://github.com/node-fetch/node-fetch/pull/1057](https://github.com/node-fetch/node-fetch/pull/1057) - Add typing for Response.redirect(url, status) by [@​c-w](https://github.com/c-w) in [https://github.com/node-fetch/node-fetch/pull/1169](https://github.com/node-fetch/node-fetch/pull/1169) - chore: Correct stuff in README.md by [@​Jiralite](https://github.com/Jiralite) in [https://github.com/node-fetch/node-fetch/pull/1361](https://github.com/node-fetch/node-fetch/pull/1361) - docs: Improve clarity of "Loading and configuring" by [@​serverwentdown](https://github.com/serverwentdown) in [https://github.com/node-fetch/node-fetch/pull/1323](https://github.com/node-fetch/node-fetch/pull/1323) - feat(Body): Added support for `BodyMixin.formData()` and constructing bodies with FormData by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1314](https://github.com/node-fetch/node-fetch/pull/1314) - template: Make PR template more task oriented by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1224](https://github.com/node-fetch/node-fetch/pull/1224) - docs: Update code examples by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1365](https://github.com/node-fetch/node-fetch/pull/1365) #### New Contributors - [@​serverwentdown](https://github.com/serverwentdown) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1268](https://github.com/node-fetch/node-fetch/pull/1268) - [@​lakuapik](https://github.com/lakuapik) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1281](https://github.com/node-fetch/node-fetch/pull/1281) - [@​robertoaceves](https://github.com/robertoaceves) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1316](https://github.com/node-fetch/node-fetch/pull/1316) - [@​davesidious](https://github.com/davesidious) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1162](https://github.com/node-fetch/node-fetch/pull/1162) - [@​thedanfernandez](https://github.com/thedanfernandez) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1135](https://github.com/node-fetch/node-fetch/pull/1135) - [@​dhritzkiv](https://github.com/dhritzkiv) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1318](https://github.com/node-fetch/node-fetch/pull/1318) - [@​dnalborczyk](https://github.com/dnalborczyk) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1345](https://github.com/node-fetch/node-fetch/pull/1345) - [@​dependabot](https://github.com/dependabot) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1319](https://github.com/node-fetch/node-fetch/pull/1319) - [@​c-w](https://github.com/c-w) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1169](https://github.com/node-fetch/node-fetch/pull/1169) **Full Changelog**: node-fetch/node-fetch@v3.0.0...v3.1.0 ### [`v3.0.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.0.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v2.7.0...v3.0.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](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md#v300) for more information about all the changes. </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/LUISDASARTIMANHAS/Dime-Bot-Store). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
LUISDASARTIMANHAS
referenced
this pull request
in LUISDASARTIMANHAS/discord-bot-template-with-node-js-server
Dec 31, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [node-fetch](https://github.com/node-fetch/node-fetch) | [`^2.7.0` -> `^3.0.0`](https://renovatebot.com/diffs/npm/node-fetch/2.7.0/3.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>node-fetch/node-fetch (node-fetch)</summary> ### [`v3.3.2`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.2) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.3.1...v3.3.2) ##### Bug Fixes - Remove the default connection close header. ([#​1736](https://github.com/node-fetch/node-fetch/issues/1736)) ([8b3320d](https://github.com/node-fetch/node-fetch/commit/8b3320d2a7c07bce4afc6b2bf6c3bbddda85b01f)), closes [#​1735](https://github.com/node-fetch/node-fetch/issues/1735) [#​1473](https://github.com/node-fetch/node-fetch/issues/1473) ### [`v3.3.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.3.0...v3.3.1) ##### Bug Fixes - release "Allow URL class object as an argument for fetch()" [#​1696](https://github.com/node-fetch/node-fetch/issues/1696) ([#​1716](https://github.com/node-fetch/node-fetch/issues/1716)) ([7b86e94](https://github.com/node-fetch/node-fetch/commit/7b86e946b02dfdd28f4f8fca3d73a022cbb5ca1e)) ### [`v3.3.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.10...v3.3.0) ##### Features - add static Response.json ([#​1670](https://github.com/node-fetch/node-fetch/issues/1670)) ([55a4870](https://github.com/node-fetch/node-fetch/commit/55a4870ae5f805d8ff9a890ea2c652c9977e048e)) ### [`v3.2.10`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.10) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.9...v3.2.10) ##### Bug Fixes - ReDoS referrer ([#​1611](https://github.com/node-fetch/node-fetch/issues/1611)) ([2880238](https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d)) ### [`v3.2.9`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.9) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.8...v3.2.9) ##### Bug Fixes - **Headers:** don't forward secure headers on protocol change ([#​1599](https://github.com/node-fetch/node-fetch/issues/1599)) ([e87b093](https://github.com/node-fetch/node-fetch/commit/e87b093fd678a9ea39c5b17b2a1bdfc4691eedc7)) ### [`v3.2.8`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.8) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.7...v3.2.8) ##### Bug Fixes - possibly flaky test ([#​1523](https://github.com/node-fetch/node-fetch/issues/1523)) ([11b7033](https://github.com/node-fetch/node-fetch/commit/11b703361134340a8361f591d6e3a0bcf6a261fa)) ### [`v3.2.7`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.7) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.6...v3.2.7) ##### Bug Fixes - always warn Request.data ([#​1550](https://github.com/node-fetch/node-fetch/issues/1550)) ([4f43c9e](https://github.com/node-fetch/node-fetch/commit/4f43c9ed63da98f4b5167f0a8e447cd0f0133cd3)) ### [`v3.2.6`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.6) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.5...v3.2.6) ##### Bug Fixes - undefined reference to response.body when aborted ([#​1578](https://github.com/node-fetch/node-fetch/issues/1578)) ([1c5ed6b](https://github.com/node-fetch/node-fetch/commit/1c5ed6b981e6c5dd28bd50f5ab5418e5bd262b99)) ### [`v3.2.5`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.5) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.4...v3.2.5) ##### Bug Fixes - use space in accept-encoding values ([#​1572](https://github.com/node-fetch/node-fetch/issues/1572)) ([a92b5d5](https://github.com/node-fetch/node-fetch/commit/a92b5d5cf4457c2da95d8404b08cfd06a426a2fa)), closes [#​1571](https://github.com/node-fetch/node-fetch/issues/1571) ### [`v3.2.4`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.4) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.4) ##### Bug Fixes - don't uppercase unknown methods ([#​1542](https://github.com/node-fetch/node-fetch/issues/1542)) ([004b3ac](https://github.com/node-fetch/node-fetch/commit/004b3ac8324e6cdbfb5d04b8bbdc6664ea48fbcf)) ### [`v3.2.3`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.3) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.2...v3.2.3) ##### Bug Fixes - handle bom in text and json ([#​1482](https://github.com/node-fetch/node-fetch/issues/1482)) ([6425e20](https://github.com/node-fetch/node-fetch/commit/6425e2021a7def096e13dbabcac2f10e6da83d11)) ### [`v3.2.2`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.2) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.1...v3.2.2) ##### Bug Fixes - add missing formdata export to types ([#​1518](https://github.com/node-fetch/node-fetch/issues/1518)) ([a4ea5f9](https://github.com/node-fetch/node-fetch/commit/a4ea5f9308f942400695cce261291d0a80cd1b02)), closes [#​1517](https://github.com/node-fetch/node-fetch/issues/1517) ### [`v3.2.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.0...v3.2.1) ##### Bug Fixes - cancel request example import ([#​1513](https://github.com/node-fetch/node-fetch/issues/1513)) ([61b3b5a](https://github.com/node-fetch/node-fetch/commit/61b3b5a06384003d332581080af6522bec19417f)) ### [`v3.2.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.1.1...v3.2.0) ##### Features - export Blob, File and FormData + utilities ([#​1463](https://github.com/node-fetch/node-fetch/issues/1463)) ([81b1378](https://github.com/node-fetch/node-fetch/commit/81b1378bb3bda555d3d2114e7d3dfddbd91f210c)) ### [`v3.1.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.1.0...v3.1.1) #### 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 - core: update fetch-blob by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1371](https://github.com/node-fetch/node-fetch/pull/1371) - docs: Fix typo around sending a file by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1381](https://github.com/node-fetch/node-fetch/pull/1381) - core: (http.request): Cast URL to string before sending it to NodeJS core by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1378](https://github.com/node-fetch/node-fetch/pull/1378) - core: handle errors from the request body stream by [@​mdmitry01](https://github.com/mdmitry01) in [https://github.com/node-fetch/node-fetch/pull/1392](https://github.com/node-fetch/node-fetch/pull/1392) - core: Better handle wrong redirect header in a response by [@​tasinet](https://github.com/tasinet) in [https://github.com/node-fetch/node-fetch/pull/1387](https://github.com/node-fetch/node-fetch/pull/1387) - core: Don't use buffer to make a blob by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1402](https://github.com/node-fetch/node-fetch/pull/1402) - docs: update readme for TS [@​types/node-fetch](https://github.com/types/node-fetch) by [@​adamellsworth](https://github.com/adamellsworth) in [https://github.com/node-fetch/node-fetch/pull/1405](https://github.com/node-fetch/node-fetch/pull/1405) - core: Fix logical operator priority to disallow GET/HEAD with non-empty body by [@​maxshirshin](https://github.com/maxshirshin) in [https://github.com/node-fetch/node-fetch/pull/1369](https://github.com/node-fetch/node-fetch/pull/1369) - core: Don't use global buffer by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1422](https://github.com/node-fetch/node-fetch/pull/1422) - ci: fix main branch by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1429](https://github.com/node-fetch/node-fetch/pull/1429) - core: use more node: protocol imports by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1428](https://github.com/node-fetch/node-fetch/pull/1428) - core: Warn when using data by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1421](https://github.com/node-fetch/node-fetch/pull/1421) - docs: Create SECURITY.md by [@​JamieSlome](https://github.com/JamieSlome) in [https://github.com/node-fetch/node-fetch/pull/1445](https://github.com/node-fetch/node-fetch/pull/1445) - core: don't forward secure headers to 3th party by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1449](https://github.com/node-fetch/node-fetch/pull/1449) #### New Contributors - [@​mdmitry01](https://github.com/mdmitry01) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1392](https://github.com/node-fetch/node-fetch/pull/1392) - [@​tasinet](https://github.com/tasinet) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1387](https://github.com/node-fetch/node-fetch/pull/1387) - [@​adamellsworth](https://github.com/adamellsworth) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1405](https://github.com/node-fetch/node-fetch/pull/1405) - [@​maxshirshin](https://github.com/maxshirshin) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1369](https://github.com/node-fetch/node-fetch/pull/1369) - [@​JamieSlome](https://github.com/JamieSlome) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1445](https://github.com/node-fetch/node-fetch/pull/1445) **Full Changelog**: node-fetch/node-fetch@v3.1.0...v3.1.1 ### [`v3.1.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.0.0...v3.1.0) #### What's Changed - fix(Body): Discourage form-data and buffer() by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1212](https://github.com/node-fetch/node-fetch/pull/1212) - fix: Pass url string to http.request by [@​serverwentdown](https://github.com/serverwentdown) in [https://github.com/node-fetch/node-fetch/pull/1268](https://github.com/node-fetch/node-fetch/pull/1268) - Fix octocat image link by [@​lakuapik](https://github.com/lakuapik) in [https://github.com/node-fetch/node-fetch/pull/1281](https://github.com/node-fetch/node-fetch/pull/1281) - fix(Body.body): Normalize `Body.body` into a `node:stream` by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/924](https://github.com/node-fetch/node-fetch/pull/924) - docs(Headers): Add default Host request header to README.md file by [@​robertoaceves](https://github.com/robertoaceves) in [https://github.com/node-fetch/node-fetch/pull/1316](https://github.com/node-fetch/node-fetch/pull/1316) - Update CHANGELOG.md by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1292](https://github.com/node-fetch/node-fetch/pull/1292) - Add highWaterMark to cloned properties by [@​davesidious](https://github.com/davesidious) in [https://github.com/node-fetch/node-fetch/pull/1162](https://github.com/node-fetch/node-fetch/pull/1162) - Update README.md to fix HTTPResponseError by [@​thedanfernandez](https://github.com/thedanfernandez) in [https://github.com/node-fetch/node-fetch/pull/1135](https://github.com/node-fetch/node-fetch/pull/1135) - docs: switch `url` to `URL` by [@​dhritzkiv](https://github.com/dhritzkiv) in [https://github.com/node-fetch/node-fetch/pull/1318](https://github.com/node-fetch/node-fetch/pull/1318) - fix(types): declare buffer() deprecated by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1345](https://github.com/node-fetch/node-fetch/pull/1345) - chore: fix lint by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1348](https://github.com/node-fetch/node-fetch/pull/1348) - refactor: use node: prefix for imports by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1346](https://github.com/node-fetch/node-fetch/pull/1346) - Bump data-uri-to-buffer from 3.0.1 to 4.0.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/node-fetch/node-fetch/pull/1319](https://github.com/node-fetch/node-fetch/pull/1319) - Bump mocha from 8.4.0 to 9.1.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/node-fetch/node-fetch/pull/1339](https://github.com/node-fetch/node-fetch/pull/1339) - Referrer and Referrer Policy by [@​tekwiz](https://github.com/tekwiz) in [https://github.com/node-fetch/node-fetch/pull/1057](https://github.com/node-fetch/node-fetch/pull/1057) - Add typing for Response.redirect(url, status) by [@​c-w](https://github.com/c-w) in [https://github.com/node-fetch/node-fetch/pull/1169](https://github.com/node-fetch/node-fetch/pull/1169) - chore: Correct stuff in README.md by [@​Jiralite](https://github.com/Jiralite) in [https://github.com/node-fetch/node-fetch/pull/1361](https://github.com/node-fetch/node-fetch/pull/1361) - docs: Improve clarity of "Loading and configuring" by [@​serverwentdown](https://github.com/serverwentdown) in [https://github.com/node-fetch/node-fetch/pull/1323](https://github.com/node-fetch/node-fetch/pull/1323) - feat(Body): Added support for `BodyMixin.formData()` and constructing bodies with FormData by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1314](https://github.com/node-fetch/node-fetch/pull/1314) - template: Make PR template more task oriented by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1224](https://github.com/node-fetch/node-fetch/pull/1224) - docs: Update code examples by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1365](https://github.com/node-fetch/node-fetch/pull/1365) #### New Contributors - [@​serverwentdown](https://github.com/serverwentdown) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1268](https://github.com/node-fetch/node-fetch/pull/1268) - [@​lakuapik](https://github.com/lakuapik) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1281](https://github.com/node-fetch/node-fetch/pull/1281) - [@​robertoaceves](https://github.com/robertoaceves) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1316](https://github.com/node-fetch/node-fetch/pull/1316) - [@​davesidious](https://github.com/davesidious) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1162](https://github.com/node-fetch/node-fetch/pull/1162) - [@​thedanfernandez](https://github.com/thedanfernandez) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1135](https://github.com/node-fetch/node-fetch/pull/1135) - [@​dhritzkiv](https://github.com/dhritzkiv) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1318](https://github.com/node-fetch/node-fetch/pull/1318) - [@​dnalborczyk](https://github.com/dnalborczyk) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1345](https://github.com/node-fetch/node-fetch/pull/1345) - [@​dependabot](https://github.com/dependabot) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1319](https://github.com/node-fetch/node-fetch/pull/1319) - [@​c-w](https://github.com/c-w) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1169](https://github.com/node-fetch/node-fetch/pull/1169) **Full Changelog**: node-fetch/node-fetch@v3.0.0...v3.1.0 ### [`v3.0.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.0.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v2.7.0...v3.0.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](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md#v300) for more information about all the changes. </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/LUISDASARTIMANHAS/discord-bot-template-with-node-js-server). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
LUISDASARTIMANHAS
referenced
this pull request
in LUISDASARTIMANHAS/template-server-express-node-js
Jan 24, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [node-fetch](https://github.com/node-fetch/node-fetch) | [`^2.7.0` -> `^3.0.0`](https://renovatebot.com/diffs/npm/node-fetch/2.7.0/3.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>node-fetch/node-fetch (node-fetch)</summary> ### [`v3.3.2`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.2) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.3.1...v3.3.2) ##### Bug Fixes - Remove the default connection close header. ([#​1736](https://github.com/node-fetch/node-fetch/issues/1736)) ([8b3320d](https://github.com/node-fetch/node-fetch/commit/8b3320d2a7c07bce4afc6b2bf6c3bbddda85b01f)), closes [#​1735](https://github.com/node-fetch/node-fetch/issues/1735) [#​1473](https://github.com/node-fetch/node-fetch/issues/1473) ### [`v3.3.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.3.0...v3.3.1) ##### Bug Fixes - release "Allow URL class object as an argument for fetch()" [#​1696](https://github.com/node-fetch/node-fetch/issues/1696) ([#​1716](https://github.com/node-fetch/node-fetch/issues/1716)) ([7b86e94](https://github.com/node-fetch/node-fetch/commit/7b86e946b02dfdd28f4f8fca3d73a022cbb5ca1e)) ### [`v3.3.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.10...v3.3.0) ##### Features - add static Response.json ([#​1670](https://github.com/node-fetch/node-fetch/issues/1670)) ([55a4870](https://github.com/node-fetch/node-fetch/commit/55a4870ae5f805d8ff9a890ea2c652c9977e048e)) ### [`v3.2.10`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.10) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.9...v3.2.10) ##### Bug Fixes - ReDoS referrer ([#​1611](https://github.com/node-fetch/node-fetch/issues/1611)) ([2880238](https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d)) ### [`v3.2.9`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.9) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.8...v3.2.9) ##### Bug Fixes - **Headers:** don't forward secure headers on protocol change ([#​1599](https://github.com/node-fetch/node-fetch/issues/1599)) ([e87b093](https://github.com/node-fetch/node-fetch/commit/e87b093fd678a9ea39c5b17b2a1bdfc4691eedc7)) ### [`v3.2.8`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.8) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.7...v3.2.8) ##### Bug Fixes - possibly flaky test ([#​1523](https://github.com/node-fetch/node-fetch/issues/1523)) ([11b7033](https://github.com/node-fetch/node-fetch/commit/11b703361134340a8361f591d6e3a0bcf6a261fa)) ### [`v3.2.7`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.7) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.6...v3.2.7) ##### Bug Fixes - always warn Request.data ([#​1550](https://github.com/node-fetch/node-fetch/issues/1550)) ([4f43c9e](https://github.com/node-fetch/node-fetch/commit/4f43c9ed63da98f4b5167f0a8e447cd0f0133cd3)) ### [`v3.2.6`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.6) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.5...v3.2.6) ##### Bug Fixes - undefined reference to response.body when aborted ([#​1578](https://github.com/node-fetch/node-fetch/issues/1578)) ([1c5ed6b](https://github.com/node-fetch/node-fetch/commit/1c5ed6b981e6c5dd28bd50f5ab5418e5bd262b99)) ### [`v3.2.5`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.5) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.4...v3.2.5) ##### Bug Fixes - use space in accept-encoding values ([#​1572](https://github.com/node-fetch/node-fetch/issues/1572)) ([a92b5d5](https://github.com/node-fetch/node-fetch/commit/a92b5d5cf4457c2da95d8404b08cfd06a426a2fa)), closes [#​1571](https://github.com/node-fetch/node-fetch/issues/1571) ### [`v3.2.4`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.4) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.4) ##### Bug Fixes - don't uppercase unknown methods ([#​1542](https://github.com/node-fetch/node-fetch/issues/1542)) ([004b3ac](https://github.com/node-fetch/node-fetch/commit/004b3ac8324e6cdbfb5d04b8bbdc6664ea48fbcf)) ### [`v3.2.3`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.3) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.2...v3.2.3) ##### Bug Fixes - handle bom in text and json ([#​1482](https://github.com/node-fetch/node-fetch/issues/1482)) ([6425e20](https://github.com/node-fetch/node-fetch/commit/6425e2021a7def096e13dbabcac2f10e6da83d11)) ### [`v3.2.2`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.2) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.1...v3.2.2) ##### Bug Fixes - add missing formdata export to types ([#​1518](https://github.com/node-fetch/node-fetch/issues/1518)) ([a4ea5f9](https://github.com/node-fetch/node-fetch/commit/a4ea5f9308f942400695cce261291d0a80cd1b02)), closes [#​1517](https://github.com/node-fetch/node-fetch/issues/1517) ### [`v3.2.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.0...v3.2.1) ##### Bug Fixes - cancel request example import ([#​1513](https://github.com/node-fetch/node-fetch/issues/1513)) ([61b3b5a](https://github.com/node-fetch/node-fetch/commit/61b3b5a06384003d332581080af6522bec19417f)) ### [`v3.2.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.1.1...v3.2.0) ##### Features - export Blob, File and FormData + utilities ([#​1463](https://github.com/node-fetch/node-fetch/issues/1463)) ([81b1378](https://github.com/node-fetch/node-fetch/commit/81b1378bb3bda555d3d2114e7d3dfddbd91f210c)) ### [`v3.1.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.1.0...v3.1.1) #### 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 - core: update fetch-blob by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1371](https://github.com/node-fetch/node-fetch/pull/1371) - docs: Fix typo around sending a file by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1381](https://github.com/node-fetch/node-fetch/pull/1381) - core: (http.request): Cast URL to string before sending it to NodeJS core by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1378](https://github.com/node-fetch/node-fetch/pull/1378) - core: handle errors from the request body stream by [@​mdmitry01](https://github.com/mdmitry01) in [https://github.com/node-fetch/node-fetch/pull/1392](https://github.com/node-fetch/node-fetch/pull/1392) - core: Better handle wrong redirect header in a response by [@​tasinet](https://github.com/tasinet) in [https://github.com/node-fetch/node-fetch/pull/1387](https://github.com/node-fetch/node-fetch/pull/1387) - core: Don't use buffer to make a blob by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1402](https://github.com/node-fetch/node-fetch/pull/1402) - docs: update readme for TS [@​types/node-fetch](https://github.com/types/node-fetch) by [@​adamellsworth](https://github.com/adamellsworth) in [https://github.com/node-fetch/node-fetch/pull/1405](https://github.com/node-fetch/node-fetch/pull/1405) - core: Fix logical operator priority to disallow GET/HEAD with non-empty body by [@​maxshirshin](https://github.com/maxshirshin) in [https://github.com/node-fetch/node-fetch/pull/1369](https://github.com/node-fetch/node-fetch/pull/1369) - core: Don't use global buffer by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1422](https://github.com/node-fetch/node-fetch/pull/1422) - ci: fix main branch by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1429](https://github.com/node-fetch/node-fetch/pull/1429) - core: use more node: protocol imports by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1428](https://github.com/node-fetch/node-fetch/pull/1428) - core: Warn when using data by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1421](https://github.com/node-fetch/node-fetch/pull/1421) - docs: Create SECURITY.md by [@​JamieSlome](https://github.com/JamieSlome) in [https://github.com/node-fetch/node-fetch/pull/1445](https://github.com/node-fetch/node-fetch/pull/1445) - core: don't forward secure headers to 3th party by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1449](https://github.com/node-fetch/node-fetch/pull/1449) #### New Contributors - [@​mdmitry01](https://github.com/mdmitry01) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1392](https://github.com/node-fetch/node-fetch/pull/1392) - [@​tasinet](https://github.com/tasinet) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1387](https://github.com/node-fetch/node-fetch/pull/1387) - [@​adamellsworth](https://github.com/adamellsworth) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1405](https://github.com/node-fetch/node-fetch/pull/1405) - [@​maxshirshin](https://github.com/maxshirshin) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1369](https://github.com/node-fetch/node-fetch/pull/1369) - [@​JamieSlome](https://github.com/JamieSlome) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1445](https://github.com/node-fetch/node-fetch/pull/1445) **Full Changelog**: node-fetch/node-fetch@v3.1.0...v3.1.1 ### [`v3.1.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.0.0...v3.1.0) #### What's Changed - fix(Body): Discourage form-data and buffer() by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1212](https://github.com/node-fetch/node-fetch/pull/1212) - fix: Pass url string to http.request by [@​serverwentdown](https://github.com/serverwentdown) in [https://github.com/node-fetch/node-fetch/pull/1268](https://github.com/node-fetch/node-fetch/pull/1268) - Fix octocat image link by [@​lakuapik](https://github.com/lakuapik) in [https://github.com/node-fetch/node-fetch/pull/1281](https://github.com/node-fetch/node-fetch/pull/1281) - fix(Body.body): Normalize `Body.body` into a `node:stream` by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/924](https://github.com/node-fetch/node-fetch/pull/924) - docs(Headers): Add default Host request header to README.md file by [@​robertoaceves](https://github.com/robertoaceves) in [https://github.com/node-fetch/node-fetch/pull/1316](https://github.com/node-fetch/node-fetch/pull/1316) - Update CHANGELOG.md by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1292](https://github.com/node-fetch/node-fetch/pull/1292) - Add highWaterMark to cloned properties by [@​davesidious](https://github.com/davesidious) in [https://github.com/node-fetch/node-fetch/pull/1162](https://github.com/node-fetch/node-fetch/pull/1162) - Update README.md to fix HTTPResponseError by [@​thedanfernandez](https://github.com/thedanfernandez) in [https://github.com/node-fetch/node-fetch/pull/1135](https://github.com/node-fetch/node-fetch/pull/1135) - docs: switch `url` to `URL` by [@​dhritzkiv](https://github.com/dhritzkiv) in [https://github.com/node-fetch/node-fetch/pull/1318](https://github.com/node-fetch/node-fetch/pull/1318) - fix(types): declare buffer() deprecated by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1345](https://github.com/node-fetch/node-fetch/pull/1345) - chore: fix lint by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1348](https://github.com/node-fetch/node-fetch/pull/1348) - refactor: use node: prefix for imports by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1346](https://github.com/node-fetch/node-fetch/pull/1346) - Bump data-uri-to-buffer from 3.0.1 to 4.0.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/node-fetch/node-fetch/pull/1319](https://github.com/node-fetch/node-fetch/pull/1319) - Bump mocha from 8.4.0 to 9.1.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/node-fetch/node-fetch/pull/1339](https://github.com/node-fetch/node-fetch/pull/1339) - Referrer and Referrer Policy by [@​tekwiz](https://github.com/tekwiz) in [https://github.com/node-fetch/node-fetch/pull/1057](https://github.com/node-fetch/node-fetch/pull/1057) - Add typing for Response.redirect(url, status) by [@​c-w](https://github.com/c-w) in [https://github.com/node-fetch/node-fetch/pull/1169](https://github.com/node-fetch/node-fetch/pull/1169) - chore: Correct stuff in README.md by [@​Jiralite](https://github.com/Jiralite) in [https://github.com/node-fetch/node-fetch/pull/1361](https://github.com/node-fetch/node-fetch/pull/1361) - docs: Improve clarity of "Loading and configuring" by [@​serverwentdown](https://github.com/serverwentdown) in [https://github.com/node-fetch/node-fetch/pull/1323](https://github.com/node-fetch/node-fetch/pull/1323) - feat(Body): Added support for `BodyMixin.formData()` and constructing bodies with FormData by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1314](https://github.com/node-fetch/node-fetch/pull/1314) - template: Make PR template more task oriented by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1224](https://github.com/node-fetch/node-fetch/pull/1224) - docs: Update code examples by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1365](https://github.com/node-fetch/node-fetch/pull/1365) #### New Contributors - [@​serverwentdown](https://github.com/serverwentdown) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1268](https://github.com/node-fetch/node-fetch/pull/1268) - [@​lakuapik](https://github.com/lakuapik) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1281](https://github.com/node-fetch/node-fetch/pull/1281) - [@​robertoaceves](https://github.com/robertoaceves) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1316](https://github.com/node-fetch/node-fetch/pull/1316) - [@​davesidious](https://github.com/davesidious) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1162](https://github.com/node-fetch/node-fetch/pull/1162) - [@​thedanfernandez](https://github.com/thedanfernandez) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1135](https://github.com/node-fetch/node-fetch/pull/1135) - [@​dhritzkiv](https://github.com/dhritzkiv) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1318](https://github.com/node-fetch/node-fetch/pull/1318) - [@​dnalborczyk](https://github.com/dnalborczyk) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1345](https://github.com/node-fetch/node-fetch/pull/1345) - [@​dependabot](https://github.com/dependabot) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1319](https://github.com/node-fetch/node-fetch/pull/1319) - [@​c-w](https://github.com/c-w) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1169](https://github.com/node-fetch/node-fetch/pull/1169) **Full Changelog**: node-fetch/node-fetch@v3.0.0...v3.1.0 ### [`v3.0.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.0.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v2.7.0...v3.0.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](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md#v300) for more information about all the changes. </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/LUISDASARTIMANHAS/template-server-express-node-js). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
github-merge-queue bot
referenced
this pull request
in camunda/camunda
Aug 17, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [node-fetch](https://github.com/node-fetch/node-fetch) | [`^2.6.7` -> `^3.0.0`](https://renovatebot.com/diffs/npm/node-fetch/2.7.0/3.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [node-fetch](https://github.com/node-fetch/node-fetch) | [`2.7.0` -> `3.3.2`](https://renovatebot.com/diffs/npm/node-fetch/2.7.0/3.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/node-fetch/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/node-fetch/2.7.0/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>node-fetch/node-fetch (node-fetch)</summary> ### [`v3.3.2`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.2) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.3.1...v3.3.2) ##### Bug Fixes - Remove the default connection close header. ([#​1736](https://github.com/node-fetch/node-fetch/issues/1736)) ([8b3320d](https://github.com/node-fetch/node-fetch/commit/8b3320d2a7c07bce4afc6b2bf6c3bbddda85b01f)), closes [#​1735](https://github.com/node-fetch/node-fetch/issues/1735) [#​1473](https://github.com/node-fetch/node-fetch/issues/1473) ### [`v3.3.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.3.0...v3.3.1) ##### Bug Fixes - release "Allow URL class object as an argument for fetch()" [#​1696](https://github.com/node-fetch/node-fetch/issues/1696) ([#​1716](https://github.com/node-fetch/node-fetch/issues/1716)) ([7b86e94](https://github.com/node-fetch/node-fetch/commit/7b86e946b02dfdd28f4f8fca3d73a022cbb5ca1e)) ### [`v3.3.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.3.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.10...v3.3.0) ##### Features - add static Response.json ([#​1670](https://github.com/node-fetch/node-fetch/issues/1670)) ([55a4870](https://github.com/node-fetch/node-fetch/commit/55a4870ae5f805d8ff9a890ea2c652c9977e048e)) ### [`v3.2.10`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.10) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.9...v3.2.10) ##### Bug Fixes - ReDoS referrer ([#​1611](https://github.com/node-fetch/node-fetch/issues/1611)) ([2880238](https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d)) ### [`v3.2.9`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.9) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.8...v3.2.9) ##### Bug Fixes - **Headers:** don't forward secure headers on protocol change ([#​1599](https://github.com/node-fetch/node-fetch/issues/1599)) ([e87b093](https://github.com/node-fetch/node-fetch/commit/e87b093fd678a9ea39c5b17b2a1bdfc4691eedc7)) ### [`v3.2.8`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.8) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.7...v3.2.8) ##### Bug Fixes - possibly flaky test ([#​1523](https://github.com/node-fetch/node-fetch/issues/1523)) ([11b7033](https://github.com/node-fetch/node-fetch/commit/11b703361134340a8361f591d6e3a0bcf6a261fa)) ### [`v3.2.7`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.7) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.6...v3.2.7) ##### Bug Fixes - always warn Request.data ([#​1550](https://github.com/node-fetch/node-fetch/issues/1550)) ([4f43c9e](https://github.com/node-fetch/node-fetch/commit/4f43c9ed63da98f4b5167f0a8e447cd0f0133cd3)) ### [`v3.2.6`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.6) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.5...v3.2.6) ##### Bug Fixes - undefined reference to response.body when aborted ([#​1578](https://github.com/node-fetch/node-fetch/issues/1578)) ([1c5ed6b](https://github.com/node-fetch/node-fetch/commit/1c5ed6b981e6c5dd28bd50f5ab5418e5bd262b99)) ### [`v3.2.5`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.5) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.4...v3.2.5) ##### Bug Fixes - use space in accept-encoding values ([#​1572](https://github.com/node-fetch/node-fetch/issues/1572)) ([a92b5d5](https://github.com/node-fetch/node-fetch/commit/a92b5d5cf4457c2da95d8404b08cfd06a426a2fa)), closes [#​1571](https://github.com/node-fetch/node-fetch/issues/1571) ### [`v3.2.4`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.4) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.4) ##### Bug Fixes - don't uppercase unknown methods ([#​1542](https://github.com/node-fetch/node-fetch/issues/1542)) ([004b3ac](https://github.com/node-fetch/node-fetch/commit/004b3ac8324e6cdbfb5d04b8bbdc6664ea48fbcf)) ### [`v3.2.3`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.3) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.2...v3.2.3) ##### Bug Fixes - handle bom in text and json ([#​1482](https://github.com/node-fetch/node-fetch/issues/1482)) ([6425e20](https://github.com/node-fetch/node-fetch/commit/6425e2021a7def096e13dbabcac2f10e6da83d11)) ### [`v3.2.2`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.2) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.1...v3.2.2) ##### Bug Fixes - add missing formdata export to types ([#​1518](https://github.com/node-fetch/node-fetch/issues/1518)) ([a4ea5f9](https://github.com/node-fetch/node-fetch/commit/a4ea5f9308f942400695cce261291d0a80cd1b02)), closes [#​1517](https://github.com/node-fetch/node-fetch/issues/1517) ### [`v3.2.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.2.0...v3.2.1) ##### Bug Fixes - cancel request example import ([#​1513](https://github.com/node-fetch/node-fetch/issues/1513)) ([61b3b5a](https://github.com/node-fetch/node-fetch/commit/61b3b5a06384003d332581080af6522bec19417f)) ### [`v3.2.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.2.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.1.1...v3.2.0) ##### Features - export Blob, File and FormData + utilities ([#​1463](https://github.com/node-fetch/node-fetch/issues/1463)) ([81b1378](https://github.com/node-fetch/node-fetch/commit/81b1378bb3bda555d3d2114e7d3dfddbd91f210c)) ### [`v3.1.1`](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.1) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.1.0...v3.1.1) #### 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 - core: update fetch-blob by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1371](https://github.com/node-fetch/node-fetch/pull/1371) - docs: Fix typo around sending a file by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1381](https://github.com/node-fetch/node-fetch/pull/1381) - core: (http.request): Cast URL to string before sending it to NodeJS core by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1378](https://github.com/node-fetch/node-fetch/pull/1378) - core: handle errors from the request body stream by [@​mdmitry01](https://github.com/mdmitry01) in [https://github.com/node-fetch/node-fetch/pull/1392](https://github.com/node-fetch/node-fetch/pull/1392) - core: Better handle wrong redirect header in a response by [@​tasinet](https://github.com/tasinet) in [https://github.com/node-fetch/node-fetch/pull/1387](https://github.com/node-fetch/node-fetch/pull/1387) - core: Don't use buffer to make a blob by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1402](https://github.com/node-fetch/node-fetch/pull/1402) - docs: update readme for TS [@​types/node-fetch](https://github.com/types/node-fetch) by [@​adamellsworth](https://github.com/adamellsworth) in [https://github.com/node-fetch/node-fetch/pull/1405](https://github.com/node-fetch/node-fetch/pull/1405) - core: Fix logical operator priority to disallow GET/HEAD with non-empty body by [@​maxshirshin](https://github.com/maxshirshin) in [https://github.com/node-fetch/node-fetch/pull/1369](https://github.com/node-fetch/node-fetch/pull/1369) - core: Don't use global buffer by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1422](https://github.com/node-fetch/node-fetch/pull/1422) - ci: fix main branch by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1429](https://github.com/node-fetch/node-fetch/pull/1429) - core: use more node: protocol imports by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1428](https://github.com/node-fetch/node-fetch/pull/1428) - core: Warn when using data by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1421](https://github.com/node-fetch/node-fetch/pull/1421) - docs: Create SECURITY.md by [@​JamieSlome](https://github.com/JamieSlome) in [https://github.com/node-fetch/node-fetch/pull/1445](https://github.com/node-fetch/node-fetch/pull/1445) - core: don't forward secure headers to 3th party by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1449](https://github.com/node-fetch/node-fetch/pull/1449) #### New Contributors - [@​mdmitry01](https://github.com/mdmitry01) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1392](https://github.com/node-fetch/node-fetch/pull/1392) - [@​tasinet](https://github.com/tasinet) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1387](https://github.com/node-fetch/node-fetch/pull/1387) - [@​adamellsworth](https://github.com/adamellsworth) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1405](https://github.com/node-fetch/node-fetch/pull/1405) - [@​maxshirshin](https://github.com/maxshirshin) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1369](https://github.com/node-fetch/node-fetch/pull/1369) - [@​JamieSlome](https://github.com/JamieSlome) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1445](https://github.com/node-fetch/node-fetch/pull/1445) **Full Changelog**: node-fetch/node-fetch@v3.1.0...v3.1.1 ### [`v3.1.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.1.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v3.0.0...v3.1.0) #### What's Changed - fix(Body): Discourage form-data and buffer() by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1212](https://github.com/node-fetch/node-fetch/pull/1212) - fix: Pass url string to http.request by [@​serverwentdown](https://github.com/serverwentdown) in [https://github.com/node-fetch/node-fetch/pull/1268](https://github.com/node-fetch/node-fetch/pull/1268) - Fix octocat image link by [@​lakuapik](https://github.com/lakuapik) in [https://github.com/node-fetch/node-fetch/pull/1281](https://github.com/node-fetch/node-fetch/pull/1281) - fix(Body.body): Normalize `Body.body` into a `node:stream` by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/924](https://github.com/node-fetch/node-fetch/pull/924) - docs(Headers): Add default Host request header to README.md file by [@​robertoaceves](https://github.com/robertoaceves) in [https://github.com/node-fetch/node-fetch/pull/1316](https://github.com/node-fetch/node-fetch/pull/1316) - Update CHANGELOG.md by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1292](https://github.com/node-fetch/node-fetch/pull/1292) - Add highWaterMark to cloned properties by [@​davesidious](https://github.com/davesidious) in [https://github.com/node-fetch/node-fetch/pull/1162](https://github.com/node-fetch/node-fetch/pull/1162) - Update README.md to fix HTTPResponseError by [@​thedanfernandez](https://github.com/thedanfernandez) in [https://github.com/node-fetch/node-fetch/pull/1135](https://github.com/node-fetch/node-fetch/pull/1135) - docs: switch `url` to `URL` by [@​dhritzkiv](https://github.com/dhritzkiv) in [https://github.com/node-fetch/node-fetch/pull/1318](https://github.com/node-fetch/node-fetch/pull/1318) - fix(types): declare buffer() deprecated by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1345](https://github.com/node-fetch/node-fetch/pull/1345) - chore: fix lint by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1348](https://github.com/node-fetch/node-fetch/pull/1348) - refactor: use node: prefix for imports by [@​dnalborczyk](https://github.com/dnalborczyk) in [https://github.com/node-fetch/node-fetch/pull/1346](https://github.com/node-fetch/node-fetch/pull/1346) - Bump data-uri-to-buffer from 3.0.1 to 4.0.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/node-fetch/node-fetch/pull/1319](https://github.com/node-fetch/node-fetch/pull/1319) - Bump mocha from 8.4.0 to 9.1.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/node-fetch/node-fetch/pull/1339](https://github.com/node-fetch/node-fetch/pull/1339) - Referrer and Referrer Policy by [@​tekwiz](https://github.com/tekwiz) in [https://github.com/node-fetch/node-fetch/pull/1057](https://github.com/node-fetch/node-fetch/pull/1057) - Add typing for Response.redirect(url, status) by [@​c-w](https://github.com/c-w) in [https://github.com/node-fetch/node-fetch/pull/1169](https://github.com/node-fetch/node-fetch/pull/1169) - chore: Correct stuff in README.md by [@​Jiralite](https://github.com/Jiralite) in [https://github.com/node-fetch/node-fetch/pull/1361](https://github.com/node-fetch/node-fetch/pull/1361) - docs: Improve clarity of "Loading and configuring" by [@​serverwentdown](https://github.com/serverwentdown) in [https://github.com/node-fetch/node-fetch/pull/1323](https://github.com/node-fetch/node-fetch/pull/1323) - feat(Body): Added support for `BodyMixin.formData()` and constructing bodies with FormData by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1314](https://github.com/node-fetch/node-fetch/pull/1314) - template: Make PR template more task oriented by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1224](https://github.com/node-fetch/node-fetch/pull/1224) - docs: Update code examples by [@​jimmywarting](https://github.com/jimmywarting) in [https://github.com/node-fetch/node-fetch/pull/1365](https://github.com/node-fetch/node-fetch/pull/1365) #### New Contributors - [@​serverwentdown](https://github.com/serverwentdown) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1268](https://github.com/node-fetch/node-fetch/pull/1268) - [@​lakuapik](https://github.com/lakuapik) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1281](https://github.com/node-fetch/node-fetch/pull/1281) - [@​robertoaceves](https://github.com/robertoaceves) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1316](https://github.com/node-fetch/node-fetch/pull/1316) - [@​davesidious](https://github.com/davesidious) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1162](https://github.com/node-fetch/node-fetch/pull/1162) - [@​thedanfernandez](https://github.com/thedanfernandez) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1135](https://github.com/node-fetch/node-fetch/pull/1135) - [@​dhritzkiv](https://github.com/dhritzkiv) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1318](https://github.com/node-fetch/node-fetch/pull/1318) - [@​dnalborczyk](https://github.com/dnalborczyk) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1345](https://github.com/node-fetch/node-fetch/pull/1345) - [@​dependabot](https://github.com/dependabot) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1319](https://github.com/node-fetch/node-fetch/pull/1319) - [@​c-w](https://github.com/c-w) made their first contribution in [https://github.com/node-fetch/node-fetch/pull/1169](https://github.com/node-fetch/node-fetch/pull/1169) **Full Changelog**: node-fetch/node-fetch@v3.0.0...v3.1.0 ### [`v3.0.0`](https://github.com/node-fetch/node-fetch/releases/tag/v3.0.0) [Compare Source](https://github.com/node-fetch/node-fetch/compare/v2.7.0...v3.0.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](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md#v300) for more information about all the changes. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/camunda/camunda). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIl19-->
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.
Purpose
Normalize
Body.body
into a stream to be more in line with spec.and also to simplify other parts so we deal with less underlying types of bodies
Changes
Constructing a Response or Request with a string, blob or anything else gets converted into a
node:stream
nowPreviously, what you passed into the Response or Request as a body would in the end be the same thing in
Body.body
(new Response('abc').body === 'abc'
). This is wrong.Additional
Right now it's converted into a node:stream but i'm thinking it can be converted to a whatwg:stream in v4
it would be suppressing to me if someone rely on Response.body being whatever was passed to the Response constructor, not necessarily a stream. so perhaps this can slip in as a non major change?
I also lowercased the
nodefetchformdataboundary
cuz one issue is that Blob's type is casted to lowercase alsoblob.stream()
#1091