[v24.x backport] WebCryptoAPI digest() updates and new algorithms by panva · Pull Request #62539 · nodejs/node

Codecov Report

❌ Patch coverage is 85.68182% with 63 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.08%. Comparing base (065c9b0) to head (ee23202).
⚠️ Report is 159 commits behind head on v24.x-staging.

Files with missing lines Patch % Lines
src/crypto/crypto_turboshake.cc 83.42% 33 Missing and 25 partials ⚠️
src/crypto/crypto_turboshake.h 33.33% 4 Missing ⚠️
lib/internal/crypto/webidl.js 98.00% 1 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                @@
##           v24.x-staging   #62539      +/-   ##
=================================================
- Coverage          90.10%   90.08%   -0.03%     
=================================================
  Files                667      672       +5     
  Lines             199019   200844    +1825     
  Branches           38911    39178     +267     
=================================================
+ Hits              179335   180939    +1604     
- Misses             12040    12187     +147     
- Partials            7644     7718      +74     
Files with missing lines Coverage Δ
lib/internal/crypto/hash.js 98.68% <100.00%> (+0.09%) ⬆️
lib/internal/crypto/mac.js 91.12% <100.00%> (ø)
lib/internal/crypto/util.js 95.49% <100.00%> (+0.06%) ⬆️
src/node_crypto.cc 81.81% <ø> (ø)
lib/internal/crypto/webidl.js 98.41% <98.00%> (+0.08%) ⬆️
src/crypto/crypto_turboshake.h 33.33% <33.33%> (ø)
src/crypto/crypto_turboshake.cc 83.42% <83.42%> (ø)

... and 168 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.