Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const stats = await Promise.all(this.sources.map(src => fs.stat(src.idlPath)));
const files = [];
fileDependencies.sort().map(function(file) {
return fs.stat(file);
})
)).map(function(stat) { return stat.mtime; }).join('|');