Skip to content
This repository was archived by the owner on Nov 14, 2026. It is now read-only.

fix(deps): override katex to ^0.18.2 to clear the Dependabot alert - #4

Merged
kanywst merged 1 commit into
mainfrom
fix/dependabot-katex
Nov 8, 2026
Merged

kanywst merged 1 commit into
mainfrom
fix/dependabot-katex

Conversation

@kanywst

@kanywst kanywst commented Nov 8, 2026

Copy link
Copy Markdown
Member

Clears the open katex (low) Dependabot alert.

katex comes only from markdownlint-cli2 0.24.0 (latest) > markdownlint 0.42.0 (pinned exactly) > micromark-extension-math, which asks for ^0.16. The fix is in 0.18.2 and no parent release takes it, so this adds katex: ^0.18.2 next to the existing re2js entry in pnpm-workspace.yaml overrides. Nothing in the site renders math; katex is only loaded by markdownlint's parser.

Verification (local)

  • pnpm install --frozen-lockfile: up to date, katex 0.18.10
  • pnpm exec biome ci ., pnpm lint:md, pnpm check (0 errors), pnpm test (86 passed), pnpm validate:data, pnpm build: all pass
  • pnpm audit --audit-level moderate: no known vulnerabilities
  • e2e could not run locally (Chromium cannot launch in the local sandbox); CI covers it.

markdownlint-cli2 0.24.0 pins markdownlint 0.42.0, whose
micromark-extension-math asks for katex ^0.16; the advisory is fixed only
in 0.18.2.
@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 21d0f0ff-c4cb-4f9d-b3b6-5c0782168d6b
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@kanywst
kanywst merged commit 924ae37 into main Nov 8, 2026
15 checks passed
@kanywst
kanywst deleted the fix/dependabot-katex branch November 8, 2026 03:27
kanywst added a commit that referenced this pull request Nov 8, 2026
markdownlint-cli2 0.24.0 pins markdownlint 0.42.0, whose
micromark-extension-math asks for katex ^0.16; the advisory is fixed only
in 0.18.2.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant