Skip to content

Update dependency node-fetch to v2.7.0#20

Merged
koki-develop merged 1 commit intomasterfrom
renovate/node-fetch-2.x
Jan 5, 2026
Merged

Update dependency node-fetch to v2.7.0#20
koki-develop merged 1 commit intomasterfrom
renovate/node-fetch-2.x

Conversation

@renovate
Copy link

@renovate renovate bot commented Jan 2, 2026

This PR contains the following updates:

Package Change Age Confidence
node-fetch 2.6.12.7.0 age confidence

Release Notes

node-fetch/node-fetch (node-fetch)

v2.7.0

Compare Source

Features

v2.6.13

Compare Source

Bug Fixes

v2.6.12

Compare Source

Bug Fixes

v2.6.11

Compare Source

Reverts

v2.6.10

Compare Source

Bug Fixes

v2.6.9

Compare Source

Bug Fixes

v2.6.8

Compare Source

Bug Fixes

v2.6.7

Compare 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

Full Changelog: node-fetch/node-fetch@v2.6.6...v2.6.7

v2.6.6

Compare Source

What's Changed

Full Changelog: node-fetch/node-fetch@v2.6.5...v2.6.6

v2.6.5

Compare Source

v2.6.4

Compare Source

v2.6.3

Compare Source

v2.6.2

Compare Source

fixed main path in package.json


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 this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions
Copy link

github-actions bot commented Jan 2, 2026

Renovate PR Review Results

⚖️ Safety Assessment: ⚠️ Needs Manual Migration

🔍 Release Content Analysis

  • Major Feature: Added AbortError support for better error handling when requests are aborted
  • Dependency Changes: Introduces whatwg-url v5.0.0 and related dependencies (tr46, webidl-conversions)
  • Known Issue: v2.7.0 has a faulty NPM upload where the intended dependency update to whatwg-url v14 was not properly published, leaving the deprecated v5 dependency
  • Security Fixes: Multiple security patches between v2.6.1 and v2.7.0 including:
    • Prevention of secure headers forwarding to 3rd party hosts on redirects (v2.6.7)
    • Fixes for premature close issues with chunked transfer encoding (v2.6.8)
    • BOM handling improvements in text and JSON parsing (v2.6.10-v2.6.11)

🎯 Impact Scope Investigation

  • Usage Locations: node-fetch is used in 2 places in /home/runner/work/piston/piston/api/src/package.js:
    • Line 59: const download = await fetch(this.download); - for downloading package archives
    • Line 201: const repo_content = await fetch(config.repo_url).then(x => x.text()); - for fetching package repository content
  • Current Usage Pattern: Simple HTTP GET requests with .text() and response body streaming - both are basic usage patterns that remain stable
  • Additional Dependencies: The update adds 3 new transitive dependencies but they are contained within node-fetch's dependency tree

💡 Recommended Actions

  • Monitor for Deprecation Warnings: The faulty NPM upload means whatwg-url v5 dependency may trigger punycode deprecation warnings in newer Node.js versions (21.2.0+)
  • Safe to Merge: The API changes are backward compatible and current usage patterns in Piston will continue to work
  • Future Planning: Consider monitoring for a potential v2.7.1 release that properly fixes the dependency issue
  • Testing Recommendation: Verify that package downloads and repository fetching continue to work as expected after the update

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

@koki-develop koki-develop merged commit 365768e into master Jan 5, 2026
2 checks passed
@koki-develop koki-develop deleted the renovate/node-fetch-2.x branch January 5, 2026 23:57
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.

1 participant