Skip to content

Remove node-fetch#1956

Merged
hshoff merged 1 commit intomasterfrom
hshoff-fetch
Nov 4, 2025
Merged

Remove node-fetch#1956
hshoff merged 1 commit intomasterfrom
hshoff-fetch

Conversation

@hshoff
Copy link
Member

@hshoff hshoff commented Nov 4, 2025

🏠 Internal

  • deps: remove node-fetch

@hshoff hshoff added this to the 4.0.0 milestone Nov 4, 2025
@hshoff hshoff requested a review from Copilot November 4, 2025 17:28
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the deprecated node-fetch package and its type definitions in favor of Node.js's native global fetch API, which is available in Node.js 18+ (the project requires Node.js >=22.0.0).

  • Removed node-fetch package dependency (v2.6.1)
  • Removed @types/node-fetch type definitions (v1.6.9)
  • Removed import statements for node-fetch from scripts that use fetch

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
package.json Removed node-fetch and @types/node-fetch from devDependencies
yarn.lock Removed lockfile entries for node-fetch@2.6.1 and @types/node-fetch@1.6.9
scripts/performRelease/updateChangelog/index.ts Removed unused node-fetch import statement
scripts/compareBuildSizes.ts Removed unused node-fetch import statement

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hshoff hshoff merged commit 710568e into master Nov 4, 2025
7 checks passed
@hshoff hshoff deleted the hshoff-fetch branch November 4, 2025 17:43
@github-actions
Copy link

🎉 This PR is included in version v4.0.0-alpha.0 of the packages modified 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants