Packages

@noble/hashes

2.4.0 · 27 Aug 2026MIT155.8M / weekRepositoryHomepagenpmAtom feed

Upgrading @noble/hashes From 2.2.0 to 2.4.0

2 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 2.2.0yours
  2. 2.3.0
  3. 2.4.0target
0
changes to make
0
advisories fixed
0
new
0
fixes

Security

  • Protect passed options against mutation / pollution

    2.4.0
  • keccakprg: Fail until entropy is added

    2.4.0
  • webcrypto: Reject output sizes which crashed engine

    2.4.0
  • blake3: Fix tree merging for multi-terabyte streams

    2.4.0
  • Improve zeroization

    2.4.0
7 other lines we could not sort, mostly version bumps
  • +10-45% 32b inputs across all hashes

    2.3.0
  • +40% SHA-3 / SHAKE, +50% 1mb KT128 / KT256 / TurboSHAKE, +20% kmac

    2.3.0
  • 2.2x argon

    2.3.0
  • +20% pbkdf2 and hkdf

    2.3.0
  • Better error messages and stricter type checks everywhere

    2.3.0
  • blake2.compress renamed to _compress (marked internal).

    2.3.0
  • Reduce on-disk unpacked size 869kb → 665kb (-204kb) by disabling source maps (they became less relevant).

    2.3.0

5 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.