Skip to content

fix(deps): update dependency @noble/curves to v1.9.0 #6241

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

Open
wants to merge 1 commit into
base: v2.0
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 19, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@noble/curves (source) 1.8.1 -> 1.9.0 age adoption passing confidence

Release Notes

paulmillr/noble-curves (@​noble/curves)

v1.9.0

Compare Source

The release contains bugfixes and a few improvements which pave the way for upcoming v2.0.

  • Modules are now available with .js extension
    • Old: @noble/curves/ed25519
    • New: @noble/curves/ed25519.js
    • Old path is still available
    • This simplifies working in browsers natively without transpilers
  • poseidon: add support for sponge, grain LFSR
  • p256, p384, p521: merge into new "nist" module
  • weierstrass: prohibit y=0 when initializing
  • hash-to-curve: use inv0 everywhere to ensure ZERO elements are returned in exceptional cases
  • modular: harden FpLegendre & FpIsSquare, make it always return valid values, throw an error otherwise
  • modular: fix FpInvertBatch creating arrays with holes instead of arrays with undefined
  • modular: improve logic for tonelliShanks
  • pasta: deprecate curves
  • update noble-hashes to 1.8.0

Full Changelog: paulmillr/noble-curves@1.8.2...1.9.0

v1.8.2

Compare Source

  • Important: this release adjusts wNAF scalar multiplication logic
  • edwards: (ed25519, ed448) always use complete formula in add()
  • edwards: (ed25519, ed448) ban points with z=0 (zero points have z=1)
  • ed25519: use slower, but more precise CURVE.a definition
  • weierstrass: freeze Signature on creation
  • weierstrass: Fix curve in Palemoon browser #​176
  • hash-to-curve: throw better error for 0 in mapToCurve
  • tower: fix wrong Fp12 fields type
  • misc: new module. Contains jubjub and babyjubjub.
  • utils: use built-in Uint8Array toHex / fromHex when available. Gives 13x speed-up on 256b arrays, 20x speed-up on 32kb arrays

Other changes

  • Update noble-hashes to 1.7.2
  • Reduce standalone file build size by 0.5kb
  • Standalone build files are now attested in CI. Check out README for verification guide
  • Typescript source can now be used without compilation in node.js v24, due to erasableSyntaxOnly

New Contributors

Acknowledgments

Thanks to @​ChALkeR for spotting edwards bug.

Full Changelog: paulmillr/noble-curves@1.8.1...1.8.2


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

socket-security bot commented Apr 19, 2025

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

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​noble/​curves@​1.9.010010010090100

View full report

@renovate renovate bot force-pushed the renovate/noble-curves-1.x branch from 5dddfac to fa94da2 Compare April 23, 2025 02:47
@renovate renovate bot changed the title fix(deps): update dependency @noble/curves to v1.8.2 fix(deps): update dependency @noble/curves to v1.9.0 Apr 23, 2025
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.

0 participants