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 plugins/newrelic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
"@backstage/core-components": "workspace:^",
"@backstage/core-components": "0.1.0",
"@backstage/core-plugin-api": "workspace:^",
"@backstage/theme": "workspace:^",
"@backstage/theme": "0.1.1",
Comment on lines +36 to +38
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 introduce a significant downgrade of @backstage/core-components and @backstage/theme packages, which will likely break the plugin. The versions are being pinned to 0.1.0 and 0.1.1 respectively, while the versions in this monorepo are much newer (0.13.4-next.0 for core-components and 0.4.1 for theme).

The workspace:^ protocol is used intentionally in this monorepo to ensure that packages within the workspace use the latest versions of each other from the same repository. Removing it and pinning to very old versions is incorrect.

While the intent is to fix vulnerabilities, this change is not the correct approach. The vulnerabilities should be addressed by updating the vulnerable transitive dependencies, not by downgrading major framework packages. Please revert these changes.

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

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