diff --git a/package.json b/package.json index a49c3fa3f0385f..766f0452c904f9 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "babel-preset-fbjs": "^3.4.0", "chalk": "^4.0.0", "clang-format": "^1.8.0", - "commander": "^12.0.0", + "commander": "^9.4.1", "connect": "^3.6.5", "eslint": "^8.57.0", "eslint-config-prettier": "^8.5.0", diff --git a/packages/helloworld/package.json b/packages/helloworld/package.json index 034bdd7074d65e..d9e11b3f446610 100644 --- a/packages/helloworld/package.json +++ b/packages/helloworld/package.json @@ -25,7 +25,7 @@ "@react-native/metro-config": "0.75.2", "babel-jest": "^29.6.3", "chalk": "^4.1.2", - "commander": "^12.0.0", + "commander": "^9.4.1", "eslint": "^8.19.0", "jest": "^29.6.3", "listr2": "^8.2.1", diff --git a/packages/react-native-info/package.json b/packages/react-native-info/package.json index 48333c24cb29e1..f7148656724c6c 100644 --- a/packages/react-native-info/package.json +++ b/packages/react-native-info/package.json @@ -21,7 +21,7 @@ "@react-native-community/cli-platform-apple": "14.1.0", "@react-native-community/cli-tools": "14.1.0", "@react-native-community/cli-types": "14.1.0", - "commander": "^12.0.0", + "commander": "^9.4.1", "fs-extra": "^11.2.0", "yaml": "^2.4.1" }, diff --git a/packages/react-native/package.json b/packages/react-native/package.json index 22c51ace9f973e..bc3f423dc06c27 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -124,7 +124,7 @@ "ansi-regex": "^5.0.0", "base64-js": "^1.5.1", "chalk": "^4.0.0", - "commander": "^12.0.0", + "commander": "^9.4.1", "event-target-shim": "^5.0.1", "flow-enums-runtime": "^0.0.6", "glob": "^7.1.1", diff --git a/yarn.lock b/yarn.lock index 6fa371a4c5b5d2..77f3f59f0d6a5f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3941,11 +3941,6 @@ command-exists@^1.2.8: resolved "https://registry.yarnpkg.com/command-exists/-/command-exists-1.2.9.tgz#c50725af3808c8ab0260fd60b01fbfa25b954f69" integrity sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w== -commander@^12.0.0: - version "12.1.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-12.1.0.tgz#01423b36f501259fdaac4d0e4d60c96c991585d3" - integrity sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA== - commander@^2.12.1, commander@^2.18.0, commander@^2.20.0: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"