Repository navigation
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> (cherry picked from commit 5cd3f44)
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Two critical findings remain because the global minimatch override removes required older versions and may break build and lint tooling.
2 open issues
3 files not reviewed
component-starter-server/src/main/frontend/package-lock.json: Generated filecomponent-tools-webapp/src/main/frontend/package-lock.json: Generated filedocumentation/src/main/frontend/package-lock.json: Generated file
What changed in this PR
Updates frontend npm dependency overrides and lockfiles to address reported isomorphic-git and minimatch security alerts across the documentation, component tools webapp, and component starter server modules, and documents the remediation workflow.
Changes:
- Overrides documentation’s
isomorphic-gitdependency and resolves it to a secure 1.x release. - Updates
minimatchto11.0.8with a scopedbrace-expansion5.0.13override in the webapp and starter-server frontends. - Regenerates frontend lockfiles and documents the npm CVE handling and validation procedure.
| File | Description |
|---|---|
| repository-knowledge.md | Documents the npm CVE remediation, dependency pinning, validation, and testing workflow. |
| documentation/src/main/frontend/package-template.json | Adds the secure isomorphic-git dependency override for documentation builds. |
| documentation/src/main/frontend/package-lock.json | Locks isomorphic-git and its updated transitive dependency tree. |
| component-tools-webapp/src/main/frontend/package.json | Contains the generated webapp dependency overrides for minimatch and brace-expansion. |
| component-tools-webapp/src/main/frontend/package-template.json | Defines the webapp minimatch 11 and scoped brace-expansion 5 overrides for Maven regeneration. |
| component-tools-webapp/src/main/frontend/package-lock.json | Locks the webapp’s updated minimatch dependency graph. |
| component-starter-server/src/main/frontend/package.json | Contains the generated starter-server dependency overrides for minimatch and brace-expansion. |
| component-starter-server/src/main/frontend/package-template.json | Defines the starter-server minimatch 11 and scoped brace-expansion 5 overrides for Maven regeneration. |
| component-starter-server/src/main/frontend/package-lock.json | Locks the starter-server’s updated minimatch dependency graph. |
Review effort: Lite
Comment on lines
+58
to
+61
| "minimatch": { | ||
| ".": "^11.0.8", | ||
| "brace-expansion": "^5.0.13" | ||
| }, |
Comment on lines
+59
to
+62
| "minimatch": { | ||
| ".": "^11.0.8", | ||
| "brace-expansion": "^5.0.13" | ||
| }, |
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage (62.30% Estimated after merge)
Requirements
Why this PR is needed?
Fixes open Dependabot npm alerts:
What does this PR adds?
documentation: overrideisomorphic-git^1.38.10(resolves 1.44.15).component-starter-server/component-tools-webapp: overrideminimatch^11.0.8with a scopedbrace-expansion^5.0.13(minimatch 11 needs brace-expansion 5; the global^2override breaks the build).package.json/package-lock.jsonregenerated bymvn package.repository-knowledge.md: documents the npm CVE handling procedure (template edit,mvn package,npm audit,^pinning, Zephyr test cycle).Validation:
mvn package -pl component-tools-webapp,component-starter-server→ BUILD SUCCESS (tests pass)npm auditin the frontends: minimatch no longer reported; only the unfixable deepmerge remains. Documentation: 0 vulnerabilities.