chore(deps): fix npm Dependabot alerts via pnpm overrides#626
Merged
Conversation
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>
Contributor
There was a problem hiding this comment.
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.overridesentries forform-data,picomatch(2.x),lodash-es, andbrace-expansion(1.x and 2.x). - Update
pnpm-lock.yamlto 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.
sea-snake
approved these changes
Apr 2, 2026
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.
Summary
form-data<4.0.4→^4.0.4— critical (chore: add CI job validating generated did bindings #89): unsafe random function for boundarypicomatch>=2.0.0 <2.3.2→2.3.2— high (feat: add orbit station metrics #212) + medium (feat: expose detailed policy evaluation results to users #213): ReDoS and method injectionlodash-es<4.18.0→^4.18.1— high (feat: add verified actor option to canister calls #215) + medium (feat: harden wallet initialization #216): code injection and prototype pollutionbrace-expansion^1→1.1.13— medium (feat: record active user sessions #214): process hang via zero-step sequencebrace-expansion^2→2.0.3— medium (feat: add dynamic metrics service discovery #211): same vulnerabilityNotes
rustls-webpki0.102.8) remains open — it is constrained byic-agent@0.38.2and requires anic-agentmajor version upgrade to resolveyaml) was already resolved by chore(deps): bump dependencies to address Dependabot security alerts #618 and can be closedTest plan
pnpm installcompletes successfullyform-data@4.0.1/4.0.2,picomatch@2.3.1,lodash-es@4.17.21,brace-expansion@1.1.12/2.0.2)🤖 Generated with Claude Code