Skip to content

Studio frontend: bump zod to 4.6.7 (keep katex on 0.16) - #15746

Merged
danielhanchen merged 2 commits into
mainfrom
dependabot/npm_and_yarn/studio/frontend/npm-frontend-security-cb4151425e
Oct 28, 2026
Merged

danielhanchen merged 2 commits into
mainfrom
dependabot/npm_and_yarn/studio/frontend/npm-frontend-security-cb4151425e

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Bumps zod 4.4.3 -> 4.6.7 in studio/frontend/package-lock.json (transitive, via @assistant-ui/react and eslint-plugin-react-hooks). Closes GHSA-mrhx (high).

Narrowed from the Dependabot group (the same pair was proposed in #15636, which Dependabot closed after main dropped the shadcn CLI):

  • shadcn: Studio: vendor shadcn's tailwind.css instead of installing the shadcn CLI #15635 removed the shadcn CLI and vendored its tailwind.css, which also removed the CLI's dependency tree (body-parser, hono, qs, fast-uri, ...) and their advisories.
  • katex: stays on 0.16.47. katex 0.18 renamed 20 CSS classes (.base, .strut, .sizing, .tag, ...) that the 0.16 renderers used by rehype-katex, @streamdown/math, mermaid and micromark-extension-math still emit, so math would lose its styles. 0.18 also does not close the katex advisory.

zod 4.6.7 was published 2026-10-12, so it passes .npmrc's min-release-age=7; the lockfile integrity matches the registry.

Checks (current main vs this branch)

  • npm ci, npm run build: pass on both.
  • Built dist/: same file set, every file byte-identical.
  • npm test: 14332 passed on both; the same single test (text and lines head away from whatever they are drawn on) fails on main and here.
  • npm audit: 10 (2 high, 8 low) -> 9 (1 high, 8 low). The remaining high is node-forge GHSA-86w9 (its fix, 1.4.2, is a day old); the lows are the katex chain with no 0.16.x fix.

Bumps the npm-frontend-security group with 2 updates in the /studio/frontend directory: [katex](https://github.com/KaTeX/KaTeX) and [zod](https://github.com/colinhacks/zod).


Updates `katex` from 0.16.47 to 0.18.2
- [Release notes](https://github.com/KaTeX/KaTeX/releases)
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md)
- [Commits](KaTeX/KaTeX@v0.16.47...v0.18.2)

Updates `zod` from 4.4.3 to 4.6.7
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](colinhacks/zod@v4.4.3...v4.6.7)

---
updated-dependencies:
- dependency-name: katex
  dependency-version: 0.18.2
  dependency-type: direct:production
  dependency-group: npm-frontend-security
- dependency-name: zod
  dependency-version: 4.6.7
  dependency-type: indirect
  dependency-group: npm-frontend-security
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot requested a review from danielhanchen as a code owner October 28, 2026 11:27
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 28, 2026
@danielhanchen danielhanchen changed the title Bump the npm-frontend-security group across 1 directory with 2 updates Studio frontend: bump zod to 4.6.7 (keep katex on 0.16) Oct 28, 2026
@danielhanchen danielhanchen self-assigned this Oct 28, 2026
@danielhanchen
danielhanchen merged commit 9869303 into main Oct 28, 2026
16 of 76 checks passed
@danielhanchen
danielhanchen deleted the dependabot/npm_and_yarn/studio/frontend/npm-frontend-security-cb4151425e branch October 28, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant