Skip to content

Unblock Dependabot by pinning micromatch’s vulnerable picomatch subdependency - #76

Merged
tomtau merged 2 commits into
masterfrom
copilot/fix-dependabot-job-failure
Sep 27, 2026
Merged

tomtau merged 2 commits into
masterfrom
copilot/fix-dependabot-job-failure

Conversation

Copilot AI commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Dependabot’s security update job could not remediate picomatch because this repo’s Parcel watcher chain resolved micromatch@4.0.5 to vulnerable picomatch@2.3.1, while the first safe 2.x release is 2.3.2. This change makes that transitive resolution explicit so Dependabot can produce a valid update.

  • Dependency resolution

    • Add a pnpm scoped override for micromatch>picomatch to force 2.3.2
    • Keep the fix narrowly targeted to the vulnerable transitive edge instead of changing Parcel or watcher versions
  • Lockfile alignment

    • Mirror the override in pnpm-lock.yaml
    • Update the micromatch@4.0.5 snapshot to resolve picomatch: 2.3.2
    • Replace the old picomatch@2.3.1 lock entry with 2.3.2
  • Result

    • Dependabot can now resolve the affected dependency graph to a non-vulnerable picomatch version
{
  "pnpm": {
    "overrides": {
      "micromatch>picomatch": "2.3.2"
    }
  }
}

@coderabbitai

coderabbitai Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 11de7d76-126e-45a9-abb2-00f094fb12f8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Co-authored-by: tomtau <2410580+tomtau@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix the failing GitHub Actions job Dependabot Unblock Dependabot by pinning micromatch’s vulnerable picomatch subdependency Sep 27, 2026
Copilot AI requested a review from tomtau September 27, 2026 05:25
@tomtau
tomtau requested a balanced review from Copilot and removed request for tomtau September 27, 2026 05:26
@tomtau
tomtau marked this pull request as ready for review September 27, 2026 05:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The manifest and lockfile changes are consistent, narrowly scoped, and remove all picomatch@2.3.1 references.

Review effort: Balanced
Findings: None

What changed in this PR

Pins the vulnerable transitive picomatch dependency used by Parcel’s watcher chain.

Changes:

  • Adds a scoped pnpm override for micromatch>picomatch.
  • Aligns lockfile resolution to picomatch@2.3.2.
File Description
package.json Declares the scoped dependency override.
pnpm-lock.yaml Records the override and updated resolution.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@tomtau
tomtau merged commit b214384 into master Sep 27, 2026
5 of 7 checks passed
@tomtau
tomtau deleted the copilot/fix-dependabot-job-failure branch September 27, 2026 05:44
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