From 3df08cb0acecce70cf350d5ef7d93bdbaad4b183 Mon Sep 17 00:00:00 2001 From: kassens Date: Tue, 9 May 2023 14:53:56 +0000 Subject: [PATCH] Flow upgrade to 0.205.1 (#26796) Just a small upgrade to keep us current and remove unused suppressions (probably fixed by some upgrade since). - `*` is no longer allowed and has been an alias for `any` for a while now. DiffTrain build for [fda1f0b902b527089fe5ae7b3aa573c633166ec9](https://github.com/facebook/react/commit/fda1f0b902b527089fe5ae7b3aa573c633166ec9) --- compiled/facebook-www/REVISION | 2 +- compiled/facebook-www/React-dev.classic.js | 5 ++--- compiled/facebook-www/React-dev.modern.js | 5 ++--- compiled/facebook-www/ReactART-dev.classic.js | 4 ++-- compiled/facebook-www/ReactART-dev.modern.js | 4 ++-- compiled/facebook-www/ReactART-prod.classic.js | 4 ++-- compiled/facebook-www/ReactART-prod.modern.js | 4 ++-- compiled/facebook-www/ReactDOM-dev.classic.js | 5 ++--- compiled/facebook-www/ReactDOM-dev.modern.js | 5 ++--- compiled/facebook-www/ReactDOMTesting-dev.classic.js | 5 ++--- compiled/facebook-www/ReactDOMTesting-dev.modern.js | 5 ++--- compiled/facebook-www/ReactDOMTesting-prod.classic.js | 6 +++--- compiled/facebook-www/ReactDOMTesting-prod.modern.js | 6 +++--- .../facebook-www/ReactFlightDOMRelayClient-dev.classic.js | 6 +----- .../facebook-www/ReactFlightDOMRelayClient-dev.modern.js | 6 +----- .../facebook-www/ReactFlightDOMRelayServer-dev.classic.js | 6 +----- .../facebook-www/ReactFlightDOMRelayServer-dev.modern.js | 6 +----- compiled/facebook-www/ReactFreshRuntime-dev.classic.js | 1 - compiled/facebook-www/ReactFreshRuntime-dev.modern.js | 1 - compiled/facebook-www/ReactTestRenderer-dev.classic.js | 4 ++-- compiled/facebook-www/ReactTestRenderer-dev.modern.js | 4 ++-- 21 files changed, 35 insertions(+), 59 deletions(-) diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index 17fd0a53be..c7aea04894 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -b00e27342d6ff0f2a3a57b8e1edf66290d27cf07 +fda1f0b902b527089fe5ae7b3aa573c633166ec9 diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 2a9886cda0..2ddcdf9aa9 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -27,7 +27,7 @@ if ( } "use strict"; -var ReactVersion = "18.3.0-www-classic-53439320"; +var ReactVersion = "18.3.0-www-classic-cb3b85f4"; // ATTENTION // When adding new symbols to this file, @@ -2012,8 +2012,7 @@ function useCacheRefresh() { return dispatcher.useCacheRefresh(); } function use(usable) { - var dispatcher = resolveDispatcher(); // $FlowFixMe[not-a-function] This is unstable, thus optional - + var dispatcher = resolveDispatcher(); return dispatcher.use(usable); } function useMemoCache(size) { diff --git a/compiled/facebook-www/React-dev.modern.js b/compiled/facebook-www/React-dev.modern.js index aec4cc95d0..ca697d73bb 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -27,7 +27,7 @@ if ( } "use strict"; -var ReactVersion = "18.3.0-www-modern-171e8ddd"; +var ReactVersion = "18.3.0-www-modern-bc9d666a"; // ATTENTION // When adding new symbols to this file, @@ -2012,8 +2012,7 @@ function useCacheRefresh() { return dispatcher.useCacheRefresh(); } function use(usable) { - var dispatcher = resolveDispatcher(); // $FlowFixMe[not-a-function] This is unstable, thus optional - + var dispatcher = resolveDispatcher(); return dispatcher.use(usable); } function useMemoCache(size) { diff --git a/compiled/facebook-www/ReactART-dev.classic.js b/compiled/facebook-www/ReactART-dev.classic.js index 320ea2628a..8922cfa543 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -69,7 +69,7 @@ function _assertThisInitialized(self) { return self; } -var ReactVersion = "18.3.0-www-classic-e737edcf"; +var ReactVersion = "18.3.0-www-classic-e1e0fe51"; var LegacyRoot = 0; var ConcurrentRoot = 1; @@ -4794,7 +4794,7 @@ function shallowEqual(objA, objB) { var currentKey = keysA[i]; if ( - !hasOwnProperty.call(objB, currentKey) || + !hasOwnProperty.call(objB, currentKey) || // $FlowFixMe[incompatible-use] lost refinement of `objB` !objectIs(objA[currentKey], objB[currentKey]) ) { return false; diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index e0e4e61340..44c8028828 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -69,7 +69,7 @@ function _assertThisInitialized(self) { return self; } -var ReactVersion = "18.3.0-www-modern-2d91b5df"; +var ReactVersion = "18.3.0-www-modern-f0df93d6"; var LegacyRoot = 0; var ConcurrentRoot = 1; @@ -4550,7 +4550,7 @@ function shallowEqual(objA, objB) { var currentKey = keysA[i]; if ( - !hasOwnProperty.call(objB, currentKey) || + !hasOwnProperty.call(objB, currentKey) || // $FlowFixMe[incompatible-use] lost refinement of `objB` !objectIs(objA[currentKey], objB[currentKey]) ) { return false; diff --git a/compiled/facebook-www/ReactART-prod.classic.js b/compiled/facebook-www/ReactART-prod.classic.js index 7c10ef1136..4f3ab0b09e 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -10193,7 +10193,7 @@ var slice = Array.prototype.slice, return null; }, bundleType: 0, - version: "18.3.0-www-classic-64ad8763", + version: "18.3.0-www-classic-b2a7bab7", rendererPackageName: "react-art" }; var internals$jscomp$inline_1325 = { @@ -10224,7 +10224,7 @@ var internals$jscomp$inline_1325 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-www-classic-64ad8763" + reconcilerVersion: "18.3.0-www-classic-b2a7bab7" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1326 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 98d32ae431..244f896008 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -9858,7 +9858,7 @@ var slice = Array.prototype.slice, return null; }, bundleType: 0, - version: "18.3.0-www-modern-a1c71e8e", + version: "18.3.0-www-modern-50ab1d1d", rendererPackageName: "react-art" }; var internals$jscomp$inline_1305 = { @@ -9889,7 +9889,7 @@ var internals$jscomp$inline_1305 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-www-modern-a1c71e8e" + reconcilerVersion: "18.3.0-www-modern-50ab1d1d" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1306 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index 9e7eeb267b..3f7f42f8ef 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -9420,7 +9420,7 @@ function shallowEqual(objA, objB) { var currentKey = keysA[i]; if ( - !hasOwnProperty.call(objB, currentKey) || + !hasOwnProperty.call(objB, currentKey) || // $FlowFixMe[incompatible-use] lost refinement of `objB` !objectIs(objA[currentKey], objB[currentKey]) ) { return false; @@ -34168,7 +34168,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-www-classic-0991f810"; +var ReactVersion = "18.3.0-www-classic-b6d18d0e"; function createPortal$1( children, @@ -37893,7 +37893,6 @@ function addTrappedEventListener( if (enableLegacyFBSupport && isDeferredListenerForLegacyFBSupport) { var originalListener = listener; // $FlowFixMe[missing-this-annot] - // $FlowFixMe[definition-cycle] listener = function () { removeEventListener(targetContainer, domEventName, unsubscribeListener); diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js index 3233b5e46b..8b9adff44c 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -9361,7 +9361,7 @@ function shallowEqual(objA, objB) { var currentKey = keysA[i]; if ( - !hasOwnProperty.call(objB, currentKey) || + !hasOwnProperty.call(objB, currentKey) || // $FlowFixMe[incompatible-use] lost refinement of `objB` !objectIs(objA[currentKey], objB[currentKey]) ) { return false; @@ -34013,7 +34013,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-www-modern-a1c71e8e"; +var ReactVersion = "18.3.0-www-modern-50ab1d1d"; function createPortal$1( children, @@ -38401,7 +38401,6 @@ function addTrappedEventListener( if (enableLegacyFBSupport && isDeferredListenerForLegacyFBSupport) { var originalListener = listener; // $FlowFixMe[missing-this-annot] - // $FlowFixMe[definition-cycle] listener = function () { removeEventListener( diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index 98c91e1b23..ea9a467d72 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -9554,7 +9554,7 @@ function shallowEqual(objA, objB) { var currentKey = keysA[i]; if ( - !hasOwnProperty.call(objB, currentKey) || + !hasOwnProperty.call(objB, currentKey) || // $FlowFixMe[incompatible-use] lost refinement of `objB` !objectIs(objA[currentKey], objB[currentKey]) ) { return false; @@ -34785,7 +34785,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-www-classic-f2874d23"; +var ReactVersion = "18.3.0-www-classic-cc8acd04"; function createPortal$1( children, @@ -38510,7 +38510,6 @@ function addTrappedEventListener( if (enableLegacyFBSupport && isDeferredListenerForLegacyFBSupport) { var originalListener = listener; // $FlowFixMe[missing-this-annot] - // $FlowFixMe[definition-cycle] listener = function () { removeEventListener(targetContainer, domEventName, unsubscribeListener); diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index 8e33948215..9701448964 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -9495,7 +9495,7 @@ function shallowEqual(objA, objB) { var currentKey = keysA[i]; if ( - !hasOwnProperty.call(objB, currentKey) || + !hasOwnProperty.call(objB, currentKey) || // $FlowFixMe[incompatible-use] lost refinement of `objB` !objectIs(objA[currentKey], objB[currentKey]) ) { return false; @@ -34630,7 +34630,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-www-modern-647efb04"; +var ReactVersion = "18.3.0-www-modern-b5e9f35e"; function createPortal$1( children, @@ -39018,7 +39018,6 @@ function addTrappedEventListener( if (enableLegacyFBSupport && isDeferredListenerForLegacyFBSupport) { var originalListener = listener; // $FlowFixMe[missing-this-annot] - // $FlowFixMe[definition-cycle] listener = function () { removeEventListener( diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index e4fc61ce1e..0ed951552f 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -16971,7 +16971,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1858 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "18.3.0-www-classic-e737edcf", + version: "18.3.0-www-classic-e1e0fe51", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2237 = { @@ -17001,7 +17001,7 @@ var internals$jscomp$inline_2237 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-www-classic-e737edcf" + reconcilerVersion: "18.3.0-www-classic-e1e0fe51" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2238 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17395,4 +17395,4 @@ exports.unstable_renderSubtreeIntoContainer = function ( ); }; exports.unstable_runWithPriority = runWithPriority; -exports.version = "18.3.0-www-classic-e737edcf"; +exports.version = "18.3.0-www-classic-e1e0fe51"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index 377319af78..dc61a5329d 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -16553,7 +16553,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1817 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "18.3.0-www-modern-171e8ddd", + version: "18.3.0-www-modern-bc9d666a", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2201 = { @@ -16584,7 +16584,7 @@ var internals$jscomp$inline_2201 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-www-modern-171e8ddd" + reconcilerVersion: "18.3.0-www-modern-bc9d666a" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2202 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16906,4 +16906,4 @@ exports.unstable_createEventHandle = function (type, options) { return eventHandle; }; exports.unstable_runWithPriority = runWithPriority; -exports.version = "18.3.0-www-modern-171e8ddd"; +exports.version = "18.3.0-www-modern-bc9d666a"; diff --git a/compiled/facebook-www/ReactFlightDOMRelayClient-dev.classic.js b/compiled/facebook-www/ReactFlightDOMRelayClient-dev.classic.js index d84eceb8a2..fc8355bd43 100644 --- a/compiled/facebook-www/ReactFlightDOMRelayClient-dev.classic.js +++ b/compiled/facebook-www/ReactFlightDOMRelayClient-dev.classic.js @@ -365,7 +365,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { if (typeof value === "string") { substr = value; } else if (typeof value === "object" && value !== null) { - // $FlowFixMe[incompatible-call] found when upgrading Flow substr = "{" + describeObjectForErrorMessage(value) + "}"; } else { substr = "{" + describeValueForErrorMessage(value) + "}"; @@ -398,7 +397,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { var _substr = void 0; if (typeof _value === "object" && _value !== null) { - // $FlowFixMe[incompatible-call] found when upgrading Flow _substr = describeObjectForErrorMessage(_value); } else { _substr = describeValueForErrorMessage(_value); @@ -441,7 +439,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { typeof _value2 === "object" && _value2 !== null ) { - // $FlowFixMe[incompatible-call] found when upgrading Flow _substr2 = describeObjectForErrorMessage(_value2); } else { _substr2 = describeValueForErrorMessage(_value2); @@ -482,7 +479,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { var _substr3 = void 0; if (typeof _value3 === "object" && _value3 !== null) { - // $FlowFixMe[incompatible-call] found when upgrading Flow _substr3 = describeObjectForErrorMessage(_value3); } else { _substr3 = describeValueForErrorMessage(_value3); @@ -735,7 +731,7 @@ function processReply(root, formFieldPrefix, resolve, reject) { if (value[value.length - 1] === "Z") { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] - var _originalValue = parent[key]; // $FlowFixMe[method-unbinding] + var _originalValue = parent[key]; if (_originalValue instanceof Date) { return serializeDateFromDateJSON(value); diff --git a/compiled/facebook-www/ReactFlightDOMRelayClient-dev.modern.js b/compiled/facebook-www/ReactFlightDOMRelayClient-dev.modern.js index d84eceb8a2..fc8355bd43 100644 --- a/compiled/facebook-www/ReactFlightDOMRelayClient-dev.modern.js +++ b/compiled/facebook-www/ReactFlightDOMRelayClient-dev.modern.js @@ -365,7 +365,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { if (typeof value === "string") { substr = value; } else if (typeof value === "object" && value !== null) { - // $FlowFixMe[incompatible-call] found when upgrading Flow substr = "{" + describeObjectForErrorMessage(value) + "}"; } else { substr = "{" + describeValueForErrorMessage(value) + "}"; @@ -398,7 +397,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { var _substr = void 0; if (typeof _value === "object" && _value !== null) { - // $FlowFixMe[incompatible-call] found when upgrading Flow _substr = describeObjectForErrorMessage(_value); } else { _substr = describeValueForErrorMessage(_value); @@ -441,7 +439,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { typeof _value2 === "object" && _value2 !== null ) { - // $FlowFixMe[incompatible-call] found when upgrading Flow _substr2 = describeObjectForErrorMessage(_value2); } else { _substr2 = describeValueForErrorMessage(_value2); @@ -482,7 +479,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { var _substr3 = void 0; if (typeof _value3 === "object" && _value3 !== null) { - // $FlowFixMe[incompatible-call] found when upgrading Flow _substr3 = describeObjectForErrorMessage(_value3); } else { _substr3 = describeValueForErrorMessage(_value3); @@ -735,7 +731,7 @@ function processReply(root, formFieldPrefix, resolve, reject) { if (value[value.length - 1] === "Z") { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] - var _originalValue = parent[key]; // $FlowFixMe[method-unbinding] + var _originalValue = parent[key]; if (_originalValue instanceof Date) { return serializeDateFromDateJSON(value); diff --git a/compiled/facebook-www/ReactFlightDOMRelayServer-dev.classic.js b/compiled/facebook-www/ReactFlightDOMRelayServer-dev.classic.js index 75f1813f30..c337be5701 100644 --- a/compiled/facebook-www/ReactFlightDOMRelayServer-dev.classic.js +++ b/compiled/facebook-www/ReactFlightDOMRelayServer-dev.classic.js @@ -987,7 +987,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { if (typeof value === "string") { substr = value; } else if (typeof value === "object" && value !== null) { - // $FlowFixMe[incompatible-call] found when upgrading Flow substr = "{" + describeObjectForErrorMessage(value) + "}"; } else { substr = "{" + describeValueForErrorMessage(value) + "}"; @@ -1020,7 +1019,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { var _substr = void 0; if (typeof _value === "object" && _value !== null) { - // $FlowFixMe[incompatible-call] found when upgrading Flow _substr = describeObjectForErrorMessage(_value); } else { _substr = describeValueForErrorMessage(_value); @@ -1063,7 +1061,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { typeof _value2 === "object" && _value2 !== null ) { - // $FlowFixMe[incompatible-call] found when upgrading Flow _substr2 = describeObjectForErrorMessage(_value2); } else { _substr2 = describeValueForErrorMessage(_value2); @@ -1104,7 +1101,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { var _substr3 = void 0; if (typeof _value3 === "object" && _value3 !== null) { - // $FlowFixMe[incompatible-call] found when upgrading Flow _substr3 = describeObjectForErrorMessage(_value3); } else { _substr3 = describeValueForErrorMessage(_value3); @@ -1904,7 +1900,7 @@ function resolveModelToJSON(request, parent, key, value) { if (value[value.length - 1] === "Z") { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] - var _originalValue = parent[key]; // $FlowFixMe[method-unbinding] + var _originalValue = parent[key]; if (_originalValue instanceof Date) { return serializeDateFromDateJSON(value); diff --git a/compiled/facebook-www/ReactFlightDOMRelayServer-dev.modern.js b/compiled/facebook-www/ReactFlightDOMRelayServer-dev.modern.js index 75f1813f30..c337be5701 100644 --- a/compiled/facebook-www/ReactFlightDOMRelayServer-dev.modern.js +++ b/compiled/facebook-www/ReactFlightDOMRelayServer-dev.modern.js @@ -987,7 +987,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { if (typeof value === "string") { substr = value; } else if (typeof value === "object" && value !== null) { - // $FlowFixMe[incompatible-call] found when upgrading Flow substr = "{" + describeObjectForErrorMessage(value) + "}"; } else { substr = "{" + describeValueForErrorMessage(value) + "}"; @@ -1020,7 +1019,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { var _substr = void 0; if (typeof _value === "object" && _value !== null) { - // $FlowFixMe[incompatible-call] found when upgrading Flow _substr = describeObjectForErrorMessage(_value); } else { _substr = describeValueForErrorMessage(_value); @@ -1063,7 +1061,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { typeof _value2 === "object" && _value2 !== null ) { - // $FlowFixMe[incompatible-call] found when upgrading Flow _substr2 = describeObjectForErrorMessage(_value2); } else { _substr2 = describeValueForErrorMessage(_value2); @@ -1104,7 +1101,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) { var _substr3 = void 0; if (typeof _value3 === "object" && _value3 !== null) { - // $FlowFixMe[incompatible-call] found when upgrading Flow _substr3 = describeObjectForErrorMessage(_value3); } else { _substr3 = describeValueForErrorMessage(_value3); @@ -1904,7 +1900,7 @@ function resolveModelToJSON(request, parent, key, value) { if (value[value.length - 1] === "Z") { // Possibly a Date, whose toJSON automatically calls toISOString // $FlowFixMe[incompatible-use] - var _originalValue = parent[key]; // $FlowFixMe[method-unbinding] + var _originalValue = parent[key]; if (_originalValue instanceof Date) { return serializeDateFromDateJSON(value); diff --git a/compiled/facebook-www/ReactFreshRuntime-dev.classic.js b/compiled/facebook-www/ReactFreshRuntime-dev.classic.js index aa73979b48..81b97e7233 100644 --- a/compiled/facebook-www/ReactFreshRuntime-dev.classic.js +++ b/compiled/facebook-www/ReactFreshRuntime-dev.classic.js @@ -576,7 +576,6 @@ function createSignatureFunctionForTransform() { // in HOC chains like _s(hoc1(_s(hoc2(_s(actualFunction))))). if (!savedType) { // We're in the innermost call, so this is the actual type. - // $FlowFixMe[escaped-generic] discovered when updating Flow savedType = type; hasCustomHooks = typeof getCustomHooks === "function"; } // Set the signature for all types (even wrappers!) in case diff --git a/compiled/facebook-www/ReactFreshRuntime-dev.modern.js b/compiled/facebook-www/ReactFreshRuntime-dev.modern.js index aa73979b48..81b97e7233 100644 --- a/compiled/facebook-www/ReactFreshRuntime-dev.modern.js +++ b/compiled/facebook-www/ReactFreshRuntime-dev.modern.js @@ -576,7 +576,6 @@ function createSignatureFunctionForTransform() { // in HOC chains like _s(hoc1(_s(hoc2(_s(actualFunction))))). if (!savedType) { // We're in the innermost call, so this is the actual type. - // $FlowFixMe[escaped-generic] discovered when updating Flow savedType = type; hasCustomHooks = typeof getCustomHooks === "function"; } // Set the signature for all types (even wrappers!) in case diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index fac7f38a62..28c2e53380 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -3756,7 +3756,7 @@ function shallowEqual(objA, objB) { var currentKey = keysA[i]; if ( - !hasOwnProperty.call(objB, currentKey) || + !hasOwnProperty.call(objB, currentKey) || // $FlowFixMe[incompatible-use] lost refinement of `objB` !objectIs(objA[currentKey], objB[currentKey]) ) { return false; @@ -24549,7 +24549,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-www-classic-6e3da9e8"; +var ReactVersion = "18.3.0-www-classic-b4adcaa5"; // Might add PROFILE later. diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index a56240a368..ba041bf14f 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -3756,7 +3756,7 @@ function shallowEqual(objA, objB) { var currentKey = keysA[i]; if ( - !hasOwnProperty.call(objB, currentKey) || + !hasOwnProperty.call(objB, currentKey) || // $FlowFixMe[incompatible-use] lost refinement of `objB` !objectIs(objA[currentKey], objB[currentKey]) ) { return false; @@ -24549,7 +24549,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-www-modern-171e8ddd"; +var ReactVersion = "18.3.0-www-modern-bc9d666a"; // Might add PROFILE later.