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

Replace @noble/ed25519 and @noble/secp256k1 with @noble/curves #154

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Oct 8, 2023

This replaces @noble/ed25519 and @noble/secp256k1 with the alternative @noble/curves package. The ed25519 and secp256k1 packages have a new major version with doesn't work with CJS, and since the majority of our stack relies on CJS, we can't upgrade to them. The README for these packages mentions @noble/curves as a "safer and faster" replacement:

[...] some features were moved to noble-curves, which is even safer and faster drop-in replacement library with same API.

@Mrtenz Mrtenz requested a review from a team as a code owner October 8, 2023 09:09
@socket-security
Copy link

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: @scure/base@1.1.1

@Mrtenz Mrtenz merged commit 9619c3e into main Oct 9, 2023
19 checks passed
@Mrtenz Mrtenz deleted the mrtenz/noble-curve branch October 9, 2023 10:38
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