Skip to content

chore(deps): bump undici to 8.10.1 in pnpm-lock.yaml - #155

Merged
lan17 merged 1 commit into
mainfrom
claude/dependabot-failure-1de9a9
Sep 3, 2026
Merged

chore(deps): bump undici to 8.10.1 in pnpm-lock.yaml#155
lan17 merged 1 commit into
mainfrom
claude/dependabot-failure-1de9a9

Conversation

@lan17

@lan17 lan17 commented Sep 3, 2026

Copy link
Copy Markdown
Owner

What

Lockfile-only bump of the transitive undici from 8.7.0 to 8.10.1 via pnpm update undici --lockfile-only. No package.json changes.

Closes Dependabot alerts #4, #5, #6, #7, #8 (one high, GHSA-4cwx-7wf7-3272; four medium), all patched in undici 8.9.0.

Why Dependabot couldn't do this itself

The Dependabot security job (run 33710819595) failed with security_update_not_possible, reporting 8.7.0 as the highest resolvable version with no conflicting dependencies. That is wrong: undici comes in only through testcontainers@12.0.4, which declares undici ^8.5.0.

dependabot-core's subdependency resolver runs pnpm update undici@8.10.1 --lockfile-only --no-save -r. In recursive mode pnpm only matches update patterns against each project's direct dependencies, so a transitive-only package matches nothing and pnpm exits 0 without touching the lockfile (reproduced on pnpm 9.15.9, 10.0.0, 10.20.0, 10.33.0). Dependabot reads the unchanged lockfile and reports the old version as the ceiling. Upstream: dependabot/dependabot-core#15766. The --depth Infinity / pnpm audit --fix fallbacks exist upstream but are behind the enable_audit_fix_fallback experiment, which did not fire in this run.

Exposure

undici is dev-only (integration tests via testcontainers). It is not in dependencies and dist/ has no references to it, so published consumers are unaffected.

Other lockfile movement

In-range refreshes picked up by the same command: lightningcss 1.32.0 → 1.33.0, postcss 8.5.23 → 8.5.26, nanoid 3.3.16 → 3.3.18, picomatch 4.0.5 → 4.0.7, @napi-rs/wasm-runtime 1.1.6 → 1.2.3.

Verification

  • pnpm install --frozen-lockfile succeeds; node_modules resolves undici 8.10.1
  • pnpm typecheck passes
  • pnpm test: 27 files, 656 tests pass
  • pnpm build passes

Resolves Dependabot alerts #4-#8 (GHSA-4cwx-7wf7-3272 plus four medium
advisories, all fixed in undici 8.9.0). undici is a transitive
devDependency of testcontainers, which already allows ^8.5.0. The
Dependabot security job could not ship this bump because the
`pnpm update <dep>@<ver> --lockfile-only --no-save -r` command it runs
is a silent no-op for transitive dependencies
(dependabot/dependabot-core#15766).

Lockfile-only refresh via `pnpm update undici --lockfile-only`. It also
moves a few in-range subdeps: lightningcss 1.33.0, postcss 8.5.26,
nanoid 3.3.18, picomatch 4.0.7, @napi-rs/wasm-runtime 1.2.3.
@lan17
lan17 merged commit b2ec06d into main Sep 3, 2026
5 checks passed
@lan17
lan17 deleted the claude/dependabot-failure-1de9a9 branch September 3, 2026 03:52
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