chore(deps): update dependency node-fetch to v3 - #10378
metamask-ci[bot] wants to merge 1 commit into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning MetaMask internal reviewing guidelines:
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e259150. Configure here.
| "lodash-es": "^4.17.21", | ||
| "nock": "^13.5.6", | ||
| "node-fetch": "^2.7.0", | ||
| "node-fetch": "^3.3.2", |
There was a problem hiding this comment.
ESM upgrade breaks Jest test imports
High Severity
Bumping node-fetch to v3 makes the package ESM-only, but Jest still compiles these tests to CommonJS. Existing FetchError imports will throw ERR_REQUIRE_ESM on Node 22, which CI still runs.
Reviewed by Cursor Bugbot for commit e259150. Configure here.
e259150 to
af936f4
Compare
af936f4 to
b6b3df5
Compare


This PR contains the following updates:
^2.7.0→^3.3.2Release Notes
node-fetch/node-fetch (node-fetch)
v3.3.2Compare Source
Bug Fixes
v3.3.1Compare Source
Bug Fixes
v3.3.0Compare Source
Features
v3.2.10Compare Source
Bug Fixes
v3.2.9Compare Source
Bug Fixes
v3.2.8Compare Source
Bug Fixes
v3.2.7Compare Source
Bug Fixes
v3.2.6Compare Source
Bug Fixes
v3.2.5Compare Source
Bug Fixes
v3.2.4Compare Source
Bug Fixes
v3.2.3Compare Source
Bug Fixes
v3.2.2Compare Source
Bug Fixes
v3.2.1Compare Source
Bug Fixes
v3.2.0Compare Source
Features
v3.1.1Compare Source
Security patch release
Recommended to upgrade, to not leak sensitive cookie and authentication header information to 3th party host while a redirect occurred
What's Changed
New Contributors
Full Changelog: node-fetch/node-fetch@v3.1.0...v3.1.1
v3.1.0Compare Source
What's Changed
Body.bodyinto anode:streamby @jimmywarting in #924urltoURLby @dhritzkiv in #1318BodyMixin.formData()and constructing bodies with FormData by @jimmywarting in #1314New Contributors
Full Changelog: node-fetch/node-fetch@v3.0.0...v3.1.0
v3.0.0Compare Source
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: (UTC)
🚦 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.
This PR has been generated by Mend Renovate CLI.