jest-config
Advanced tools
Comparing version 29.4.2 to 29.4.3
@@ -15,3 +15,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -18,0 +18,0 @@ * This source code is licensed under the MIT license found in the |
@@ -65,3 +65,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -68,0 +68,0 @@ * This source code is licensed under the MIT license found in the |
@@ -34,3 +34,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -37,0 +37,0 @@ * This source code is licensed under the MIT license found in the |
@@ -18,3 +18,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -21,0 +21,0 @@ * This source code is licensed under the MIT license found in the |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -69,3 +69,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -72,0 +72,0 @@ * This source code is licensed under the MIT license found in the |
@@ -15,3 +15,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -18,0 +18,0 @@ * This source code is licensed under the MIT license found in the |
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -4,0 +4,0 @@ * This source code is licensed under the MIT license found in the |
@@ -129,3 +129,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -132,0 +132,0 @@ * This source code is licensed under the MIT license found in the |
@@ -147,3 +147,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -150,0 +150,0 @@ * This source code is licensed under the MIT license found in the |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -87,3 +87,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -90,0 +90,0 @@ * This source code is licensed under the MIT license found in the |
@@ -35,3 +35,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -38,0 +38,0 @@ * This source code is licensed under the MIT license found in the |
@@ -88,3 +88,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -91,0 +91,0 @@ * This source code is licensed under the MIT license found in the |
@@ -9,3 +9,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -18,37 +18,38 @@ * This source code is licensed under the MIT license found in the | ||
function setFromArgv(options, argv) { | ||
const argvToOptions = Object.keys(argv) | ||
.filter(key => argv[key] !== undefined && specialArgs.indexOf(key) === -1) | ||
.reduce((options, key) => { | ||
switch (key) { | ||
case 'coverage': | ||
options.collectCoverage = argv[key]; | ||
break; | ||
case 'json': | ||
options.useStderr = argv[key]; | ||
break; | ||
case 'watchAll': | ||
options.watch = false; | ||
options.watchAll = argv[key]; | ||
break; | ||
case 'env': | ||
options.testEnvironment = argv[key]; | ||
break; | ||
case 'config': | ||
break; | ||
case 'coverageThreshold': | ||
case 'globals': | ||
case 'haste': | ||
case 'moduleNameMapper': | ||
case 'testEnvironmentOptions': | ||
case 'transform': | ||
const str = argv[key]; | ||
if ((0, _utils.isJSONString)(str)) { | ||
options[key] = JSON.parse(str); | ||
} | ||
break; | ||
default: | ||
options[key] = argv[key]; | ||
} | ||
const argvToOptions = Object.keys(argv).reduce((options, key) => { | ||
if (argv[key] === undefined || specialArgs.includes(key)) { | ||
return options; | ||
}, {}); | ||
} | ||
switch (key) { | ||
case 'coverage': | ||
options.collectCoverage = argv[key]; | ||
break; | ||
case 'json': | ||
options.useStderr = argv[key]; | ||
break; | ||
case 'watchAll': | ||
options.watch = false; | ||
options.watchAll = argv[key]; | ||
break; | ||
case 'env': | ||
options.testEnvironment = argv[key]; | ||
break; | ||
case 'config': | ||
break; | ||
case 'coverageThreshold': | ||
case 'globals': | ||
case 'haste': | ||
case 'moduleNameMapper': | ||
case 'testEnvironmentOptions': | ||
case 'transform': | ||
const str = argv[key]; | ||
if ((0, _utils.isJSONString)(str)) { | ||
options[key] = JSON.parse(str); | ||
} | ||
break; | ||
default: | ||
options[key] = argv[key]; | ||
} | ||
return options; | ||
}, {}); | ||
return { | ||
@@ -55,0 +56,0 @@ ...options, |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -86,3 +86,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -89,0 +89,0 @@ * This source code is licensed under the MIT license found in the |
@@ -8,3 +8,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -11,0 +11,0 @@ * This source code is licensed under the MIT license found in the |
@@ -30,3 +30,3 @@ 'use strict'; | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
@@ -33,0 +33,0 @@ * This source code is licensed under the MIT license found in the |
{ | ||
"name": "jest-config", | ||
"version": "29.4.2", | ||
"version": "29.4.3", | ||
"repository": { | ||
@@ -33,5 +33,5 @@ "type": "git", | ||
"@babel/core": "^7.11.6", | ||
"@jest/test-sequencer": "^29.4.2", | ||
"@jest/types": "^29.4.2", | ||
"babel-jest": "^29.4.2", | ||
"@jest/test-sequencer": "^29.4.3", | ||
"@jest/types": "^29.4.3", | ||
"babel-jest": "^29.4.3", | ||
"chalk": "^4.0.0", | ||
@@ -42,13 +42,13 @@ "ci-info": "^3.2.0", | ||
"graceful-fs": "^4.2.9", | ||
"jest-circus": "^29.4.2", | ||
"jest-environment-node": "^29.4.2", | ||
"jest-get-type": "^29.4.2", | ||
"jest-regex-util": "^29.4.2", | ||
"jest-resolve": "^29.4.2", | ||
"jest-runner": "^29.4.2", | ||
"jest-util": "^29.4.2", | ||
"jest-validate": "^29.4.2", | ||
"jest-circus": "^29.4.3", | ||
"jest-environment-node": "^29.4.3", | ||
"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", | ||
"micromatch": "^4.0.4", | ||
"parse-json": "^5.2.0", | ||
"pretty-format": "^29.4.2", | ||
"pretty-format": "^29.4.3", | ||
"slash": "^3.0.0", | ||
@@ -72,3 +72,3 @@ "strip-json-comments": "^3.1.1" | ||
}, | ||
"gitHead": "f0fc92e8443f09546c7ec0472bf9bce44fe5898f" | ||
"gitHead": "a49c88610e49a3242576160740a32a2fe11161e1" | ||
} |
Sorry, the diff of this file is not supported yet
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
3545
113410
Updated@jest/test-sequencer@^29.4.3
Updated@jest/types@^29.4.3
Updatedbabel-jest@^29.4.3
Updatedjest-circus@^29.4.3
Updatedjest-get-type@^29.4.3
Updatedjest-regex-util@^29.4.3
Updatedjest-resolve@^29.4.3
Updatedjest-runner@^29.4.3
Updatedjest-util@^29.4.3
Updatedjest-validate@^29.4.3
Updatedpretty-format@^29.4.3