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
6 changes: 3 additions & 3 deletions plugins/newrelic-dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
},
"dependencies": {
"@backstage/catalog-model": "workspace:^",
"@backstage/core-components": "workspace:^",
"@backstage/core-plugin-api": "workspace:^",
"@backstage/core-components": "0.1.0",
"@backstage/core-plugin-api": "0.1.0",
"@backstage/errors": "workspace:^",
"@backstage/plugin-catalog-react": "workspace:^",
"@backstage/plugin-catalog-react": "0.0.1",
Comment on lines +26 to +29
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The dependency changes in this PR are concerning as they replace workspace references with significantly outdated versions:

  • @backstage/core-components: 0.1.0 (released in early 2021)
  • @backstage/core-plugin-api: 0.1.0
  • @backstage/plugin-catalog-react: 0.0.1

These versions are incompatible with current Backstage components, which have evolved considerably since these early releases. The warning about the failed yarn.lock update further indicates these changes aren't properly resolved.

To properly address the ReDoS vulnerability in Babel runtime, consider:

  1. Maintaining the workspace references (workspace:^)
  2. Updating the root package dependencies instead
  3. If specific versions must be used, select current compatible versions (check the latest Backstage release for appropriate version numbers)

This approach would fix the vulnerability without breaking compatibility with the rest of the Backstage ecosystem.

Suggested change
"@backstage/core-components": "0.1.0",
"@backstage/core-plugin-api": "0.1.0",
"@backstage/errors": "workspace:^",
"@backstage/plugin-catalog-react": "workspace:^",
"@backstage/plugin-catalog-react": "0.0.1",
"@backstage/core-components": "workspace:^",
"@backstage/core-plugin-api": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/plugin-catalog-react": "workspace:^",

Spotted by Diamond

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

"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.61",
Expand Down
Loading