Skip to content

fix(deps): bump esbuild 0.19.12 -> 0.25.12 (clears last open alert) - #22

Merged
terraboops merged 1 commit into
mainfrom
deps/esbuild-advisory
Sep 3, 2026
Merged

fix(deps): bump esbuild 0.19.12 -> 0.25.12 (clears last open alert)#22
terraboops merged 1 commit into
mainfrom
deps/esbuild-advisory

Conversation

@terraboops

Copy link
Copy Markdown
Collaborator

Clears the one open Dependabot alert here — GHSA-67mh-4wv8-2f99, esbuild's dev server accepting cross-origin requests.

Worth saying plainly: the advisory doesn't actually apply to this repo. scripts/build.js only ever calls esbuild.buildSync; nothing runs esbuild serve. But the fix is cheap and this was the last alert outstanding, so it's worth taking.

esbuild is a direct devDependency, so this crosses six 0.x minors (0.19 → 0.25). The only API in use is buildSync with bundle/platform/target/outfile/banner — all unchanged across that range.

scripts/dist/*.cjs are committed build artifacts consumed by the composite actions, so they're rebuilt here. The discover bundle shrinks ~400 lines net; that's 0.25's tighter codegen, not dropped functionality.

Verified

  • npm audit0 vulnerabilities
  • npm test32/32 pass
  • both bundles pass node --check and are require()-able
  • file mode stays 100755.github/workflows/test.yml asserts the executable bit, and a rebuild can silently drop it
  • ran the three bundle entrypoints test.yml exercises against test-fixtures/valid: discover-all, validate, generate — all exit 0

🤖 Generated with Claude Code

https://claude.ai/code/session_018DDkZGNoSVspVq1Z9jcVtP

…dles

Clears the one open Dependabot alert (GHSA-67mh-4wv8-2f99, esbuild's
dev server accepting cross-origin requests). The advisory does not
actually apply to this repo — scripts/build.js only ever calls
esbuild.buildSync, never `serve` — but the fix is cheap and the alert
was the last one outstanding here.

esbuild is a direct devDependency, so this crosses six 0.x minors.
The API surface in use is just buildSync with bundle/platform/target/
outfile/banner options, all unchanged across that range.

scripts/dist/*.cjs are committed build artifacts consumed by the
composite actions, so they are rebuilt here. The discover bundle
shrinks by ~400 lines net, which is 0.25's tighter codegen rather
than dropped functionality.

Verified:
  - npm audit: 0 vulnerabilities
  - npm test: 32/32 pass
  - both bundles pass `node --check` and are require()-able
  - mode stays 100755, which .github/workflows/test.yml asserts
  - ran the three bundle entrypoints test.yml exercises against
    test-fixtures/valid: discover-all, validate, generate — all exit 0

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018DDkZGNoSVspVq1Z9jcVtP
@terraboops
terraboops merged commit 851f7c0 into main Sep 3, 2026
4 checks passed
@terraboops
terraboops deleted the deps/esbuild-advisory branch September 3, 2026 14:56
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