Socket
Socket
Sign inDemoInstall

jest-config

Package Overview
Dependencies
261
Maintainers
6
Versions
304
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 29.4.3 to 29.5.0

4

build/Defaults.js

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

notifyMode: 'failure-change',
openHandlesTimeout: 1000,
passWithNoTests: false,

@@ -125,5 +126,6 @@ prettierPath: 'prettier',

watchPathIgnorePatterns: [],
watchman: true
watchman: true,
workerThreads: false
};
var _default = defaultOptions;
exports.default = _default;

@@ -209,5 +209,7 @@ 'use strict';

onlyFailures: options.onlyFailures,
openHandlesTimeout: options.openHandlesTimeout,
outputFile: options.outputFile,
passWithNoTests: options.passWithNoTests,
projects: options.projects,
randomize: options.randomize,
replname: options.replname,

@@ -236,3 +238,4 @@ reporters: options.reporters,

watchman: options.watchman,
workerIdleMemoryLimit: options.workerIdleMemoryLimit
workerIdleMemoryLimit: options.workerIdleMemoryLimit,
workerThreads: options.workerThreads
}),

@@ -266,2 +269,3 @@ projectConfig: Object.freeze({

modulePaths: options.modulePaths,
openHandlesTimeout: options.openHandlesTimeout,
prettierPath: options.prettierPath,

@@ -268,0 +272,0 @@ resetMocks: options.resetMocks,

@@ -940,4 +940,6 @@ 'use strict';

case 'onlyFailures':
case 'openHandlesTimeout':
case 'outputFile':
case 'passWithNoTests':
case 'randomize':
case 'replname':

@@ -965,2 +967,3 @@ case 'resetMocks':

case 'watchman':
case 'workerThreads':
value = oldOptions[key];

@@ -1056,6 +1059,8 @@ break;

}
newOptions.showSeed = newOptions.showSeed || argv.showSeed;
newOptions.randomize = newOptions.randomize || argv.randomize;
newOptions.showSeed =
newOptions.randomize || newOptions.showSeed || argv.showSeed;
const upperBoundSeedValue = 2 ** 31;
// xoroshiro128plus is used in v8 and is used here (at time of writing)
// bounds are determined by xoroshiro128plus which is used in v8 and is used here (at time of writing)
newOptions.seed =

@@ -1070,3 +1075,3 @@ argv.seed ??

'Validation Error',
`seed value must be between \`-0x80000000\` and \`0x7fffffff\` inclusive - is ${newOptions.seed}`
`seed value must be between \`-0x80000000\` and \`0x7fffffff\` inclusive - instead it is ${newOptions.seed}`
);

@@ -1073,0 +1078,0 @@ }

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

onlyFailures: false,
openHandlesTimeout: 1000,
passWithNoTests: false,

@@ -149,2 +150,3 @@ preset: 'react-native',

projects: ['project-a', 'project-b/'],
randomize: false,
reporters: [

@@ -220,3 +222,4 @@ 'default',

watchman: true,
workerIdleMemoryLimit: (0, _jestValidate().multipleValidOptions)(0.2, '50%')
workerIdleMemoryLimit: (0, _jestValidate().multipleValidOptions)(0.2, '50%'),
workerThreads: true
};

@@ -299,2 +302,3 @@ exports.initialOptions = initialOptions;

modulePaths: ['/shared/vendor/modules'],
openHandlesTimeout: 1000,
preset: 'react-native',

@@ -301,0 +305,0 @@ prettierPath: '<rootDir>/node_modules/prettier',

{
"name": "jest-config",
"version": "29.4.3",
"version": "29.5.0",
"repository": {

@@ -33,5 +33,5 @@ "type": "git",

"@babel/core": "^7.11.6",
"@jest/test-sequencer": "^29.4.3",
"@jest/types": "^29.4.3",
"babel-jest": "^29.4.3",
"@jest/test-sequencer": "^29.5.0",
"@jest/types": "^29.5.0",
"babel-jest": "^29.5.0",
"chalk": "^4.0.0",

@@ -42,13 +42,13 @@ "ci-info": "^3.2.0",

"graceful-fs": "^4.2.9",
"jest-circus": "^29.4.3",
"jest-environment-node": "^29.4.3",
"jest-circus": "^29.5.0",
"jest-environment-node": "^29.5.0",
"jest-get-type": "^29.4.3",
"jest-regex-util": "^29.4.3",
"jest-resolve": "^29.4.3",
"jest-runner": "^29.4.3",
"jest-util": "^29.4.3",
"jest-validate": "^29.4.3",
"jest-resolve": "^29.5.0",
"jest-runner": "^29.5.0",
"jest-util": "^29.5.0",
"jest-validate": "^29.5.0",
"micromatch": "^4.0.4",
"parse-json": "^5.2.0",
"pretty-format": "^29.4.3",
"pretty-format": "^29.5.0",
"slash": "^3.0.0",

@@ -72,3 +72,3 @@ "strip-json-comments": "^3.1.1"

},
"gitHead": "a49c88610e49a3242576160740a32a2fe11161e1"
"gitHead": "39f3beda6b396665bebffab94e8d7c45be30454c"
}
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