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
6 changes: 3 additions & 3 deletions plugins/home/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"dependencies": {
"@backstage/catalog-model": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/core-components": "workspace:^",
"@backstage/core-components": "0.1.0",
"@backstage/core-plugin-api": "workspace:^",
"@backstage/plugin-catalog-react": "workspace:^",
"@backstage/plugin-home-react": "workspace:^",
"@backstage/plugin-home-react": "0.1.0",
"@backstage/theme": "workspace:^",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
Expand All @@ -48,7 +48,7 @@
"@rjsf/utils": "5.7.3",
"@rjsf/validator-ajv8": "5.7.3",
"@types/react": "^16.13.1 || ^17.0.0",
"lodash": "^4.17.21",
"lodash": "^4.17.23",
"react-grid-layout": "^1.3.4",
"react-resizable": "^3.0.4",
"react-use": "^17.2.4",
Comment on lines 48 to 54
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: lodash@4.17.23 does not exist in npm registry; this will break npm install/yarn install. Use ^4.17.21 (latest 4.x) or verify the intended version.

🤖 AI Agent Prompt for Cursor/Windsurf

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

File: plugins/home/package.json, Line 51

Problem: The lodash version `^4.17.23` does not exist in the npm registry and will cause package installation to fail.

Fix Instructions:
1. Verify the latest stable lodash version in npm registry (currently 4.17.21)
2. If this was intended as a security update, confirm which CVE you're addressing
3. Update the version to `^4.17.21` (latest stable) or consider migrating to `lodash-es` for modern projects
4. Run `npm install` or `yarn install` to verify the dependency resolves correctly
5. Check for any breaking changes in release notes if upgrading from an older version
✨ Committable Code Suggestion

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

Suggested change
"@rjsf/utils": "5.7.3",
"@rjsf/validator-ajv8": "5.7.3",
"@types/react": "^16.13.1 || ^17.0.0",
"lodash": "^4.17.21",
"lodash": "^4.17.23",
"react-grid-layout": "^1.3.4",
"react-resizable": "^3.0.4",
"react-use": "^17.2.4",
"@rjsf/material-ui-v5": "npm:@rjsf/material-ui@5.7.3",
"@rjsf/utils": "5.7.3",
"@rjsf/validator-ajv8": "5.7.3",
"@types/react": "^16.13.1 || ^17.0.0",
"lodash": "^4.17.21",
"react-grid-layout": "^1.3.4",
"react-resizable": "^3.0.4",
"react-use": "^17.2.4",

Expand Down
Loading