Skip to content

Fix duplicate js-yaml@5.3.0 entries in pnpm-lock.yaml - #410

Merged
eberle1080 merged 1 commit into
mainfrom
fix/pnpm-lock-duplicate-js-yaml
Sep 15, 2026
Merged

eberle1080 merged 1 commit into
mainfrom
fix/pnpm-lock-duplicate-js-yaml

Conversation

@eberle1080

Copy link
Copy Markdown
Contributor

Summary

  • Remove the duplicate js-yaml@5.3.0 blocks from the packages and snapshots sections of pnpm-lock.yaml. Nothing else changes.

Why

Dependabot's lockfile update in #393 left pnpm-lock.yaml with duplicated YAML mapping keys. pnpm rejects the file:

ERR_PNPM_BROKEN_LOCKFILE  The lockfile is broken: duplicated mapping key (253:3)

Dependabot uses pnpm's lockfile reader, so every rebase attempt on #389 fails with "Dependabot can't parse your pnpm-lock.yaml", and the daily Dependabot run has been failing since #393 merged.

Verification

  • pnpm install --frozen-lockfile --lockfile-only passes on this branch.
  • A non-frozen pnpm install --lockfile-only makes no further changes, so no resolved versions move.
  • package-lock.json is untouched and already in sync with npm.

Follow-up

After merge, comment @dependabot rebase on #389.

🤖 Generated with Claude Code

Dependabot's lockfile update in #393 added a second js-yaml@5.3.0 block
to both the packages and snapshots sections, leaving the file with
duplicated YAML mapping keys. pnpm rejects it with
ERR_PNPM_BROKEN_LOCKFILE, and Dependabot reports "can't parse your
pnpm-lock.yaml" on every rebase attempt (see #389).

Remove the duplicate blocks. Verified with
`pnpm install --frozen-lockfile --lockfile-only`; a non-frozen
lockfile-only install makes no further changes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@eberle1080
eberle1080 merged commit 5111d46 into main Sep 15, 2026
1 check passed
@eberle1080
eberle1080 deleted the fix/pnpm-lock-duplicate-js-yaml branch September 15, 2026 20:19
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.

1 participant