Repository navigation
Studio frontend: bump zod to 4.6.7 - #15636
dependabot[bot] wants to merge 4 commits into
Conversation
Bumps the npm-frontend-security group with 3 updates in the /studio/frontend directory: [katex](https://github.com/KaTeX/KaTeX), [body-parser](https://github.com/expressjs/body-parser) 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 `body-parser` from 2.3.0 to 2.4.0 - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](expressjs/body-parser@v2.3.0...v2.4.0) 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: body-parser dependency-version: 2.4.0 dependency-type: indirect 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]>
|
C3 reads the real |
|
|
katex 0.18 renames its CSS classes (.base, .strut, .vlist parts become .katex-*), while the renderer (@streamdown/math -> rehype-katex) still emits katex 0.16 markup. Loading the 0.18 katex.min.css would leave math unstyled, so katex stays on 0.16.47. shadcn 4.23 drops the @modelcontextprotocol/sdk 1.x chain (express, body-parser, hono, fast-uri, qs, ajv) and its nested zod 3, but its dist/tailwind.css now adds a shimmer utility that merges into tw-shimmer's .shimmer. Studio imports only the 4.7.0 variants, keyframes and no-scrollbar from that file, so vendor them locally; the built dist is byte-identical to main. [skip ci]
…e CLI; keep only zod 4.6.7
|
Looks like these dependencies are updatable in another way, so this is no longer needed. |
) 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 unslothai#15636, which Dependabot closed after main dropped the shadcn CLI): - **shadcn**: unslothai#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. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Han <[email protected]>
Bumps
zod4.4.3 -> 4.6.7 instudio/frontend/package-lock.json(transitive, via@assistant-ui/reactandeslint-plugin-react-hooks). Closes GHSA-mrhx (high).The rest of the original Dependabot group is no longer needed on main:
tailwind.css, which also removed the CLI's dependency tree (body-parser, hono, qs, fast-uri, ...) and their advisories..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'smin-release-age=7; the lockfile integrity matches the registry.Checks (current main vs this branch)
npm ci,npm run build: pass on both.dist/: same file set, every file byte-identical.npm test: 14288 passed, 0 failed, 1 skipped on both.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.