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
10 changes: 5 additions & 5 deletions plugins/badges-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
"@backstage/backend-common": "workspace:^",
"@backstage/backend-common": "0.24.1",
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/catalog-client": "workspace:^",
"@backstage/catalog-model": "workspace:^",
"@backstage/catalog-model": "0.1.1",
"@backstage/config": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/plugin-auth-node": "workspace:^",
"@backstage/plugin-auth-node": "0.6.0",
Comment on lines +36 to +42
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

critical

This automated change incorrectly replaces workspace dependencies (workspace:^) with pinned versions from the public registry. This breaks the monorepo's dependency management strategy and can lead to build failures or multiple versions of the same package in the final bundle.

The correct way to fix the underlying vulnerabilities is to update the dependencies within the respective workspace packages (e.g., update ajv in @backstage/catalog-model).

These changes should be reverted to use workspace:^.

    "@backstage/backend-common": "workspace:^",
    "@backstage/backend-plugin-api": "workspace:^",
    "@backstage/catalog-client": "workspace:^",
    "@backstage/catalog-model": "workspace:^",
    "@backstage/config": "workspace:^",
    "@backstage/errors": "workspace:^",
    "@backstage/plugin-auth-node": "workspace:^"

"@types/express": "^4.17.6",
"badge-maker": "^3.3.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"express": "^4.22.0",
"express-promise-router": "^4.1.0",
"knex": "^2.4.2",
"lodash": "^4.17.21",
"supertest": "^6.3.3",
"supertest": "^7.1.3",
"uuid": "^9.0.0",
"winston": "^3.2.1",
"yn": "^4.0.0"
Expand Down
Loading