-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Fix for 2 vulnerabilities #11655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-TAR-15127355 - https://snyk.io/vuln/SNYK-JS-ESLINT-15102420
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
⛔ 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. |
|
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.
|
WalkthroughThis pull request updates the dependency management strategy for the Bitbucket Server catalog backend module by replacing workspace protocol references with fixed version specifications. Three core Backstage dependencies are pinned to specific versions: backend-common (0.24.1), catalog-model (0.1.1), and plugin-catalog-node (1.0.0). This change transitions from dynamic workspace-based dependency resolution to explicit version pinning, which is typically done when preparing a package for external publication or when establishing strict version compatibility requirements for production deployments. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant BS as Backstage Backend
participant BBM as Bitbucket Server Module
participant CN as Catalog Node
participant BC as Backend Common
participant CM as Catalog Model
participant BBS as Bitbucket Server API
Note over BBM: Dependencies updated to<br/>specific versions in this PR
BS->>BBM: Initialize catalog provider
activate BBM
BBM->>CN: Register as entity provider
BBM->>BC: Use HTTP client utilities
loop Scheduled Discovery
BBM->>BBS: Fetch repositories
BBS-->>BBM: Repository data
BBM->>CM: Parse/validate entities
BBM->>CN: Provide discovered entities
CN-->>BS: Update catalog
end
deactivate BBM
Note over BBM,CN: No behavioral changes<br/>Only dependency versions updated
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. |
Snyk has created this PR to fix 2 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
plugins/catalog-backend-module-bitbucket-server/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-TAR-15127355
SNYK-JS-ESLINT-15102420
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:
🦉 Directory Traversal
EntelligenceAI PR Summary
This PR pins Backstage dependencies to specific versions in the Bitbucket Server catalog backend module, replacing workspace protocol references.
@backstage/backend-commonfromworkspace:^to0.24.1@backstage/catalog-modelfromworkspace:^to0.1.1@backstage/plugin-catalog-nodefromworkspace:^to1.0.0