[Snyk] Security upgrade @backstage/catalog-model from 0.0.0-use.local to 0.1.1#5262
[Snyk] Security upgrade @backstage/catalog-model from 0.0.0-use.local to 0.1.1#5262snyk-io[bot] wants to merge 1 commit intomasterfrom
Conversation
…nerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-OCTOKITREQUEST-8730853
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
No applications have been configured for previews targeting branch: master. To do so go to restack console and configure your applications for previews. |
Reviewer's GuideThis PR replaces the local workspace reference for @backstage/catalog-model with a pinned 0.1.1 release in the GitHub catalog-backend plugin’s package.json to remediate a Regular Expression Denial of Service vulnerability flagged by Snyk (SNYK-JS-OCTOKITREQUEST-8730853), and advises a manual yarn.lock update before merging. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
⛔ Snyk checks have failed. 77 issues have been found so far.
⛔ security/snyk check is complete. 77 issues have been found. (View Details) 💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
| "@backstage/backend-tasks": "workspace:^", | ||
| "@backstage/catalog-client": "workspace:^", | ||
| "@backstage/catalog-model": "workspace:^", | ||
| "@backstage/catalog-model": "0.1.1", |
There was a problem hiding this comment.
This change replaces the workspace reference workspace:^ with a fixed external version 0.1.1 for the @backstage/catalog-model dependency. This breaks the monorepo pattern where packages use local workspace versions rather than external npm packages.
In a Backstage monorepo, dependencies between internal packages should use the workspace:^ syntax to ensure:
- Consistent versioning across the codebase
- Local development changes are immediately reflected
- Proper integration testing between components
Changing to a fixed external version may introduce version conflicts with other packages that expect to use the workspace version. Please maintain the original workspace:^ reference to preserve the monorepo integrity.
| "@backstage/catalog-model": "0.1.1", | |
| "@backstage/catalog-model": "workspace:^", |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
|
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! |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
|
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! |
|
🔒 Entelligence AI Vulnerability Scanner ✅ No security vulnerabilities found! Your code passed our comprehensive security analysis. |
WalkthroughThis PR updates the dependency configuration in the GitHub catalog backend module. It changes the dependency for '@backstage/catalog-model' from a workspace reference ('workspace:^') to a specific version ('0.1.1'). This transition from a locally linked development version to a pinned release version likely aims to improve stability or ensure compatibility with other components in the system. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
title Catalog Backend Module GitHub Dependencies
participant GithubModule as "catalog-backend-module-github"
participant CatalogModel as "@backstage/catalog-model"
Note over GithubModule, CatalogModel: Dependency Change
GithubModule->>CatalogModel: imports from
Note over CatalogModel: Changed from workspace:^ <br/> to fixed version 0.1.1
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. |
|
LGTM 👍 |
|
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/catalog-backend-module-github/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-OCTOKITREQUEST-8730853
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:
🦉 Regular Expression Denial of Service (ReDoS)
Summary by Sourcery
Bug Fixes:
EntelligenceAI PR Summary
This PR pins the '@backstage/catalog-model' dependency to a specific version in the GitHub catalog backend module.