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.

This change replaces workspace references with fixed version dependencies, which breaks the monorepo's dependency management system. In a monorepo, workspace:^ ensures packages use local versions during development, maintaining consistency across the codebase.

Fixed versions (0.1.1) will pull from npm instead of using local code, potentially causing:

  • Version mismatches between packages
  • Difficulty testing local changes across packages
  • Inconsistent behavior between development and production

To properly address the webpack-dev-server vulnerabilities while maintaining monorepo integrity:

  1. Update the vulnerable dependencies in their source packages
  2. Keep the workspace:^ references intact
  3. Update the root package.json or yarn.lock with the patched versions

This ensures the security fixes propagate through the workspace references while preserving the monorepo structure.

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