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
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
"postpack": "backstage-cli package postpack"
},
"dependencies": {
"@backstage/backend-common": "workspace:^",
"@backstage/backend-common": "0.24.1",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This change replaces the workspace reference (workspace:^) with a fixed version number (0.24.1), which breaks the monorepo's dependency management approach. In Yarn workspaces, internal dependencies should use workspace protocol references to ensure consistent versioning across the project.

Using fixed versions instead of workspace references can lead to:

  • Version mismatches between components
  • Duplicate package installations
  • Potential build failures
  • Difficulties when updating shared dependencies

Consider maintaining the workspace:^ reference while addressing the vulnerability through other means, such as updating the yarn.lock file or using resolutions in the root package.json to pin the vulnerable transitive dependency.

Suggested change
"@backstage/backend-common": "0.24.1",
"@backstage/backend-common": "workspace:^",

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

"@backstage/backend-plugin-api": "workspace:^",
"@backstage/backend-tasks": "workspace:^",
"@backstage/catalog-model": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/plugin-catalog-backend": "workspace:^",
"@backstage/plugin-catalog-backend": "1.25.0",
"@backstage/plugin-catalog-node": "workspace:^",
"@backstage/plugin-events-node": "workspace:^",
"@backstage/plugin-permission-common": "workspace:^",
Expand Down
Loading