Skip to content

chore(deps): fix all open dependabot security alerts#39

Merged
jonathannorris merged 3 commits intomainfrom
chore/fix-dependabot-alerts
Mar 17, 2026
Merged

chore(deps): fix all open dependabot security alerts#39
jonathannorris merged 3 commits intomainfrom
chore/fix-dependabot-alerts

Conversation

@jonathannorris
Copy link
Member

Summary

  • Upgrade @actions/cache (^3.2.2^5.0.5) and @actions/core (^1.10.1^2.0.3) to resolve 4 undici CVEs via @actions/http-client@3.0.2
  • Add yarn resolutions for tar (>=7.5.11) and minimatch (>=3.1.4) to fix 8 transitive dependency vulnerabilities
  • Bump @vercel/ncc to ^0.38.4
  • Add Yarn PnP artifacts to .gitignore

Details

Resolves all 12 open dependabot alerts:

Package Alerts Severity Fix
undici 4 2 high, 2 medium Upgraded to 6.24.1 via @actions/http-client@3.0.2
tar 2 2 high Resolution to >=7.5.11
minimatch 6 6 high Resolution to >=3.1.4 (resolves to 10.2.4)

Note: @actions/cache@6.0.0 and @actions/core@3.0.0 are ESM-only, which is incompatible with the CJS index.js and ncc build. Used the latest CJS-compatible majors (v5 / v2) instead — these still pull in patched undici via @actions/http-client@3.0.2.

Upgrade @actions/cache (^3.2.2 -> ^5.0.5) and @actions/core (^1.10.1 -> ^2.0.3)
to pull in @actions/http-client@3.0.2 with undici@^6.23.0, resolving 4 undici CVEs.

Add yarn resolutions for tar (>=7.5.11) and minimatch (>=3.1.4) to fix 8 additional
transitive dependency vulnerabilities.

Also bumps @vercel/ncc to ^0.38.4.
@jonathannorris jonathannorris requested a review from a team as a code owner March 15, 2026 02:46
Copilot AI review requested due to automatic review settings March 15, 2026 02:46
Copy link

Copilot AI left a comment

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 GitHub Action’s Node dependencies (and the bundled dist/ artifacts produced via ncc) to address Dependabot security alerts, primarily by pulling patched versions of undici, tar, and minimatch.

Changes:

  • Upgraded @actions/cache, @actions/core, and @vercel/ncc (and updated yarn.lock accordingly).
  • Added Yarn resolutions for tar and minimatch to address transitive vulnerability alerts.
  • Updated generated dist/ license output and sourcemap register bundle, plus ignored Yarn PnP artifacts in .gitignore.

Reviewed changes

Copilot reviewed 1 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
package.json Upgrades primary deps and adds resolutions for vulnerable transitive packages.
yarn.lock Locks the upgraded dependency tree, including updated undici and Azure/toolkit packages.
dist/sourcemap-register.js Regenerated build artifact from ncc output.
dist/licenses.txt Regenerated third-party license bundle reflecting updated transitive deps/licenses.
.gitignore Ignores Yarn PnP artifacts (.pnp.*, .yarn/cache/).

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

You can also share your feedback on Copilot code review. Take the survey.

Scope minimatch resolutions to ^3.1.5 for v3 consumers and ^9.0.7 for
v9 consumers instead of a global >=3.1.4, avoiding a major version
jump and license change.
@jonathannorris jonathannorris merged commit a68d4dd into main Mar 17, 2026
2 of 3 checks passed
@jonathannorris jonathannorris deleted the chore/fix-dependabot-alerts branch March 17, 2026 20:41
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.

3 participants