-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Fix for 2 vulnerabilities #12463
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 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -24,13 +24,13 @@ | |||||||||
| "clean": "backstage-cli package clean" | ||||||||||
| }, | ||||||||||
| "dependencies": { | ||||||||||
| "@backstage/backend-common": "workspace:^", | ||||||||||
| "@backstage/backend-plugin-api": "workspace:^", | ||||||||||
| "@backstage/backend-common": "0.24.1", | ||||||||||
| "@backstage/backend-plugin-api": "0.6.19", | ||||||||||
| "@backstage/config": "workspace:^", | ||||||||||
| "@backstage/errors": "workspace:^", | ||||||||||
| "@backstage/plugin-auth-node": "workspace:^", | ||||||||||
| "@backstage/errors": "0.1.1", | ||||||||||
| "@backstage/plugin-auth-node": "0.6.0", | ||||||||||
|
Comment on lines
+30
to
+31
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. Replacing To address the underlying security vulnerability, consider using Yarn's
Suggested change
|
||||||||||
| "@types/express": "^4.17.6", | ||||||||||
| "express": "^4.17.1", | ||||||||||
| "express": "^4.22.0", | ||||||||||
|
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. The version
Suggested change
|
||||||||||
| "express-promise-router": "^4.1.0", | ||||||||||
| "uuid": "^8.3.2", | ||||||||||
| "winston": "^3.2.1", | ||||||||||
|
|
||||||||||
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.
Replacing
workspace:^with pinned versions is an anti-pattern in a Yarn workspace monorepo. It will cause this package to use versions from the npm registry instead of the local packages, leading to version inconsistencies and potential build failures. Please revert to usingworkspace:^.To address the underlying security vulnerability, consider using Yarn's
resolutionsfeature in the rootpackage.jsonto force a specific, secure version of the vulnerable transitive dependency across the entire workspace.