Skip to content

chore: bump bun to 1.4.4 - #105

Open
LucasAtLucca wants to merge 1 commit into
excalidraw:mainfrom
LucasAtLucca:chore/bump-bun-1.4.4
Open

LucasAtLucca wants to merge 1 commit into
excalidraw:mainfrom
LucasAtLucca:chore/bump-bun-1.4.4

Conversation

@LucasAtLucca

Copy link
Copy Markdown

What

  • Bumps the @oven/bun-* optional dependencies from ^1.2.21 to ^1.4.4.
  • Regenerates pnpm-lock.yaml (1.3.9 → 1.4.4). Only the 11 @oven/bun-* entries change.
  • Updates the hardcoded version in the Windows ARM64 fallback of scripts/setup-bun.mjs, which downloaded 1.2.21 regardless of the lockfile.

Why

Bun 1.4.3 and earlier are affected by three high-severity advisories, all fixed in 1.4.4:

Anyone running the server through pnpm run serve / pnpm run dev runs an affected runtime, and security scanners flag the binary that postinstall links into node_modules/.bin.

Testing

  • pnpm install --frozen-lockfile and pnpm run build succeed. The integrity hashes in the lockfile match the npm registry for all 11 packages.
  • I ran a smoke test against main (bun 1.3.9) and against this branch (bun 1.4.4), in the three ways of running the server: node dist/index.js (HTTP), node dist/index.js --stdio and bun src/main.ts. It sends initialize, tools/list (full schemas), read_me, create_view (also with restoreCheckpoint + delete), save_checkpoint / read_checkpoint, invalid inputs (zod errors, unsafe checkpoint id) and resources/read. The outputs of main and this branch are identical on macOS arm64 with Node 20, 22 and 26.
  • I ran the same install, build and diff on linux x64 (glibc and musl), linux arm64, windows x64 and macOS x64 in CI on my fork: run 41203839714 (all five platforms identical to main, bun 1.3.9 → 1.4.4).
  • dist/mcp-app.html is byte-identical. dist/index.js and dist/server.js are smaller (2.28 → 1.96 MB and 1.37 → 1.0 MB) because bun 1.4 tree-shakes zod modules that are never imported (locales, coerce, compat, JSON Schema import). toJSONSchema is still bundled, and the tool schemas are unchanged.
  • I did not call export_to_excalidraw, because it uploads to excalidraw.com.

🤖 Generated with Claude Code

Bun 1.4.3 and earlier are affected by GHSA-663w-cv8g-jj2p (brotli
out-of-bounds write, CVE-2026-111497), GHSA-26q8-h657-pf84 (compromised
emSign intermediate CAs trusted) and GHSA-cf8x-9m69-3gg3 (HTTP/3 QPACK
amplification). The lockfile pinned 1.3.9, and the Windows ARM64
fallback in setup-bun.mjs downloaded 1.2.21.

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

vercel Bot commented Oct 31, 2026

Copy link
Copy Markdown

@LucasAtLucca is attempting to deploy a commit to the Excalidraw Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant