fix: resolve dependabot alerts #450
Open
Shubhangi-Microsoft wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request aims to resolve a Dependabot alert by updating the resolved version of http-proxy-middleware used by the src/App React app.
Changes:
- Added an
overridesentry insrc/App/package.jsonto forcehttp-proxy-middlewareto2.0.10. - Updated the
src/App/package-lock.jsonentry fornode_modules/http-proxy-middlewareto2.0.10(resolved URL + integrity).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/App/package.json | Pins http-proxy-middleware via overrides to address the alert (note: not a direct dependency update). |
| src/App/package-lock.json | Updates the lockfile’s resolved http-proxy-middleware package metadata to 2.0.10. |
Files not reviewed (1)
- src/App/package-lock.json: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
This PR resolves Dependabot alert by forcing the transitive dependency http-proxy-middleware (via react-scripts → webpack-dev-server) to the patched 2.0.10 using an overrides entry in package.json, and regenerating package-lock.json accordingly. It is intentionally an override/pin of a transitive package, not a direct dependencies change.
Dependency update:
http-proxy-middlewarefrom version 2.0.9 to 2.0.10 in bothpackage.jsonandpackage-lock.jsonto keep dependencies up to date. [1] [2]This pull request updates thehttp-proxy-middlewaredependency to version 2.0.10 in bothpackage.jsonandpackage-lock.json. This ensures the project uses the latest compatible version of the package.Dependency update:
http-proxy-middlewarefrom version 2.0.9 to 2.0.10 inpackage.jsonandpackage-lock.jsonto incorporate the latest fixes and improvements. [1] [2]…3vj, alert docs: Improve formatting and clarity in DeploymentGuide.md #166)Purpose
Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information