Skip to content

release: 4.21.2 - #743

Merged
michaelpporter merged 2 commits into
mainfrom
release-4.21.2
Jul 25, 2026
Merged

release: 4.21.2#743
michaelpporter merged 2 commits into
mainfrom
release-4.21.2

Conversation

@michaelpporter

Copy link
Copy Markdown
Owner

Ships the three reported bugs (#731, #734, #736) plus the root-cause and CI work they surfaced.

Fixed

Security

bun audit reported 8 high advisories across four transitive packages; all now pinned, audit reports no vulnerabilities.

Only linkify-it was on a runtime path (bundled via markmap). markmap constructs MarkdownIt() with no options, so linkify defaults to false and the quadratic mailto: scan was unreachable — pinned anyway so the community directory scan is clean. Pinned to ^5.0.2, not ^6: v6 drops the default export markdown-it@5 imports, which breaks the bundle (verified by trying it).

Build

TypeScript pinned to 6.x — the bump to 7 removed baseUrl and broke svelte-check, failing every CI run since it landed. tsconfig.json uses the forward-compatible paths form so the pin lifts cleanly later.

Verification

bun install --frozen-lockfile, bun run build, bun run test (379 passed), bun audit — all green.

Issues #731/#734/#736 stay open until this is released, then get closed manually.

`bun audit` (the release gate) reported 8 high advisories across four
transitive packages. Pinned via overrides, matching how undici was
handled in 4.19.4 — a plain `bun install` won't move them because the
lockfile pins hold.

- linkify-it  5.0.1 -> 5.0.2  (markmap-lib > markdown-it) — the only
  one on a runtime path. It IS bundled into main.js, but markmap-lib
  constructs `MarkdownIt()` with no options, so `linkify` defaults to
  false and the quadratic mailto: scan-loop is unreachable. Pinned
  anyway so the community directory scan comes back clean.
- postcss          8.5.15 -> 8.5.23  (dev: eslint-plugin-svelte, vite, vitest)
- brace-expansion  5.0.6  -> 5.0.8   (dev: eslint, typescript-eslint)
- fast-uri         3.1.2  -> 4.1.1   (dev: eslint > ajv)

Note linkify-it is pinned to ^5.0.2, not ^6: v6 drops the default
export markdown-it@5 imports, which breaks the esbuild bundle.

bun audit now reports no vulnerabilities.
@michaelpporter
michaelpporter merged commit 5812044 into main Jul 25, 2026
1 check passed
@michaelpporter
michaelpporter deleted the release-4.21.2 branch July 25, 2026 17:20
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