From 4631cf933e5da69a885a63a9dfefc821458128f2 Mon Sep 17 00:00:00 2001 From: Jiamin Zhu Date: Fri, 14 Oct 2022 10:45:04 -0700 Subject: [PATCH] Revert D40374535: Deploy 0.190.0 to xplat Differential Revision: D40374535 (https://github.com/facebook/react-native/commit/5359f1de12c9ef1924926c881e6752016f245913) Original commit changeset: 92788a21a4f2 Original Phabricator Diff: D40374535 (https://github.com/facebook/react-native/commit/5359f1de12c9ef1924926c881e6752016f245913) fbshipit-source-id: a0115dc24590bc50fa1aee2770dbb13b2edaf580 --- .flowconfig | 2 +- .flowconfig.android | 2 +- Libraries/Animated/NativeAnimatedHelper.js | 3 --- Libraries/Lists/FillRateHelper.js | 1 - package.json | 2 +- repo-config/package.json | 2 +- template/_flowconfig | 2 +- yarn.lock | 8 ++++---- 8 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.flowconfig b/.flowconfig index db64c64dc16..7bdb80a58d2 100644 --- a/.flowconfig +++ b/.flowconfig @@ -74,4 +74,4 @@ untyped-import untyped-type-import [version] -^0.190.0 +^0.189.0 diff --git a/.flowconfig.android b/.flowconfig.android index a0794d0cfaf..7fb052c01fc 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -74,4 +74,4 @@ untyped-import untyped-type-import [version] -^0.190.0 +^0.189.0 diff --git a/Libraries/Animated/NativeAnimatedHelper.js b/Libraries/Animated/NativeAnimatedHelper.js index 704a4f6e1b7..ed43ff0d6be 100644 --- a/Libraries/Animated/NativeAnimatedHelper.js +++ b/Libraries/Animated/NativeAnimatedHelper.js @@ -425,17 +425,14 @@ const SUPPORTED_INTERPOLATION_PARAMS = { }; function addWhitelistedStyleProp(prop: string): void { - // $FlowFixMe[prop-missing] SUPPORTED_STYLES[prop] = true; } function addWhitelistedTransformProp(prop: string): void { - // $FlowFixMe[prop-missing] SUPPORTED_TRANSFORMS[prop] = true; } function addWhitelistedInterpolationParam(param: string): void { - // $FlowFixMe[prop-missing] SUPPORTED_INTERPOLATION_PARAMS[param] = true; } diff --git a/Libraries/Lists/FillRateHelper.js b/Libraries/Lists/FillRateHelper.js index 87482e73f6b..188919a5812 100644 --- a/Libraries/Lists/FillRateHelper.js +++ b/Libraries/Lists/FillRateHelper.js @@ -128,7 +128,6 @@ class FillRateHelper { mostly_blank_time_frac: this._info.mostly_blank_ms / total_time_spent, }; for (const key in derived) { - // $FlowFixMe[prop-missing] derived[key] = Math.round(1000 * derived[key]) / 1000; } console.debug('FillRateHelper deactivateAndFlush: ', {derived, info}); diff --git a/package.json b/package.json index c3dda79f101..ea795ea6623 100644 --- a/package.json +++ b/package.json @@ -141,7 +141,7 @@ "ws": "^6.2.2" }, "devDependencies": { - "flow-bin": "^0.190.0", + "flow-bin": "^0.189.0", "hermes-eslint": "0.8.0", "react": "18.2.0", "react-test-renderer": "^18.2.0" diff --git a/repo-config/package.json b/repo-config/package.json index d3914b8a4e1..846f99a4646 100644 --- a/repo-config/package.json +++ b/repo-config/package.json @@ -36,7 +36,7 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-native": "^4.0.0", "eslint-plugin-relay": "^1.8.3", - "flow-bin": "^0.190.0", + "flow-bin": "^0.189.0", "inquirer": "^7.1.0", "jest": "^29.0.3", "jest-junit": "^10.0.0", diff --git a/template/_flowconfig b/template/_flowconfig index d501f4bacdb..5a85e847e43 100644 --- a/template/_flowconfig +++ b/template/_flowconfig @@ -60,4 +60,4 @@ untyped-import untyped-type-import [version] -^0.190.0 +^0.189.0 diff --git a/yarn.lock b/yarn.lock index 38291c25ec6..40c5c13afd0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4905,10 +4905,10 @@ flatted@^3.1.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.2.tgz#64bfed5cb68fe3ca78b3eb214ad97b63bedce561" integrity sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA== -flow-bin@^0.190.0: - version "0.190.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.190.0.tgz#cfc50e1474facf8150232a6c498fe66a6bb75969" - integrity sha512-Qo3bvN3cmGFXsq63ZxcHFZXQDvgx84fCuq8cXuKk5xbvuebBGwMqS+ku/rH+gEkciRrcTYrXqoSzb9b6ShcoJg== +flow-bin@^0.189.0: + version "0.189.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.189.0.tgz#f334fb434b7c3ade2f410ecd2c9d9b9401c9a174" + integrity sha512-LvbY9EYQujhxNwGAE/ElMunzVV6vwdiooEixEl39XANpNsPh30+uZIDNUczol90pA56T7Idxr8QltxH+YQWdEA== flow-parser@0.*, flow-parser@^0.185.0: version "0.185.0"