babel-jest
Advanced tools
Comparing version 17.0.0 to 17.0.2
@@ -58,2 +58,17 @@ /** | ||
canInstrument: true, | ||
getCacheKey( | ||
fileData, | ||
filename, | ||
configString, _ref2) | ||
{let instrument = _ref2.instrument,watch = _ref2.watch; | ||
return crypto.createHash('md5'). | ||
update(fileData). | ||
update(configString) | ||
// Don't use the in-memory cache in watch mode because the .babelrc | ||
// file may be modified. | ||
.update(getBabelRC(filename, { useCache: !watch })). | ||
update(instrument ? 'instrument' : ''). | ||
digest('hex'); | ||
}, | ||
process( | ||
@@ -78,17 +93,2 @@ src, | ||
return src; | ||
}, | ||
getCacheKey( | ||
fileData, | ||
filename, | ||
configString, _ref2) | ||
{let instrument = _ref2.instrument,watch = _ref2.watch; | ||
return crypto.createHash('md5'). | ||
update(fileData). | ||
update(configString) | ||
// Don't use the in-memory cache in watch mode because the .babelrc | ||
// file may be modified. | ||
.update(getBabelRC(filename, { useCache: !watch })). | ||
update(instrument ? 'instrument' : ''). | ||
digest('hex'); | ||
} }; | ||
@@ -95,0 +95,0 @@ |
{ | ||
"name": "babel-jest", | ||
"version": "17.0.0", | ||
"version": "17.0.2", | ||
"repository": { | ||
@@ -13,4 +13,4 @@ "type": "git", | ||
"babel-plugin-istanbul": "^2.0.0", | ||
"babel-preset-jest": "^16.0.0" | ||
"babel-preset-jest": "^17.0.2" | ||
} | ||
} |
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
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
+ Addedbabel-plugin-jest-hoist@17.0.2(transitive)
+ Addedbabel-preset-jest@17.0.2(transitive)
- Removedbabel-plugin-jest-hoist@16.0.0(transitive)
- Removedbabel-preset-jest@16.0.0(transitive)
Updatedbabel-preset-jest@^17.0.2