Skip to content
Open
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 plugins/shortcuts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
"@backstage/core-components": "workspace:^",
"@backstage/core-components": "0.8.6",
"@backstage/core-plugin-api": "workspace:^",
"@backstage/theme": "workspace:^",
"@backstage/theme": "0.1.1",
Comment on lines +26 to +28

Choose a reason for hiding this comment

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

critical

These changes break the yarn workspace setup by replacing workspace:^ with pinned, older versions of @backstage/core-components and @backstage/theme. This will likely cause build failures or runtime issues as other packages in the monorepo expect workspace-local versions.

  • @backstage/core-components is being downgraded from its workspace version (0.13.4-next.0) to 0.8.6.
  • @backstage/theme is being downgraded from its workspace version (0.4.1) to 0.1.1.

The correct approach to fix the vulnerabilities is to identify the vulnerable transitive dependencies within the workspace packages (e.g., @backstage/core-components, @backstage/theme) and update them directly. After updating, run yarn to regenerate the yarn.lock file. It is recommended to revert these changes.

    "@backstage/core-components": "workspace:^",
    "@backstage/core-plugin-api": "workspace:^",
    "@backstage/theme": "workspace:^"

"@backstage/types": "workspace:^",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
Expand Down
Loading