From 377aa7a30f5ca1f128fd9222b317ff543e9b0e4a Mon Sep 17 00:00:00 2001 From: Christoph Purrer Date: Mon, 8 Aug 2022 13:40:38 -0700 Subject: [PATCH] Make clang-format work in M1 (Apple Silicon) Summary: - Current version of clang-format does not work on Apple M1/M2/... chipsets https://github.com/angular/clang-format/issues/78 Changelog: [General][Fixed] - Make clang-format work in M1 (Apple Silicon) Reviewed By: cortinico Differential Revision: D38505844 fbshipit-source-id: c94a71dea82217e725a3609d72692a15a8fe22e0 --- repo-config/package.json | 2 +- yarn.lock | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/repo-config/package.json b/repo-config/package.json index 8afcd12dab96c5..a52ffc790a3558 100644 --- a/repo-config/package.json +++ b/repo-config/package.json @@ -17,7 +17,7 @@ "@react-native/eslint-plugin-specs": "^0.71.0", "@reactions/component": "^2.0.2", "async": "^3.2.2", - "clang-format": "^1.2.4", + "clang-format": "^1.8.0", "connect": "^3.6.5", "coveralls": "^3.1.1", "eslint": "^8.19.0", diff --git a/yarn.lock b/yarn.lock index 58bf94cd3e1bb8..b59611d4a706c7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1743,16 +1743,16 @@ async-limiter@~1.0.0: resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" integrity sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg== -async@^1.5.2: - version "1.5.2" - resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" - integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo= - async@^3.2.2: version "3.2.3" resolved "https://registry.yarnpkg.com/async/-/async-3.2.3.tgz#ac53dafd3f4720ee9e8a160628f18ea91df196c9" integrity sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g== +async@^3.2.3: + version "3.2.4" + resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" + integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ== + asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -2150,12 +2150,12 @@ cjs-module-lexer@^0.6.0: resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz#4186fcca0eae175970aee870b9fe2d6cf8d5655f" integrity sha512-uc2Vix1frTfnuzxxu1Hp4ktSvM3QaI4oXl4ZUqL1wjTu/BGki9TrCWoqLTg/drR1KwAEarXuRFCG2Svr1GxPFw== -clang-format@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/clang-format/-/clang-format-1.2.4.tgz#4bb4b0a98180428deb093cf20982e9fc1af20b6c" - integrity sha512-sw+nrGUp3hvmANd1qF8vZPuezSYQAiXgGBiEtkXTtJnnu6b00fCqkkDIsnRKrNgg4nv6NYZE92ejvOMIXZoejw== +clang-format@^1.8.0: + version "1.8.0" + resolved "https://registry.yarnpkg.com/clang-format/-/clang-format-1.8.0.tgz#7779df1c5ce1bc8aac1b0b02b4e479191ef21d46" + integrity sha512-pK8gzfu55/lHzIpQ1givIbWfn3eXnU7SfxqIwVgnn5jEM6j4ZJYjpFqFs4iSBPNedzRMmfjYjuQhu657WAXHXw== dependencies: - async "^1.5.2" + async "^3.2.3" glob "^7.0.0" resolve "^1.1.6"