From 12390025f6a926130ba4e3513bef12b9d2e11f35 Mon Sep 17 00:00:00 2001 From: Marco Wang Date: Tue, 16 Sep 2025 20:30:20 -0700 Subject: [PATCH] Deploy 0.282.0 to xplat Summary: [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D82597378 --- .flowconfig | 2 +- package.json | 2 +- packages/react-native/jest/mockComponent.js | 3 ++- yarn.lock | 8 ++++---- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.flowconfig b/.flowconfig index 793fae5bce38..6729581d0bb2 100644 --- a/.flowconfig +++ b/.flowconfig @@ -98,4 +98,4 @@ untyped-import untyped-type-import [version] -^0.281.0 +^0.282.0 diff --git a/package.json b/package.json index 396e28c7de1b..483228743a41 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "eslint-plugin-relay": "^1.8.3", "fb-dotslash": "0.5.8", "flow-api-translator": "0.32.0", - "flow-bin": "^0.281.0", + "flow-bin": "^0.282.0", "glob": "^7.1.1", "hermes-eslint": "0.32.0", "hermes-transform": "0.32.0", diff --git a/packages/react-native/jest/mockComponent.js b/packages/react-native/jest/mockComponent.js index ebe409b236f8..fd5795bc07b0 100644 --- a/packages/react-native/jest/mockComponent.js +++ b/packages/react-native/jest/mockComponent.js @@ -28,7 +28,8 @@ export default function mockComponent< instanceMethods: ?interface {}, isESModule: TIsESModule, ): TIsESModule extends true - ? ModuleDefault + ? // $FlowFixMe[incompatible-use] + ModuleDefault : TComponentModule & typeof instanceMethods { const RealComponent: TComponentType = isESModule ? // $FlowFixMe[prop-missing] diff --git a/yarn.lock b/yarn.lock index 9525146ce53a..daca5e61af47 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4944,10 +4944,10 @@ flow-api-translator@0.32.0: hermes-transform "0.32.0" typescript "5.3.2" -flow-bin@^0.281.0: - version "0.281.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.281.0.tgz#be49afd6da986ba355e27d38775547b60b398e65" - integrity sha512-jgSKNLolqwtI4CZ/lTh/YKf0JAtFGTrf/8ETZkfxxyT5AYB9NfiO5KQttW0gtd63plppvw3ghyVFKLSK3TH6hg== +flow-bin@^0.282.0: + version "0.282.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.282.0.tgz#ecbbd0c032c37eb7791eb66a790b9902eab492a6" + integrity sha512-gZnUBsnMN8iYAcvJLEoF04gLaegv93h8IB1e4HURBaPuyUZoBaStAm5z24wl9NviaB66GbN+hZ9vxDSa+HzlzQ== flow-enums-runtime@^0.0.6: version "0.0.6"