diff --git a/compiled/facebook-www/JSXDEVRuntime-dev.classic.js b/compiled/facebook-www/JSXDEVRuntime-dev.classic.js index c313520290..cd3486ac8b 100644 --- a/compiled/facebook-www/JSXDEVRuntime-dev.classic.js +++ b/compiled/facebook-www/JSXDEVRuntime-dev.classic.js @@ -214,7 +214,7 @@ function getComponentNameFromType(type) { return "Cache"; } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_TRACING_MARKER_TYPE: if (enableTransitionTracing) { @@ -260,8 +260,6 @@ function getComponentNameFromType(type) { var context2 = type; return (context2.displayName || context2._globalName) + ".Provider"; } - - // eslint-disable-next-line no-fallthrough } } diff --git a/compiled/facebook-www/JSXDEVRuntime-dev.modern.js b/compiled/facebook-www/JSXDEVRuntime-dev.modern.js index cfa7168b17..95d8aa8a99 100644 --- a/compiled/facebook-www/JSXDEVRuntime-dev.modern.js +++ b/compiled/facebook-www/JSXDEVRuntime-dev.modern.js @@ -214,7 +214,7 @@ function getComponentNameFromType(type) { return "Cache"; } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_TRACING_MARKER_TYPE: if (enableTransitionTracing) { @@ -260,8 +260,6 @@ function getComponentNameFromType(type) { var context2 = type; return (context2.displayName || context2._globalName) + ".Provider"; } - - // eslint-disable-next-line no-fallthrough } } diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index a04e537a0e..f141e797df 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -1ef9912cc096fa471019a54eff4999b36856288c +6bb84216807f5386d8a83baf9ee464358a68c7bd diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 0619c2a5bf..23bd0e65ba 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-d31cfc1b"; +var ReactVersion = "18.3.0-www-classic-0ae2769a"; // ATTENTION // When adding new symbols to this file, @@ -543,7 +543,7 @@ function getComponentNameFromType(type) { return "Cache"; } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_TRACING_MARKER_TYPE: if (enableTransitionTracing) { @@ -589,8 +589,6 @@ function getComponentNameFromType(type) { var context2 = type; return (context2.displayName || context2._globalName) + ".Provider"; } - - // eslint-disable-next-line no-fallthrough } } diff --git a/compiled/facebook-www/React-dev.modern.js b/compiled/facebook-www/React-dev.modern.js index 8f54a4f964..4880056278 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-0b6784ca"; +var ReactVersion = "18.3.0-www-modern-d63670f9"; // ATTENTION // When adding new symbols to this file, @@ -543,7 +543,7 @@ function getComponentNameFromType(type) { return "Cache"; } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_TRACING_MARKER_TYPE: if (enableTransitionTracing) { @@ -589,8 +589,6 @@ function getComponentNameFromType(type) { var context2 = type; return (context2.displayName || context2._globalName) + ".Provider"; } - - // eslint-disable-next-line no-fallthrough } } diff --git a/compiled/facebook-www/ReactART-dev.classic.js b/compiled/facebook-www/ReactART-dev.classic.js index 4609abd8d9..2e5defcfbb 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-38982954"; +var ReactVersion = "18.3.0-www-classic-afdf1f7f"; var LegacyRoot = 0; var ConcurrentRoot = 1; @@ -326,7 +326,7 @@ function getComponentNameFromType(type) { return "Cache"; } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_TRACING_MARKER_TYPE: if (enableTransitionTracing) { @@ -372,8 +372,6 @@ function getComponentNameFromType(type) { var context2 = type; return (context2.displayName || context2._globalName) + ".Provider"; } - - // eslint-disable-next-line no-fallthrough } } @@ -12618,9 +12616,8 @@ function throwException( } break; - } + } // Fall through } - // eslint-disable-next-line no-fallthrough default: { throw new Error( @@ -16288,11 +16285,11 @@ function beginWork$1(current, workInProgress, renderLanes) { case HostHoistable: - // eslint-disable-next-line no-fallthrough + // Fall through case HostSingleton: - // eslint-disable-next-line no-fallthrough + // Fall through case HostComponent: return updateHostComponent$1(current, workInProgress, renderLanes); @@ -18048,10 +18045,8 @@ function completeWork(current, workInProgress, renderLanes) { } case HostHoistable: - // eslint-disable-next-line-no-fallthrough case HostSingleton: - // eslint-disable-next-line-no-fallthrough case HostComponent: { popHostContext(workInProgress); @@ -19866,7 +19861,6 @@ function commitLayoutEffectOnFiber( } case HostHoistable: - // eslint-disable-next-line-no-fallthrough case HostSingleton: case HostComponent: { @@ -20500,7 +20494,6 @@ function commitPlacement(finishedWork) { switch (parentFiber.tag) { case HostSingleton: - // eslint-disable-next-line no-fallthrough case HostComponent: { var _parent = parentFiber.stateNode; @@ -20529,7 +20522,6 @@ function commitPlacement(finishedWork) { ); break; } - // eslint-disable-next-line-no-fallthrough default: throw new Error( @@ -20685,17 +20677,14 @@ function commitDeletionEffectsOnFiber( switch (deletedFiber.tag) { case HostHoistable: - // eslint-disable-next-line no-fallthrough case HostSingleton: - // eslint-disable-next-line no-fallthrough case HostComponent: { if (!offscreenSubtreeWasHidden) { safelyDetachRef(deletedFiber, nearestMountedAncestor); } // Intentional fallthrough to next branch } - // eslint-disable-next-line-no-fallthrough case HostText: { // We only need to remove the nearest host child. Set the host parent @@ -21191,10 +21180,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) { } case HostHoistable: - // eslint-disable-next-line-no-fallthrough case HostSingleton: - // eslint-disable-next-line-no-fallthrough case HostComponent: { recursivelyTraverseMutationEffects(root, finishedWork); @@ -22203,7 +22190,6 @@ function commitPassiveMountOnFiber( break; } // Intentional fallthrough to next branch } - // eslint-disable-next-line-no-fallthrough default: { recursivelyTraversePassiveMountEffects( @@ -22403,7 +22389,6 @@ function reconnectPassiveEffects( break; } // Intentional fallthrough to next branch } - // eslint-disable-next-line-no-fallthrough default: { recursivelyTraverseReconnectPassiveEffects( @@ -22478,7 +22463,6 @@ function commitAtomicPassiveEffects( break; } - // eslint-disable-next-line-no-fallthrough default: { recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); @@ -24259,9 +24243,6 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { case RootFatalErrored: { throw new Error("Root did not complete. This is a bug in React."); } - // Flow knows about invariant, so it complains if I add a break - // statement, but eslint doesn't know about invariant, so it complains - // if I do. eslint-disable-next-line no-fallthrough case RootErrored: { // We should have already attempted to retry this tree. If we reached @@ -25416,7 +25397,6 @@ function replaySuspendedUnitOfWork(unitOfWork) { // function component. unitOfWork.tag = FunctionComponent; // Fallthrough to the next branch. } - // eslint-disable-next-line no-fallthrough case SimpleMemoComponent: case FunctionComponent: { @@ -27806,26 +27786,26 @@ function createFiberFromTypeAndProps( return createFiberFromLegacyHidden(pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_SCOPE_TYPE: { return createFiberFromScope(type, pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_CACHE_TYPE: { return createFiberFromCache(pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_TRACING_MARKER_TYPE: if (enableTransitionTracing) { return createFiberFromTracingMarker(pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_DEBUG_TRACING_MODE_TYPE: if (enableDebugTracing) { @@ -27834,7 +27814,7 @@ function createFiberFromTypeAndProps( break; } - // eslint-disable-next-line no-fallthrough + // Fall through default: { if (typeof type === "object" && type !== null) { diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index ee93532213..4e1c010d1e 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-01966321"; +var ReactVersion = "18.3.0-www-modern-71e9d049"; var LegacyRoot = 0; var ConcurrentRoot = 1; @@ -326,7 +326,7 @@ function getComponentNameFromType(type) { return "Cache"; } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_TRACING_MARKER_TYPE: if (enableTransitionTracing) { @@ -372,8 +372,6 @@ function getComponentNameFromType(type) { var context2 = type; return (context2.displayName || context2._globalName) + ".Provider"; } - - // eslint-disable-next-line no-fallthrough } } @@ -12340,9 +12338,8 @@ function throwException( } break; - } + } // Fall through } - // eslint-disable-next-line no-fallthrough default: { throw new Error( @@ -15982,11 +15979,11 @@ function beginWork$1(current, workInProgress, renderLanes) { case HostHoistable: - // eslint-disable-next-line no-fallthrough + // Fall through case HostSingleton: - // eslint-disable-next-line no-fallthrough + // Fall through case HostComponent: return updateHostComponent$1(current, workInProgress, renderLanes); @@ -17735,10 +17732,8 @@ function completeWork(current, workInProgress, renderLanes) { } case HostHoistable: - // eslint-disable-next-line-no-fallthrough case HostSingleton: - // eslint-disable-next-line-no-fallthrough case HostComponent: { popHostContext(workInProgress); @@ -19531,7 +19526,6 @@ function commitLayoutEffectOnFiber( } case HostHoistable: - // eslint-disable-next-line-no-fallthrough case HostSingleton: case HostComponent: { @@ -20165,7 +20159,6 @@ function commitPlacement(finishedWork) { switch (parentFiber.tag) { case HostSingleton: - // eslint-disable-next-line no-fallthrough case HostComponent: { var _parent = parentFiber.stateNode; @@ -20194,7 +20187,6 @@ function commitPlacement(finishedWork) { ); break; } - // eslint-disable-next-line-no-fallthrough default: throw new Error( @@ -20350,17 +20342,14 @@ function commitDeletionEffectsOnFiber( switch (deletedFiber.tag) { case HostHoistable: - // eslint-disable-next-line no-fallthrough case HostSingleton: - // eslint-disable-next-line no-fallthrough case HostComponent: { if (!offscreenSubtreeWasHidden) { safelyDetachRef(deletedFiber, nearestMountedAncestor); } // Intentional fallthrough to next branch } - // eslint-disable-next-line-no-fallthrough case HostText: { // We only need to remove the nearest host child. Set the host parent @@ -20856,10 +20845,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) { } case HostHoistable: - // eslint-disable-next-line-no-fallthrough case HostSingleton: - // eslint-disable-next-line-no-fallthrough case HostComponent: { recursivelyTraverseMutationEffects(root, finishedWork); @@ -21868,7 +21855,6 @@ function commitPassiveMountOnFiber( break; } // Intentional fallthrough to next branch } - // eslint-disable-next-line-no-fallthrough default: { recursivelyTraversePassiveMountEffects( @@ -22068,7 +22054,6 @@ function reconnectPassiveEffects( break; } // Intentional fallthrough to next branch } - // eslint-disable-next-line-no-fallthrough default: { recursivelyTraverseReconnectPassiveEffects( @@ -22143,7 +22128,6 @@ function commitAtomicPassiveEffects( break; } - // eslint-disable-next-line-no-fallthrough default: { recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); @@ -23924,9 +23908,6 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { case RootFatalErrored: { throw new Error("Root did not complete. This is a bug in React."); } - // Flow knows about invariant, so it complains if I add a break - // statement, but eslint doesn't know about invariant, so it complains - // if I do. eslint-disable-next-line no-fallthrough case RootErrored: { // We should have already attempted to retry this tree. If we reached @@ -25081,7 +25062,6 @@ function replaySuspendedUnitOfWork(unitOfWork) { // function component. unitOfWork.tag = FunctionComponent; // Fallthrough to the next branch. } - // eslint-disable-next-line no-fallthrough case SimpleMemoComponent: case FunctionComponent: { @@ -27466,26 +27446,26 @@ function createFiberFromTypeAndProps( return createFiberFromLegacyHidden(pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_SCOPE_TYPE: { return createFiberFromScope(type, pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_CACHE_TYPE: { return createFiberFromCache(pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_TRACING_MARKER_TYPE: if (enableTransitionTracing) { return createFiberFromTracingMarker(pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_DEBUG_TRACING_MODE_TYPE: if (enableDebugTracing) { @@ -27494,7 +27474,7 @@ function createFiberFromTypeAndProps( break; } - // eslint-disable-next-line no-fallthrough + // Fall through default: { if (typeof type === "object" && type !== null) { diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index b48dfd5f57..8e0ba82671 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -9737,7 +9737,7 @@ var slice = Array.prototype.slice, return null; }, bundleType: 0, - version: "18.3.0-www-modern-6c430f83", + version: "18.3.0-www-modern-c4645088", rendererPackageName: "react-art" }; var internals$jscomp$inline_1324 = { @@ -9768,7 +9768,7 @@ var internals$jscomp$inline_1324 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-www-modern-6c430f83" + reconcilerVersion: "18.3.0-www-modern-c4645088" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1325 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index a76ee4e17e..4208e16689 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -295,7 +295,7 @@ function getComponentNameFromType(type) { return "Cache"; } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_TRACING_MARKER_TYPE: if (enableTransitionTracing) { @@ -341,8 +341,6 @@ function getComponentNameFromType(type) { var context2 = type; return (context2.displayName || context2._globalName) + ".Provider"; } - - // eslint-disable-next-line no-fallthrough } } @@ -16699,9 +16697,8 @@ function throwException( } break; - } + } // Fall through } - // eslint-disable-next-line no-fallthrough default: { throw new Error( @@ -20692,13 +20689,13 @@ function beginWork$1(current, workInProgress, renderLanes) { return updateHostHoistable(current, workInProgress); } - // eslint-disable-next-line no-fallthrough + // Fall through case HostSingleton: { return updateHostSingleton(current, workInProgress, renderLanes); } - // eslint-disable-next-line no-fallthrough + // Fall through case HostComponent: return updateHostComponent$1(current, workInProgress, renderLanes); @@ -22589,9 +22586,8 @@ function completeWork(current, workInProgress, renderLanes) { return null; } } - } + } // Fall through } - // eslint-disable-next-line-no-fallthrough case HostSingleton: { { @@ -22650,9 +22646,8 @@ function completeWork(current, workInProgress, renderLanes) { bubbleProperties(workInProgress); return null; - } + } // Fall through } - // eslint-disable-next-line-no-fallthrough case HostComponent: { popHostContext(workInProgress); @@ -24570,9 +24565,8 @@ function commitLayoutEffectOnFiber( } break; - } + } // Fall through } - // eslint-disable-next-line-no-fallthrough case HostSingleton: case HostComponent: { @@ -25241,9 +25235,8 @@ function commitPlacement(finishedWork) { insertOrAppendPlacementNode(finishedWork, before, parent); break; - } + } // Fall through } - // eslint-disable-next-line no-fallthrough case HostComponent: { var _parent = parentFiber.stateNode; @@ -25275,7 +25268,6 @@ function commitPlacement(finishedWork) { ); break; } - // eslint-disable-next-line-no-fallthrough default: throw new Error( @@ -25449,9 +25441,8 @@ function commitDeletionEffectsOnFiber( } return; - } + } // Fall through } - // eslint-disable-next-line no-fallthrough case HostSingleton: { { @@ -25476,16 +25467,14 @@ function commitDeletionEffectsOnFiber( hostParent = prevHostParent; hostParentIsContainer = prevHostParentIsContainer; return; - } + } // Fall through } - // eslint-disable-next-line no-fallthrough case HostComponent: { if (!offscreenSubtreeWasHidden) { safelyDetachRef(deletedFiber, nearestMountedAncestor); } // Intentional fallthrough to next branch } - // eslint-disable-next-line-no-fallthrough case HostText: { // We only need to remove the nearest host child. Set the host parent @@ -26115,9 +26104,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) { } return; - } + } // Fall through } - // eslint-disable-next-line-no-fallthrough case HostSingleton: { { @@ -26137,9 +26125,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) { ); } } - } + } // Fall through } - // eslint-disable-next-line-no-fallthrough case HostComponent: { recursivelyTraverseMutationEffects(root, finishedWork); @@ -27183,7 +27170,6 @@ function commitPassiveMountOnFiber( break; } // Intentional fallthrough to next branch } - // eslint-disable-next-line-no-fallthrough default: { recursivelyTraversePassiveMountEffects( @@ -27383,7 +27369,6 @@ function reconnectPassiveEffects( break; } // Intentional fallthrough to next branch } - // eslint-disable-next-line-no-fallthrough default: { recursivelyTraverseReconnectPassiveEffects( @@ -27458,7 +27443,6 @@ function commitAtomicPassiveEffects( break; } - // eslint-disable-next-line-no-fallthrough default: { recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); @@ -29309,9 +29293,6 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { case RootFatalErrored: { throw new Error("Root did not complete. This is a bug in React."); } - // Flow knows about invariant, so it complains if I add a break - // statement, but eslint doesn't know about invariant, so it complains - // if I do. eslint-disable-next-line no-fallthrough case RootErrored: { // We should have already attempted to retry this tree. If we reached @@ -30509,7 +30490,6 @@ function replaySuspendedUnitOfWork(unitOfWork) { // function component. unitOfWork.tag = FunctionComponent; // Fallthrough to the next branch. } - // eslint-disable-next-line no-fallthrough case SimpleMemoComponent: case FunctionComponent: { @@ -32955,26 +32935,26 @@ function createFiberFromTypeAndProps( return createFiberFromLegacyHidden(pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_SCOPE_TYPE: { return createFiberFromScope(type, pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_CACHE_TYPE: { return createFiberFromCache(pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_TRACING_MARKER_TYPE: if (enableTransitionTracing) { return createFiberFromTracingMarker(pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_DEBUG_TRACING_MODE_TYPE: if (enableDebugTracing) { @@ -32983,7 +32963,7 @@ function createFiberFromTypeAndProps( break; } - // eslint-disable-next-line no-fallthrough + // Fall through default: { if (typeof type === "object" && type !== null) { @@ -33427,7 +33407,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-www-classic-5877ee71"; +var ReactVersion = "18.3.0-www-classic-5c06c715"; function createPortal$1( children, @@ -37977,7 +37957,6 @@ function setProp(domElement, tag, key, value, props) { } // Fall through to the last case which shouldn't remove empty strings. - // eslint-disable-next-line no-fallthrough case "formAction": { if ( @@ -38336,7 +38315,7 @@ function setProp(domElement, tag, key, value, props) { break; } - // eslint-disable-next-line no-fallthrough + // Fall through default: { if ( @@ -38445,7 +38424,7 @@ function setPropOnCustomElement(domElement, tag, key, value, props) { break; } - // eslint-disable-next-line no-fallthrough + // Fall through default: { if (registrationNameDependencies.hasOwnProperty(key)) { @@ -38732,7 +38711,6 @@ function setInitialProperties(domElement, tag, props) { listenToNonDelegatedEvent("error", domElement); listenToNonDelegatedEvent("load", domElement); // We fallthrough to the return of the void elements } - // eslint-disable-next-line no-fallthrough case "area": case "base": @@ -38922,7 +38900,7 @@ function diffProperties(domElement, tag, lastProps, nextProps) { error('Cannot update the "is" prop after it has been initialized.'); } - // eslint-disable-next-line no-fallthrough + // Fall through default: { (updatePayload = updatePayload || []).push(propKey, nextProp); @@ -39610,7 +39588,7 @@ function diffHydratedCustomComponent( continue; } - // eslint-disable-next-line no-fallthrough + // Fall through case "className": if (enableCustomElementPropertySupport) { @@ -39625,7 +39603,7 @@ function diffHydratedCustomComponent( continue; } - // eslint-disable-next-line no-fallthrough + // Fall through default: { var ownNamespaceDev = parentNamespaceDev; @@ -44837,20 +44815,17 @@ function getEventPriority(domEventName) { case "touchcancel": case "touchend": case "touchstart": - case "volumechange": // Used by polyfills: - // eslint-disable-next-line no-fallthrough + case "volumechange": // Used by polyfills: (fall through) case "change": case "selectionchange": case "textInput": case "compositionstart": case "compositionend": - case "compositionupdate": // Only enableCreateEventHandleAPI: - // eslint-disable-next-line no-fallthrough + case "compositionupdate": // Only enableCreateEventHandleAPI: (fall through) case "beforeblur": - case "afterblur": // Not used by React but could be by user code: - // eslint-disable-next-line no-fallthrough + case "afterblur": // Not used by React but could be by user code: (fall through) case "beforeinput": case "blur": @@ -44876,8 +44851,7 @@ function getEventPriority(domEventName) { case "scroll": case "toggle": case "touchmove": - case "wheel": // Not used by React but could be by user code: - // eslint-disable-next-line no-fallthrough + case "wheel": // Not used by React but could be by user code: (fall through) case "mouseenter": case "mouseleave": diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js index b45be66a4f..feeb0e3da0 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -3134,7 +3134,7 @@ function getComponentNameFromType(type) { return "Cache"; } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_TRACING_MARKER_TYPE: if (enableTransitionTracing) { @@ -3180,8 +3180,6 @@ function getComponentNameFromType(type) { var context2 = type; return (context2.displayName || context2._globalName) + ".Provider"; } - - // eslint-disable-next-line no-fallthrough } } @@ -16600,9 +16598,8 @@ function throwException( } break; - } + } // Fall through } - // eslint-disable-next-line no-fallthrough default: { throw new Error( @@ -20565,13 +20562,13 @@ function beginWork$1(current, workInProgress, renderLanes) { return updateHostHoistable(current, workInProgress); } - // eslint-disable-next-line no-fallthrough + // Fall through case HostSingleton: { return updateHostSingleton(current, workInProgress, renderLanes); } - // eslint-disable-next-line no-fallthrough + // Fall through case HostComponent: return updateHostComponent$1(current, workInProgress, renderLanes); @@ -22455,9 +22452,8 @@ function completeWork(current, workInProgress, renderLanes) { return null; } } - } + } // Fall through } - // eslint-disable-next-line-no-fallthrough case HostSingleton: { { @@ -22516,9 +22512,8 @@ function completeWork(current, workInProgress, renderLanes) { bubbleProperties(workInProgress); return null; - } + } // Fall through } - // eslint-disable-next-line-no-fallthrough case HostComponent: { popHostContext(workInProgress); @@ -24414,9 +24409,8 @@ function commitLayoutEffectOnFiber( } break; - } + } // Fall through } - // eslint-disable-next-line-no-fallthrough case HostSingleton: case HostComponent: { @@ -25085,9 +25079,8 @@ function commitPlacement(finishedWork) { insertOrAppendPlacementNode(finishedWork, before, parent); break; - } + } // Fall through } - // eslint-disable-next-line no-fallthrough case HostComponent: { var _parent = parentFiber.stateNode; @@ -25119,7 +25112,6 @@ function commitPlacement(finishedWork) { ); break; } - // eslint-disable-next-line-no-fallthrough default: throw new Error( @@ -25293,9 +25285,8 @@ function commitDeletionEffectsOnFiber( } return; - } + } // Fall through } - // eslint-disable-next-line no-fallthrough case HostSingleton: { { @@ -25320,16 +25311,14 @@ function commitDeletionEffectsOnFiber( hostParent = prevHostParent; hostParentIsContainer = prevHostParentIsContainer; return; - } + } // Fall through } - // eslint-disable-next-line no-fallthrough case HostComponent: { if (!offscreenSubtreeWasHidden) { safelyDetachRef(deletedFiber, nearestMountedAncestor); } // Intentional fallthrough to next branch } - // eslint-disable-next-line-no-fallthrough case HostText: { // We only need to remove the nearest host child. Set the host parent @@ -25959,9 +25948,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) { } return; - } + } // Fall through } - // eslint-disable-next-line-no-fallthrough case HostSingleton: { { @@ -25981,9 +25969,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) { ); } } - } + } // Fall through } - // eslint-disable-next-line-no-fallthrough case HostComponent: { recursivelyTraverseMutationEffects(root, finishedWork); @@ -27027,7 +27014,6 @@ function commitPassiveMountOnFiber( break; } // Intentional fallthrough to next branch } - // eslint-disable-next-line-no-fallthrough default: { recursivelyTraversePassiveMountEffects( @@ -27227,7 +27213,6 @@ function reconnectPassiveEffects( break; } // Intentional fallthrough to next branch } - // eslint-disable-next-line-no-fallthrough default: { recursivelyTraverseReconnectPassiveEffects( @@ -27302,7 +27287,6 @@ function commitAtomicPassiveEffects( break; } - // eslint-disable-next-line-no-fallthrough default: { recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); @@ -29153,9 +29137,6 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { case RootFatalErrored: { throw new Error("Root did not complete. This is a bug in React."); } - // Flow knows about invariant, so it complains if I add a break - // statement, but eslint doesn't know about invariant, so it complains - // if I do. eslint-disable-next-line no-fallthrough case RootErrored: { // We should have already attempted to retry this tree. If we reached @@ -30353,7 +30334,6 @@ function replaySuspendedUnitOfWork(unitOfWork) { // function component. unitOfWork.tag = FunctionComponent; // Fallthrough to the next branch. } - // eslint-disable-next-line no-fallthrough case SimpleMemoComponent: case FunctionComponent: { @@ -32794,26 +32774,26 @@ function createFiberFromTypeAndProps( return createFiberFromLegacyHidden(pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_SCOPE_TYPE: { return createFiberFromScope(type, pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_CACHE_TYPE: { return createFiberFromCache(pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_TRACING_MARKER_TYPE: if (enableTransitionTracing) { return createFiberFromTracingMarker(pendingProps, mode, lanes, key); } - // eslint-disable-next-line no-fallthrough + // Fall through case REACT_DEBUG_TRACING_MODE_TYPE: if (enableDebugTracing) { @@ -32822,7 +32802,7 @@ function createFiberFromTypeAndProps( break; } - // eslint-disable-next-line no-fallthrough + // Fall through default: { if (typeof type === "object" && type !== null) { @@ -33266,7 +33246,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-www-modern-6c430f83"; +var ReactVersion = "18.3.0-www-modern-c4645088"; function createPortal$1( children, @@ -34672,20 +34652,17 @@ function getEventPriority(domEventName) { case "touchcancel": case "touchend": case "touchstart": - case "volumechange": // Used by polyfills: - // eslint-disable-next-line no-fallthrough + case "volumechange": // Used by polyfills: (fall through) case "change": case "selectionchange": case "textInput": case "compositionstart": case "compositionend": - case "compositionupdate": // Only enableCreateEventHandleAPI: - // eslint-disable-next-line no-fallthrough + case "compositionupdate": // Only enableCreateEventHandleAPI: (fall through) case "beforeblur": - case "afterblur": // Not used by React but could be by user code: - // eslint-disable-next-line no-fallthrough + case "afterblur": // Not used by React but could be by user code: (fall through) case "beforeinput": case "blur": @@ -34711,8 +34688,7 @@ function getEventPriority(domEventName) { case "scroll": case "toggle": case "touchmove": - case "wheel": // Not used by React but could be by user code: - // eslint-disable-next-line no-fallthrough + case "wheel": // Not used by React but could be by user code: (fall through) case "mouseenter": case "mouseleave": @@ -38504,7 +38480,6 @@ function setProp(domElement, tag, key, value, props) { } // Fall through to the last case which shouldn't remove empty strings. - // eslint-disable-next-line no-fallthrough case "formAction": { if ( @@ -38863,7 +38838,7 @@ function setProp(domElement, tag, key, value, props) { break; } - // eslint-disable-next-line no-fallthrough + // Fall through default: { if ( @@ -38972,7 +38947,7 @@ function setPropOnCustomElement(domElement, tag, key, value, props) { break; } - // eslint-disable-next-line no-fallthrough + // Fall through default: { if (registrationNameDependencies.hasOwnProperty(key)) { @@ -39259,7 +39234,6 @@ function setInitialProperties(domElement, tag, props) { listenToNonDelegatedEvent("error", domElement); listenToNonDelegatedEvent("load", domElement); // We fallthrough to the return of the void elements } - // eslint-disable-next-line no-fallthrough case "area": case "base": @@ -39449,7 +39423,7 @@ function diffProperties(domElement, tag, lastProps, nextProps) { error('Cannot update the "is" prop after it has been initialized.'); } - // eslint-disable-next-line no-fallthrough + // Fall through default: { (updatePayload = updatePayload || []).push(propKey, nextProp); @@ -40137,7 +40111,7 @@ function diffHydratedCustomComponent( continue; } - // eslint-disable-next-line no-fallthrough + // Fall through case "className": if (enableCustomElementPropertySupport) { @@ -40152,7 +40126,7 @@ function diffHydratedCustomComponent( continue; } - // eslint-disable-next-line no-fallthrough + // Fall through default: { var ownNamespaceDev = parentNamespaceDev; diff --git a/compiled/facebook-www/ReactDOMServer-dev.classic.js b/compiled/facebook-www/ReactDOMServer-dev.classic.js index 986a654bec..2badf4a4c5 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -19,7 +19,7 @@ if (__DEV__) { var React = require("react"); var ReactDOM = require("react-dom"); -var ReactVersion = "18.3.0-www-classic-1fceba31"; +var ReactVersion = "18.3.0-www-classic-0673a8a9"; // This refers to a WWW module. var warningWWW = require("warning"); @@ -2877,7 +2877,6 @@ function pushAttribute(target, name, value) { } // Fall through to the last case which shouldn't remove empty strings. - // eslint-disable-next-line no-fallthrough case "formAction": { if ( @@ -3348,12 +3347,10 @@ function pushStartOption(target, props, formatContext) { case "dangerouslySetInnerHTML": innerHTML = propValue; break; - // eslint-disable-next-line-no-fallthrough case "value": value = propValue; // We intentionally fallthrough to also set the attribute on the node. - // eslint-disable-next-line-no-fallthrough default: pushAttribute(target, propKey, propValue); @@ -3485,7 +3482,6 @@ function pushInput(target, props) { " is a self-closing tag and must neither have `children` nor " + "use `dangerouslySetInnerHTML`." ); - // eslint-disable-next-line-no-fallthrough case "defaultChecked": defaultChecked = propValue; @@ -3577,7 +3573,6 @@ function pushStartTextArea(target, props) { throw new Error( "`dangerouslySetInnerHTML` does not make sense on