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
12 changes: 6 additions & 6 deletions plugins/tech-insights-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
"@backstage/backend-common": "workspace:^",
"@backstage/backend-tasks": "workspace:^",
"@backstage/catalog-client": "workspace:^",
"@backstage/catalog-model": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/backend-common": "0.25.0",
"@backstage/backend-tasks": "0.6.1",
"@backstage/catalog-client": "0.2.0",
"@backstage/catalog-model": "0.1.1",
"@backstage/config": "0.1.1",
Comment on lines +36 to +40
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 these @backstage dependencies to specific versions instead of using workspace:^ can cause dependency issues in a monorepo, such as version conflicts or increased bundle size.

For fixing transitive vulnerabilities in a Yarn workspace, using resolutions in the root package.json is a better practice. It allows you to enforce a secure version of a dependency across all workspaces while retaining workspace:^.

Please consider reverting this change and using resolutions instead.

    "@backstage/backend-common": "workspace:^",
    "@backstage/backend-tasks": "workspace:^",
    "@backstage/catalog-client": "workspace:^",
    "@backstage/catalog-model": "workspace:^",
    "@backstage/config": "workspace:^"

"@backstage/errors": "workspace:^",
"@backstage/plugin-tech-insights-common": "workspace:^",
"@backstage/plugin-tech-insights-node": "workspace:^",
Expand All @@ -47,7 +47,7 @@
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"knex": "^2.0.0",
"lodash": "^4.17.21",
"lodash": "^4.17.23",
"luxon": "^3.0.0",
"semver": "^7.5.3",
"uuid": "^8.3.2",
Expand Down
Loading