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 packages/config-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"dependencies": {
"@backstage/cli-common": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/types": "workspace:^",
"@backstage/errors": "0.1.1",
"@backstage/types": "0.1.1",
Comment on lines +38 to +39
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 references with fixed versions (0.1.1) breaks the monorepo's dependency management approach. This change will likely cause version inconsistencies across packages, especially since the PR description indicates the yarn.lock file failed to update properly.

For monorepos using Yarn workspaces:

  1. Maintain the workspace:^ references to ensure consistent versioning
  2. Update the underlying package versions in a coordinated way
  3. Run yarn to properly regenerate the lock file before merging

This approach addresses the vulnerability while preserving the integrity of the dependency graph within the monorepo.

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

Spotted by Diamond

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

"@types/json-schema": "^7.0.6",
"ajv": "^8.10.0",
"chokidar": "^3.5.2",
Expand Down
Loading