Skip to content

fix: update axios, follow-redirects, and undici to patch high severit… - #25

Open
v-arunag wants to merge 1 commit into
mainfrom
fix/high-severity-dependencies
Open

v-arunag wants to merge 1 commit into
mainfrom
fix/high-severity-dependencies

Conversation

@v-arunag

@v-arunag v-arunag commented Nov 10, 2026 •

Copy link
Copy Markdown

Overview

This PR resolves high-severity Dependabot alerts in action-deployment-notifications. It updates three nested runtime dependencies (axios, follow-redirects, and undici), refreshes the lockfile, and rebuilds the shipped action bundle. No source files changed.

What Changed in package.json

None. All three packages are nested runtime dependencies, and the existing version ranges already allow the patched versions:

  • @slack/web-api → axios → follow-redirects
  • @actions/core / @actions/github → undici

What Changed in package-lock.json

Updated via npm update axios follow-redirects undici --package-lock-only. Resolved versions:

Package From To
axios 1.18.1 1.21.1
follow-redirects 1.16.0 1.16.3
undici 6.28.1 6.29.1

axios's declared ranges moved:

  • follow-redirects: ^1.16.0 → ^1.16.2
  • form-data: ^4.0.5 → ^4.0.6

The already-locked form-data@4.0.6 satisfies the new range, so no other packages changed.

Functional Changes

None in source. dist/main/index.js was regenerated with npm run pack because these packages are part of the shipped action bundle. action.yml runs dist/main/index.js, so the patched code is only active once the bundle is rebuilt.

Manual Testing

  • npm ci clean install succeeds.
  • npm ls axios follow-redirects undici → axios@1.21.1, follow-redirects@1.16.3, undici@6.29.1.
  • npm run build passes.
  • npm run lint passes.
  • npm test: all tests pass.
  • Pre-commit npm run all (build, lint, test, pack) passes.
  • npm audit --omit=dev reports 0 vulnerabilities.
  • npm audit across all dependencies reports 0 high or critical findings.
  • The rebuilt bundle contains the patched axios (1.21.1) and follow-redirects code.

References

-https://github.com/github/npm/issues/16162

…y vulnerabilities

Rebuild dist bundle with patched dependencies.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant