Socket
Socket
Sign inDemoInstall

@jest/core

Package Overview
Dependencies
293
Maintainers
6
Versions
141
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 29.6.1 to 29.6.2

3

build/cli/index.js

@@ -90,3 +90,2 @@ 'use strict';

);
var _pluralize = _interopRequireDefault(require('../pluralize'));
var _runJest = _interopRequireDefault(require('../runJest'));

@@ -227,3 +226,3 @@ var _watch = _interopRequireDefault(require('../watch'));

);
const openHandlesString = (0, _pluralize.default)(
const openHandlesString = (0, _jestUtil().pluralize)(
'open handle',

@@ -230,0 +229,0 @@ formatted.length,

@@ -14,3 +14,9 @@ 'use strict';

}
var _pluralize = _interopRequireDefault(require('./pluralize'));
function _jestUtil() {
const data = require('jest-util');
_jestUtil = function () {
return data;
};
return data;
}
function _interopRequireDefault(obj) {

@@ -46,4 +52,7 @@ return obj && obj.__esModule ? obj : {default: obj};

'\n' +
` ${(0, _pluralize.default)('file', testFiles, 's')} checked across ${(0,
_pluralize.default)(
` ${(0, _jestUtil().pluralize)(
'file',
testFiles,
's'
)} checked across ${(0, _jestUtil().pluralize)(
'project',

@@ -62,4 +71,7 @@ testRunData.length,

'\n' +
` ${(0, _pluralize.default)('file', testFiles, 's')} checked across ${(0,
_pluralize.default)(
` ${(0, _jestUtil().pluralize)(
'file',
testFiles,
's'
)} checked across ${(0, _jestUtil().pluralize)(
'project',

@@ -66,0 +78,0 @@ testRunData.length,

@@ -14,3 +14,9 @@ 'use strict';

}
var _pluralize = _interopRequireDefault(require('./pluralize'));
function _jestUtil() {
const data = require('jest-util');
_jestUtil = function () {
return data;
};
return data;
}
function _interopRequireDefault(obj) {

@@ -40,3 +46,3 @@ return obj && obj.__esModule ? obj : {default: obj};

: String(value);
const matches = (0, _pluralize.default)(
const matches = (0, _jestUtil().pluralize)(
'match',

@@ -56,3 +62,3 @@ stats[key] || 0,

? `In ${_chalk().default.bold(config.rootDir)}\n` +
` ${(0, _pluralize.default)(
` ${(0, _jestUtil().pluralize)(
'file',

@@ -59,0 +65,0 @@ testRun.matches.total || 0,

@@ -113,3 +113,10 @@ 'use strict';

} catch (error) {
if (util().types.isNativeError(error)) {
if (
util().types.isNativeError(error) &&
(Object.getOwnPropertyDescriptor(error, 'message')?.writable ||
Object.getOwnPropertyDescriptor(
Object.getPrototypeOf(error),
'message'
)?.writable)
) {
error.message = `Jest: Got error running ${moduleName} - ${modulePath}, reason: ${error.message}`;

@@ -116,0 +123,0 @@ throw error;

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

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

"dependencies": {
"@jest/console": "^29.6.1",
"@jest/reporters": "^29.6.1",
"@jest/test-result": "^29.6.1",
"@jest/transform": "^29.6.1",
"@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",

@@ -28,16 +28,16 @@ "@types/node": "*",

"jest-changed-files": "^29.5.0",
"jest-config": "^29.6.1",
"jest-haste-map": "^29.6.1",
"jest-message-util": "^29.6.1",
"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.1",
"jest-resolve-dependencies": "^29.6.1",
"jest-runner": "^29.6.1",
"jest-runtime": "^29.6.1",
"jest-snapshot": "^29.6.1",
"jest-util": "^29.6.1",
"jest-validate": "^29.6.1",
"jest-watcher": "^29.6.1",
"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",
"micromatch": "^4.0.4",
"pretty-format": "^29.6.1",
"pretty-format": "^29.6.2",
"slash": "^3.0.0",

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

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

@@ -104,3 +104,3 @@ "@types/graceful-fs": "^4.1.3",

},
"gitHead": "1f019afdcdfc54a6664908bb45f343db4e3d0848"
"gitHead": "0fd5b1c37555f485c56a6ad2d6b010a72204f9f6"
}
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