Skip to content

Bump example node-fetch to 2.7.0 - #341

Merged
mollfpr merged 2 commits into
masterfrom
codex/dependabot-node-fetch-701878
Nov 12, 2026
Merged

mollfpr merged 2 commits into
masterfrom
codex/dependabot-node-fetch-701878

Conversation

@Beamanator

Copy link
Copy Markdown
Contributor

Details

Add a Yarn resolution for node-fetch@2.7.0 in the example app and regenerate its lockfile. This replaces vulnerable 1.7.3 and 2.6.0 installations with the patched CommonJS 2.x line (GHSA-r683-j2x4-v87g). The 1.x consumer is isomorphic-fetch; its CommonJS import loads with 2.7.0. Yarn warns that this resolution crosses its requested ^1.0.1 range.

Related Issue

$ https://github.com/Expensify/Expensify/issues/701878

AI Tests

  • Yarn Classic clean install with --ignore-scripts --ignore-engines --ignore-platform: pass.
  • yarn list --pattern node-fetch: one 2.7.0 installation.
  • yarn install --frozen-lockfile --offline --ignore-scripts --ignore-engines --ignore-platform: pass.
  • node-fetch and isomorphic-fetch CommonJS imports: pass.
  • Existing example Jest command fails resolving react-native from the repository-root index.js; example lint reports 10 errors in unchanged JavaScript. No application code is changed here.

Manual Tests

Run cd example && yarn install && yarn list --pattern node-fetch, then confirm only 2.7.0 is installed. Run the example tests in an environment with the legacy React Native module resolution configured.

🤖 Posted by Codex, an AI coding agent acting for @Beamanator.

@Beamanator
Beamanator marked this pull request as ready for review November 11, 2026 20:33
@Beamanator
Beamanator requested a review from a team November 11, 2026 20:42
@melvin-bot
melvin-bot Bot requested review from mollfpr and removed request for a team November 11, 2026 20:42
@mollfpr mollfpr closed this Nov 12, 2026
@mollfpr mollfpr reopened this Nov 12, 2026
@mollfpr
mollfpr merged commit 4ea8958 into master Nov 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants