-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
fix: resolve secp256k1 to latest version #28000
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Removed dependencies detected. Learn more about Socket for GitHub ↗︎ 🚮 Removed packages: npm/secp256k1@4.0.3 |
9092948
to
94787e2
Compare
@metamaskbot update-policies |
Policies updated. 🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff |
@@ -264,7 +264,8 @@ | |||
"@metamask/network-controller@npm:^17.0.0": "patch:@metamask/network-controller@npm%3A21.0.0#~/.yarn/patches/@metamask-network-controller-npm-21.0.0-559aa8e395.patch", | |||
"@metamask/network-controller@npm:^19.0.0": "patch:@metamask/network-controller@npm%3A21.0.0#~/.yarn/patches/@metamask-network-controller-npm-21.0.0-559aa8e395.patch", | |||
"@metamask/network-controller@npm:^20.0.0": "patch:@metamask/network-controller@npm%3A21.0.0#~/.yarn/patches/@metamask-network-controller-npm-21.0.0-559aa8e395.patch", | |||
"path-to-regexp": "1.9.0" | |||
"path-to-regexp": "1.9.0", | |||
"secp256k1": "4.0.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, this also tries to pin the 3.x versions, which should go to 3.8.1
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@legobeat yarn why
didn't highlight any cases of 3.x versions for extension. Do you recommend being more explicit about the resolution for each sub-dependency to avoid too wide of a scope in the event that other deps using v3 are introduced?
Builds ready [6ff4f08]
Page Load Metrics (1864 ± 58 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (unless the answer to the question from Nic to lego changes my understanding of what exactly needs to be pinned here)
@legobeat yes, looks like your pull request covers all the relevant changes here. Thanks! |
Description
This pull request resolves the secp256k1 library to the latest version. Currently we use a variety of versions under 4.0.x, this would unify them under 4.0.4.
This is the state of the library before this resolution - as you can see, only patch changes will apply.
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist