Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

fix: Bump undici from 7.29.1 to 7.30.5 - #10940

Open
mtrezza wants to merge 1 commit into
parse-community:alphafrom
mtrezza:fix/undici-7.30.5
Open

mtrezza wants to merge 1 commit into
parse-community:alphafrom
mtrezza:fix/undici-7.30.5

Conversation

@mtrezza

@mtrezza mtrezza commented Dec 6, 2026 •

Copy link
Copy Markdown
Member

Closes #10836

Replaces the Dependabot PR, which proposed undici 7.30.2 and 6.29.1, with the latest patch release of each release line, 7.30.5 and 6.29.2. On 2026-12-04, undici published 13 advisories fixed in 7.30.4 and 4 advisories fixed in 6.29.2, all of which also affect 7.30.2 and 6.29.1. They are published in nodejs/undici but not yet in the GitHub Advisory Database, so no Dependabot alert shows them yet. One of them, GHSA-v75p-g438-v7rr (high), affects only 7.30.1 to 7.30.3. It does not affect the installed 7.29.1, so the bot's 7.30.2 would have introduced a new high-severity vulnerability.

undici is a transitive dependency and not listed in package.json. This PR changes only package-lock.json (npm update undici --ignore-scripts --package-lock-only):

Lock file entry Scope Required by From To
node_modules/expo-server-sdk/node_modules/undici production @parse/push-adapter > expo-server-sdk@6.1.0 (^7.2.0) 7.29.1 7.30.5
node_modules/@semantic-release/github/node_modules/undici development @semantic-release/github (^7.0.0) 7.29.1 7.30.5
node_modules/undici development @actions/http-client@4.0.0 (^6.23.0) 6.28.1 6.29.2

The development-only 6.x copy moves from 6.28.1 to 6.29.2; see the 6.x changes below.

Two development-only copies of undici 6.28.0 are not changed by this PR. They are bundled in two nested copies of npm 11.20.0, at node_modules/@semantic-release/npm/node_modules/npm and node_modules/semantic-release/node_modules/npm, so they cannot be bumped on their own. Both npm copies are required by @semantic-release/npm (13.0.0, and 13.1.5 under semantic-release) with the range ^11.6.2, and npm 11.21.3 bundles undici 6.29.1. A lock-file-only bump of the nested npm would therefore move both copies to 6.29.1 and close the development alerts #390, #388, #386, #381 and #343, which stay open after this PR. It would not fix the four 6.x advisories of 2026-12-04, which are fixed only in 6.29.2; no npm release bundles that version yet. Bumping the nested npm is a separate follow-up and not part of this PR.

Changes

undici 7.29.1 → 7.30.5 (production path through expo-server-sdk, and @semantic-release/github):

undici 6.28.1 → 6.29.2 (development only, through @actions/http-client):

Breaking Changes

None

Code Changes Required

None — the upgrade is a drop-in replacement. The parent packages use fetch() (expo-server-sdk, @semantic-release/github) and ProxyAgent (@semantic-release/github, @actions/http-client); none of these APIs changed in signature. The minimum Node.js version of the new releases (>=20.18.1 for 7.30.5, >=18.17 for 6.29.2) is within engines.node.

Summary by CodeRabbit

  • Chores
    • Updated bundled Undici versions.

@parse-github-assistant

Copy link
Copy Markdown

🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review.

Tip

  • Keep pull requests small. Large PRs will be rejected. Break complex features into smaller, incremental PRs.
  • Use Test Driven Development. Write failing tests before implementing functionality. Ensure tests pass.
  • Group code into logical blocks. Add a short comment before each block to explain its purpose.
  • We offer conceptual guidance. Coding is up to you. PRs must be merge-ready for human review.
  • Our review focuses on concept, not quality. PRs with code issues will be rejected. Use an AI agent.
  • Human review time is precious. Avoid review ping-pong. Inspect and test your AI-generated code.

Note

Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect.

Caution

Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code.

@coderabbitai

coderabbitai Bot commented Dec 6, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The lockfile updates Undici entries to versions 7.30.5 and 6.29.2 across the dependency trees, including their registry URLs and integrity hashes.

Changes: Undici lockfile update

Layer / File(s) Summary
Update Undici dependency entries
package-lock.json
Undici entries change from 7.29.1 to 7.30.5 and from 6.28.1 to 6.29.2. The lockfile also updates their registry URLs and integrity hashes in the current and legacy dependency trees.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: Minimal · up to 12894

This updates the undici dependency to patched releases that include upstream security fixes. No code changes are involved, and no merge-blocking risk was identified.

Pre-merge checks: Passed 6

Check name Status Explanation
Title check Passed The title begins with the required prefix "fix:" and the first letter after the prefix is capitalized ("Bump"). It clearly names the main change, which bumps the undici dependency from 7.29.1 to 7.30.…
Linked Issues check Passed [#10836] requires both undici lines to be updated together, and requires security fixes for cache poisoning, cross-user response exposure, credential leaks on cross-origin redirects, cache-replay pr…
Out of Scope Changes check Passed The PR changes only package-lock.json, and the raw summary limits the diff to undici entries (+18/-18). Every changed entry is an undici resolution, which matches the linked issue scope. The bundl…
Description check Passed The description follows the repository's intent and is thorough. It links the issue (#10836) and states the approach. It explains why the Dependabot bump to 7.30.2 and 6.29.1 was replaced with 7.30.5 …
Security Check Passed Summary: The PR changes one file, package-lock.json. The diff updates only undici entries. No code, test, or configuration file changes. No new package, host, script, or install hook appears i…
Engage In Review Feedback Passed The check passes because no review feedback exists to ignore or resolve. Evidence: - The review_comments section states: "No CodeRabbit review threads were returned." - The supplied context lists no r…
Full details: Title check

Explanation

The title begins with the required prefix "fix:" and the first letter after the prefix is capitalized ("Bump"). It clearly names the main change, which bumps the undici dependency from 7.29.1 to 7.30.5. The title does not mention the 6.x copy also updated, so it is partially complete in scope, but it still reflects the main change.

Full details: Linked Issues check

Explanation

[#10836] requires both undici lines to be updated together, and requires security fixes for cache poisoning, cross-user response exposure, credential leaks on cross-origin redirects, cache-replay process termination, skipped SRI checks, and TLS renegotiation DoS. The PR updates both lines together in package-lock.json: node_modules/expo-server-sdk/node_modules/undici and @semantic-release/github/node_modules/undici from 7.29.1 to 7.30.5, and node_modules/undici from 6.28.1 to 6.29.2. The issue names 7.30.2 and 6.29.1 as targets. The PR uses later patch releases of the same lines. The PR description maps the named fixes to advisories in these releases: TLS renegotiation (GHSA-qrxm-fqhp-jwvm, 7.30.1 and 6.29.1), cross-origin redirect cache poisoning (GHSA-4w7w-5xrc-9h26, 7.30.1), SRI bypass (GHSA-f72v-6w45-q472, 7.30.1), and the 7.30.2 cache, redirect and SRI advisories. Patch releases on the same line carry earlier fixes forward. The lock file is the only changed file, per the PR description and the raw summary. Evidence comes from the PR description and the raw summary. I did not inspect the lock file hunks directly. The version targets differ from the issue text, but the change is a superset of the named fixes.

Full details: Out of Scope Changes check

Explanation

The PR changes only package-lock.json, and the raw summary limits the diff to undici entries (+18/-18). Every changed entry is an undici resolution, which matches the linked issue scope. The bundled npm copies of undici 6.28.0 are not changed, and the PR states this explicitly. No unrelated dependency or source file changes appear in the evidence. The PR states no code changes are required, and none are listed.

Full details: Description check

Explanation

The description follows the repository's intent and is thorough. It links the issue (#10836) and states the approach. It explains why the Dependabot bump to 7.30.2 and 6.29.1 was replaced with 7.30.5 and 6.29.2, and it gives a table of affected lock entries. It also lists the advisories, breaking-change status, and code-change status. The template's Tasks checklist is not addressed: the author did not mark Add tests, Add changes to documentation, Add security check, or Add new Parse Error codes, and did not state why they do not apply. This is a minor gap because the change is lockfile-only, so the check passes.

Full details: Security Check

Explanation

Summary: The PR changes one file, package-lock.json. The diff updates only undici entries. No code, test, or configuration file changes. No new package, host, script, or install hook appears in the diff. Evidence: - Changed-file inventory: only package-lock.json is modified. The non-lockfile check returned no files. - undici 7.29.1 → 7.30.5 in the expo-server-sdk and @semantic-release/github trees. - undici 6.28.1 → 6.29.2 in the @actions/http-client tree. - Each resolved URL still points to https://registry.npmjs.org/undici/-/.... No new source or host appears. - Each version change has a matching integrity change. The diff contains no other edits. - Provider-reported PR identity: parse-community/parse-server #10940, target alpha, source fix/undici-7.30.5, author mtrezza. This identity does not affect this security criterion. Security assessment: The change does not add a problematic code pattern. The PR upgrades a transitive dependency to releases that the PR description and linked issue #10836 describe as security fixes. The description cites advisories such as GHSA-qrxm-fqhp-jwvm, GHSA-h5rf-4xrf-76mc, and GHSA-v75p-g438-v7rr. It also states that the proposed 7.30.2 would have introduced a high-severity issue. I did not verify these advisory claims. They are not needed to reach PASS, because the diff itself adds no exposure. Limitation: I could not check the new integrity hashes against the npm registry in this sandbox. This gap does not change the result, because the hashes only verify package content. It does not introduce a new code path. Out of scope: The PR does not fix the nested npm copies of undici 6.28.0. The PR description states this as a follow-up. Those copies are not changed by this diff, so they are not new exposure from this PR.

Full details: Engage In Review Feedback

Explanation

The check passes because no review feedback exists to ignore or resolve. Evidence: - The review_comments section states: "No CodeRabbit review threads were returned." - The supplied context lists no review findings, posted comments, or discussion threads for PR #10940. - The check fails only when a user ignores or resolves review feedback without engaging in discussion and implementing the feedback or convincing the reviewer. With no feedback, that condition cannot occur. Scope note: this verdict covers only the supplied review context. The PR changes only package-lock.json. The check does not require code evidence, so no diff inspection was needed. If review threads appear later, this verdict should be re-checked against them.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: f9f6cba3-7167-4a9b-8c7e-fa331664a61f
Commits

Reviewing files that changed from the base of the PR and between 0df8ebc and 12894c2.

Files selected for processing: 1

  • package-lock.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

@codecov

codecov Bot commented Dec 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.40%. Comparing base (d09325b) to head (12894c2).
⚠️ Report is 1 commits behind head on alpha.

Additional details and impacted files
@@            Coverage Diff             @@
##            alpha   #10940      +/-   ##
==========================================
- Coverage   94.43%   94.40%   -0.03%     
==========================================
  Files         193      193              
  Lines       17655    17655              
  Branches      258      258              
==========================================
- Hits        16672    16668       -4     
- Misses        963      967       +4     
  Partials       20       20              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
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