GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor: Bump undici from 6.27.0 to 6.29.1 and 7.28.0 to 7.30.1 by mtrezza · Pull Request #947 · parse-community/parse-server-example

Conversation

@mtrezza

@mtrezza mtrezza commented Oct 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Closes #941

Lock-file-only update of the two development copies of undici:

  • node_modules/@semantic-release/github/node_modules/undici 7.28.0 → 7.30.1, used by @semantic-release/github 12.0.6 (^7.0.0)
  • node_modules/undici 6.27.0 → 6.29.1, used by @semantic-release/npm → @actions/core → @actions/http-client 4.0.0 (^6.23.0)

npm ls undici --omit=dev shows only the production copy under parse-server → @parse/push-adapter → expo-server-sdk, which #946 already moved to 7.30.1. This PR doesn't change it. The copy bundled inside npm (node_modules/npm/node_modules/undici 6.27.0, via @semantic-release/npm → npm 11.18.0 → node-gyp) is part of the npm package and can't be changed through the lock file.

Security

Dependabot alerts resolved by this PR. After it, no undici 7.x copy below 7.30.1 is left in the lock file:

Alert Severity Advisory Vulnerable range
419 high GHSA-4cwx-7wf7-3272 >= 7.0.0, < 7.29.0
443 high GHSA-w293-vg96-wgc3 >= 7.24.1, < 7.29.1
420 medium GHSA-8xcm-r25x-g524 >= 7.0.0, < 7.29.0
421 medium GHSA-v3r7-h72x-cjcm >= 7.0.0, < 7.29.0
422 medium GHSA-jr45-8vmc-qm54 >= 7.0.0, < 7.29.0
423 medium GHSA-m8rv-5g2x-5cg5 >= 7.0.0, < 7.29.0
440 medium GHSA-3wwx-pv8p-q78v >= 7.28.0, < 7.29.1
446 medium GHSA-3xpg-4rpp-hhhm >= 7.15.0, < 7.29.1

GitHub lists these with runtime scope because they were raised while the production copy under expo-server-sdk was still 7.28.0. Since #946, the only vulnerable 7.x copy left is the development copy under @semantic-release/github.

The development-scope alerts 426 (GHSA-m8rv-5g2x-5cg5), 427 (GHSA-8xcm-r25x-g524) and 428 (GHSA-v3r7-h72x-cjcm), all medium with range < 6.28.0, likely stay open. The root copy moves out of their range to 6.29.1, but the npm-bundled undici 6.27.0 is still in range. They stay open until a newer npm release bundles a patched undici.

Changes

undici 7.28.0 → 7.30.1

  • 7.29.0: Security fixes:
    • High: GHSA-4cwx-7wf7-3272: malformed qualified private Cache-Control directives could cause cross-user information disclosure in shared caches or a parse-time crash
    • Medium: GHSA-m8rv-5g2x-5cg5: a type property on a blob-like HTTP/1.1 request body could inject CRLF sequences into the content-type header
    • Medium: GHSA-jr45-8vmc-qm54: whitespace around = in qualified no-cache and private directives could bypass shared-cache restrictions
    • Medium: GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale Content-Length after resuming a partial response
    • Medium: GHSA-v3r7-h72x-cjcm: unsanitized domain and unparsed values passed to setCookie() could inject cookie attributes
  • 7.29.0: Fixes (from the commit history, not listed in the release notes):
    • Non-string header values (numbers, booleans, or functions with a crafted toString) are now validated after they are coerced to strings, as string values already were. Any character outside tab, 0x20–0x7e and 0x80–0xff throws InvalidArgumentError (fix: validate coerced header values for CRLF nodejs/undici#5579)
  • 7.29.1: Security fixes:
    • High: GHSA-w293-vg96-wgc3: BalancedPool could drop function-valued connection options, including custom TLS certificate validation callbacks
    • High: GHSA-rfgv-xxqx-mfg5: a WebSocket server selecting a subprotocol when none was requested caused an uncaught TypeError
    • Medium: GHSA-3wwx-pv8p-q78v: a malformed permessage-deflate payload over the decompression limit could emit an unhandled zlib error
    • Medium: GHSA-rx4f-c7p8-82vq: an unclean WebSocketStream close could create an unobserved rejected promise
    • Medium: GHSA-2jfj-6hjv-fm6j: shared caches could store and replay responses containing Set-Cookie
    • Medium: GHSA-3xpg-4rpp-hhhm: the decompression interceptor did not bound decoded output. 7.29.1 added a maxSize option and limited each decompression stage to 64 MiB by default. 7.30.0 reverted that default (see below)
    • Medium: GHSA-pmjh-fq2x-6v4x: a terminal retry failure could orphan the response body and hang consumers
    • Low: GHSA-8436-99hf-9mmv: cache interceptors could store and replay responses to unsafe HTTP methods
    • Low: GHSA-2gqq-gqf2-x968: the dump interceptor could treat an oversized chunked response as successfully truncated
    • Low: GHSA-r53p-7pc4-xj5r: the retry interceptor could concatenate a resumed response with inconsistent framing
  • 7.29.1: Fixes:
    • HTTP/2 honours headersTimeout (fix(h2): honour headersTimeout nodejs/undici#5604)
    • HTTP/2 keeps the connection ref'd while requests are outstanding (fix(h2): keep the connection ref'd while requests are outstanding nodejs/undici#5605)
    • HTTP/2 retires the request that completed, not the head of the queue (fix(h2): retire the request that completed, not the head of the queue nodejs/undici#5618)
    • HTTP/2 settles a request whose stream is cancelled (fix(h2): settle a request whose stream is cancelled nodejs/undici#5607)
    • HTTP/2 handles GOAWAY for CONNECT streams (fix(h2): handle GOAWAY for CONNECT streams nodejs/undici#5640)
  • 7.29.1: Performance:
    • Fewer EventSourceStream parser allocations (perf: reduce EventSourceStream parser allocations (#5032) nodejs/undici#5646)
    • HTTP/1.1 drops the idle-socket timer floor and uses a ref'd setImmediate ([v7.x] perf(h1): drop idle-socket timer floor with a ref'd setImmediate (#5707) nodejs/undici#5769)
  • 7.29.1: CI changes ([v7.x] drop: remove Node.js 26 from shared-builtin CI build nodejs/undici#5592, ci: increase Windows workflow timeout on v7.x nodejs/undici#5621)
  • 7.30.0: Fixes:
    • SIMD is selectively re-enabled for ppc64 ([Backport v7.x] fix: selectively re-enable SIMD for ppc64 nodejs/undici#5794)
    • Backported upgrade diagnostics lifecycle fixes (Backport upgrade diagnostics lifecycle fixes to v7.x nodejs/undici#5783)
    • The decompression interceptor and RetryHandler honor backpressure ([Backport v7.x] fix: honor backpressure in decompression interceptor nodejs/undici#5837). This replaces the 64 MiB size limit from 7.29.1 and changes the maxSize default back to 0 (no limit). maxSize remains an opt-in per-stage limit, so 7.30.1 applies no default decompression limit, the same as 7.28.0
    • Rejected HTTP/2 WebSocket streams are closed (fix: close rejected HTTP/2 WebSocket streams on v7.x nodejs/undici#5876)
  • 7.30.0: Test changes (test(fetch): make pull-dont-push exceed any socket buffer nodejs/undici#5889)
  • 7.30.1: Security fixes:
    • High: GHSA-qrxm-fqhp-jwvm (CVE-2026-87018): a TLS 1.2 certificate-changing renegotiation could crash the process
    • High: GHSA-2m5v-pch6-74hx (CVE-2026-109383): Agent dropped function-valued TLS options such as checkServerIdentity
    • High: GHSA-4w7w-5xrc-9h26 (CVE-2026-109829): cache poisoning and cross-user disclosure through cross-origin redirects with compose(redirect(), cache())
    • High: GHSA-xjj6-f33q-929c (CVE-2026-109869): more than five Content-Encoding values could crash the process
    • Medium: GHSA-55wc-3pg8-jfw6 (CVE-2026-87029): handler exceptions in the decompress interceptor could escape as uncaught exceptions
    • Medium: GHSA-f72v-6w45-q472 (CVE-2026-109841): Subresource Integrity bypass with non-lowercase algorithm tokens
    • Medium: GHSA-4qv8-2p9j-2685 (CVE-2026-109924): unbounded EventSource parser state could exhaust memory
    • Medium: GHSA-9fm3-97px-rjf6 (CVE-2026-109932): unbounded automatic WebSocket PONG buffering could exhaust memory
  • 7.30.1: Fixes:
    • TLS session caching bug ([v7.x] fix(session cache): fix bug in tls session caching (#5882) nodejs/undici#6017, a backport of fix(session cache): fix bug in tls session caching nodejs/undici#5882)
    • Unbounded recursion in the Set-Cookie attribute parser ([Backport v7.x] fix: avoid unbounded recursion in Set-Cookie attribute parser nodejs/undici#5997, a backport of fix: avoid unbounded recursion in Set-Cookie attribute parser nodejs/undici#5757)
    • Backported cookie fixes fix(cookies): keep a cookie named __proto__ in getCookies nodejs/undici#5663, fix(cookies): keep an Expires of 0 when serializing a cookie nodejs/undici#5808 and fix(cookies): ignore a numeric expires outside the Date range nodejs/undici#5832 ([v7.x] fix(cookies): backport #5663, #5808 and #5832 nodejs/undici#6019)
  • 7.30.1: Features:
    • New Client option eventSource: { maxEventSize } to configure the EventSource parser limits added for GHSA-4qv8-2p9j-2685. The limits are active by default (buffer.kStringMaxLength), and 0 disables them
  • 7.30.1: Test changes (test: disable timeouts in h2 high concurrency regression nodejs/undici#5893, test: reduce retry-after invalid date timing flake nodejs/undici#5892)

undici 6.27.0 → 6.29.1

  • 6.28.0: Security fixes:
    • Medium: GHSA-m8rv-5g2x-5cg5: a type property on a blob-like HTTP/1.1 request body could inject CRLF sequences into the content-type header
    • Medium: GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale Content-Length after resuming a partial response
    • Medium: GHSA-v3r7-h72x-cjcm: unsanitized domain and unparsed values passed to setCookie() could inject cookie attributes
    • The release notes state that GHSA-4cwx-7wf7-3272 and GHSA-jr45-8vmc-qm54 don't affect undici v6
  • 6.28.0: Fixes (from the commit history, not listed in the release notes):
    • Non-string header values (numbers, booleans, or functions with a crafted toString) are now validated after they are coerced to strings, as string values already were. Any character outside tab, 0x20–0x7e and 0x80–0xff throws InvalidArgumentError (fix: validate coerced header values for CRLF nodejs/undici#5579)
  • 6.28.0: Release tooling now uses Node 22 and npm 11
  • 6.28.1: Security fixes:
    • High: GHSA-rfgv-xxqx-mfg5: a WebSocket server selecting a subprotocol when none was requested caused an uncaught TypeError
    • Medium: GHSA-3wwx-pv8p-q78v: a malformed permessage-deflate payload over the decompression limit could emit an unhandled zlib error
    • Low: GHSA-r53p-7pc4-xj5r: the retry interceptor could concatenate a resumed response with inconsistent framing
  • 6.28.1: Performance:
    • Fewer EventSourceStream parser allocations (perf: reduce EventSourceStream parser allocations (#5032) nodejs/undici#5647)
    • HTTP/1.1 drops the idle-socket timer floor and uses a ref'd setImmediate ([v6.x] perf(h1): drop idle-socket timer floor with a ref'd setImmediate (#5707) nodejs/undici#5770)
  • 6.29.0: Fixes:
    • The retry interceptor settles the exposed body on terminal failure ([v6.x] fix(retry): settle exposed body on terminal failure nodejs/undici#5778)
    • Backported upgrade diagnostics lifecycle fixes (Backport upgrade diagnostics lifecycle fixes to v6.x nodejs/undici#5833). abort() on a completed CONNECT or upgrade request now destroys its socket or HTTP/2 stream
  • 6.29.0: Test changes (test: synchronize the issue-3356 body timeout nodejs/undici#5834)
  • 6.29.1: Security fixes:
    • High: GHSA-qrxm-fqhp-jwvm (CVE-2026-87018): a TLS 1.2 certificate-changing renegotiation could crash the process
    • High: GHSA-2m5v-pch6-74hx (CVE-2026-109383): Agent dropped function-valued TLS options such as checkServerIdentity
    • High: GHSA-xjj6-f33q-929c (CVE-2026-109869): more than five Content-Encoding values could crash the process
    • Medium: GHSA-4qv8-2p9j-2685 (CVE-2026-109924): unbounded EventSource parser state could exhaust memory
    • Medium: GHSA-9fm3-97px-rjf6 (CVE-2026-109932): unbounded automatic WebSocket PONG buffering could exhaust memory
  • 6.29.1: Fixes:
    • Aborting fetch streams ([v6.x] fix(fetch): fix aborting Streams (#3754) nodejs/undici#6000, a backport of fix aborting Streams nodejs/undici#3754)
  • 6.29.1: Features:
    • New Client option eventSource: { maxEventSize } to configure the EventSource parser limits added for GHSA-4qv8-2p9j-2685. The limits are active by default (buffer.kStringMaxLength), and 0 disables them

Lock file

Generated with npm update undici --ignore-scripts --package-lock-only (npm 10.9.3). The diff only changes the two undici entries, in both the packages and the lockfileVersion 2 dependencies sections, and adds a license field to both entries.

Difference from the lock file in #941: this lock keeps the optional peer dependencies socks 2.8.7, smart-buffer 4.2.0 and gcp-metadata 7.0.1 (with nested gaxios 7.3.1 and node-fetch 3.3.2) unchanged from master. The Dependabot lock pruned them.

Both target versions declare the same Node engine range as the current versions: >=20.18.1 for 7.x and >=18.17 for 6.x. Both copies are only used by semantic-release plugins, which run in release-automated.yml on Node 22. The CI jobs (Lint, Tests) also run on Node 22.

Breaking Changes

None

Code Changes Required

None. The upgrade is a drop-in replacement. The parent packages only use ProxyAgent (both) and fetch with a dispatcher option (@semantic-release/github) from undici. Neither API changed in these releases. The other behavior changes listed above don't affect the parents either:

  • They use no undici interceptors or RetryAgent, so the decompression maxSize and RetryHandler changes don't apply.
  • They don't use EventSource, so the new EventSource limits and the maxEventSize option don't apply.
  • The coerced-header validation only applies to non-string header values. The parents pass none: fetch converts the Octokit request headers to strings through Headers, and ProxyAgent only gets a proxy URI, a pipelining value and a string Basic auth token.
  • They pass no function-valued TLS options, so the Agent and BalancedPool option-preservation fixes don't change their behavior.

Summary by CodeRabbit

  • Chores
    • Updated underlying network components to newer versions. No user-facing changes are noted.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mtrezza
refactor: Bump undici from 6.27.0 to 6.29.1 and 7.28.0 to 7.30.1
16739c7
@parse-github-assistant

parse-github-assistant Bot commented Oct 24, 2026

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Oct 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

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: c52e8638-89fb-4273-a208-1e48fecb7473
Commits

Reviewing files that changed from the base of the PR and between 62c53da and 16739c7.

Files selected for processing: 1
  • package-lock.json

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

Walkthrough

The lockfile updates Undici from 7.28.0 to 7.30.1 in the @semantic-release/github dependency records, and from 6.27.0 to 6.29.1 in the root and legacy dependency records. The updated package entries include MIT license metadata.

Changes: Undici dependency updates

Layer / File(s) Summary
Update Undici lockfile records
package-lock.json
The lockfile updates Undici versions, resolved packages, and integrity hashes in the root and @semantic-release/github dependency records. The package entries add the MIT license field.

Priority: Normal

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

Possibly related PRs

  • parse-community/parse-server-example#946: It updates the production Undici copy under expo-server-sdk; this PR updates the other Undici lockfile entries.
Merge Risk: Minimal · up to 16739

No actionable merge-blocking risk was identified in this lockfile-only update.

Pre-merge checks: Passed 7
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title starts with the allowed refactor: prefix, uses a capitalized first word after the prefix, and accurately describes the Undici version updates.
Linked Issues check Passed [#941] Requires updating undici 7.28.0 to 7.30.1 and 6.27.0 to 6.29.1 together. The lock-file diff against the merge base confirms both changes. `node_modules/@semantic-release/github/node_modules/und…
Out of Scope Changes check Passed The diff against the merge base changes only the two undici entries in package-lock.json. Each change sets the version, resolved URL and integrity hash, and adds a license: MIT field. The `lic…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Security Check Passed PASS. The pull request changes only package-lock.json. It replaces the development copies undici 7.28.0 → 7.30.1 and 6.27.0 → 6.29.1 with registry URLs and integrity hashes. No application code or…
Engage In Review Feedback Passed The current review produced zero actionable findings, and no review threads were returned. Therefore, no feedback comment required engagement, implementation, or reviewer agreement.
Full details: Linked Issues check

Explanation

[#941] Requires updating undici 7.28.0 to 7.30.1 and 6.27.0 to 6.29.1 together. The lock-file diff against the merge base confirms both changes. node_modules/@semantic-release/github/node_modules/undici moves to 7.30.1 with the matching integrity hash. node_modules/undici moves to 6.29.1 with its matching integrity hash. Both entries also appear in the lockfileVersion 2 dependencies section with the same versions. The security fixes in those releases apply through the version change. No code change is needed for them, and the PR description states that the parent packages do not use the affected APIs. No coding requirement in #941 depends on more than the version bump. [#5663] is closed and serves as background only. Its __proto__ cookie fix is not a requirement for this PR, so it does not affect this verdict. The diff does not contain automated tests, and #941 does not require any.

Full details: Out of Scope Changes check

Explanation

The diff against the merge base changes only the two undici entries in package-lock.json. Each change sets the version, resolved URL and integrity hash, and adds a license: MIT field. The license additions come from the npm lock-file regeneration and belong to the same two entries. No unrelated package entries change. The diff does not show the optional peer dependency changes that the PR description mentions, so it does not add unexpected changes. The changes match the scope of [#941].

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Full details: Security Check

Explanation

PASS. The pull request changes only package-lock.json. It replaces the development copies undici 7.28.0 → 7.30.1 and 6.27.0 → 6.29.1 with registry URLs and integrity hashes. No application code or unsafe code pattern is introduced. The production expo-server-sdk copy remains 7.30.1. The bundled npm copy at 6.27.0 is unchanged and therefore is not caused by this pull request.

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

coderabbitai[bot]
coderabbitai Bot approved these changes Oct 24, 2026
View reviewed changes
@mtrezza
mtrezza merged commit 21cc0fb into parse-community:master Oct 24, 2026
4 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@mtrezza
mtrezza deleted the refactor/undici-6.29.1-7.30.1 branch October 24, 2026 23:38
This was referenced Oct 25, 2026
refactor: Bump browserslist from 4.23.2 to 4.29.4 #951
Merged
fix: Bump moment from 2.30.1 to 2.31.0 #952
Merged
@parseplatformorg

parseplatformorg commented Oct 25, 2026

Copy link
Copy Markdown

🎉 This change has been released in version 3.1.0

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@parseplatformorg parseplatformorg added the state:released label Oct 25, 2026
@mtrezza mtrezza mentioned this pull request Oct 26, 2026
fix: Bump qs from 6.15.2 to 6.16.1 #954
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@coderabbitai coderabbitai[bot] coderabbitai[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

state:released

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@mtrezza @parseplatformorg
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.