[Snyk] Fix for 1 vulnerabilities#12062
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-QS-15268416
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
⛔ Snyk checks have failed. 1 issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
WalkthroughThis PR updates the Kubernetes backend plugin's dependencies, transitioning from workspace protocol references to pinned version numbers for multiple Backstage packages. The changes include updates to core backend packages (@backstage/backend-common to 0.24.1, @backstage/catalog-model to 0.1.1), authentication and authorization packages (@backstage/plugin-auth-node to 0.1.0, @backstage/plugin-permission-node to 0.1.0), and plugin-specific packages (@backstage/plugin-catalog-node to 1.0.0, @backstage/plugin-kubernetes-common to 0.1.0). External dependencies are also upgraded, notably @kubernetes/client-node from 0.18.1 to 1.0.0 (major version bump) and express from ^4.17.1 to ^4.22.0. This dependency pinning effort ensures consistent builds and prepares the plugin for release. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant Dev as Developer
participant PKG as package.json
participant NPM as Package Manager
participant Deps as Dependencies
Note over Dev,Deps: Kubernetes Backend Plugin Dependency Update
Dev->>PKG: Update dependency versions
Note over PKG: Key Updates:<br/>@kubernetes/client-node: 0.18.1 → 1.0.0<br/>express: 4.17.1 → 4.22.0<br/>Backstage packages: workspace → fixed versions
Dev->>NPM: Run package install
NPM->>Deps: Resolve @kubernetes/client-node@1.0.0
NPM->>Deps: Resolve express@4.22.0
NPM->>Deps: Resolve @backstage/backend-common@0.24.1
NPM->>Deps: Resolve @backstage/catalog-model@0.1.1
NPM->>Deps: Resolve other Backstage packages
Deps-->>NPM: Dependencies resolved
NPM-->>Dev: Installation complete
Note over Dev,Deps: Plugin now uses updated dependencies<br/>with fixed versions instead of workspace refs
Note for WindsurfPlease change the default marketplace provider to the following in the windsurf settings:Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts belowEmoji Descriptions:
Interact with the Bot:
Also you can trigger various commands with the bot by doing The current supported commands are
More commands to be added soon. |
|
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
plugins/kubernetes-backend/package.jsonNote for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the
.yarn/cache/directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to runyarnto update the contents of the./yarn/cachedirectory.If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:
SNYK-JS-QS-15268416
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Allocation of Resources Without Limits or Throttling
EntelligenceAI PR Summary
This PR pins dependency versions in the Kubernetes backend plugin, replacing workspace protocol references with specific version numbers and upgrading external dependencies.