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
8 changes: 4 additions & 4 deletions packages/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
"@azure/identity": "^3.2.1",
"@backstage/config": "workspace:^",
"@backstage/errors": "workspace:^",
"@azure/identity": "^3.4.1",
"@backstage/config": "0.1.1",
"@backstage/errors": "0.1.1",
Comment on lines +36 to +37
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

These changes incorrectly replace workspace:^ with fixed, old versions of the packages. This is a significant downgrade and will likely break the build or cause runtime issues.

  • @backstage/config is being downgraded from the workspace version 1.0.8 to 0.1.1.
  • @backstage/errors is being downgraded from the workspace version 1.2.1 to 0.1.1.

The workspace:^ protocol is used in Yarn workspaces to link to local packages within the monorepo. Replacing it with a version from the npm registry defeats its purpose and introduces outdated code.

This is likely an error from Snyk's automated tool not understanding yarn workspaces correctly. These lines should be reverted to use workspace:^.

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

"@octokit/auth-app": "^4.0.0",
"@octokit/rest": "^19.0.3",
"cross-fetch": "^3.1.5",
"git-url-parse": "^13.0.0",
"lodash": "^4.17.21",
"lodash": "^4.17.23",
"luxon": "^3.0.0"
},
"devDependencies": {
Expand Down
Loading