We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6730644 commit 4a4ee4dCopy full SHA for 4a4ee4d
lib/shared.js
@@ -1,9 +1,11 @@
1
const Appdir = require('appdirectory');
2
const rimraf = require('rimraf');
3
-const md5File = require('md5-file');
+//const md5File = require('md5-file');
4
const glob = require('glob-all');
5
const path = require('path');
6
const fse = require('fs-extra');
7
+const sha256File = require('sha256-file');
8
+
9
10
/**
11
* This helper will check if we're using static cache and have max
@@ -101,7 +103,7 @@ function getUserCachePath(options) {
101
103
* @return {string}
102
104
*/
105
function md5Path(fullpath) {
- return md5File.sync(fullpath);
106
+ return sha256File(fullpath);
107
}
108
109
module.exports = {
0 commit comments