-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Security upgrade @backstage/core-plugin-api from 0.0.0-use.local to 0.1.0 #9467
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
…nerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-NODEFORGE-14114940 - https://snyk.io/vuln/SNYK-JS-NODEFORGE-14125745
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Entelligence AI Vulnerability ScannerStatus: No security vulnerabilities found Your code passed our comprehensive security analysis. |
WalkthroughThis pull request updates the dependency management for the GitLab CI/CD statistics plugin by changing how it references the Backstage core plugin API. The modification replaces the workspace protocol reference with a fixed version number (0.1.0), effectively pinning the dependency to a specific version. This change transitions from using a local workspace version to an explicit version declaration, which typically indicates preparation for package publishing, improved dependency isolation, or resolution of version compatibility concerns. The change will affect how the plugin resolves and installs its core API dependency during the build process. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant Dev as Developer
participant Package as cicd-statistics-module-gitlab
participant CoreAPI as @backstage/core-plugin-api
participant Registry as NPM Registry
Note over Package,CoreAPI: Dependency Version Change
Dev->>Package: Update package.json
Note over Package: Change dependency from<br/>workspace:^ to 0.1.0
alt Build with workspace reference (before)
Package->>CoreAPI: Import from local workspace
CoreAPI-->>Package: Use local development version
else Build with fixed version (after)
Package->>Registry: Request @backstage/core-plugin-api@0.1.0
Registry-->>Package: Return published package v0.1.0
Package->>CoreAPI: Import from npm package
CoreAPI-->>Package: Use fixed version 0.1.0
end
Note over Package,CoreAPI: Plugin now uses pinned version<br/>instead of workspace reference
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 2 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
plugins/cicd-statistics-module-gitlab/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-NODEFORGE-14114940
SNYK-JS-NODEFORGE-14125745
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:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.
EntelligenceAI PR Summary
This PR pins the Backstage core plugin API dependency to a specific version in the GitLab CI/CD statistics plugin.
@backstage/core-plugin-apidependency fromworkspace:^to0.1.0in package.json