Skip to content
Open
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
8 changes: 4 additions & 4 deletions plugins/scaffolder-backend-module-gitlab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
"postpack": "backstage-cli package postpack"
},
"dependencies": {
"@backstage/config": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/integration": "workspace:^",
"@backstage/plugin-scaffolder-node": "workspace:^",
"@backstage/config": "0.1.1",
"@backstage/errors": "0.1.1",
"@backstage/integration": "0.1.0",
"@backstage/plugin-scaffolder-node": "0.11.2",
Comment on lines +34 to +37

Choose a reason for hiding this comment

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

critical

These dependency changes introduced by Snyk are incorrect and will likely break the project. The workspace:^ protocol is essential in this monorepo to ensure that packages use the versions from the local workspace. Replacing them with pinned versions from the public registry breaks this model.

Specifically, this change introduces major version downgrades for several packages:

  • @backstage/config: 1.0.8 (in workspace) -> 0.1.1
  • @backstage/errors: 1.2.1 (in workspace) -> 0.1.1
  • @backstage/integration: 1.5.1 (in workspace) -> 0.1.0

Such drastic downgrades will almost certainly lead to build failures or runtime errors due to API incompatibilities.

It's recommended to revert these changes. To fix the underlying security vulnerabilities, consider using Yarn's resolutions field in the root package.json to force a secure version of the transitive dependency that has the vulnerability.

    "@backstage/config": "workspace:^",
    "@backstage/errors": "workspace:^",
    "@backstage/integration": "workspace:^",
    "@backstage/plugin-scaffolder-node": "workspace:^"

"@gitbeaker/node": "^35.8.0",
"zod": "^3.21.4"
},
Expand Down
Loading