jest-haste-map
Advanced tools
Comparing version 28.0.0-alpha.11 to 28.0.0
@@ -386,5 +386,6 @@ 'use strict'; | ||
async setupCachePath(options) { | ||
const rootDirHash = (0, _crypto().createHash)('md5') | ||
const rootDirHash = (0, _crypto().createHash)('sha256') | ||
.update(options.rootDir) | ||
.digest('hex'); | ||
.digest('hex') | ||
.substring(0, 32); | ||
let hasteImplHash = ''; | ||
@@ -432,6 +433,6 @@ let dependencyExtractorHash = ''; | ||
static getCacheFilePath(tmpdir, id, ...extra) { | ||
const hash = (0, _crypto().createHash)('md5').update(extra.join('')); | ||
const hash = (0, _crypto().createHash)('sha256').update(extra.join('')); | ||
return path().join( | ||
tmpdir, | ||
`${id.replace(/\W/g, '-')}-${hash.digest('hex')}` | ||
`${id.replace(/\W/g, '-')}-${hash.digest('hex').substring(0, 32)}` | ||
); | ||
@@ -438,0 +439,0 @@ } |
{ | ||
"name": "jest-haste-map", | ||
"version": "28.0.0-alpha.11", | ||
"version": "28.0.0", | ||
"repository": { | ||
@@ -20,3 +20,3 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/types": "^28.0.0-alpha.9", | ||
"@jest/types": "^28.0.0", | ||
"@types/graceful-fs": "^4.1.3", | ||
@@ -27,5 +27,5 @@ "@types/node": "*", | ||
"graceful-fs": "^4.2.9", | ||
"jest-regex-util": "^28.0.0-alpha.6", | ||
"jest-util": "^28.0.0-alpha.9", | ||
"jest-worker": "^28.0.0-alpha.11", | ||
"jest-regex-util": "^28.0.0", | ||
"jest-util": "^28.0.0", | ||
"jest-worker": "^28.0.0", | ||
"micromatch": "^4.0.4", | ||
@@ -35,3 +35,3 @@ "walker": "^1.0.7" | ||
"devDependencies": { | ||
"@jest/test-utils": "^28.0.0-alpha.9", | ||
"@jest/test-utils": "^28.0.0", | ||
"@types/fb-watchman": "^2.0.0", | ||
@@ -50,3 +50,3 @@ "@types/micromatch": "^4.0.1", | ||
}, | ||
"gitHead": "8b4b78759d255746f11e396efe7d06ac93dbd05b" | ||
"gitHead": "8f9b812faf8e4d241d560a8574f0c6ed20a89365" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4117
1
127743
Updated@jest/types@^28.0.0
Updatedjest-regex-util@^28.0.0
Updatedjest-util@^28.0.0
Updatedjest-worker@^28.0.0