Reimplement hashFile locally

Replace the 10 MB of dependencies that is hash-files with a homebrew
Promise based implementation of hashFile that uses crypto and fs.  This
somehow also ends up being the same amount of code as the one using
hash-files.
This commit is contained in:
Hornwitser committed 2019-08-07 10:18:14 +02:00
1 parent 0e849488e2
commit 13a069a798
3 files changed
+39 -38

No files matched your search

-1
View File
@@ -39,7 +39,6 @@
"follow-redirects": "^1.5.0",
"fs-extra": "^6.0.1",
"getmac": "^1.4.0",
"hash-files": "^1.1.1",
"html5-validator": "^1.0.7",
"ini": "^1.3.5",
"jsonwebtoken": "^8.2.1",