fix: use npm install (#77)

This commit is contained in:
Luca Casonato
2024-09-13 18:57:49 +02:00
committed by GitHub
parent 084daf99a8
commit 90ced52839
771 changed files with 307 additions and 127 deletions

13
node_modules/uuid/dist/esm-node/sha1.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
import crypto from 'crypto';
function sha1(bytes) {
if (Array.isArray(bytes)) {
bytes = Buffer.from(bytes);
} else if (typeof bytes === 'string') {
bytes = Buffer.from(bytes, 'utf8');
}
return crypto.createHash('sha1').update(bytes).digest();
}
export default sha1;