1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 20:25:17 +03:00
aports/testing/code-oss/webpack-hash.patch.noauto
2022-08-05 00:29:15 +00:00

11 lines
331 B
Text

--- a/node_modules/webpack/lib/util/createHash.js
+++ b/node_modules/webpack/lib/util/createHash.js
@@ -142,7 +142,7 @@
default:
if (crypto === undefined) crypto = require("crypto");
return new BulkUpdateDecorator(
- () => crypto.createHash(algorithm),
+ () => crypto.createHash("sha1"),
algorithm
);
}