Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 75 additions & 47 deletions next-endpoint-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion next-endpoint-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"gray-matter": "^4.0.3",
"lucide-react": "^0.554.0",
"next": "16.0.3",
"next-mdx-remote": "^5.0.0",
"next-mdx-remote": "^6.0.0",
Copy link

@cubic-dev-ai cubic-dev-ai bot Feb 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: next-mdx-remote v6 blocks JavaScript expressions by default, but the MDX content relies on JSX expressions (e.g., cols={2}, {" "}) and MDXRemote isn’t configured to allow them. This upgrade will likely break rendering of docs pages unless you either remove JS expressions from MDX or pass blockJS: false for this trusted content.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At next-endpoint-ui/package.json, line 29:

<comment>next-mdx-remote v6 blocks JavaScript expressions by default, but the MDX content relies on JSX expressions (e.g., `cols={2}`, `{" "}`) and MDXRemote isn’t configured to allow them. This upgrade will likely break rendering of docs pages unless you either remove JS expressions from MDX or pass `blockJS: false` for this trusted content.</comment>

<file context>
@@ -26,7 +26,7 @@
     "lucide-react": "^0.554.0",
     "next": "16.0.3",
-    "next-mdx-remote": "^5.0.0",
+    "next-mdx-remote": "^6.0.0",
     "react": "19.2.0",
     "react-dom": "19.2.0",
</file context>
Fix with Cubic

"react": "19.2.0",
"react-dom": "19.2.0",
"react-syntax-highlighter": "^16.1.0",
Expand Down