Skip to content

Fix all open Dependabot alerts, including undici in dist - #319

Open
lancewillett wants to merge 2 commits into
trunkfrom
fix/dependabot-alerts-2026-12
Open

lancewillett wants to merge 2 commits into
trunkfrom
fix/dependabot-alerts-2026-12

Conversation

@lancewillett

@lancewillett lancewillett commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Clears all 16 open Dependabot alerts, including the 5 runtime undici alerts that ship in dist, plus the dev-dependency advisories npm audit already reports ahead of Dependabot. npm audit now reports 0 vulnerabilities.

Changes

  • Lockfile updates within existing ranges: undici 6.29.0 → 6.29.1 (runtime), http-proxy-middleware 4.2.0 → 4.2.2, fast-uri 3.1.8 → 3.1.9, httpxy 0.5.5 → 0.5.6
  • New overrides, all for dev-only tools:
    • js-yaml 5.x → 5.4.1+ (pinned ~5.2.1 by markdownlint-cli) and katex → 0.18.2+ (pinned ^0.16.0 by micromark-extension-math)
    • smol-toml 1.9.0 and serialize-javascript 7.1.3 (copy-webpack-plugin pins ^6; the action's build uses ncc, not webpack)
    • cross-spawn 6.x → 6.0.7+ (npm-run-all) and 7.x → 7.1.0+, ws, minimatch → 11.0.8+, terser → 5.51.3+, body-parser → 2.3.1+
  • dist/index.js rebuilt with npm run prepare. The only change is the undici update.

Existing code checked: there was no overrides block yet. Every other alert is fixed by an update within the ranges package.json already allows.

This also covers Dependabot PRs #306, #307 and #318, so those can be closed once this merges.

Testing

Run in node:24:

  • npm ci --ignore-scripts
  • npm run lint: passes
  • npm run prepare: rebuilds dist
  • npm test: 41 of 41 pass
  • npm audit: 0 vulnerabilities

Definition of done

🤖 Generated with Claude Code

Lockfile, overrides and rebuilt dist: undici 6.29.1, http-proxy-middleware 4.2.2, fast-uri 3.1.9, js-yaml 5.2.3, katex 0.16.47, smol-toml 1.9.0, serialize-javascript 7.1.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs.

Core SVN

Core Committers: Use this line as a base for the props when committing in SVN:

Props lancewillett.

GitHub Merge commits

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: lancewillett <lancewillett@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub or WordPress.org user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

js-yaml 5.x to 5.4.1+ and katex to 0.18.2+, which the first commit missed, plus cross-spawn (6.x and 7.x), ws, minimatch, terser and body-parser, which npm audit flags ahead of Dependabot. npm audit now reports 0 vulnerabilities.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lancewillett
lancewillett marked this pull request as ready for review December 1, 2026 20:58
@lancewillett
lancewillett requested a review from obenland December 2, 2026 22:00
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