From fc15260f1ceef201f211ccff85d69d0361e64676 Mon Sep 17 00:00:00 2001 From: Rob Hogan Date: Fri, 7 Feb 2025 11:27:18 -0800 Subject: [PATCH] Update monorepo Jest to 29.7.0 (#49261) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49261 Update the version of Jest used in React Native and Metro's own tests from `^29.6.3` to `^29.7.0` Changelog: [Internal] Reviewed By: huntie Differential Revision: D69307514 fbshipit-source-id: 686935ed4ba1334d445217fd2f8a303b774b6c4a --- package.json | 4 ++-- packages/helloworld/package.json | 2 +- packages/react-native-codegen-typescript-test/package.json | 2 +- packages/react-native/package.json | 4 ++-- yarn.lock | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index fd3b6c96e44..245546e1699 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@babel/preset-env": "^7.25.3", "@babel/preset-flow": "^7.24.7", "@definitelytyped/dtslint": "^0.0.127", - "@jest/create-cache-key-function": "^29.6.3", + "@jest/create-cache-key-function": "^29.7.0", "@react-native/metro-babel-transformer": "0.79.0-main", "@react-native/metro-config": "0.79.0-main", "@tsconfig/node18": "1.0.1", @@ -84,7 +84,7 @@ "hermes-eslint": "0.25.1", "hermes-transform": "0.25.1", "inquirer": "^7.1.0", - "jest": "^29.6.3", + "jest": "^29.7.0", "jest-diff": "^29.7.0", "jest-junit": "^10.0.0", "jest-snapshot": "^29.7.0", diff --git a/packages/helloworld/package.json b/packages/helloworld/package.json index 873f35a62df..4b0e4dbbb2a 100644 --- a/packages/helloworld/package.json +++ b/packages/helloworld/package.json @@ -26,7 +26,7 @@ "chalk": "^4.1.2", "commander": "^12.0.0", "eslint": "^8.19.0", - "jest": "^29.6.3", + "jest": "^29.7.0", "listr2": "^8.2.1", "react-test-renderer": "19.0.0", "rxjs": "^7.8.1" diff --git a/packages/react-native-codegen-typescript-test/package.json b/packages/react-native-codegen-typescript-test/package.json index 04d74fe6d65..01cb076a4ba 100644 --- a/packages/react-native-codegen-typescript-test/package.json +++ b/packages/react-native-codegen-typescript-test/package.json @@ -33,7 +33,7 @@ "@babel/plugin-transform-flow-strip-types": "^7.25.2", "@babel/preset-env": "^7.25.3", "@types/jest": "^29.5.3", - "jest": "^29.6.3", + "jest": "^29.7.0", "rimraf": "^3.0.2" }, "peerDependencies": { diff --git a/packages/react-native/package.json b/packages/react-native/package.json index ddcac0298f4..e3fe0226a47 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -107,7 +107,7 @@ } }, "dependencies": { - "@jest/create-cache-key-function": "^29.6.3", + "@jest/create-cache-key-function": "^29.7.0", "@react-native/assets-registry": "0.79.0-main", "@react-native/codegen": "0.79.0-main", "@react-native/community-cli-plugin": "0.79.0-main", @@ -127,7 +127,7 @@ "flow-enums-runtime": "^0.0.6", "glob": "^7.1.1", "invariant": "^2.2.4", - "jest-environment-node": "^29.6.3", + "jest-environment-node": "^29.7.0", "memoize-one": "^5.0.0", "metro-runtime": "^0.81.0", "metro-source-map": "^0.81.0", diff --git a/yarn.lock b/yarn.lock index 677f6eb0aab..b4e04dccdff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1360,7 +1360,7 @@ slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/create-cache-key-function@^29.6.3": +"@jest/create-cache-key-function@^29.7.0": version "29.7.0" resolved "https://registry.yarnpkg.com/@jest/create-cache-key-function/-/create-cache-key-function-29.7.0.tgz#793be38148fab78e65f40ae30c36785f4ad859f0" integrity sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA== @@ -5531,7 +5531,7 @@ jest-each@^29.7.0: jest-util "^29.7.0" pretty-format "^29.7.0" -jest-environment-node@^29.6.3, jest-environment-node@^29.7.0: +jest-environment-node@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.7.0.tgz#0b93e111dda8ec120bc8300e6d1fb9576e164376" integrity sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw== @@ -5799,7 +5799,7 @@ jest-worker@^29.6.3, jest-worker@^29.7.0: merge-stream "^2.0.0" supports-color "^8.0.0" -jest@^29.6.3: +jest@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/jest/-/jest-29.7.0.tgz#994676fc24177f088f1c5e3737f5697204ff2613" integrity sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==