From 782e0bff4a4c7af5ac87cb423a485b224d40944c 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 a29bacdae4d875..0199cdfe834846 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "metro-source-map": "0.67.0", "nullthrows": "^1.1.1", "pretty-format": "^26.5.2", - "promise": "^8.0.3", + "promise": "^8.2.0", "react-devtools-core": "^4.23.0", "react-native-gradle-plugin": "^0.0.6", "react-refresh": "^0.4.0", diff --git a/yarn.lock b/yarn.lock index 44fb942a581a9d..34db833e5ba41d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5821,10 +5821,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"