From 739a8dfcf42db651e5e1db4918eb4e34ee3a6a22 Mon Sep 17 00:00:00 2001 From: "Alex Taylor (alta)" Date: Thu, 18 Apr 2024 16:40:54 -0700 Subject: [PATCH] Deploy 0.234.0 to xplat Summary: Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D56280192 fbshipit-source-id: 68e0288bb214644d24f3d9f132c3ffff2a3d512a --- .flowconfig | 2 +- package.json | 2 +- .../react-native/Libraries/Network/RCTNetworking.js.flow | 1 + .../js/examples/Accessibility/AccessibilityExample.js | 1 + .../PlatformTest/RNTesterPlatformTestEventRecorder.js | 1 + yarn.lock | 8 ++++---- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.flowconfig b/.flowconfig index 7da9eba7ea4..d831cb0fed2 100644 --- a/.flowconfig +++ b/.flowconfig @@ -85,4 +85,4 @@ untyped-import untyped-type-import [version] -^0.233.0 +^0.234.0 diff --git a/package.json b/package.json index 7c17b189df8..0ef5876c331 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "eslint-plugin-redundant-undefined": "^0.4.0", "eslint-plugin-relay": "^1.8.3", "flow-api-translator": "0.20.1", - "flow-bin": "^0.233.0", + "flow-bin": "^0.234.0", "glob": "^7.1.1", "hermes-eslint": "0.20.1", "hermes-transform": "0.20.1", diff --git a/packages/react-native/Libraries/Network/RCTNetworking.js.flow b/packages/react-native/Libraries/Network/RCTNetworking.js.flow index 668e802386a..45006af0ef1 100644 --- a/packages/react-native/Libraries/Network/RCTNetworking.js.flow +++ b/packages/react-native/Libraries/Network/RCTNetworking.js.flow @@ -63,6 +63,7 @@ type RCTNetworkingEventDefinitions = $ReadOnly<{ declare const RCTNetworking: interface { addListener>( eventType: K, + // $FlowFixMe[invalid-computed-prop] listener: (...$ElementType) => mixed, context?: mixed, ): EventSubscription, diff --git a/packages/rn-tester/js/examples/Accessibility/AccessibilityExample.js b/packages/rn-tester/js/examples/Accessibility/AccessibilityExample.js index 49fa8bfaffe..f7e92706c4a 100644 --- a/packages/rn-tester/js/examples/Accessibility/AccessibilityExample.js +++ b/packages/rn-tester/js/examples/Accessibility/AccessibilityExample.js @@ -1705,6 +1705,7 @@ function DisplayOptionStatusExample({ React.useEffect(() => { const listener = AccessibilityInfo.addEventListener( // $FlowFixMe[prop-missing] + // $FlowFixMe[invalid-computed-prop] notification, setStatusEnabled, ); diff --git a/packages/rn-tester/js/examples/Experimental/PlatformTest/RNTesterPlatformTestEventRecorder.js b/packages/rn-tester/js/examples/Experimental/PlatformTest/RNTesterPlatformTestEventRecorder.js index 63eb574191f..01dd7d8f898 100644 --- a/packages/rn-tester/js/examples/Experimental/PlatformTest/RNTesterPlatformTestEventRecorder.js +++ b/packages/rn-tester/js/examples/Experimental/PlatformTest/RNTesterPlatformTestEventRecorder.js @@ -124,6 +124,7 @@ class RNTesterPlatformTestEventRecorder { 'on' + eventName[0].toUpperCase() + eventName.slice(1); return { ...acc, + // $FlowFixMe[missing-local-annot] [eventPropName]: e => { recordedEventHandler(e, eventName); }, diff --git a/yarn.lock b/yarn.lock index a096795a6c8..30cb8d654a0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5219,10 +5219,10 @@ flow-api-translator@0.20.1: hermes-parser "0.20.1" hermes-transform "0.20.1" -flow-bin@^0.233.0: - version "0.233.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.233.0.tgz#e31951c81d3ec590e1cbfd96e540f6dd2459554c" - integrity sha512-BInTgW8v6xdWzVcItgKKUYCacheMw78Xrrn0Ziii5lN+vf/RKmvVX9mFHuOSN1zawZuq7GpqmT6oIS/oQuOAQg== +flow-bin@^0.234.0: + version "0.234.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.234.0.tgz#17dfc5aac1d928b6d7194f93bd0bf742d735c77d" + integrity sha512-uLmvfFRW6yEcz2wSJ2H6192RwknBpzAHBezDcXzmxJASxB6QzjKadhPxZvsJ74uJ+9Th1hDNuRB4mGrVUeneyA== flow-enums-runtime@^0.0.6: version "0.0.6"