Skip to content

chore(deps): fix npm Dependabot alerts via pnpm overrides#626

Merged
aterga merged 1 commit intomainfrom
fix/dependabot-alerts-npm
Apr 2, 2026
Merged

chore(deps): fix npm Dependabot alerts via pnpm overrides#626
aterga merged 1 commit intomainfrom
fix/dependabot-alerts-npm

Conversation

@aterga
Copy link
Copy Markdown
Contributor

@aterga aterga commented Apr 2, 2026

Summary

Notes

Test plan

  • pnpm install completes successfully
  • Lockfile no longer contains vulnerable versions (form-data@4.0.1/4.0.2, picomatch@2.3.1, lodash-es@4.17.21, brace-expansion@1.1.12/2.0.2)
  • CI pipeline passes

🤖 Generated with Claude Code

Add pnpm overrides for vulnerable transitive dependencies:
- form-data <4.0.4 → ^4.0.4 (critical, #89)
- picomatch >=2.0.0 <2.3.2 → 2.3.2 (high, #212/#213)
- lodash-es <4.18.0 → ^4.18.1 (high/medium, #215/#216)
- brace-expansion ^1 → 1.1.13 (medium, #214)
- brace-expansion ^2 → 2.0.3 (medium, #211)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@aterga aterga requested a review from a team as a code owner April 2, 2026 09:51
@aterga aterga requested a review from Copilot April 2, 2026 09:51
Copy link
Copy Markdown
Contributor

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 addresses Dependabot security alerts for vulnerable transitive npm dependencies by adding pnpm.overrides in the root package.json and updating the pnpm-lock.yaml so the resolved dependency graph uses patched versions.

Changes:

  • Add pnpm.overrides entries for form-data, picomatch (2.x), lodash-es, and brace-expansion (1.x and 2.x).
  • Update pnpm-lock.yaml to resolve patched versions and remove the vulnerable transitive versions from the lockfile.

Reviewed changes

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

File Description
package.json Adds new pnpm.overrides rules to force patched transitive dependency versions.
pnpm-lock.yaml Updates resolved versions to match the overrides (e.g., form-data, picomatch, lodash-es, brace-expansion).
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

@aterga aterga requested a review from sea-snake April 2, 2026 10:26
@aterga aterga merged commit 3fcf5cf into main Apr 2, 2026
33 checks passed
@aterga aterga deleted the fix/dependabot-alerts-npm branch April 2, 2026 10:47
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