-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Fix for 2 vulnerabilities #11663
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
…lnerabilities 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 passed. No 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 dependency management strategy for the catalog-backend-module-openapi plugin by replacing workspace protocol references with explicit version numbers for four Backstage packages. The changes pin @backstage/backend-common to 0.24.1, @backstage/config to 0.1.1, @backstage/plugin-catalog-backend to 2.0.0, and @backstage/plugin-catalog-common to 0.1.0. This transition from workspace-based dependency resolution to fixed versions suggests preparation for package publication or a move toward more stable dependency management outside of a monorepo context. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant PM as Package Manager
participant PJ as package.json
participant WS as Workspace Registry
participant NPM as NPM Registry
participant Deps as Dependencies
Note over PM,NPM: Dependency Resolution Process
PM->>PJ: Read package.json
PJ-->>PM: Return dependency list
Note over PM,Deps: Before: workspace:^ references
alt Workspace Reference (OLD)
PM->>WS: Resolve workspace:^ dependencies
WS-->>PM: Return local workspace versions
PM->>Deps: Install from workspace
else Fixed Version (NEW)
PM->>NPM: Resolve fixed version dependencies
Note right of NPM: @backstage/backend-common@0.24.1<br/>@backstage/config@0.1.1<br/>@backstage/plugin-catalog-backend@2.0.0<br/>@backstage/plugin-catalog-common@0.1.0
NPM-->>PM: Return specific versions
PM->>Deps: Install from NPM registry
end
Note over PM,Deps: Result: Pinned dependency versions
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-openapi/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 transitions the catalog-backend-module-openapi plugin from workspace protocol dependencies to pinned version numbers.