Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump @metamask/eth-ledger-bridge-keyring to ^5.0.1 #27688

Merged
merged 12 commits into from
Nov 12, 2024

Conversation

mikesposito
Copy link
Member

@mikesposito mikesposito commented Oct 8, 2024

Description

This PR bumps the @metamask/eth-ledger-bridge-keyring dependency to ^5.0.1.

Open in GitHub Codespaces

Related issues

Unblocks: #26840

Manual testing steps

This changes directly impacts Ledger devices:

  1. Add one or more ledger accounts
  2. Sign message
  3. Sign typed data
  4. Sign transaction
  5. Remove Ledger accounts

Screenshots/Recordings

Before

After

Add account and sign

Ledger_sign.mp4

Forget device

Ledger_forget.mp4

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@mikesposito mikesposito changed the title chore: update ledger keyring chore(deps): update ledger keyring to ^5.0.0 Oct 8, 2024
Copy link

socket-security bot commented Oct 8, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@metamask/eth-ledger-bridge-keyring@5.0.1 None 0 156 kB metamaskbot
npm/follow-redirects@1.15.9 network 0 29.9 kB rubenverborgh

🚮 Removed packages: npm/@metamask/eth-ledger-bridge-keyring@3.0.1, npm/follow-redirects@1.15.6

View full report↗︎

Copy link

socket-security bot commented Oct 8, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@mikesposito

This comment was marked as outdated.

@metamaskbot

This comment was marked as outdated.

@mikesposito
Copy link
Member Author

@metamaskbot update-policies

@mikesposito mikesposito changed the title chore(deps): update ledger keyring to ^5.0.0 chore(deps): update ledger keyring to ^5.0.1 Oct 8, 2024
@metamaskbot
Copy link
Collaborator

Policy update failed. You can review the logs or retry the policy update here

Copy link

sonarcloud bot commented Oct 9, 2024

@metamaskbot
Copy link
Collaborator

Builds ready [4275009]
Page Load Metrics (1994 ± 104 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint39526181918416200
domContentLoaded165725591978216104
load170025651994216104
domInteractive298150199
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.48 MiB (37.81%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@mikesposito mikesposito force-pushed the mikesposito/update-ledger branch from 4275009 to 292b707 Compare November 6, 2024 11:45
@metamaskbot
Copy link
Collaborator

Builds ready [292b707]
Page Load Metrics (1926 ± 69 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint36423131852373179
domContentLoaded17022264189113766
load17162311192614469
domInteractive28101522210
backgroundConnect8102402713
firstReactRender48149892613
getState48316199
initialActions00000
loadScripts12151605137410852
setupStore106525178
uiStartup19212502213914670
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.48 MiB (33.20%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [77d1ffa]
Page Load Metrics (1828 ± 104 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint37625951696462222
domContentLoaded16132308177414971
load165726781828217104
domInteractive27270625124
backgroundConnect11374497838
firstReactRender46204854321
getState4112242713
initialActions01000
loadScripts11741672131310651
setupStore10102362613
uiStartup180231992054303146
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.48 MiB (33.20%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@mikesposito mikesposito marked this pull request as ready for review November 6, 2024 16:08
@mikesposito mikesposito requested review from a team as code owners November 6, 2024 16:08
@mikesposito mikesposito requested a review from a team November 6, 2024 16:11
@mikesposito mikesposito changed the title chore(deps): update ledger keyring to ^5.0.1 chore(deps): @metamask/eth-ledger-bridge-keyring to ^5.0.1 Nov 6, 2024
@mikesposito mikesposito changed the title chore(deps): @metamask/eth-ledger-bridge-keyring to ^5.0.1 chore(deps): bump @metamask/eth-ledger-bridge-keyring to ^5.0.1 Nov 6, 2024
Copy link
Member Author

Choose a reason for hiding this comment

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

This patch is needed because Lavamoat is unable to walk the dependency tree with subpath imports when the package ships esm and cjs versions

Copy link
Member Author

Choose a reason for hiding this comment

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

This patch is needed because Lavamoat is unable to walk the dependency tree with subpath imports when the package ships esm and cjs versions

Comment on lines +254 to +257
"@ledgerhq/cryptoassets-evm-signatures/axios": "^0.28.0",
"@ledgerhq/domain-service/axios": "^0.28.0",
"@ledgerhq/evm-tools/axios": "^0.28.0",
"@ledgerhq/hw-app-eth/axios": "^0.28.0",
Copy link
Member Author

Choose a reason for hiding this comment

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

Socket security advisory

@metamaskbot
Copy link
Collaborator

Builds ready [9de63e3]
Page Load Metrics (1813 ± 59 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint15852134182713364
domContentLoaded15692062178411656
load15832084181312359
domInteractive2399492110
backgroundConnect1392362311
firstReactRender553071146431
getState66720209
initialActions01000
loadScripts11331551131810751
setupStore54912126
uiStartup17742485206918388
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.48 MiB (33.20%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

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

Looks good!

@metamaskbot
Copy link
Collaborator

Builds ready [fd893e5]
Page Load Metrics (2064 ± 147 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint49027631975458220
domContentLoaded167727482038301144
load168827572064306147
domInteractive25222725325
backgroundConnect895292311
firstReactRender89164109157
getState55615178
initialActions00000
loadScripts122021641527262126
setupStore57815199
uiStartup190029752287325156
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.48 MiB (33.20%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@DDDDDanica
Copy link
Contributor

LGTM !

@metamaskbot
Copy link
Collaborator

Builds ready [ac579f8]
Page Load Metrics (2259 ± 120 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint39727852074604290
domContentLoaded186127382215254122
load189227832259250120
domInteractive28171633215
backgroundConnect8100493216
firstReactRender572991365225
getState66924189
initialActions01000
loadScripts136121451653215103
setupStore687202110
uiStartup208330802528276132
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.48 MiB (33.20%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@mikesposito mikesposito added this pull request to the merge queue Nov 12, 2024
Merged via the queue into develop with commit 7b3f951 Nov 12, 2024
76 checks passed
@mikesposito mikesposito deleted the mikesposito/update-ledger branch November 12, 2024 23:55
@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2024
@metamaskbot metamaskbot added the release-12.8.0 Issue or pull request that will be included in release 12.8.0 label Nov 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.8.0 Issue or pull request that will be included in release 12.8.0 team-wallet-framework
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants