-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Security upgrade swagger-ui-react from 5.0.0 to 5.17.12 #7301
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
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-DOMPURIFY-7984421
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. |
|
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 ScannerStatus: No security vulnerabilities found Your code passed our comprehensive security analysis. |
WalkthroughThis pull request updates the swagger-ui-react dependency in the api-docs plugin from version ^5.0.0 to ^5.17.12. This represents a minor version update within the v5 major version range, bringing the package up to a more recent release. The update likely includes accumulated bug fixes, security patches, and potential new features from the Swagger UI React library while maintaining backward compatibility with the existing v5 API. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant User
participant ApiDocsPlugin as API Docs Plugin
participant SwaggerUI as Swagger UI React (v5.17.12)
participant APISpec as API Specification
User->>ApiDocsPlugin: Navigate to API docs page
activate ApiDocsPlugin
ApiDocsPlugin->>APISpec: Fetch API specification
activate APISpec
APISpec-->>ApiDocsPlugin: Return OpenAPI/Swagger spec
deactivate APISpec
ApiDocsPlugin->>SwaggerUI: Initialize with spec & config
activate SwaggerUI
Note over SwaggerUI: Upgraded from v5.0.0<br/>to v5.17.12
SwaggerUI->>SwaggerUI: Parse API specification
SwaggerUI->>SwaggerUI: Render interactive UI
SwaggerUI-->>ApiDocsPlugin: UI rendered
deactivate SwaggerUI
ApiDocsPlugin-->>User: Display API documentation
deactivate ApiDocsPlugin
User->>SwaggerUI: Interact with API endpoints
activate SwaggerUI
SwaggerUI-->>User: Show endpoint details & try-it-out
deactivate SwaggerUI
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 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
plugins/api-docs/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-DOMPURIFY-7984421
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:
🦉 Prototype Pollution
EntelligenceAI PR Summary
Updates the swagger-ui-react dependency to a more recent minor version in the api-docs plugin.