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/scaffolder-backend-module-sentry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"postpack": "backstage-cli package postpack"
},
"dependencies": {
"@backstage/config": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/plugin-scaffolder-node": "workspace:^"
"@backstage/config": "0.1.1",
"@backstage/errors": "0.1.1",
"@backstage/plugin-scaffolder-node": "0.4.5"
Comment on lines +25 to +27
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 PR replaces workspace references with fixed, outdated versions which will cause compatibility issues. The specified versions (0.1.1, 0.4.5) are significantly older than current Backstage packages and will break compatibility with the rest of the monorepo.

The warning about failing to update yarn.lock further confirms these compatibility problems.

To properly address the vulnerability:

  1. Maintain the workspace:^ references
  2. Update the underlying dependencies in a way that preserves monorepo compatibility
  3. Ensure yarn.lock is properly updated

Consider using Snyk's patch functionality instead if a direct upgrade isn't possible, or coordinate with the team to update the vulnerable dependency across all affected packages simultaneously.

Suggested change
"@backstage/config": "0.1.1",
"@backstage/errors": "0.1.1",
"@backstage/plugin-scaffolder-node": "0.4.5"
+ "@backstage/config": "workspace:^",
+ "@backstage/errors": "workspace:^",
+ "@backstage/plugin-scaffolder-node": "workspace:^"

Spotted by Diamond

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

},
"devDependencies": {
"@backstage/cli": "workspace:^"
Expand Down
Loading