AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

[NodeJS] Update hashing algorithm for webpack

Open paulcam206 opened this issue 11 months ago • 0 comments

Building with NodeJS >16 yields errors complaining about deprecated hashing functions (ERR_OSSL_EVP_UNSUPPORTED). This is a known and intentional change in NodeJS to prevent using insecure hashing functions. It's a little overzealous in this case because the hashing function is just being used to break up chunks of code, but rather than having to opt everything into allowing insecure hashing functions, it's probably better to just make Webpack use a more recent function (i.e. xxhash64, the default in Webpack's next version).

paulcam206 avatar Feb 26 '24 21:02 paulcam206