Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Cp.get = function (source, options, deps) {
var cacheHash;
if (deps && deps.sourceHash) {
cacheHash = util.deepHash(
meteorBabelVersion, reifyVersion,
options, deps
);
} else {
cacheHash = util.deepHash(
meteorBabelVersion, reifyVersion,
source, options, deps
);
}
var cacheFile = cacheHash + ".json";
var fullCacheFile = path.join(this.dir, cacheFile);
var result;
if (hasOwn.call(this.cache, cacheFile)) {
result = this.cache[cacheFile];