-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Fix for 2 vulnerabilities #12455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -33,11 +33,11 @@ | |||||
| "clean": "backstage-cli package clean" | ||||||
| }, | ||||||
| "dependencies": { | ||||||
| "@backstage/backend-common": "workspace:^", | ||||||
| "@backstage/backend-common": "0.24.1", | ||||||
| "@backstage/backend-plugin-api": "workspace:^", | ||||||
| "@backstage/config": "workspace:^", | ||||||
| "@backstage/config": "0.1.1", | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change downgrades
Suggested change
|
||||||
| "@types/express": "^4.17.6", | ||||||
| "express": "^4.17.1", | ||||||
| "express": "^4.22.0", | ||||||
| "express-promise-router": "^4.1.0", | ||||||
| "http-proxy-middleware": "^2.0.0", | ||||||
| "morgan": "^1.10.0", | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pinning
@backstage/backend-commonto a specific version (0.24.1) instead of using the workspace version (workspace:^, which resolves to0.19.2-next.0) can lead to issues. It may introduce multiple versions of the package and its dependencies, and can cause type incompatibilities with other packages that rely on the workspace version. While this might be a temporary fix for a vulnerability, the better long-term solution in a monorepo is to upgrade the version of@backstage/backend-commonacross the entire workspace.