Skip to content

fix(deps): dedupe picomatch@4.0.7 entries in pnpm-lock.yaml - #437

Merged
y1o1 merged 2 commits into
developfrom
fix/pnpm-lock-dedupe
Sep 3, 2026
Merged

fix(deps): dedupe picomatch@4.0.7 entries in pnpm-lock.yaml#437
y1o1 merged 2 commits into
developfrom
fix/pnpm-lock-dedupe

Conversation

@y1o1

@y1o1 y1o1 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

develop's lockfile is broken after the back-to-back rebase-merges of #436 and #434: git text-merged two diffs that each added picomatch@4.0.7, leaving the key duplicated in both the packages: and snapshots: sections. pnpm rejects the file (ERR_PNPM_BROKEN_LOCKFILE: duplicated mapping key), so every pnpm install --frozen-lockfile on develop fails — this is also why #435's post-rebase CI run went red at the install step.

The duplicated blocks are byte-identical; this removes the second occurrence of each, restoring what a proper lockfile merge would have produced.

🤖 Generated with Claude Code

Rebase-merging #436 and #434 back to back let git text-merge two lockfile
diffs that each added picomatch@4.0.7; the result carries the entry twice
in both the packages and snapshots sections, and pnpm rejects the file
outright (ERR_PNPM_BROKEN_LOCKFILE: duplicated mapping key), breaking
every --frozen-lockfile install on develop.

The duplicated blocks are byte-identical, so removing the second
occurrence restores exactly what a proper lockfile merge would have
produced.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 3, 2026 04:21

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.

🟢 Approval recommended

The change cleanly removes duplicated lockfile keys and leaves a single picomatch@4.0.7 entry per section, resolving the broken-lockfile error.

Pull request overview

Fixes a broken pnpm-lock.yaml on develop caused by a text-merge that duplicated the picomatch@4.0.7 mapping keys, which prevents pnpm install --frozen-lockfile from working.

Changes:

  • Removes the duplicate picomatch@4.0.7 entry under the packages: section.
  • Removes the duplicate picomatch@4.0.7 entry under the snapshots: section.
File summaries
File Description
pnpm-lock.yaml Deduplicates picomatch@4.0.7 keys in packages and snapshots to restore a valid lockfile.
Review details

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)

  • pnpm-lock.yaml: Generated file
  • Files reviewed: 0/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

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

A qs advisory published today (DoS via attacker-controlled isBuffer,
GHSA-x5fp-wj9c-mxmx / GHSA-4mjr-xmp4-gh2g, vulnerable <6.16.0) trips the
pnpm audit gate on every branch, via templates/standalone>express>qs.
express's range already admits 6.16.0, so this is a lockfile-only bump.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@y1o1

y1o1 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Added a second commit bumping transitive qs 6.15.3 → 6.16.0: a qs advisory published today (GHSA-x5fp-wj9c-mxmx, DoS, <6.16.0 vulnerable) trips the audit gate on every branch, so the dedupe alone could not go green.

@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.01%. Comparing base (6a07c3b) to head (12485e5).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #437   +/-   ##
========================================
  Coverage    96.01%   96.01%           
========================================
  Files          151      151           
  Lines         5750     5750           
  Branches      1791     1791           
========================================
  Hits          5521     5521           
  Misses         229      229           
Flag Coverage Δ
core 95.72% <ø> (ø)
foundation 100.00% <ø> (ø)
oauth 95.99% <ø> (ø)
session 97.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@y1o1
y1o1 merged commit 346f4dc into develop Sep 3, 2026
4 checks passed
@y1o1
y1o1 deleted the fix/pnpm-lock-dedupe branch September 3, 2026 04:31
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.

2 participants