jest-runner
Advanced tools
Comparing version 28.1.2 to 28.1.3
@@ -40,6 +40,6 @@ 'use strict'; | ||
function _throat() { | ||
const data = _interopRequireDefault(require('throat')); | ||
function _pLimit() { | ||
const data = _interopRequireDefault(require('p-limit')); | ||
_throat = function () { | ||
_pLimit = function () { | ||
return data; | ||
@@ -168,3 +168,3 @@ }; | ||
process.env.JEST_WORKER_ID = '1'; | ||
const mutex = (0, _throat().default)(1); | ||
const mutex = (0, _pLimit().default)(1); | ||
return tests.reduce( | ||
@@ -246,3 +246,3 @@ (promise, test) => | ||
if (worker.getStderr()) worker.getStderr().pipe(process.stderr); | ||
const mutex = (0, _throat().default)(this._globalConfig.maxWorkers); // Send test suites to workers continuously instead of all at once to track | ||
const mutex = (0, _pLimit().default)(this._globalConfig.maxWorkers); // Send test suites to workers continuously instead of all at once to track | ||
// the start time of individual tests. | ||
@@ -249,0 +249,0 @@ |
{ | ||
"name": "jest-runner", | ||
"version": "28.1.2", | ||
"version": "28.1.3", | ||
"repository": { | ||
@@ -20,7 +20,7 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/console": "^28.1.1", | ||
"@jest/environment": "^28.1.2", | ||
"@jest/test-result": "^28.1.1", | ||
"@jest/transform": "^28.1.2", | ||
"@jest/types": "^28.1.1", | ||
"@jest/console": "^28.1.3", | ||
"@jest/environment": "^28.1.3", | ||
"@jest/test-result": "^28.1.3", | ||
"@jest/transform": "^28.1.3", | ||
"@jest/types": "^28.1.3", | ||
"@types/node": "*", | ||
@@ -31,21 +31,21 @@ "chalk": "^4.0.0", | ||
"jest-docblock": "^28.1.1", | ||
"jest-environment-node": "^28.1.2", | ||
"jest-haste-map": "^28.1.1", | ||
"jest-leak-detector": "^28.1.1", | ||
"jest-message-util": "^28.1.1", | ||
"jest-resolve": "^28.1.1", | ||
"jest-runtime": "^28.1.2", | ||
"jest-util": "^28.1.1", | ||
"jest-watcher": "^28.1.1", | ||
"jest-worker": "^28.1.1", | ||
"source-map-support": "0.5.13", | ||
"throat": "^6.0.1" | ||
"jest-environment-node": "^28.1.3", | ||
"jest-haste-map": "^28.1.3", | ||
"jest-leak-detector": "^28.1.3", | ||
"jest-message-util": "^28.1.3", | ||
"jest-resolve": "^28.1.3", | ||
"jest-runtime": "^28.1.3", | ||
"jest-util": "^28.1.3", | ||
"jest-watcher": "^28.1.3", | ||
"jest-worker": "^28.1.3", | ||
"p-limit": "^3.1.0", | ||
"source-map-support": "0.5.13" | ||
}, | ||
"devDependencies": { | ||
"@tsd/typescript": "~4.7.3", | ||
"@tsd/typescript": "~4.7.4", | ||
"@types/exit": "^0.1.30", | ||
"@types/graceful-fs": "^4.1.3", | ||
"@types/source-map-support": "^0.5.0", | ||
"jest-jasmine2": "^28.1.2", | ||
"tsd-lite": "^0.5.1" | ||
"jest-jasmine2": "^28.1.3", | ||
"tsd-lite": "^0.5.6" | ||
}, | ||
@@ -58,3 +58,3 @@ "engines": { | ||
}, | ||
"gitHead": "789965efec4253fc54ceb3539711b3a3a6604d94" | ||
"gitHead": "2cce069800dab3fc8ca7c469b32d2e2b2f7e2bb1" | ||
} |
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
31459
+ Addedp-limit@^3.1.0
+ Addedelectron-to-chromium@1.5.55(transitive)
+ Addedp-limit@3.1.0(transitive)
+ Addedyocto-queue@0.1.0(transitive)
- Removedthroat@^6.0.1
- Removedelectron-to-chromium@1.5.57(transitive)
- Removedthroat@6.0.2(transitive)
Updated@jest/console@^28.1.3
Updated@jest/environment@^28.1.3
Updated@jest/test-result@^28.1.3
Updated@jest/transform@^28.1.3
Updated@jest/types@^28.1.3
Updatedjest-haste-map@^28.1.3
Updatedjest-leak-detector@^28.1.3
Updatedjest-message-util@^28.1.3
Updatedjest-resolve@^28.1.3
Updatedjest-runtime@^28.1.3
Updatedjest-util@^28.1.3
Updatedjest-watcher@^28.1.3
Updatedjest-worker@^28.1.3