From 5e226a6d25a87fe0029145f24144380a8928dd00 Mon Sep 17 00:00:00 2001 From: Jimmy MacGregor Date: Fri, 20 Jan 2023 15:51:28 +0000 Subject: [PATCH] Changes the default hash function from md4 to sha-256 MD4 is a legacy algorithm and therefore not supported by node 18. This change ensures that node 18 can work with the codebase --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index 96155701c0..86c9397e50 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -20,6 +20,7 @@ const baseConfig = { }, output: { path: path.resolve(__dirname, 'build'), + hashFunction: 'sha-256', library: 'Ably', libraryTarget: 'umd', libraryExport: 'default',