Consider removing `cross-fetch` dependency

Open
#520 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, node.js
Domain
tooling

Research direction

Start by locating every reference to cross-fetch and the package manifest entries that declare it; the issue provides no file or test path. Check the Node.js support range against the linked Fetch API availability, then verify the dependency is gone and the existing test suite still passes.

Written by the indexing model from the issue text.

Description

Since the Fetch API has been marked as stable in Node.js 21, and is available without a flag in all actively maintained LTS versions (v18, v20), it might be time to remove the cross-fetch dependency.

Dominant language
JavaScript
Stars
2k
Forks
308
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from facebook/fbjs

All issues in facebook/fbjs

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.