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/example-todo-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,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 +26 to +28

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 workspace dependencies with fixed, much older versions. In this monorepo setup, "workspace:^" ensures that this plugin uses the @backstage/core-components and @backstage/theme packages from this same repository.

  • @backstage/core-components would be downgraded from workspace version 0.13.4-next.0 to 0.1.0.
  • @backstage/theme would be downgraded from workspace version 0.4.1 to 0.1.1.

Pinning to these outdated versions from the npm registry will break the monorepo's dependency integrity and likely cause version mismatches, build failures, or runtime errors. These changes should be reverted. To fix the underlying vulnerabilities, consider using resolutions in the root package.json or updating the vulnerable transitive dependencies through their direct parents.

    "@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