Socket
Socket
Sign inDemoInstall

@jest/core

Package Overview
Dependencies
292
Maintainers
6
Versions
141
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 29.6.2 to 29.6.3

2

build/collectHandles.js

@@ -221,3 +221,3 @@ 'use strict';

// For some special objects such as `TLSWRAP`.
// Ref: https://github.com/facebook/jest/issues/11665
// Ref: https://github.com/jestjs/jest/issues/11665
runGC();

@@ -224,0 +224,0 @@ await asyncSleep(0);

@@ -7,2 +7,9 @@ 'use strict';

exports.getSortedUsageRows = exports.filterInteractivePlugins = void 0;
function _jestUtil() {
const data = require('jest-util');
_jestUtil = function () {
return data;
};
return data;
}
/**

@@ -29,5 +36,2 @@ * Copyright (c) Meta Platforms, Inc. and affiliates.

exports.filterInteractivePlugins = filterInteractivePlugins;
function notEmpty(value) {
return value != null;
}
const getSortedUsageRows = (watchPlugins, globalConfig) =>

@@ -53,3 +57,3 @@ filterInteractivePlugins(watchPlugins, globalConfig)

.map(p => p.getUsageInfo && p.getUsageInfo(globalConfig))
.filter(notEmpty);
.filter(_jestUtil().isNonNullable);
exports.getSortedUsageRows = getSortedUsageRows;

@@ -243,3 +243,3 @@ 'use strict';

const context = contextsByTestRunner.get(testRunner);
invariant(context);
(0, _jestUtil().invariant)(context);
const tests = testsByRunner[runner];

@@ -420,7 +420,2 @@ const testRunnerOptions = {

}
function invariant(condition, message) {
if (!condition) {
throw new Error(message);
}
}
const createAggregatedResults = numTotalTestSuites => {

@@ -427,0 +422,0 @@ const result = (0, _testResult().makeEmptyAggregatedTestResult)();

@@ -18,6 +18,14 @@ 'use strict';

timings,
{detectOpenHandles, maxWorkers, watch, watchAll, workerIdleMemoryLimit}
{
detectOpenHandles,
maxWorkers,
runInBand,
watch,
watchAll,
workerIdleMemoryLimit
}
) {
// If user asked for run in band, respect that.
// detectOpenHandles makes no sense without runInBand, because it cannot detect leaks in workers
if (detectOpenHandles) {
if (runInBand || detectOpenHandles) {
return true;

@@ -39,5 +47,2 @@ }

* quickly we also run in band to reduce the overhead of spawning workers.
* Finally, the user can provide the runInBand argument in the CLI to
* force running in band, which sets maxWorkers to 1 here:
* https://github.com/facebook/jest/blob/d106643a8ee0ffa9c2f11c6bb2d12094e99135aa/packages/jest-config/src/getMaxWorkers.ts#L27-L28
*/

@@ -44,0 +49,0 @@ const areFastTests = timings.every(timing => timing < SLOW_TEST_TIME);

{
"name": "@jest/core",
"description": "Delightful JavaScript Testing.",
"version": "29.6.2",
"version": "29.6.3",
"main": "./build/index.js",

@@ -15,7 +15,7 @@ "types": "./build/index.d.ts",

"dependencies": {
"@jest/console": "^29.6.2",
"@jest/reporters": "^29.6.2",
"@jest/test-result": "^29.6.2",
"@jest/transform": "^29.6.2",
"@jest/types": "^29.6.1",
"@jest/console": "^29.6.3",
"@jest/reporters": "^29.6.3",
"@jest/test-result": "^29.6.3",
"@jest/transform": "^29.6.3",
"@jest/types": "^29.6.3",
"@types/node": "*",

@@ -27,17 +27,17 @@ "ansi-escapes": "^4.2.1",

"graceful-fs": "^4.2.9",
"jest-changed-files": "^29.5.0",
"jest-config": "^29.6.2",
"jest-haste-map": "^29.6.2",
"jest-message-util": "^29.6.2",
"jest-regex-util": "^29.4.3",
"jest-resolve": "^29.6.2",
"jest-resolve-dependencies": "^29.6.2",
"jest-runner": "^29.6.2",
"jest-runtime": "^29.6.2",
"jest-snapshot": "^29.6.2",
"jest-util": "^29.6.2",
"jest-validate": "^29.6.2",
"jest-watcher": "^29.6.2",
"jest-changed-files": "^29.6.3",
"jest-config": "^29.6.3",
"jest-haste-map": "^29.6.3",
"jest-message-util": "^29.6.3",
"jest-regex-util": "^29.6.3",
"jest-resolve": "^29.6.3",
"jest-resolve-dependencies": "^29.6.3",
"jest-runner": "^29.6.3",
"jest-runtime": "^29.6.3",
"jest-snapshot": "^29.6.3",
"jest-util": "^29.6.3",
"jest-validate": "^29.6.3",
"jest-watcher": "^29.6.3",
"micromatch": "^4.0.4",
"pretty-format": "^29.6.2",
"pretty-format": "^29.6.3",
"slash": "^3.0.0",

@@ -47,4 +47,4 @@ "strip-ansi": "^6.0.0"

"devDependencies": {
"@jest/test-sequencer": "^29.6.2",
"@jest/test-utils": "^29.6.2",
"@jest/test-sequencer": "^29.6.3",
"@jest/test-utils": "^29.6.3",
"@types/exit": "^0.1.30",

@@ -67,7 +67,7 @@ "@types/graceful-fs": "^4.1.3",

"type": "git",
"url": "https://github.com/facebook/jest.git",
"url": "https://github.com/jestjs/jest.git",
"directory": "packages/jest-core"
},
"bugs": {
"url": "https://github.com/facebook/jest/issues"
"url": "https://github.com/jestjs/jest/issues"
},

@@ -105,3 +105,3 @@ "homepage": "https://jestjs.io/",

},
"gitHead": "0fd5b1c37555f485c56a6ad2d6b010a72204f9f6"
"gitHead": "fb7d95c8af6e0d65a8b65348433d8a0ea0725b5b"
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc