mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
815fd2fee8
Vercel's deploy security check was blocking the showcase-docs build with:
Build Failed
Vulnerable version of next-mdx-remote detected (5.0.0). Please update
to version 6.0.0 or later.
The previous build pipeline fix (npm install + postinstall sibling
scripts) is working — the install runs cleanly and `next build` even
compiles successfully. The deploy is rejected by Vercel's vulnerability
scanner before promotion.
Bump `next-mdx-remote` from ^5.0.0 to ^6.0.0 and refresh the
package-lock. v6's main behavior change is `blockJS` / `blockDangerousJS`
defaulting to `true`, but our content uses JSX components and code-block
embeds rather than raw `{expression}` interpolations, so the existing
MDXRemote call sites need no option changes. Verified with a clean local
`next build` of shell-docs (29/29 pages, no errors).