simorgh
simorgh copied to clipboard
chore(deps): update dependency node-fetch to v3
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
node-fetch | 2.6.7 -> 3.2.10 |
Release Notes
node-fetch/node-fetch
v3.2.10
Bug Fixes
v3.2.9
Bug Fixes
v3.2.8
Bug Fixes
v3.2.7
Bug Fixes
v3.2.6
Bug Fixes
v3.2.5
Bug Fixes
v3.2.4
Bug Fixes
v3.2.3
Bug Fixes
v3.2.2
Bug Fixes
v3.2.1
Bug Fixes
v3.2.0
Features
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 in https://github.com/node-fetch/node-fetch/pull/1371
- docs: Fix typo around sending a file by @jimmywarting in https://github.com/node-fetch/node-fetch/pull/1381
- core: (http.request): Cast URL to string before sending it to NodeJS core by @jimmywarting in https://github.com/node-fetch/node-fetch/pull/1378
- core: handle errors from the request body stream by @mdmitry01 in https://github.com/node-fetch/node-fetch/pull/1392
- core: Better handle wrong redirect header in a response by @tasinet in https://github.com/node-fetch/node-fetch/pull/1387
- core: Don't use buffer to make a blob by @jimmywarting in https://github.com/node-fetch/node-fetch/pull/1402
- docs: update readme for TS @types/node-fetch by @adamellsworth in https://github.com/node-fetch/node-fetch/pull/1405
- core: Fix logical operator priority to disallow GET/HEAD with non-empty body by @maxshirshin in https://github.com/node-fetch/node-fetch/pull/1369
- core: Don't use global buffer by @jimmywarting in https://github.com/node-fetch/node-fetch/pull/1422
- ci: fix main branch by @dnalborczyk in https://github.com/node-fetch/node-fetch/pull/1429
- core: use more node: protocol imports by @dnalborczyk in https://github.com/node-fetch/node-fetch/pull/1428
- core: Warn when using data by @jimmywarting in https://github.com/node-fetch/node-fetch/pull/1421
- docs: Create SECURITY.md by @JamieSlome in https://github.com/node-fetch/node-fetch/pull/1445
- core: don't forward secure headers to 3th party by @jimmywarting in https://github.com/node-fetch/node-fetch/pull/1449
New Contributors
- @mdmitry01 made their first contribution in https://github.com/node-fetch/node-fetch/pull/1392
- @tasinet made their first contribution in https://github.com/node-fetch/node-fetch/pull/1387
- @adamellsworth made their first contribution in https://github.com/node-fetch/node-fetch/pull/1405
- @maxshirshin made their first contribution in https://github.com/node-fetch/node-fetch/pull/1369
- @JamieSlome made their first contribution in https://github.com/node-fetch/node-fetch/pull/1445
Full Changelog: https://github.com/node-fetch/node-fetch/compare/v3.1.0...v3.1.1
v3.1.0
What's Changed
- fix(Body): Discourage form-data and buffer() by @jimmywarting in https://github.com/node-fetch/node-fetch/pull/1212
- fix: Pass url string to http.request by @serverwentdown in https://github.com/node-fetch/node-fetch/pull/1268
- Fix octocat image link by @lakuapik in https://github.com/node-fetch/node-fetch/pull/1281
- fix(Body.body): Normalize
Body.body
into anode:stream
by @jimmywarting in https://github.com/node-fetch/node-fetch/pull/924 - docs(Headers): Add default Host request header to README.md file by @robertoaceves in https://github.com/node-fetch/node-fetch/pull/1316
- Update CHANGELOG.md by @jimmywarting in https://github.com/node-fetch/node-fetch/pull/1292
- Add highWaterMark to cloned properties by @davesidious in https://github.com/node-fetch/node-fetch/pull/1162
- Update README.md to fix HTTPResponseError by @thedanfernandez in https://github.com/node-fetch/node-fetch/pull/1135
- docs: switch
url
toURL
by @dhritzkiv in https://github.com/node-fetch/node-fetch/pull/1318 - fix(types): declare buffer() deprecated by @dnalborczyk in https://github.com/node-fetch/node-fetch/pull/1345
- chore: fix lint by @dnalborczyk in https://github.com/node-fetch/node-fetch/pull/1348
- refactor: use node: prefix for imports by @dnalborczyk in https://github.com/node-fetch/node-fetch/pull/1346
- Bump data-uri-to-buffer from 3.0.1 to 4.0.0 by @dependabot in https://github.com/node-fetch/node-fetch/pull/1319
- Bump mocha from 8.4.0 to 9.1.3 by @dependabot in https://github.com/node-fetch/node-fetch/pull/1339
- Referrer and Referrer Policy by @tekwiz in https://github.com/node-fetch/node-fetch/pull/1057
- Add typing for Response.redirect(url, status) by @c-w in https://github.com/node-fetch/node-fetch/pull/1169
- chore: Correct stuff in README.md by @Jiralite in https://github.com/node-fetch/node-fetch/pull/1361
- docs: Improve clarity of "Loading and configuring" by @serverwentdown in https://github.com/node-fetch/node-fetch/pull/1323
- feat(Body): Added support for
BodyMixin.formData()
and constructing bodies with FormData by @jimmywarting in https://github.com/node-fetch/node-fetch/pull/1314 - template: Make PR template more task oriented by @jimmywarting in https://github.com/node-fetch/node-fetch/pull/1224
- docs: Update code examples by @jimmywarting in https://github.com/node-fetch/node-fetch/pull/1365
New Contributors
- @serverwentdown made their first contribution in https://github.com/node-fetch/node-fetch/pull/1268
- @lakuapik made their first contribution in https://github.com/node-fetch/node-fetch/pull/1281
- @robertoaceves made their first contribution in https://github.com/node-fetch/node-fetch/pull/1316
- @davesidious made their first contribution in https://github.com/node-fetch/node-fetch/pull/1162
- @thedanfernandez made their first contribution in https://github.com/node-fetch/node-fetch/pull/1135
- @dhritzkiv made their first contribution in https://github.com/node-fetch/node-fetch/pull/1318
- @dnalborczyk made their first contribution in https://github.com/node-fetch/node-fetch/pull/1345
- @dependabot made their first contribution in https://github.com/node-fetch/node-fetch/pull/1319
- @c-w made their first contribution in https://github.com/node-fetch/node-fetch/pull/1169
Full Changelog: https://github.com/node-fetch/node-fetch/compare/v3.0.0...v3.1.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 for more information about all the changes.
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, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: yarn.lock
internal/modules/cjs/loader.js:968
throw err;
^
Error: Cannot find module 'fs/promises'
Require stack:
- /opt/buildpack/tools/corepack/0.14.2/lib/node_modules/corepack/dist/corepack.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.fs/promises (/opt/buildpack/tools/corepack/0.14.2/lib/node_modules/corepack/dist/corepack.js:16644:18)
at __webpack_require__ (/opt/buildpack/tools/corepack/0.14.2/lib/node_modules/corepack/dist/corepack.js:17065:42)
at Module../sources/fsUtils.ts (/opt/buildpack/tools/corepack/0.14.2/lib/node_modules/corepack/dist/corepack.js:16024:69)
at __webpack_require__ (/opt/buildpack/tools/corepack/0.14.2/lib/node_modules/corepack/dist/corepack.js:17065:42)
at Module../sources/corepackUtils.ts (/opt/buildpack/tools/corepack/0.14.2/lib/node_modules/corepack/dist/corepack.js:15728:66)
at __webpack_require__ (/opt/buildpack/tools/corepack/0.14.2/lib/node_modules/corepack/dist/corepack.js:17065:42) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/opt/buildpack/tools/corepack/0.14.2/lib/node_modules/corepack/dist/corepack.js'
]
}
Minimum required node version is 12.20, we are 12.18.4
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.
Closing in favour of https://github.com/bbc/simorgh/pull/11122
Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x
releases. But if you manually upgrade to 3.x
then Renovate will re-enable minor
and patch
updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.