jest-runtime
Advanced tools
Comparing version 13.3.0-alpha.4eb0c908 to 13.3.0-alpha.8b48d59e
@@ -19,2 +19,3 @@ /** | ||
const fs = require('graceful-fs'); | ||
const getCacheFilePath = require('jest-haste-map').getCacheFilePath; | ||
const path = require('path'); | ||
@@ -24,2 +25,3 @@ const stableStringify = require('json-stable-stringify'); | ||
const VERSION = require('../package.json').version; | ||
@@ -33,2 +35,3 @@ | ||
const EVAL_RESULT_VARIABLE = 'Object.<anonymous>'; | ||
@@ -158,3 +161,7 @@ | ||
const baseCacheDir = path.join(config.cacheDirectory, 'preprocess-cache'); | ||
const baseCacheDir = getCacheFilePath( | ||
config.cacheDirectory, | ||
'jest-transform-cache-' + config.name, | ||
VERSION); | ||
const cacheKey = getCacheKey(preprocessor, content, filename, config); | ||
@@ -161,0 +168,0 @@ // Create sub folders based on the cacheKey to avoid creating one |
{ | ||
"name": "jest-runtime", | ||
"version": "13.3.0-alpha.4eb0c908", | ||
"version": "13.3.0-alpha.8b48d59e", | ||
"repository": { | ||
@@ -13,8 +13,8 @@ "type": "git", | ||
"graceful-fs": "^4.1.3", | ||
"jest-config": "^13.3.0-alpha.4eb0c908", | ||
"jest-haste-map": "^13.3.0-alpha.4eb0c908", | ||
"jest-mock": "^13.3.0-alpha.4eb0c908", | ||
"jest-resolve": "^13.3.0-alpha.4eb0c908", | ||
"jest-snapshot": "^13.3.0-alpha.4eb0c908", | ||
"jest-util": "^13.3.0-alpha.4eb0c908", | ||
"jest-config": "^13.3.0-alpha.8b48d59e", | ||
"jest-haste-map": "^13.3.0-alpha.8b48d59e", | ||
"jest-mock": "^13.3.0-alpha.8b48d59e", | ||
"jest-resolve": "^13.3.0-alpha.8b48d59e", | ||
"jest-snapshot": "^13.3.0-alpha.8b48d59e", | ||
"jest-util": "^13.3.0-alpha.8b48d59e", | ||
"json-stable-stringify": "^1.0.0", | ||
@@ -27,4 +27,4 @@ "yargs": "^4.7.1" | ||
"devDependencies": { | ||
"jest-config": "^13.3.0-alpha.4eb0c908", | ||
"jest-environment-node": "^13.3.0-alpha.4eb0c908" | ||
"jest-config": "^13.3.0-alpha.8b48d59e", | ||
"jest-environment-node": "^13.3.0-alpha.8b48d59e" | ||
}, | ||
@@ -31,0 +31,0 @@ "jest": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
30895
728
0