Comparing version 2.0.1 to 2.0.2-alpha.0
@@ -76,4 +76,10 @@ "use strict"; | ||
if (dependencyPath) { | ||
return this.getPackageHash(dependencyPath, dependency); | ||
return this.getPackageHash(dependencyPath, dependency).then(hash => { | ||
just_task_logger_1.logger.verbose(`getHashOfDependencies: ${dependency}: ${hash}`); | ||
return hash; | ||
}); | ||
} | ||
else { | ||
just_task_logger_1.logger.verbose(`getHashOfDependencies: no path for ${dependency}`); | ||
} | ||
}) | ||
@@ -95,5 +101,14 @@ .filter(notEmpty); | ||
const hashOfDependencies = this.getHashOfDependencies(dependencies); | ||
const hashOfBuildCommand = createHash(this.buildCommandSignature); | ||
const hashOfOwnFiles = this.getHashOfOwnFiles(); | ||
const hashOfLockFile = this.getHashOfLockFile(); | ||
const hashOfBuildCommand = createHash(this.buildCommandSignature).then(hash => { | ||
just_task_logger_1.logger.verbose(`hashOfBuildCommand: ${hash}`); | ||
return hash; | ||
}); | ||
const hashOfOwnFiles = this.getHashOfOwnFiles().then(hash => { | ||
just_task_logger_1.logger.verbose(`hashOfOwnFiles: ${hash}`); | ||
return hash; | ||
}); | ||
const hashOfLockFile = this.getHashOfLockFile().then(hash => { | ||
just_task_logger_1.logger.verbose(`hashOfLockFile: ${hash}`); | ||
return hash; | ||
}); | ||
just_task_logger_1.mark("hasher:calculateHash"); | ||
@@ -121,2 +136,2 @@ // 1. Create hash to be used when fetching cache from cache storage | ||
exports.Hasher = Hasher; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFzaGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2hhc2hlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLGlDQUFpQztBQUNqQyxrQ0FBa0M7QUFDbEMsK0JBQStCO0FBQy9CLDZCQUE2QjtBQUM3Qiw2Q0FBMEM7QUFDMUMsdURBQWdEO0FBRWhELDJEQUErQztBQVd4QyxLQUF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| ||
"gitHead": "8276870882903dbe807e940c404b0af8d3ecf9be" | ||
} |
@@ -114,3 +114,8 @@ import * as crypto from "crypto"; | ||
if (dependencyPath) { | ||
return this.getPackageHash(dependencyPath, dependency); | ||
return this.getPackageHash(dependencyPath, dependency).then(hash => { | ||
logger.verbose(`getHashOfDependencies: ${dependency}: ${hash}`); | ||
return hash; | ||
}); | ||
} else { | ||
logger.verbose(`getHashOfDependencies: no path for ${dependency}`); | ||
} | ||
@@ -138,5 +143,16 @@ }) | ||
const hashOfDependencies = this.getHashOfDependencies(dependencies); | ||
const hashOfBuildCommand = createHash(this.buildCommandSignature); | ||
const hashOfOwnFiles = this.getHashOfOwnFiles(); | ||
const hashOfLockFile = this.getHashOfLockFile(); | ||
const hashOfBuildCommand = createHash(this.buildCommandSignature).then( | ||
hash => { | ||
logger.verbose(`hashOfBuildCommand: ${hash}`); | ||
return hash; | ||
} | ||
); | ||
const hashOfOwnFiles = this.getHashOfOwnFiles().then(hash => { | ||
logger.verbose(`hashOfOwnFiles: ${hash}`); | ||
return hash; | ||
}); | ||
const hashOfLockFile = this.getHashOfLockFile().then(hash => { | ||
logger.verbose(`hashOfLockFile: ${hash}`); | ||
return hash; | ||
}); | ||
@@ -143,0 +159,0 @@ mark("hasher:calculateHash"); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
135882
2176
2
1