Repository navigation
Conversation
…y vulnerabilities Rebuild dist bundle with patched dependencies. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Overview
This PR resolves high-severity Dependabot alerts in action-deployment-notifications. It updates three nested runtime dependencies (
axios,follow-redirects, andundici), 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→undiciWhat Changed in package-lock.json
Updated via
npm update axios follow-redirects undici --package-lock-only. Resolved versions:axios's declared ranges moved:follow-redirects:^1.16.0→^1.16.2form-data:^4.0.5→^4.0.6The already-locked
form-data@4.0.6satisfies the new range, so no other packages changed.Functional Changes
None in source.
dist/main/index.jswas regenerated withnpm run packbecause these packages are part of the shipped action bundle.action.ymlrunsdist/main/index.js, so the patched code is only active once the bundle is rebuilt.Manual Testing
npm ciclean install succeeds.npm ls axios follow-redirects undici→axios@1.21.1,follow-redirects@1.16.3,undici@6.29.1.npm run buildpasses.npm run lintpasses.npm test: all tests pass.npm run all(build, lint, test, pack) passes.npm audit --omit=devreports 0 vulnerabilities.npm auditacross all dependencies reports 0 high or critical findings.1.21.1) and follow-redirects code.References
-https://github.com/github/npm/issues/16162