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 packages/backend-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
"start": "backstage-cli package start"
},
"dependencies": {
"@backstage/backend-app-api": "workspace:^",
"@backstage/backend-app-api": "0.7.6",
"@backstage/backend-common": "workspace:^",
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/backend-plugin-api": "0.6.19",
Comment on lines +45 to +47
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 workspace references with fixed versions, which breaks the monorepo's development workflow. In a monorepo, workspace:^ references ensure packages use local versions during development, enabling simultaneous changes across packages.

Instead of changing to fixed versions:

  1. Update the vulnerable dependency in the workspace root
  2. Manually update the yarn.lock file as mentioned in the PR description
  3. Keep the workspace:^ references intact

This approach addresses the vulnerability while preserving the monorepo's development experience. The warning about manual yarn.lock updates in the PR description should be addressed before merging.

Suggested change
"@backstage/backend-app-api": "0.7.6",
"@backstage/backend-common": "workspace:^",
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/backend-plugin-api": "0.6.19",
"@backstage/backend-app-api": "workspace:^",
"@backstage/backend-common": "workspace:^",
"@backstage/backend-plugin-api": "workspace:^",

Spotted by Diamond

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

"@backstage/config": "workspace:^",
"@backstage/plugin-auth-node": "workspace:^",
"@backstage/types": "workspace:^",
Expand Down
Loading