Skip to content
Closed
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
4 changes: 2 additions & 2 deletions microsite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
},
"prettier": "@spotify/prettier-config",
"dependencies": {
"@docusaurus/core": "0.0.0-5591",
"@docusaurus/core": "2.0.1",
"@docusaurus/plugin-client-redirects": "0.0.0-5591",
"@docusaurus/preset-classic": "0.0.0-5591",
"@docusaurus/preset-classic": "2.0.1",
Comment on lines +32 to +34
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Correctness: ⚠️ Inconsistent Docusaurus versions detected. @docusaurus/core and @docusaurus/preset-classic upgraded to 2.0.1, but @docusaurus/plugin-client-redirects remains at 0.0.0-5591. This version mismatch can cause runtime errors, plugin incompatibility, or build failures. All Docusaurus packages should use compatible versions.

🤖 AI Agent Prompt for Cursor/Windsurf

📋 Copy this prompt to your AI coding assistant (Cursor, Windsurf, etc.) to get help fixing this issue

File: microsite/package.json
Lines: 32-34

Problem: The diff upgrades @docusaurus/core and @docusaurus/preset-classic to version 2.0.1, but leaves @docusaurus/plugin-client-redirects at 0.0.0-5591. This creates a version mismatch that can cause plugin incompatibility or runtime errors.

Fix Instructions:
1. Update @docusaurus/plugin-client-redirects from "0.0.0-5591" to "2.0.1" to match the other Docusaurus packages
2. Verify all Docusaurus-related packages use compatible versions
3. Run `npm install` or `yarn install` to update lockfile
4. Test the build and start scripts to ensure no breaking changes
✨ Committable Code Suggestion

💡 This is a one-click fix! Click "Commit suggestion" to apply this change directly to your branch.

Suggested change
"@docusaurus/core": "2.0.1",
"@docusaurus/plugin-client-redirects": "0.0.0-5591",
"@docusaurus/preset-classic": "0.0.0-5591",
"@docusaurus/preset-classic": "2.0.1",
"yaml-loader": "^0.8.0"
},
"prettier": "@spotify/prettier-config",
"dependencies": {
"@docusaurus/core": "2.0.1",
"@docusaurus/plugin-client-redirects": "2.0.1",
"@docusaurus/preset-classic": "2.0.1",
"@swc/core": "^1.3.46",
"clsx": "^1.1.1",
"docusaurus-plugin-sass": "^0.2.3",

Comment on lines +32 to +34
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

critical

The package.json has been updated to newer versions of @docusaurus/core and @docusaurus/preset-classic. However, the yarn.lock file has not been updated to reflect these changes, as noted in the PR description. This can lead to inconsistent dependency resolution and means the project might still be using the vulnerable versions, or could fail to build. Please run yarn install (or yarn if using Yarn v2+) to regenerate the yarn.lock file and ensure all dependencies are correctly updated.

"@swc/core": "^1.3.46",
"clsx": "^1.1.1",
"docusaurus-plugin-sass": "^0.2.3",
Expand Down
Loading