mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove unused Flow suppressions (#25977)
These suppressions are no longer required.
Generated using:
```sh
flow/tool update-suppressions .
```
followed by adding back 1 or 2 suppressions that were only triggered in
some configurations.
DiffTrain build for [c49131669b](https://github.com/facebook/react/commit/c49131669ba23500b8b071a5ca6ef189a28aa83e)
[View git log for this commit](https://github.com/facebook/react/commits/c49131669ba23500b8b071a5ca6ef189a28aa83e)
This commit is contained in:
@@ -1 +1 @@
|
||||
afe6521e134178920f0523ede4c715942d8f0564
|
||||
c49131669ba23500b8b071a5ca6ef189a28aa83e
|
||||
|
||||
@@ -1 +1 @@
|
||||
afe6521e134178920f0523ede4c715942d8f0564
|
||||
c49131669ba23500b8b071a5ca6ef189a28aa83e
|
||||
|
||||
@@ -27,7 +27,7 @@ if (
|
||||
}
|
||||
"use strict";
|
||||
|
||||
var ReactVersion = "18.3.0-www-classic-afe6521e1-20230109";
|
||||
var ReactVersion = "18.3.0-www-classic-c49131669-20230110";
|
||||
|
||||
// ATTENTION
|
||||
// When adding new symbols to this file,
|
||||
@@ -2179,9 +2179,7 @@ var ReactCurrentActQueue = {
|
||||
didUsePromise: false
|
||||
};
|
||||
|
||||
var ReactDebugCurrentFrame =
|
||||
// $FlowFixMe[incompatible-exact]
|
||||
{};
|
||||
var ReactDebugCurrentFrame = {};
|
||||
var currentExtraStackFrame = null;
|
||||
function setExtraStackFrame(stack) {
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@ if (
|
||||
}
|
||||
"use strict";
|
||||
|
||||
var ReactVersion = "18.3.0-www-modern-afe6521e1-20230109";
|
||||
var ReactVersion = "18.3.0-www-modern-c49131669-20230110";
|
||||
|
||||
// ATTENTION
|
||||
// When adding new symbols to this file,
|
||||
@@ -2179,9 +2179,7 @@ var ReactCurrentActQueue = {
|
||||
didUsePromise: false
|
||||
};
|
||||
|
||||
var ReactDebugCurrentFrame =
|
||||
// $FlowFixMe[incompatible-exact]
|
||||
{};
|
||||
var ReactDebugCurrentFrame = {};
|
||||
var currentExtraStackFrame = null;
|
||||
function setExtraStackFrame(stack) {
|
||||
{
|
||||
|
||||
@@ -643,4 +643,4 @@ exports.useSyncExternalStore = function(
|
||||
);
|
||||
};
|
||||
exports.useTransition = useTransition;
|
||||
exports.version = "18.3.0-www-classic-afe6521e1-20230109";
|
||||
exports.version = "18.3.0-www-classic-c49131669-20230110";
|
||||
|
||||
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function(
|
||||
);
|
||||
};
|
||||
exports.useTransition = useTransition;
|
||||
exports.version = "18.3.0-www-modern-afe6521e1-20230109";
|
||||
exports.version = "18.3.0-www-modern-c49131669-20230110";
|
||||
|
||||
@@ -654,7 +654,7 @@ exports.useSyncExternalStore = function(
|
||||
);
|
||||
};
|
||||
exports.useTransition = useTransition;
|
||||
exports.version = "18.3.0-www-classic-afe6521e1-20230109";
|
||||
exports.version = "18.3.0-www-classic-c49131669-20230110";
|
||||
|
||||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
||||
if (
|
||||
|
||||
@@ -646,7 +646,7 @@ exports.useSyncExternalStore = function(
|
||||
);
|
||||
};
|
||||
exports.useTransition = useTransition;
|
||||
exports.version = "18.3.0-www-modern-afe6521e1-20230109";
|
||||
exports.version = "18.3.0-www-modern-c49131669-20230110";
|
||||
|
||||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
||||
if (
|
||||
|
||||
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
|
||||
return self;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-classic-afe6521e1-20230109";
|
||||
var ReactVersion = "18.3.0-www-classic-c49131669-20230110";
|
||||
|
||||
var LegacyRoot = 0;
|
||||
var ConcurrentRoot = 1;
|
||||
@@ -3352,7 +3352,7 @@ var warnedAboutMissingGetChildContext;
|
||||
|
||||
{
|
||||
warnedAboutMissingGetChildContext = {};
|
||||
} // $FlowFixMe[incompatible-exact]
|
||||
}
|
||||
|
||||
var emptyContextObject = {};
|
||||
|
||||
@@ -13113,7 +13113,6 @@ function updateSimpleMemoComponent(
|
||||
try {
|
||||
outerMemoType = init(payload);
|
||||
} catch (x) {
|
||||
// $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
outerMemoType = null;
|
||||
} // Inner propTypes will be validated in the function component path.
|
||||
|
||||
@@ -20863,12 +20862,10 @@ function getRetryCache(finishedWork) {
|
||||
}
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = finishedWork.stateNode; // $FlowFixMe[incompatible-type-arg] found when upgrading Flow
|
||||
|
||||
var _retryCache = instance._retryCache; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
var instance = finishedWork.stateNode;
|
||||
var _retryCache = instance._retryCache;
|
||||
|
||||
if (_retryCache === null) {
|
||||
// $FlowFixMe[incompatible-type]
|
||||
_retryCache = instance._retryCache = new PossiblyWeakSet();
|
||||
}
|
||||
|
||||
@@ -24305,7 +24302,7 @@ function handleThrow(root, thrownValue) {
|
||||
// This is a regular error.
|
||||
var isWakeable =
|
||||
thrownValue !== null &&
|
||||
typeof thrownValue === "object" && // $FlowFixMe[method-unbinding]
|
||||
typeof thrownValue === "object" &&
|
||||
typeof thrownValue.then === "function";
|
||||
workInProgressSuspendedReason = isWakeable // A wakeable object was thrown by a legacy Suspense implementation.
|
||||
? // This has slightly different behavior than suspending with `use`.
|
||||
@@ -25877,8 +25874,7 @@ function resolveRetryWakeable(boundaryFiber, wakeable) {
|
||||
break;
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = boundaryFiber.stateNode; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
|
||||
var instance = boundaryFiber.stateNode;
|
||||
retryCache = instance._retryCache;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
|
||||
return self;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-modern-afe6521e1-20230109";
|
||||
var ReactVersion = "18.3.0-www-modern-c49131669-20230110";
|
||||
|
||||
var LegacyRoot = 0;
|
||||
var ConcurrentRoot = 1;
|
||||
@@ -12841,7 +12841,6 @@ function updateSimpleMemoComponent(
|
||||
try {
|
||||
outerMemoType = init(payload);
|
||||
} catch (x) {
|
||||
// $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
outerMemoType = null;
|
||||
} // Inner propTypes will be validated in the function component path.
|
||||
|
||||
@@ -20552,12 +20551,10 @@ function getRetryCache(finishedWork) {
|
||||
}
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = finishedWork.stateNode; // $FlowFixMe[incompatible-type-arg] found when upgrading Flow
|
||||
|
||||
var _retryCache = instance._retryCache; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
var instance = finishedWork.stateNode;
|
||||
var _retryCache = instance._retryCache;
|
||||
|
||||
if (_retryCache === null) {
|
||||
// $FlowFixMe[incompatible-type]
|
||||
_retryCache = instance._retryCache = new PossiblyWeakSet();
|
||||
}
|
||||
|
||||
@@ -23994,7 +23991,7 @@ function handleThrow(root, thrownValue) {
|
||||
// This is a regular error.
|
||||
var isWakeable =
|
||||
thrownValue !== null &&
|
||||
typeof thrownValue === "object" && // $FlowFixMe[method-unbinding]
|
||||
typeof thrownValue === "object" &&
|
||||
typeof thrownValue.then === "function";
|
||||
workInProgressSuspendedReason = isWakeable // A wakeable object was thrown by a legacy Suspense implementation.
|
||||
? // This has slightly different behavior than suspending with `use`.
|
||||
@@ -25566,8 +25563,7 @@ function resolveRetryWakeable(boundaryFiber, wakeable) {
|
||||
break;
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = boundaryFiber.stateNode; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
|
||||
var instance = boundaryFiber.stateNode;
|
||||
retryCache = instance._retryCache;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -9804,7 +9804,7 @@ var slice = Array.prototype.slice,
|
||||
return null;
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-www-classic-afe6521e1-20230109",
|
||||
version: "18.3.0-www-classic-c49131669-20230110",
|
||||
rendererPackageName: "react-art"
|
||||
};
|
||||
var internals$jscomp$inline_1318 = {
|
||||
@@ -9835,7 +9835,7 @@ var internals$jscomp$inline_1318 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-next-afe6521e1-20230109"
|
||||
reconcilerVersion: "18.3.0-next-c49131669-20230110"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1319 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
@@ -9471,7 +9471,7 @@ var slice = Array.prototype.slice,
|
||||
return null;
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-www-modern-afe6521e1-20230109",
|
||||
version: "18.3.0-www-modern-c49131669-20230110",
|
||||
rendererPackageName: "react-art"
|
||||
};
|
||||
var internals$jscomp$inline_1309 = {
|
||||
@@ -9502,7 +9502,7 @@ var internals$jscomp$inline_1309 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-next-afe6521e1-20230109"
|
||||
reconcilerVersion: "18.3.0-next-c49131669-20230110"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1310 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
@@ -9793,8 +9793,7 @@ function getRootNode(container) {
|
||||
}
|
||||
|
||||
function getCurrentResourceRoot() {
|
||||
var currentContainer = getCurrentRootHostContainer(); // $FlowFixMe flow should know currentContainer is a Node and has getRootNode
|
||||
|
||||
var currentContainer = getCurrentRootHostContainer();
|
||||
return currentContainer ? getRootNode(currentContainer) : null;
|
||||
} // This resource type constraint can be loosened. It really is everything except PreloadResource
|
||||
// because that is the only one that does not have an optional instance type. Expand as needed.
|
||||
@@ -17221,7 +17220,7 @@ var warnedAboutMissingGetChildContext;
|
||||
|
||||
{
|
||||
warnedAboutMissingGetChildContext = {};
|
||||
} // $FlowFixMe[incompatible-exact]
|
||||
}
|
||||
|
||||
var emptyContextObject = {};
|
||||
|
||||
@@ -27479,7 +27478,6 @@ function updateSimpleMemoComponent(
|
||||
try {
|
||||
outerMemoType = init(payload);
|
||||
} catch (x) {
|
||||
// $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
outerMemoType = null;
|
||||
} // Inner propTypes will be validated in the function component path.
|
||||
|
||||
@@ -35679,12 +35677,10 @@ function getRetryCache(finishedWork) {
|
||||
}
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = finishedWork.stateNode; // $FlowFixMe[incompatible-type-arg] found when upgrading Flow
|
||||
|
||||
var _retryCache = instance._retryCache; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
var instance = finishedWork.stateNode;
|
||||
var _retryCache = instance._retryCache;
|
||||
|
||||
if (_retryCache === null) {
|
||||
// $FlowFixMe[incompatible-type]
|
||||
_retryCache = instance._retryCache = new PossiblyWeakSet();
|
||||
}
|
||||
|
||||
@@ -39332,7 +39328,7 @@ function handleThrow(root, thrownValue) {
|
||||
// This is a regular error.
|
||||
var isWakeable =
|
||||
thrownValue !== null &&
|
||||
typeof thrownValue === "object" && // $FlowFixMe[method-unbinding]
|
||||
typeof thrownValue === "object" &&
|
||||
typeof thrownValue.then === "function";
|
||||
workInProgressSuspendedReason = isWakeable // A wakeable object was thrown by a legacy Suspense implementation.
|
||||
? // This has slightly different behavior than suspending with `use`.
|
||||
@@ -40935,8 +40931,7 @@ function resolveRetryWakeable(boundaryFiber, wakeable) {
|
||||
break;
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = boundaryFiber.stateNode; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
|
||||
var instance = boundaryFiber.stateNode;
|
||||
retryCache = instance._retryCache;
|
||||
break;
|
||||
}
|
||||
@@ -42707,7 +42702,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-classic-afe6521e1-20230109";
|
||||
var ReactVersion = "18.3.0-www-classic-c49131669-20230110";
|
||||
|
||||
function createPortal(
|
||||
children,
|
||||
|
||||
@@ -14301,8 +14301,7 @@ function getRootNode(container) {
|
||||
}
|
||||
|
||||
function getCurrentResourceRoot() {
|
||||
var currentContainer = getCurrentRootHostContainer(); // $FlowFixMe flow should know currentContainer is a Node and has getRootNode
|
||||
|
||||
var currentContainer = getCurrentRootHostContainer();
|
||||
return currentContainer ? getRootNode(currentContainer) : null;
|
||||
} // This resource type constraint can be loosened. It really is everything except PreloadResource
|
||||
// because that is the only one that does not have an optional instance type. Expand as needed.
|
||||
@@ -27242,7 +27241,6 @@ function updateSimpleMemoComponent(
|
||||
try {
|
||||
outerMemoType = init(payload);
|
||||
} catch (x) {
|
||||
// $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
outerMemoType = null;
|
||||
} // Inner propTypes will be validated in the function component path.
|
||||
|
||||
@@ -35403,12 +35401,10 @@ function getRetryCache(finishedWork) {
|
||||
}
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = finishedWork.stateNode; // $FlowFixMe[incompatible-type-arg] found when upgrading Flow
|
||||
|
||||
var _retryCache = instance._retryCache; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
var instance = finishedWork.stateNode;
|
||||
var _retryCache = instance._retryCache;
|
||||
|
||||
if (_retryCache === null) {
|
||||
// $FlowFixMe[incompatible-type]
|
||||
_retryCache = instance._retryCache = new PossiblyWeakSet();
|
||||
}
|
||||
|
||||
@@ -39056,7 +39052,7 @@ function handleThrow(root, thrownValue) {
|
||||
// This is a regular error.
|
||||
var isWakeable =
|
||||
thrownValue !== null &&
|
||||
typeof thrownValue === "object" && // $FlowFixMe[method-unbinding]
|
||||
typeof thrownValue === "object" &&
|
||||
typeof thrownValue.then === "function";
|
||||
workInProgressSuspendedReason = isWakeable // A wakeable object was thrown by a legacy Suspense implementation.
|
||||
? // This has slightly different behavior than suspending with `use`.
|
||||
@@ -40659,8 +40655,7 @@ function resolveRetryWakeable(boundaryFiber, wakeable) {
|
||||
break;
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = boundaryFiber.stateNode; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
|
||||
var instance = boundaryFiber.stateNode;
|
||||
retryCache = instance._retryCache;
|
||||
break;
|
||||
}
|
||||
@@ -42431,7 +42426,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-modern-afe6521e1-20230109";
|
||||
var ReactVersion = "18.3.0-www-modern-c49131669-20230110";
|
||||
|
||||
function createPortal(
|
||||
children,
|
||||
|
||||
@@ -15554,7 +15554,7 @@ Internals.Events = [
|
||||
var devToolsConfig$jscomp$inline_1750 = {
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "18.3.0-www-classic-afe6521e1-20230109",
|
||||
version: "18.3.0-www-classic-c49131669-20230110",
|
||||
rendererPackageName: "react-dom"
|
||||
};
|
||||
var internals$jscomp$inline_2134 = {
|
||||
@@ -15584,7 +15584,7 @@ var internals$jscomp$inline_2134 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-next-afe6521e1-20230109"
|
||||
reconcilerVersion: "18.3.0-next-c49131669-20230110"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2135 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -15826,4 +15826,4 @@ exports.unstable_renderSubtreeIntoContainer = function(
|
||||
);
|
||||
};
|
||||
exports.unstable_runWithPriority = runWithPriority;
|
||||
exports.version = "18.3.0-next-afe6521e1-20230109";
|
||||
exports.version = "18.3.0-next-c49131669-20230110";
|
||||
|
||||
@@ -15115,7 +15115,7 @@ Internals.Events = [
|
||||
var devToolsConfig$jscomp$inline_1718 = {
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "18.3.0-www-modern-afe6521e1-20230109",
|
||||
version: "18.3.0-www-modern-c49131669-20230110",
|
||||
rendererPackageName: "react-dom"
|
||||
};
|
||||
var internals$jscomp$inline_2109 = {
|
||||
@@ -15146,7 +15146,7 @@ var internals$jscomp$inline_2109 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-next-afe6521e1-20230109"
|
||||
reconcilerVersion: "18.3.0-next-c49131669-20230110"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2110 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -15334,4 +15334,4 @@ exports.unstable_flushControlled = function(fn) {
|
||||
}
|
||||
};
|
||||
exports.unstable_runWithPriority = runWithPriority;
|
||||
exports.version = "18.3.0-next-afe6521e1-20230109";
|
||||
exports.version = "18.3.0-next-c49131669-20230110";
|
||||
|
||||
@@ -16324,7 +16324,7 @@ Internals.Events = [
|
||||
var devToolsConfig$jscomp$inline_1824 = {
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "18.3.0-www-classic-afe6521e1-20230109",
|
||||
version: "18.3.0-www-classic-c49131669-20230110",
|
||||
rendererPackageName: "react-dom"
|
||||
};
|
||||
(function(internals) {
|
||||
@@ -16368,7 +16368,7 @@ var devToolsConfig$jscomp$inline_1824 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-next-afe6521e1-20230109"
|
||||
reconcilerVersion: "18.3.0-next-c49131669-20230110"
|
||||
});
|
||||
assign(Internals, {
|
||||
ReactBrowserEventEmitter: {
|
||||
@@ -16597,7 +16597,7 @@ exports.unstable_renderSubtreeIntoContainer = function(
|
||||
);
|
||||
};
|
||||
exports.unstable_runWithPriority = runWithPriority;
|
||||
exports.version = "18.3.0-next-afe6521e1-20230109";
|
||||
exports.version = "18.3.0-next-c49131669-20230110";
|
||||
|
||||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
||||
if (
|
||||
|
||||
@@ -15875,7 +15875,7 @@ Internals.Events = [
|
||||
var devToolsConfig$jscomp$inline_1792 = {
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "18.3.0-www-modern-afe6521e1-20230109",
|
||||
version: "18.3.0-www-modern-c49131669-20230110",
|
||||
rendererPackageName: "react-dom"
|
||||
};
|
||||
(function(internals) {
|
||||
@@ -15920,7 +15920,7 @@ var devToolsConfig$jscomp$inline_1792 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-next-afe6521e1-20230109"
|
||||
reconcilerVersion: "18.3.0-next-c49131669-20230110"
|
||||
});
|
||||
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
|
||||
exports.createPortal = function(children, container) {
|
||||
@@ -16095,7 +16095,7 @@ exports.unstable_flushControlled = function(fn) {
|
||||
}
|
||||
};
|
||||
exports.unstable_runWithPriority = runWithPriority;
|
||||
exports.version = "18.3.0-next-afe6521e1-20230109";
|
||||
exports.version = "18.3.0-next-c49131669-20230110";
|
||||
|
||||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
||||
if (
|
||||
|
||||
@@ -19,7 +19,7 @@ if (__DEV__) {
|
||||
var React = require("react");
|
||||
var ReactDOM = require("react-dom");
|
||||
|
||||
var ReactVersion = "18.3.0-www-classic-afe6521e1-20230109";
|
||||
var ReactVersion = "18.3.0-www-classic-c49131669-20230110";
|
||||
|
||||
// This refers to a WWW module.
|
||||
var warningWWW = require("warning");
|
||||
@@ -3371,13 +3371,12 @@ function resourcesFromLink(props) {
|
||||
// client
|
||||
{
|
||||
validateLinkPropsForStyleResource(props);
|
||||
} // $FlowFixMe[incompatible-use] found when upgrading Flow
|
||||
}
|
||||
|
||||
var preloadResource = resources.preloadsMap.get(href);
|
||||
|
||||
if (!preloadResource) {
|
||||
preloadResource = createPreloadResource(
|
||||
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
||||
resources,
|
||||
href,
|
||||
"style",
|
||||
@@ -3549,7 +3548,6 @@ function resourcesFromScript(props) {
|
||||
|
||||
if (!preloadResource) {
|
||||
preloadResource = createPreloadResource(
|
||||
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
||||
resources,
|
||||
src,
|
||||
"script",
|
||||
@@ -7483,7 +7481,7 @@ var warnedAboutMissingGetChildContext;
|
||||
|
||||
{
|
||||
warnedAboutMissingGetChildContext = {};
|
||||
} // $FlowFixMe[incompatible-exact]
|
||||
}
|
||||
|
||||
var emptyContextObject = {};
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ if (__DEV__) {
|
||||
var React = require("react");
|
||||
var ReactDOM = require("react-dom");
|
||||
|
||||
var ReactVersion = "18.3.0-www-modern-afe6521e1-20230109";
|
||||
var ReactVersion = "18.3.0-www-modern-c49131669-20230110";
|
||||
|
||||
// This refers to a WWW module.
|
||||
var warningWWW = require("warning");
|
||||
@@ -3375,13 +3375,12 @@ function resourcesFromLink(props) {
|
||||
// client
|
||||
{
|
||||
validateLinkPropsForStyleResource(props);
|
||||
} // $FlowFixMe[incompatible-use] found when upgrading Flow
|
||||
}
|
||||
|
||||
var preloadResource = resources.preloadsMap.get(href);
|
||||
|
||||
if (!preloadResource) {
|
||||
preloadResource = createPreloadResource(
|
||||
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
||||
resources,
|
||||
href,
|
||||
"style",
|
||||
@@ -3553,7 +3552,6 @@ function resourcesFromScript(props) {
|
||||
|
||||
if (!preloadResource) {
|
||||
preloadResource = createPreloadResource(
|
||||
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
||||
resources,
|
||||
src,
|
||||
"script",
|
||||
|
||||
@@ -3633,4 +3633,4 @@ exports.renderToString = function(children, options) {
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "18.3.0-www-classic-afe6521e1-20230109";
|
||||
exports.version = "18.3.0-www-classic-c49131669-20230110";
|
||||
|
||||
@@ -3546,4 +3546,4 @@ exports.renderToString = function(children, options) {
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "18.3.0-www-modern-afe6521e1-20230109";
|
||||
exports.version = "18.3.0-www-modern-c49131669-20230110";
|
||||
|
||||
@@ -3372,13 +3372,12 @@ function resourcesFromLink(props) {
|
||||
// client
|
||||
{
|
||||
validateLinkPropsForStyleResource(props);
|
||||
} // $FlowFixMe[incompatible-use] found when upgrading Flow
|
||||
}
|
||||
|
||||
var preloadResource = resources.preloadsMap.get(href);
|
||||
|
||||
if (!preloadResource) {
|
||||
preloadResource = createPreloadResource(
|
||||
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
||||
resources,
|
||||
href,
|
||||
"style",
|
||||
@@ -3550,7 +3549,6 @@ function resourcesFromScript(props) {
|
||||
|
||||
if (!preloadResource) {
|
||||
preloadResource = createPreloadResource(
|
||||
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
||||
resources,
|
||||
src,
|
||||
"script",
|
||||
|
||||
@@ -8620,7 +8620,7 @@ var warnedAboutMissingGetChildContext;
|
||||
|
||||
{
|
||||
warnedAboutMissingGetChildContext = {};
|
||||
} // $FlowFixMe[incompatible-exact]
|
||||
}
|
||||
|
||||
var emptyContextObject = {};
|
||||
|
||||
@@ -17914,7 +17914,6 @@ function updateSimpleMemoComponent(
|
||||
try {
|
||||
outerMemoType = init(payload);
|
||||
} catch (x) {
|
||||
// $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
outerMemoType = null;
|
||||
} // Inner propTypes will be validated in the function component path.
|
||||
|
||||
@@ -24847,12 +24846,10 @@ function getRetryCache(finishedWork) {
|
||||
}
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = finishedWork.stateNode; // $FlowFixMe[incompatible-type-arg] found when upgrading Flow
|
||||
|
||||
var _retryCache = instance._retryCache; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
var instance = finishedWork.stateNode;
|
||||
var _retryCache = instance._retryCache;
|
||||
|
||||
if (_retryCache === null) {
|
||||
// $FlowFixMe[incompatible-type]
|
||||
_retryCache = instance._retryCache = new PossiblyWeakSet();
|
||||
}
|
||||
|
||||
@@ -28429,7 +28426,7 @@ function handleThrow(root, thrownValue) {
|
||||
// This is a regular error.
|
||||
var isWakeable =
|
||||
thrownValue !== null &&
|
||||
typeof thrownValue === "object" && // $FlowFixMe[method-unbinding]
|
||||
typeof thrownValue === "object" &&
|
||||
typeof thrownValue.then === "function";
|
||||
workInProgressSuspendedReason = isWakeable // A wakeable object was thrown by a legacy Suspense implementation.
|
||||
? // This has slightly different behavior than suspending with `use`.
|
||||
@@ -29701,8 +29698,7 @@ function resolveRetryWakeable(boundaryFiber, wakeable) {
|
||||
break;
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = boundaryFiber.stateNode; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
|
||||
var instance = boundaryFiber.stateNode;
|
||||
retryCache = instance._retryCache;
|
||||
break;
|
||||
}
|
||||
@@ -31205,7 +31201,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-classic-afe6521e1-20230109";
|
||||
var ReactVersion = "18.3.0-www-classic-c49131669-20230110";
|
||||
|
||||
function createPortal(
|
||||
children,
|
||||
@@ -33666,8 +33662,7 @@ function getRootNode(container) {
|
||||
}
|
||||
|
||||
function getCurrentResourceRoot() {
|
||||
var currentContainer = getCurrentRootHostContainer(); // $FlowFixMe flow should know currentContainer is a Node and has getRootNode
|
||||
|
||||
var currentContainer = getCurrentRootHostContainer();
|
||||
return currentContainer ? getRootNode(currentContainer) : null;
|
||||
} // This resource type constraint can be loosened. It really is everything except PreloadResource
|
||||
// because that is the only one that does not have an optional instance type. Expand as needed.
|
||||
|
||||
@@ -13424,8 +13424,7 @@ function getRootNode(container) {
|
||||
}
|
||||
|
||||
function getCurrentResourceRoot() {
|
||||
var currentContainer = getCurrentRootHostContainer(); // $FlowFixMe flow should know currentContainer is a Node and has getRootNode
|
||||
|
||||
var currentContainer = getCurrentRootHostContainer();
|
||||
return currentContainer ? getRootNode(currentContainer) : null;
|
||||
} // This resource type constraint can be loosened. It really is everything except PreloadResource
|
||||
// because that is the only one that does not have an optional instance type. Expand as needed.
|
||||
@@ -25381,7 +25380,6 @@ function updateSimpleMemoComponent(
|
||||
try {
|
||||
outerMemoType = init(payload);
|
||||
} catch (x) {
|
||||
// $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
outerMemoType = null;
|
||||
} // Inner propTypes will be validated in the function component path.
|
||||
|
||||
@@ -32161,12 +32159,10 @@ function getRetryCache(finishedWork) {
|
||||
}
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = finishedWork.stateNode; // $FlowFixMe[incompatible-type-arg] found when upgrading Flow
|
||||
|
||||
var _retryCache = instance._retryCache; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
var instance = finishedWork.stateNode;
|
||||
var _retryCache = instance._retryCache;
|
||||
|
||||
if (_retryCache === null) {
|
||||
// $FlowFixMe[incompatible-type]
|
||||
_retryCache = instance._retryCache = new PossiblyWeakSet();
|
||||
}
|
||||
|
||||
@@ -35743,7 +35739,7 @@ function handleThrow(root, thrownValue) {
|
||||
// This is a regular error.
|
||||
var isWakeable =
|
||||
thrownValue !== null &&
|
||||
typeof thrownValue === "object" && // $FlowFixMe[method-unbinding]
|
||||
typeof thrownValue === "object" &&
|
||||
typeof thrownValue.then === "function";
|
||||
workInProgressSuspendedReason = isWakeable // A wakeable object was thrown by a legacy Suspense implementation.
|
||||
? // This has slightly different behavior than suspending with `use`.
|
||||
@@ -37015,8 +37011,7 @@ function resolveRetryWakeable(boundaryFiber, wakeable) {
|
||||
break;
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = boundaryFiber.stateNode; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
|
||||
var instance = boundaryFiber.stateNode;
|
||||
retryCache = instance._retryCache;
|
||||
break;
|
||||
}
|
||||
@@ -38519,7 +38514,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-modern-afe6521e1-20230109";
|
||||
var ReactVersion = "18.3.0-www-modern-c49131669-20230110";
|
||||
|
||||
function createPortal(
|
||||
children,
|
||||
|
||||
@@ -11328,7 +11328,7 @@ Internals.Events = [
|
||||
var devToolsConfig$jscomp$inline_1518 = {
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "18.3.0-www-classic-afe6521e1-20230109",
|
||||
version: "18.3.0-www-classic-c49131669-20230110",
|
||||
rendererPackageName: "react-dom"
|
||||
};
|
||||
var internals$jscomp$inline_2047 = {
|
||||
@@ -11358,7 +11358,7 @@ var internals$jscomp$inline_2047 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-next-afe6521e1-20230109"
|
||||
reconcilerVersion: "18.3.0-next-c49131669-20230110"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2048 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -14847,4 +14847,4 @@ exports.unstable_renderSubtreeIntoContainer = function(
|
||||
);
|
||||
};
|
||||
exports.unstable_runWithPriority = runWithPriority;
|
||||
exports.version = "18.3.0-next-afe6521e1-20230109";
|
||||
exports.version = "18.3.0-next-c49131669-20230110";
|
||||
|
||||
@@ -13967,7 +13967,7 @@ Internals.Events = [
|
||||
var devToolsConfig$jscomp$inline_1673 = {
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "18.3.0-www-modern-afe6521e1-20230109",
|
||||
version: "18.3.0-www-modern-c49131669-20230110",
|
||||
rendererPackageName: "react-dom"
|
||||
};
|
||||
var internals$jscomp$inline_2072 = {
|
||||
@@ -13998,7 +13998,7 @@ var internals$jscomp$inline_2072 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-next-afe6521e1-20230109"
|
||||
reconcilerVersion: "18.3.0-next-c49131669-20230110"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2073 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -14321,4 +14321,4 @@ exports.unstable_flushControlled = function(fn) {
|
||||
}
|
||||
};
|
||||
exports.unstable_runWithPriority = runWithPriority;
|
||||
exports.version = "18.3.0-next-afe6521e1-20230109";
|
||||
exports.version = "18.3.0-next-c49131669-20230110";
|
||||
|
||||
@@ -1194,8 +1194,7 @@ var DefaultCacheDispatcher = {
|
||||
var entry = cache.get(createSignal);
|
||||
|
||||
if (entry === undefined) {
|
||||
entry = createSignal(); // $FlowFixMe[incompatible-use] found when upgrading Flow
|
||||
|
||||
entry = createSignal();
|
||||
cache.set(createSignal, entry);
|
||||
}
|
||||
|
||||
@@ -1207,7 +1206,6 @@ var DefaultCacheDispatcher = {
|
||||
|
||||
if (entry === undefined) {
|
||||
entry = resourceType(); // TODO: Warn if undefined?
|
||||
// $FlowFixMe[incompatible-use] found when upgrading Flow
|
||||
|
||||
cache.set(resourceType, entry);
|
||||
}
|
||||
@@ -2167,7 +2165,7 @@ function resolveModelToJSON(request, parent, key, value) {
|
||||
emitSymbolChunk(request, symbolId, name);
|
||||
writtenSymbols.set(value, symbolId);
|
||||
return serializeByValueID(symbolId);
|
||||
} // $FlowFixMe: bigint isn't added to Flow yet.
|
||||
}
|
||||
|
||||
if (typeof value === "bigint") {
|
||||
throw new Error(
|
||||
|
||||
@@ -1198,8 +1198,7 @@ var DefaultCacheDispatcher = {
|
||||
var entry = cache.get(createSignal);
|
||||
|
||||
if (entry === undefined) {
|
||||
entry = createSignal(); // $FlowFixMe[incompatible-use] found when upgrading Flow
|
||||
|
||||
entry = createSignal();
|
||||
cache.set(createSignal, entry);
|
||||
}
|
||||
|
||||
@@ -1211,7 +1210,6 @@ var DefaultCacheDispatcher = {
|
||||
|
||||
if (entry === undefined) {
|
||||
entry = resourceType(); // TODO: Warn if undefined?
|
||||
// $FlowFixMe[incompatible-use] found when upgrading Flow
|
||||
|
||||
cache.set(resourceType, entry);
|
||||
}
|
||||
@@ -2171,7 +2169,7 @@ function resolveModelToJSON(request, parent, key, value) {
|
||||
emitSymbolChunk(request, symbolId, name);
|
||||
writtenSymbols.set(value, symbolId);
|
||||
return serializeByValueID(symbolId);
|
||||
} // $FlowFixMe: bigint isn't added to Flow yet.
|
||||
}
|
||||
|
||||
if (typeof value === "bigint") {
|
||||
throw new Error(
|
||||
|
||||
@@ -2557,7 +2557,7 @@ var warnedAboutMissingGetChildContext;
|
||||
|
||||
{
|
||||
warnedAboutMissingGetChildContext = {};
|
||||
} // $FlowFixMe[incompatible-exact]
|
||||
}
|
||||
|
||||
var emptyContextObject = {};
|
||||
|
||||
@@ -11368,7 +11368,6 @@ function updateSimpleMemoComponent(
|
||||
try {
|
||||
outerMemoType = init(payload);
|
||||
} catch (x) {
|
||||
// $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
outerMemoType = null;
|
||||
} // Inner propTypes will be validated in the function component path.
|
||||
|
||||
@@ -18027,12 +18026,10 @@ function getRetryCache(finishedWork) {
|
||||
}
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = finishedWork.stateNode; // $FlowFixMe[incompatible-type-arg] found when upgrading Flow
|
||||
|
||||
var _retryCache = instance._retryCache; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
var instance = finishedWork.stateNode;
|
||||
var _retryCache = instance._retryCache;
|
||||
|
||||
if (_retryCache === null) {
|
||||
// $FlowFixMe[incompatible-type]
|
||||
_retryCache = instance._retryCache = new PossiblyWeakSet();
|
||||
}
|
||||
|
||||
@@ -21002,7 +20999,7 @@ function handleThrow(root, thrownValue) {
|
||||
// This is a regular error.
|
||||
var isWakeable =
|
||||
thrownValue !== null &&
|
||||
typeof thrownValue === "object" && // $FlowFixMe[method-unbinding]
|
||||
typeof thrownValue === "object" &&
|
||||
typeof thrownValue.then === "function";
|
||||
workInProgressSuspendedReason = isWakeable // A wakeable object was thrown by a legacy Suspense implementation.
|
||||
? // This has slightly different behavior than suspending with `use`.
|
||||
@@ -22347,8 +22344,7 @@ function resolveRetryWakeable(boundaryFiber, wakeable) {
|
||||
break;
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = boundaryFiber.stateNode; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
|
||||
var instance = boundaryFiber.stateNode;
|
||||
retryCache = instance._retryCache;
|
||||
break;
|
||||
}
|
||||
@@ -23901,7 +23897,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-classic-afe6521e1-20230109";
|
||||
var ReactVersion = "18.3.0-www-classic-c49131669-20230110";
|
||||
|
||||
// Might add PROFILE later.
|
||||
|
||||
|
||||
@@ -2557,7 +2557,7 @@ var warnedAboutMissingGetChildContext;
|
||||
|
||||
{
|
||||
warnedAboutMissingGetChildContext = {};
|
||||
} // $FlowFixMe[incompatible-exact]
|
||||
}
|
||||
|
||||
var emptyContextObject = {};
|
||||
|
||||
@@ -11368,7 +11368,6 @@ function updateSimpleMemoComponent(
|
||||
try {
|
||||
outerMemoType = init(payload);
|
||||
} catch (x) {
|
||||
// $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
outerMemoType = null;
|
||||
} // Inner propTypes will be validated in the function component path.
|
||||
|
||||
@@ -18027,12 +18026,10 @@ function getRetryCache(finishedWork) {
|
||||
}
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = finishedWork.stateNode; // $FlowFixMe[incompatible-type-arg] found when upgrading Flow
|
||||
|
||||
var _retryCache = instance._retryCache; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
var instance = finishedWork.stateNode;
|
||||
var _retryCache = instance._retryCache;
|
||||
|
||||
if (_retryCache === null) {
|
||||
// $FlowFixMe[incompatible-type]
|
||||
_retryCache = instance._retryCache = new PossiblyWeakSet();
|
||||
}
|
||||
|
||||
@@ -21002,7 +20999,7 @@ function handleThrow(root, thrownValue) {
|
||||
// This is a regular error.
|
||||
var isWakeable =
|
||||
thrownValue !== null &&
|
||||
typeof thrownValue === "object" && // $FlowFixMe[method-unbinding]
|
||||
typeof thrownValue === "object" &&
|
||||
typeof thrownValue.then === "function";
|
||||
workInProgressSuspendedReason = isWakeable // A wakeable object was thrown by a legacy Suspense implementation.
|
||||
? // This has slightly different behavior than suspending with `use`.
|
||||
@@ -22347,8 +22344,7 @@ function resolveRetryWakeable(boundaryFiber, wakeable) {
|
||||
break;
|
||||
|
||||
case OffscreenComponent: {
|
||||
var instance = boundaryFiber.stateNode; // $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
|
||||
var instance = boundaryFiber.stateNode;
|
||||
retryCache = instance._retryCache;
|
||||
break;
|
||||
}
|
||||
@@ -23901,7 +23897,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-modern-afe6521e1-20230109";
|
||||
var ReactVersion = "18.3.0-www-modern-c49131669-20230110";
|
||||
|
||||
// Might add PROFILE later.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user