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
2 changes: 1 addition & 1 deletion plugins/search-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@backstage/core-plugin-api": "workspace:^",
"@backstage/plugin-search-common": "workspace:^",
"@backstage/theme": "workspace:^",
"@backstage/types": "workspace:^",
"@backstage/types": "0.1.1",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Replacing workspace:^ with a fixed version (0.1.1) in a monorepo context can lead to dependency resolution issues and break the workspace linking system.

In a monorepo setup, the workspace:^ syntax ensures packages reference each other correctly within the workspace. Instead of changing this reference pattern:

  1. Update the actual @backstage/types package within your workspace to a secure version
  2. Keep the workspace:^ reference in this file
  3. Update the yarn.lock file as noted in the PR description

This approach maintains proper workspace relationships while addressing the security vulnerability.

Suggested change
"@backstage/types": "0.1.1",
"@backstage/types": "workspace:^",

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

"@backstage/version-bridge": "workspace:^",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
Expand Down
Loading