From 6b55fa8a7643de3d5f1ab4d58b456742e6b3967a Mon Sep 17 00:00:00 2001 From: David <4661784+retyui@users.noreply.github.com> Date: Wed, 7 Sep 2022 12:17:55 -0700 Subject: [PATCH] Add support `Promise.allSettled` out of box (#34544) Summary: Issue: https://github.com/facebook/react-native/issues/30236 [General] [Added] - Added support `Promise.allSettled` Pull Request resolved: https://github.com/facebook/react-native/pull/34544 Test Plan: Release notes [`promise@8.2.0`](https://github.com/then/promise/releases/tag/8.2.0) ```tsx typeof Promise.allSettled // function ``` Reviewed By: motiz88 Differential Revision: D39170057 Pulled By: jacdebug fbshipit-source-id: 72467285e1ad82510ca8fe3d5f347ec8ae286823 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ff2f120510981d..47f22bc1e67d0e 100644 --- a/package.json +++ b/package.json @@ -117,7 +117,7 @@ "mkdirp": "^0.5.1", "nullthrows": "^1.1.1", "pretty-format": "^26.5.2", - "promise": "^8.0.3", + "promise": "^8.2.0", "react-devtools-core": "4.24.0", "react-native-gradle-plugin": "^0.0.7", "react-refresh": "^0.4.0", diff --git a/yarn.lock b/yarn.lock index 58092a4abd3cfd..1020ac98504235 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5956,10 +5956,10 @@ progress@^2.0.0: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f" integrity sha1-ihvjZr+Pwj2yvSPxDG/pILQ4nR8= -promise@^8.0.3: - version "8.0.3" - resolved "https://registry.yarnpkg.com/promise/-/promise-8.0.3.tgz#f592e099c6cddc000d538ee7283bb190452b0bf6" - integrity sha512-HeRDUL1RJiLhyA0/grn+PTShlBAcLuh/1BJGtrvjwbvRDCTLLMEz9rOGCV+R3vHY4MixIuoMEd9Yq/XvsTPcjw== +promise@^8.2.0: + version "8.2.0" + resolved "https://registry.yarnpkg.com/promise/-/promise-8.2.0.tgz#a1f6280ab67457fbfc8aad2b198c9497e9e5c806" + integrity sha512-+CMAlLHqwRYwBMXKCP+o8ns7DN+xHDUiI+0nArsiJ9y+kJVPLFxEaSw6Ha9s9H0tftxg2Yzl25wqj9G7m5wLZg== dependencies: asap "~2.0.6"