Socket
Socket
Sign inDemoInstall

jest-haste-map

Package Overview
Dependencies
Maintainers
6
Versions
273
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-haste-map - npm Package Compare versions

Comparing version 28.0.0-alpha.11 to 28.0.0

9

build/index.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc