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
6 changes: 3 additions & 3 deletions plugins/puppetdb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
"postpack": "backstage-cli package postpack"
},
"dependencies": {
"@backstage/catalog-model": "workspace:^",
"@backstage/catalog-model": "0.1.1",
"@backstage/core-components": "workspace:^",
"@backstage/core-plugin-api": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/plugin-catalog-react": "workspace:^",
"@backstage/theme": "workspace:^",
"@backstage/plugin-catalog-react": "1.0.0",
"@backstage/theme": "0.1.1",
Comment on lines +37 to +42
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

These changes incorrectly replace local workspace dependencies (workspace:^) with old, pinned versions from an external registry. This is a common issue with automated tools like Snyk in a monorepo setup. This change will likely break the build and introduce significant regressions due to the major version downgrades:

  • @backstage/catalog-model: from workspace:^ (resolving to 1.4.1 in the monorepo) to 0.1.1
  • @backstage/plugin-catalog-react: from workspace:^ (resolving to 1.8.1-next.0) to 1.0.0
  • @backstage/theme: from workspace:^ (resolving to 0.4.1) to 0.1.1

The correct approach is to update the vulnerable transitive dependencies (ajv and qs) within their respective packages in this monorepo, and then update the yarn.lock file. These changes should be reverted.

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

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