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/catalog-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"dependencies": {
"@backstage/catalog-model": "workspace:^",
"@backstage/plugin-permission-common": "workspace:^",
"@backstage/plugin-search-common": "workspace:^"
"@backstage/plugin-search-common": "0.3.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 a workspace dependency (workspace:^) with a fixed version (0.3.1) breaks the workspace linking functionality that ensures consistent versions across the project. This change could create inconsistencies if other packages expect to use the local version of @backstage/plugin-search-common.

Instead of pinning to an external version, consider:

  1. Updating the vulnerable dependency within the local workspace package itself
  2. Ensuring this security fix is propagated through the normal workspace dependency resolution

If this fixed version is absolutely necessary, coordinate with all packages that depend on @backstage/plugin-search-common to prevent version conflicts.

Suggested change
"@backstage/plugin-search-common": "0.3.1"
"@backstage/plugin-search-common": "workspace:^"

Spotted by Diamond

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

},
"devDependencies": {
"@backstage/cli": "workspace:^"
Expand Down
Loading