Bump @actions/core to 1.9.1 (#56)

Fixes CVE-2022-35954. Does not look like anything terriblity important
to me, but hey, audit is happy.
This commit is contained in:
Oleksii Lozovskyi
2022-08-28 10:38:29 +03:00
committed by GitHub
parent 357f053bad
commit fe44a129df
119 changed files with 6517 additions and 88 deletions
+13
View File
@@ -0,0 +1,13 @@
import crypto from 'crypto';
function md5(bytes) {
if (Array.isArray(bytes)) {
bytes = Buffer.from(bytes);
} else if (typeof bytes === 'string') {
bytes = Buffer.from(bytes, 'utf8');
}
return crypto.createHash('md5').update(bytes).digest();
}
export default md5;