Skip to content

fix(keyring-eth-ledger-bridge): stop using pinned version - #616

Merged
ccharly merged 3 commits into
mainfrom
cc/fix/pinned-version
Aug 5, 2026
Merged

fix(keyring-eth-ledger-bridge): stop using pinned version#616
ccharly merged 3 commits into
mainfrom
cc/fix/pinned-version

Conversation

@ccharly

@ccharly ccharly commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Not sure why, but this version got pinned, which makes it much hard to dedupe valid version ranges.

Also updated our yarn.config.cjs to prevent this from happening again.


Note

Low Risk
Dependency and tooling-only changes with no application logic edits; the main effect is resolving a newer compatible @ledgerhq/context-module via the lockfile.

Overview
Replaces the accidentally pinned @ledgerhq/context-module dependency (2.1.0) in @metamask/eth-ledger-bridge-keyring with ^2.1.0, so Yarn can align it with other compatible ranges in the monorepo. The lockfile refresh pulls @ledgerhq/context-module@2.3.1 (still satisfying ^2.1.0).

Adds a Yarn constraints check (expectNoPinnedExternalDependencies) that fails on exact external versions in dependencies / devDependencies, with an empty PINNED_VERSION_EXCEPTIONS list for intentional pins. The unreleased changelog notes the dependency change.

Reviewed by Cursor Bugbot for commit 5801acd. Bugbot is set up for automated code reviews on this repo. Configure here.

@socket-security

socket-security Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​ledgerhq/​context-module@​2.1.0 ⏵ 2.3.197 +1100100 +1100100

View full report

@ccharly
ccharly marked this pull request as ready for review August 5, 2026 10:52
@ccharly
ccharly requested a review from a team as a code owner August 5, 2026 10:52
@ccharly
ccharly enabled auto-merge August 5, 2026 11:02

@mathieuartu mathieuartu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice!!

@ccharly
ccharly added this pull request to the merge queue Aug 5, 2026
Merged via the queue into main with commit d7d5125 Aug 5, 2026
24 checks passed
@ccharly
ccharly deleted the cc/fix/pinned-version branch August 5, 2026 14: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.

2 participants