jest-haste-map
Advanced tools
Comparing version 28.0.1 to 28.0.2
@@ -836,6 +836,5 @@ 'use strict'; | ||
_cleanup() { | ||
const worker = this._worker; // @ts-expect-error | ||
const worker = this._worker; | ||
if (worker && typeof worker.end === 'function') { | ||
// @ts-expect-error | ||
if (worker && 'end' in worker && typeof worker.end === 'function') { | ||
worker.end(); | ||
@@ -868,3 +867,2 @@ } | ||
} else { | ||
// @ts-expect-error: assignment of a worker with custom properties. | ||
this._worker = new (_jestWorker().Worker)(require.resolve('./worker'), { | ||
@@ -871,0 +869,0 @@ exposedMethods: ['getSha1', 'worker'], |
{ | ||
"name": "jest-haste-map", | ||
"version": "28.0.1", | ||
"version": "28.0.2", | ||
"repository": { | ||
@@ -20,3 +20,3 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/types": "^28.0.1", | ||
"@jest/types": "^28.0.2", | ||
"@types/graceful-fs": "^4.1.3", | ||
@@ -27,5 +27,5 @@ "@types/node": "*", | ||
"graceful-fs": "^4.2.9", | ||
"jest-regex-util": "^28.0.0", | ||
"jest-util": "^28.0.1", | ||
"jest-worker": "^28.0.1", | ||
"jest-regex-util": "^28.0.2", | ||
"jest-util": "^28.0.2", | ||
"jest-worker": "^28.0.2", | ||
"micromatch": "^4.0.4", | ||
@@ -35,3 +35,3 @@ "walker": "^1.0.7" | ||
"devDependencies": { | ||
"@jest/test-utils": "^28.0.1", | ||
"@jest/test-utils": "^28.0.2", | ||
"@types/fb-watchman": "^2.0.0", | ||
@@ -45,3 +45,3 @@ "@types/micromatch": "^4.0.1", | ||
"engines": { | ||
"node": "^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0" | ||
"node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" | ||
}, | ||
@@ -51,3 +51,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "0a08639e4299f07becf1020a761adfec83536018" | ||
"gitHead": "279ee6658d763f024d51f340fab6a37c17d94502" | ||
} |
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
127640
4115
Updated@jest/types@^28.0.2
Updatedjest-regex-util@^28.0.2
Updatedjest-util@^28.0.2
Updatedjest-worker@^28.0.2