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
8 changes: 4 additions & 4 deletions plugins/scaffolder-backend-module-rails/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
"@backstage/backend-common": "workspace:^",
"@backstage/backend-common": "0.24.1",
"@backstage/config": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/integration": "workspace:^",
"@backstage/plugin-scaffolder-backend": "workspace:^",
"@backstage/plugin-scaffolder-node": "workspace:^",
"@backstage/integration": "0.1.0",
"@backstage/plugin-scaffolder-backend": "2.1.0",
"@backstage/plugin-scaffolder-node": "0.2.0",
Comment on lines +26 to +31
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

Pinning dependencies to specific versions instead of using workspace:^ breaks the conventions of this Yarn workspace monorepo. This change will prevent this package from using the local, in-repo versions of other @backstage packages, leading to inconsistencies and making local development difficult.

While this fixes the security issue, the correct approach is to perform a workspace-wide dependency update. Please revert this change and use the project's standard versioning tooling (e.g., yarn backstage-cli versions:bump) to update dependencies across the entire monorepo. This will resolve the vulnerability while maintaining workspace integrity.

    "@backstage/backend-common": "workspace:^",
    "@backstage/config": "workspace:^",
    "@backstage/errors": "workspace:^",
    "@backstage/integration": "workspace:^",
    "@backstage/plugin-scaffolder-backend": "workspace:^",
    "@backstage/plugin-scaffolder-node": "workspace:^"

"@backstage/types": "workspace:^",
"command-exists": "^1.2.9",
"fs-extra": "^10.0.1"
Expand Down
Loading