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
4 changes: 2 additions & 2 deletions packages/catalog-model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
"@backstage/config": "workspace:^",
"@backstage/config": "0.1.1",
"@backstage/errors": "workspace:^",
"@backstage/types": "workspace:^",
"@backstage/types": "0.1.1",
Comment on lines +47 to +49
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 change downgrades @backstage/config and @backstage/types to very old versions (0.1.1). The workspace:^ protocol ensures that you use the version of these packages from the current monorepo, which are @backstage/config@1.0.8 and @backstage/types@1.1.0.

Pinning to such old versions is a significant downgrade and will likely cause build failures or runtime issues. It seems the automated tool has made an error. Instead of pinning to these old versions, you should investigate the vulnerabilities and find a more appropriate fix, which might involve updating transitive dependencies or finding a different resolution that doesn't involve such a drastic downgrade of direct dependencies.

I recommend reverting this change and investigating the Snyk vulnerabilities manually.

    "@backstage/config": "workspace:^",
    "@backstage/errors": "workspace:^",
    "@backstage/types": "workspace:^"

"ajv": "^8.10.0",
"json-schema": "^0.4.0",
"lodash": "^4.17.21",
Expand Down
Loading