Skip to content
Open
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 plugins/catalog-unprocessed-entities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
},
"dependencies": {
"@backstage/catalog-model": "workspace:^",
"@backstage/core-components": "workspace:^",
"@backstage/core-components": "0.1.0",
"@backstage/core-plugin-api": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/theme": "workspace:^",
"@backstage/theme": "0.1.1",
Comment on lines +32 to +35

Choose a reason for hiding this comment

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

critical

These changes replace workspace-local dependencies (workspace:^) with specific, older versions from the public registry. This is a critical issue in a monorepo setup as it will likely lead to version conflicts, inconsistent behavior, and may break the build. The workspace:^ protocol ensures that you are using the code from the local packages within this repository, and changing it defeats the purpose of a monorepo.

The correct approach to fix these vulnerabilities is to update the dependencies within the monorepo itself, not to pin to old public versions. Given that Snyk also failed to update yarn.lock, it's clear these changes have created an invalid dependency tree. These changes should be reverted.

    "@backstage/core-components": "workspace:^",
    "@backstage/core-plugin-api": "workspace:^",
    "@backstage/errors": "workspace:^",
    "@backstage/theme": "workspace:^"

"@material-ui/core": "^4.9.13",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.60",
Expand Down
Loading