[Snyk] Fix for 4 vulnerabilities#10598
Conversation
…abilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-DIFF-14917201 - https://snyk.io/vuln/SNYK-JS-BACKSTAGEBACKENDPLUGINAPI-15054291 - https://snyk.io/vuln/SNYK-JS-LODASH-15053838 - https://snyk.io/vuln/SNYK-JS-LODASHES-15053836
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
⛔ Snyk checks have failed. 2 issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
|
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 converts the techdocs-cli-embedded-app package from using workspace protocol references to pinned version dependencies for five Backstage packages. The change transitions Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant Dev as Developer
participant PKG as techdocs-cli-embedded-app
participant WS as Workspace Packages
participant NPM as NPM Registry
Note over Dev,NPM: Dependency Version Update Process
Dev->>PKG: Update package.json dependencies
rect rgb(255, 240, 240)
Note over PKG,WS: Before: Using workspace references
PKG->>WS: Depends on workspace:^ versions
Note over WS: @backstage/core-app-api<br/>@backstage/core-components<br/>@backstage/integration-react<br/>@backstage/plugin-techdocs<br/>@backstage/plugin-techdocs-react
end
rect rgb(240, 255, 240)
Note over PKG,NPM: After: Using published versions
PKG->>NPM: Depends on specific versions
Note over NPM: @backstage/core-app-api: 0.1.0<br/>@backstage/core-components: 0.1.0<br/>@backstage/integration-react: 0.1.1<br/>@backstage/plugin-techdocs: 0.1.1<br/>@backstage/plugin-techdocs-react: 0.1.0
end
Dev->>PKG: Run npm/yarn install
PKG->>NPM: Fetch published packages
NPM-->>PKG: Return versioned packages
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 4 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
packages/techdocs-cli-embedded-app/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-DIFF-14917201
SNYK-JS-BACKSTAGEBACKENDPLUGINAPI-15054291
SNYK-JS-LODASH-15053838
SNYK-JS-LODASHES-15053836
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)
🦉 Prototype Pollution
EntelligenceAI PR Summary
This PR converts workspace protocol dependencies to pinned versions in the techdocs-cli-embedded-app package to enable standalone distribution.
@backstage/core-app-apito version 0.1.0@backstage/core-componentsto version 0.1.0@backstage/integration-reactto version 0.1.1@backstage/plugin-techdocsto version 0.1.1@backstage/plugin-techdocs-reactto version 0.1.0