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 packages/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
"@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.

critical

This automated change is incorrect for this monorepo project. It replaces the workspace: protocol dependency with a hardcoded, outdated version from the public registry.

This will likely break the build for two reasons:

  1. Breaks Monorepo Linking: The workspace:^ syntax is crucial for Yarn workspaces to link local packages. Removing it disconnects this package from the local @backstage/types package.
  2. Major Downgrade: The current version of @backstage/types in this repository is 1.1.0. This change downgrades it to 0.1.1, which will cause API incompatibilities and break compilation.

To correctly resolve the security issue, the @backstage/types package itself should be updated within the monorepo if needed, and dependents will pick it up via the workspace: protocol. This change should be reverted.

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

"cross-fetch": "^3.1.5",
"serialize-error": "^8.0.1"
},
Expand Down
Loading