Conversation
|
📦 NPM canary releaseDeployed canary version 0.0.0-canary-5fd053f. |
🏋️ Size limit report
Click here if you want to find out what is changed in this build |
🧪 Storybook is successfully deployed!
|
…ing or encoding Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ing or encoding Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed:
Mapserializes as empty object in JSON output- Added a JSON replacer function that converts Map instances to plain objects using Object.fromEntries() before JSON serialization.
Or push these changes by commenting:
@cursor push b72d2b3f50
Preview (b72d2b3f50)
diff --git a/scripts/audit-docs.mjs b/scripts/audit-docs.mjs
--- a/scripts/audit-docs.mjs
+++ b/scripts/audit-docs.mjs
@@ -766,7 +766,9 @@
}
if (jsonOutput) {
- console.log(JSON.stringify(results, null, 2));
+ const replacer = (key, value) =>
+ value instanceof Map ? Object.fromEntries(value) : value;
+ console.log(JSON.stringify(results, replacer, 2));
} else {
const failed = results.filter((r) => !r.ok);
const passed = results.filter((r) => r.ok);This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.
Applied via @cursor push command


Note
Low Risk
Low risk: changes are limited to documentation/Storybook metadata plus an optional new audit script; no runtime component logic is modified.
Overview
Adds a new
pnpm audit-docstool (scripts/audit-docs.mjs) that uses the TypeScript Compiler API to compare resolved component props vs.docs.mdx“Properties” sections vs StorybookargTypes, with optional--fix-storiesauto-updates and JSON/verbose output.Updates many component
.docs.mdxfiles to standardize/expand prop lists and base/field property references, and adjusts multiple.stories.tsxfiles to add/removeargTypesentries so Storybook controls/descriptions stay in sync with the docs.Written by Cursor Bugbot for commit 0589fd7. This will update automatically on new commits. Configure here.