Skip to content

.Net: Bump axios to 1.16.0 and form-data to 4.0.6 in /dotnet/samples/Demos/ProcessFrameworkWithSignalR#13858

Merged
SergeyMenshykh merged 5 commits into
mainfrom
dependabot/npm_and_yarn/dotnet/samples/Demos/ProcessFrameworkWithSignalR/axios-1.15.0
Jun 25, 2026
Merged

.Net: Bump axios to 1.16.0 and form-data to 4.0.6 in /dotnet/samples/Demos/ProcessFrameworkWithSignalR#13858
SergeyMenshykh merged 5 commits into
mainfrom
dependabot/npm_and_yarn/dotnet/samples/Demos/ProcessFrameworkWithSignalR/axios-1.15.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 11, 2026

Copy link
Copy Markdown
Contributor

Motivation and Context

This update is required to resolve the current Dependabot security alerts for the sample npm manifest in dotnet/samples/Demos/ProcessFrameworkWithSignalR.

Description

Updates the sample manifest to require axios ^1.16.0 and regenerates the lockfile so the resolved dependency set includes:

  • axios 1.16.0
  • form-data 4.0.6
  • compatible transitive updates such as follow-redirects 1.16.0

These changes keep the scope limited to the sample's package.json and package-lock.json while clearing the reported npm audit findings for this manifest.

Contribution Checklist

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [axios](https://github.com/axios/axios) from 1.12.0 to 1.15.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.12.0...v1.15.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.15.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file. Used by Dependabot. javascript Pull requests that update javascript code labels Apr 11, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated Code Review

Reviewers: 4 | Confidence: 95%

✓ Correctness

This PR is a straightforward dependency version bump of axios from ^1.12.0 to ^1.15.0 in a demo sample's root package.json and its corresponding package-lock.json. The lockfile is internally consistent: resolved versions, integrity hashes, and transitive dependency ranges (follow-redirects ^1.15.11, form-data ^4.0.5, proxy-from-env ^2.1.0) all match what axios 1.15.0 declares. The proxy-from-env jump from 1.1.0 to 2.1.0 is a major-version change in a transitive dependency, but it is driven by axios's own updated peer spec and the API surface used by axios is unchanged. No correctness issues found.

✓ Security Reliability

This PR bumps axios from 1.12.0 to 1.15.0 in a sample demo project, along with updated transitive dependencies (follow-redirects, form-data, proxy-from-env). All integrity hashes are present in the lockfile and the versions are consistent between package.json and package-lock.json. No security or reliability concerns identified.

✓ Test Coverage

This PR is a straightforward npm dependency version bump (axios 1.12.0 → 1.15.0) in a dotnet sample demo project (ProcessFrameworkWithSignalR). Only package.json and package-lock.json are modified. No application logic, no new features, and no behavioral changes are introduced, so there is no new or changed behavior that requires test coverage. The transitive dependencies (follow-redirects, form-data, proxy-from-env) are also updated to compatible versions. No test coverage concerns apply here.

✓ Design Approach

This PR bumps axios from ^1.12.0 to ^1.15.0 in a demo project, pulling in updated transitive dependencies: follow-redirects 1.15.9→1.15.11 (security patches), form-data 4.0.4→4.0.5, and proxy-from-env 1.1.0→2.1.0. The major version jump in proxy-from-env (v1→v2) is driven by axios 1.15.0's own dependency requirement (^2.1.0) and is not a concern at this layer — axios controls that boundary. The lock file accurately reflects the resolved dependency graph for the new version range. There are no design-level problems: the change is a straightforward, justified dependency update with no leaky abstractions, fragile assumptions, or symptom-masking.

Suggestions

  • The inner React frontend at src/ProcessFramework.Aspire.SignalR.ReactFrontend/package.json still lists axios at ^1.7.9. Consider updating it in the same PR for consistency.

Automated review by dependabot[bot]'s agents

@moonbox3

Copy link
Copy Markdown
Collaborator

@copilot: update this PR to bump axios to 1.16.0 instead of 1.15.0 in dotnet/samples/Demos/ProcessFrameworkWithSignalR/package-lock.json. Also bump form-data to 4.0.6 in the same manifest if the resolver allows it. Current Dependabot alerts for this manifest require axios>=1.16.0 and form-data>=4.0.6.

Copilot AI review requested due to automatic review settings June 17, 2026 06:19
Copilot AI requested a review from a team as a code owner June 17, 2026 06:19
@dependabot dependabot Bot removed the request for review from Copilot June 17, 2026 06:19

Copilot AI commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

@copilot: update this PR to bump axios to 1.16.0 instead of 1.15.0 in dotnet/samples/Demos/ProcessFrameworkWithSignalR/package-lock.json. Also bump form-data to 4.0.6 in the same manifest if the resol...

Addressed in 42ba327.

Copilot AI changed the title Bump axios from 1.12.0 to 1.15.0 in /dotnet/samples/Demos/ProcessFrameworkWithSignalR Bump axios to 1.16.0 and form-data to 4.0.6 in /dotnet/samples/Demos/ProcessFrameworkWithSignalR Jun 17, 2026
Copilot AI requested a review from moonbox3 June 17, 2026 06:20
@moonbox3 moonbox3 added the .NET Issue or Pull requests regarding .NET code label Jun 23, 2026
@github-actions github-actions Bot changed the title Bump axios to 1.16.0 and form-data to 4.0.6 in /dotnet/samples/Demos/ProcessFrameworkWithSignalR .Net: Bump axios to 1.16.0 and form-data to 4.0.6 in /dotnet/samples/Demos/ProcessFrameworkWithSignalR Jun 23, 2026
Copilot AI review requested due to automatic review settings June 25, 2026 08:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the npm dependency set for the ProcessFrameworkWithSignalR .NET sample to address Dependabot security alerts by bumping axios and refreshing the lockfile so patched transitive versions are resolved.

Changes:

  • Bump axios dependency from ^1.12.0 to ^1.16.0 in the sample package.json.
  • Regenerate package-lock.json to resolve updated versions of axios and transitive dependencies (including form-data and follow-redirects).
  • Update lockfile metadata (notably the top-level name) as a side-effect of regeneration.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
dotnet/samples/Demos/ProcessFrameworkWithSignalR/package.json Updates the sample’s direct npm dependency on axios.
dotnet/samples/Demos/ProcessFrameworkWithSignalR/package-lock.json Refreshes the resolved dependency graph to include updated/patched transitive packages.
Files not reviewed (1)
  • dotnet/samples/Demos/ProcessFrameworkWithSignalR/package-lock.json: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread dotnet/samples/Demos/ProcessFrameworkWithSignalR/package.json
Comment thread dotnet/samples/Demos/ProcessFrameworkWithSignalR/package-lock.json
@SergeyMenshykh SergeyMenshykh added this pull request to the merge queue Jun 25, 2026
Merged via the queue into main with commit cf9af8b Jun 25, 2026
18 checks passed
@SergeyMenshykh SergeyMenshykh deleted the dependabot/npm_and_yarn/dotnet/samples/Demos/ProcessFrameworkWithSignalR/axios-1.15.0 branch June 25, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file. Used by Dependabot. javascript Pull requests that update javascript code .NET Issue or Pull requests regarding .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants