Skip to content

Update transitive dependencies to resolve Dependabot security alerts - #4235

Merged
wojtekn merged 2 commits into
trunkfrom
update-security-dependencies
Jul 17, 2026
Merged

Update transitive dependencies to resolve Dependabot security alerts#4235
wojtekn merged 2 commits into
trunkfrom
update-security-dependencies

Conversation

@wojtekn

@wojtekn wojtekn commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Related issues

Resolves multiple open Dependabot security alerts.

How AI was used in this PR

Claude Code enumerated the open Dependabot alerts, determined which could be resolved purely by updating package-lock.json within existing semver ranges (no package.json changes, no overrides, no breaking upgrades), applied the minimal set of updates, and verified typecheck + CLI build.

Proposed Changes

Updates a set of transitive dependencies to their patched versions to clear the security advisories that are fixable without any manual intervention. This closes the alerts safely in one pass, with no functional or API changes for users — only the resolved versions in the lockfile move.

Resolved alerts:

Package From → To Severity
form-data 4.0.4 → 4.0.6 high
undici 8.3.0 → 8.7.0 high / medium / low
hono 4.12.23 → 4.12.30 high / medium
js-yaml 4.1.1 → 4.3.0 medium
@babel/core 7.29.0 → 7.29.7 low
esbuild 0.28.0 → 0.28.1 low
@tootallnate/once 2.0.0 → 2.0.1 low

Intentionally left out

The following alerts require "hacking" (overrides, forced legacy resolutions, or breaking major upgrades of a parent package) and are deliberately not included here so they can be evaluated individually:

  • @opentelemetry/core — capped by @sentry/node; only fixable via a large Sentry/OpenTelemetry restructure.
  • tar (6.2.x copies) — capped by @electron/node-gyp, @electron/rebuild, and cacache; needs an override.
  • esbuild 0.27.7 copy — capped by @yao-pkg/pkg; needs an override.
  • tmp 0.0.33 copy — capped by external-editor (via @inquirer); needs an override or an Electron Forge major bump.
  • showdown — no patched version published upstream.

Testing Instructions

  1. Check out the branch and run npm install.
  2. npm run typecheck — passes.
  3. npm run cli:build — builds successfully (exercises the esbuild bump).
  4. Confirm the Dependabot alerts listed above are marked resolved once the branch is scanned.

Pre-merge Checklist

  • Lockfile-only change; package.json untouched.
  • No overrides or forced legacy resolutions added.
  • Typecheck passes.
  • CLI builds.
  • CI green.
Bumps js-yaml, undici, hono, form-data, @babel/core, esbuild, and
@tootallnate/once within their existing semver ranges (lockfile only).
No package.json changes, overrides, or breaking upgrades.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@wpmobilebot

wpmobilebot commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 823e93a vs trunk

app-size

Metric trunk 823e93a Diff Change
App Size (Mac) 1352.97 MB 1352.97 MB +0.00 MB ⚪ 0.0%

site-editor

Metric trunk 823e93a Diff Change
load 1075 ms 1096 ms +21 ms ⚪ 0.0%

site-startup

Metric trunk 823e93a Diff Change
siteCreation 6518 ms 6985 ms +467 ms 🔴 7.2%
siteStartup 2402 ms 2407 ms +5 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

@wojtekn
wojtekn merged commit 684b9cb into trunk Jul 17, 2026
12 checks passed
@wojtekn
wojtekn deleted the update-security-dependencies branch July 17, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants