Packages

@noble/hashes

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

Upgrading @noble/hashes From 2.0.1 to 2.4.0

3 releases in betweenevery note read

Reading releases, release notes and advisories…

0
changes to make
0
advisories fixed
1
new
2
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

Release by release

  1. 2.4.0

    Security fix27 Aug 2026
    • Security

      Protect passed options against mutation / pollution

    • Security

      keccakprg: Fail until entropy is added

    • Security

      webcrypto: Reject output sizes which crashed engine

    • Security

      blake3: Fix tree merging for multi-terabyte streams

    • Security

      Improve zeroization

  2. 2.3.0nothing new or fixed in the note

  3. 2.2.0

    11 Apr 20261 new · 2 fixes
    • New

      Add massive amounts of documentation everywhere

    • Fixed

      Fix all Byte Array types, to ensure proper work in both TypeScript 5.6 & TypeScript 5.9+

    • Fixed

      Fix compilation issues on TypeScript v6

11 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
  • March 2026 self-audit (all files): no major issues found

    2.2.0
  • sha3: speed-up by up to 50%. Contributed

    2.2.0
  • Make package Big Endian friendly. All tests pass on s390x

    2.2.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.