AdaptiveCards
AdaptiveCards copied to clipboard
[NodeJS] Update hashing algorithm for webpack
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).