PAMapp/node_modules/babel-loader/lib/cache.js
@@ -33,6 +33,14 @@ let defaultCacheDirectory = null; let hashType = "md4"; // use md5 hashing if md4 is not available try { crypto.createHash(hashType); } catch (err) { hashType = "md5"; } const readFile = promisify(fs.readFile); const writeFile = promisify(fs.writeFile); const gunzip = promisify(zlib.gunzip); @@ -91,7 +99,7 @@ const filename = function (source, identifier, options) { const hash = crypto.createHash("md4"); const hash = crypto.createHash(hashType); const contents = JSON.stringify({ source, options,