diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js index 3d28b8b447292..3150885e3fdfa 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<9049da9d0398addbe9ad47567cb0a0f2>> + * @generated SignedSource<> */ "use strict"; @@ -9818,14 +9818,11 @@ if (__DEV__) { function mountRef(initialValue) { var hook = mountWorkInProgressHook(); - - { - var _ref2 = { - current: initialValue - }; - hook.memoizedState = _ref2; - return _ref2; - } + var ref = { + current: initialValue + }; + hook.memoizedState = ref; + return ref; } function updateRef(initialValue) { @@ -26801,7 +26798,7 @@ if (__DEV__) { return root; } - var ReactVersion = "19.0.0-canary-23a1aa6f"; + var ReactVersion = "19.0.0-canary-9dd5e9f4"; // Might add PROFILE later. diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION index ea37b72633d4b..fcab488183e2a 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION @@ -1 +1 @@ -7a2609eedc571049a3272e60d5f7d84601ffca3f +20e710aeab3e03809c82d134171986ea270026a0 diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js index 77de6f5a951b7..391c0fb394da4 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<83ce9566209d54efec3736b91598c233>> + * @generated SignedSource<> */ "use strict"; @@ -2984,7 +2984,6 @@ to return true:wantsResponderID| | dynamicFlags.enableInfiniteRenderLoopDetection, enableRenderableContext = dynamicFlags.enableRenderableContext, enableUnifiedSyncLane = dynamicFlags.enableUnifiedSyncLane, - enableUseRefAccessWarning = dynamicFlags.enableUseRefAccessWarning, passChildrenWhenCloningPersistedNodes = dynamicFlags.passChildrenWhenCloningPersistedNodes, useModernStrictMode = dynamicFlags.useModernStrictMode; // The rest of the flags are static for better dead code elimination. @@ -13309,95 +13308,13 @@ to return true:wantsResponderID| | }; } - var stackContainsErrorMessage = null; - - function getCallerStackFrame() { - // eslint-disable-next-line react-internal/prod-error-codes - var stackFrames = new Error("Error message").stack.split("\n"); // Some browsers (e.g. Chrome) include the error message in the stack - // but others (e.g. Firefox) do not. - - if (stackContainsErrorMessage === null) { - stackContainsErrorMessage = stackFrames[0].includes("Error message"); - } - - return stackContainsErrorMessage - ? stackFrames.slice(3, 4).join("\n") - : stackFrames.slice(2, 3).join("\n"); - } - function mountRef(initialValue) { var hook = mountWorkInProgressHook(); - - if (enableUseRefAccessWarning) { - { - // Support lazy initialization pattern shown in docs. - // We need to store the caller stack frame so that we don't warn on subsequent renders. - var hasBeenInitialized = initialValue != null; - var lazyInitGetterStack = null; - var didCheckForLazyInit = false; // Only warn once per component+hook. - - var didWarnAboutRead = false; - var didWarnAboutWrite = false; - var current = initialValue; - var ref = { - get current() { - if (!hasBeenInitialized) { - didCheckForLazyInit = true; - lazyInitGetterStack = getCallerStackFrame(); - } else if ( - currentlyRenderingFiber$1 !== null && - !didWarnAboutRead - ) { - if ( - lazyInitGetterStack === null || - lazyInitGetterStack !== getCallerStackFrame() - ) { - didWarnAboutRead = true; - - warn( - "%s: Unsafe read of a mutable value during render.\n\n" + - "Reading from a ref during render is only safe if:\n" + - "1. The ref value has not been updated, or\n" + - "2. The ref holds a lazily-initialized value that is only set once.\n", - getComponentNameFromFiber(currentlyRenderingFiber$1) || - "Unknown" - ); - } - } - - return current; - }, - - set current(value) { - if (currentlyRenderingFiber$1 !== null && !didWarnAboutWrite) { - if (hasBeenInitialized || !didCheckForLazyInit) { - didWarnAboutWrite = true; - - warn( - "%s: Unsafe write of a mutable value during render.\n\n" + - "Writing to a ref during render is only safe if the ref holds " + - "a lazily-initialized value that is only set once.\n", - getComponentNameFromFiber(currentlyRenderingFiber$1) || - "Unknown" - ); - } - } - - hasBeenInitialized = true; - current = value; - } - }; - Object.seal(ref); - hook.memoizedState = ref; - return ref; - } - } else { - var _ref2 = { - current: initialValue - }; - hook.memoizedState = _ref2; - return _ref2; - } + var ref = { + current: initialValue + }; + hook.memoizedState = ref; + return ref; } function updateRef(initialValue) { @@ -30572,7 +30489,7 @@ to return true:wantsResponderID| | return root; } - var ReactVersion = "19.0.0-canary-d5e5d620"; + var ReactVersion = "19.0.0-canary-dbb66dd5"; function createPortal$1( children, diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js index d19b696b7f64f..020dcbe88304e 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<6e486276fd15c9cf3d9aa8672c3fc7df>> + * @generated SignedSource<> */ "use strict"; @@ -893,7 +893,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_251 = { +var injectedNamesToPlugins$jscomp$inline_250 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -939,32 +939,32 @@ var injectedNamesToPlugins$jscomp$inline_251 = { } } }, - isOrderingDirty$jscomp$inline_252 = !1, - pluginName$jscomp$inline_253; -for (pluginName$jscomp$inline_253 in injectedNamesToPlugins$jscomp$inline_251) + isOrderingDirty$jscomp$inline_251 = !1, + pluginName$jscomp$inline_252; +for (pluginName$jscomp$inline_252 in injectedNamesToPlugins$jscomp$inline_250) if ( - injectedNamesToPlugins$jscomp$inline_251.hasOwnProperty( - pluginName$jscomp$inline_253 + injectedNamesToPlugins$jscomp$inline_250.hasOwnProperty( + pluginName$jscomp$inline_252 ) ) { - var pluginModule$jscomp$inline_254 = - injectedNamesToPlugins$jscomp$inline_251[pluginName$jscomp$inline_253]; + var pluginModule$jscomp$inline_253 = + injectedNamesToPlugins$jscomp$inline_250[pluginName$jscomp$inline_252]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_253) || - namesToPlugins[pluginName$jscomp$inline_253] !== - pluginModule$jscomp$inline_254 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_252) || + namesToPlugins[pluginName$jscomp$inline_252] !== + pluginModule$jscomp$inline_253 ) { - if (namesToPlugins[pluginName$jscomp$inline_253]) + if (namesToPlugins[pluginName$jscomp$inline_252]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_253 + "`.") + (pluginName$jscomp$inline_252 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_253] = - pluginModule$jscomp$inline_254; - isOrderingDirty$jscomp$inline_252 = !0; + namesToPlugins[pluginName$jscomp$inline_252] = + pluginModule$jscomp$inline_253; + isOrderingDirty$jscomp$inline_251 = !0; } } -isOrderingDirty$jscomp$inline_252 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_251 && recomputePluginOrdering(); var emptyObject$1 = {}, removedKeys = null, removedKeyCount = 0, @@ -1276,7 +1276,6 @@ var alwaysThrottleRetries = dynamicFlagsUntyped.alwaysThrottleRetries, dynamicFlagsUntyped.enableInfiniteRenderLoopDetection, enableRenderableContext = dynamicFlagsUntyped.enableRenderableContext, enableUnifiedSyncLane = dynamicFlagsUntyped.enableUnifiedSyncLane, - enableUseRefAccessWarning = dynamicFlagsUntyped.enableUseRefAccessWarning, passChildrenWhenCloningPersistedNodes = dynamicFlagsUntyped.passChildrenWhenCloningPersistedNodes, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, @@ -4743,11 +4742,6 @@ var HooksDispatcherOnMount = { }, useRef: function (initialValue) { var hook = mountWorkInProgressHook(); - if (enableUseRefAccessWarning) - return ( - (initialValue = { current: initialValue }), - (hook.memoizedState = initialValue) - ); initialValue = { current: initialValue }; return (hook.memoizedState = initialValue); }, @@ -7224,14 +7218,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$78 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$78 = lastTailNode), + for (var lastTailNode$77 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$77 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$78 + null === lastTailNode$77 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$78.sibling = null); + : (lastTailNode$77.sibling = null); } } function bubbleProperties(completedWork) { @@ -7241,19 +7235,19 @@ function bubbleProperties(completedWork) { newChildLanes = 0, subtreeFlags = 0; if (didBailout) - for (var child$79 = completedWork.child; null !== child$79; ) - (newChildLanes |= child$79.lanes | child$79.childLanes), - (subtreeFlags |= child$79.subtreeFlags & 31457280), - (subtreeFlags |= child$79.flags & 31457280), - (child$79.return = completedWork), - (child$79 = child$79.sibling); + for (var child$78 = completedWork.child; null !== child$78; ) + (newChildLanes |= child$78.lanes | child$78.childLanes), + (subtreeFlags |= child$78.subtreeFlags & 31457280), + (subtreeFlags |= child$78.flags & 31457280), + (child$78.return = completedWork), + (child$78 = child$78.sibling); else - for (child$79 = completedWork.child; null !== child$79; ) - (newChildLanes |= child$79.lanes | child$79.childLanes), - (subtreeFlags |= child$79.subtreeFlags), - (subtreeFlags |= child$79.flags), - (child$79.return = completedWork), - (child$79 = child$79.sibling); + for (child$78 = completedWork.child; null !== child$78; ) + (newChildLanes |= child$78.lanes | child$78.childLanes), + (subtreeFlags |= child$78.subtreeFlags), + (subtreeFlags |= child$78.flags), + (child$78.return = completedWork), + (child$78 = child$78.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -7813,8 +7807,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { else if ("function" === typeof ref) try { ref(null); - } catch (error$101) { - captureCommitPhaseError(current, nearestMountedAncestor, error$101); + } catch (error$100) { + captureCommitPhaseError(current, nearestMountedAncestor, error$100); } else ref.current = null; } @@ -7919,10 +7913,10 @@ function commitHookEffectListMount(flags, finishedWork) { var effect = (finishedWork = finishedWork.next); do { if ((effect.tag & flags) === flags) { - var create$102 = effect.create, + var create$101 = effect.create, inst = effect.inst; - create$102 = create$102(); - inst.destroy = create$102; + create$101 = create$101(); + inst.destroy = create$101; } effect = effect.next; } while (effect !== finishedWork); @@ -7986,11 +7980,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$103) { + } catch (error$102) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$103 + error$102 ); } } @@ -8282,8 +8276,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) { } try { commitHookEffectListUnmount(5, finishedWork, finishedWork.return); - } catch (error$105) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$105); + } catch (error$104) { + captureCommitPhaseError(finishedWork, finishedWork.return, error$104); } } break; @@ -9522,8 +9516,8 @@ function renderRootSync(root, lanes) { } workLoopSync(); break; - } catch (thrownValue$117) { - handleThrow(root, thrownValue$117); + } catch (thrownValue$116) { + handleThrow(root, thrownValue$116); } while (1); lanes && root.shellSuspendCounter++; @@ -9631,8 +9625,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrent(); break; - } catch (thrownValue$119) { - handleThrow(root, thrownValue$119); + } catch (thrownValue$118) { + handleThrow(root, thrownValue$118); } while (1); resetContextDependencies(); @@ -10637,10 +10631,10 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - devToolsConfig$jscomp$inline_1101 = { + devToolsConfig$jscomp$inline_1100 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "19.0.0-canary-bf2c7fb6", + version: "19.0.0-canary-82133e6d", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10656,11 +10650,11 @@ var roots = new Map(), }.bind(null, findNodeHandle) } }; -var internals$jscomp$inline_1334 = { - bundleType: devToolsConfig$jscomp$inline_1101.bundleType, - version: devToolsConfig$jscomp$inline_1101.version, - rendererPackageName: devToolsConfig$jscomp$inline_1101.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1101.rendererConfig, +var internals$jscomp$inline_1333 = { + bundleType: devToolsConfig$jscomp$inline_1100.bundleType, + version: devToolsConfig$jscomp$inline_1100.version, + rendererPackageName: devToolsConfig$jscomp$inline_1100.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1100.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -10676,26 +10670,26 @@ var internals$jscomp$inline_1334 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1101.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1100.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-canary-bf2c7fb6" + reconcilerVersion: "19.0.0-canary-82133e6d" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1335 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1334 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1335.isDisabled && - hook$jscomp$inline_1335.supportsFiber + !hook$jscomp$inline_1334.isDisabled && + hook$jscomp$inline_1334.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1335.inject( - internals$jscomp$inline_1334 + (rendererID = hook$jscomp$inline_1334.inject( + internals$jscomp$inline_1333 )), - (injectedHook = hook$jscomp$inline_1335); + (injectedHook = hook$jscomp$inline_1334); } catch (err) {} } exports.createPortal = function (children, containerTag) { diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js index 1907dc42ea53f..1de4a2db84982 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -897,7 +897,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_267 = { +var injectedNamesToPlugins$jscomp$inline_266 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -943,32 +943,32 @@ var injectedNamesToPlugins$jscomp$inline_267 = { } } }, - isOrderingDirty$jscomp$inline_268 = !1, - pluginName$jscomp$inline_269; -for (pluginName$jscomp$inline_269 in injectedNamesToPlugins$jscomp$inline_267) + isOrderingDirty$jscomp$inline_267 = !1, + pluginName$jscomp$inline_268; +for (pluginName$jscomp$inline_268 in injectedNamesToPlugins$jscomp$inline_266) if ( - injectedNamesToPlugins$jscomp$inline_267.hasOwnProperty( - pluginName$jscomp$inline_269 + injectedNamesToPlugins$jscomp$inline_266.hasOwnProperty( + pluginName$jscomp$inline_268 ) ) { - var pluginModule$jscomp$inline_270 = - injectedNamesToPlugins$jscomp$inline_267[pluginName$jscomp$inline_269]; + var pluginModule$jscomp$inline_269 = + injectedNamesToPlugins$jscomp$inline_266[pluginName$jscomp$inline_268]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_269) || - namesToPlugins[pluginName$jscomp$inline_269] !== - pluginModule$jscomp$inline_270 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_268) || + namesToPlugins[pluginName$jscomp$inline_268] !== + pluginModule$jscomp$inline_269 ) { - if (namesToPlugins[pluginName$jscomp$inline_269]) + if (namesToPlugins[pluginName$jscomp$inline_268]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_269 + "`.") + (pluginName$jscomp$inline_268 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_269] = - pluginModule$jscomp$inline_270; - isOrderingDirty$jscomp$inline_268 = !0; + namesToPlugins[pluginName$jscomp$inline_268] = + pluginModule$jscomp$inline_269; + isOrderingDirty$jscomp$inline_267 = !0; } } -isOrderingDirty$jscomp$inline_268 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_267 && recomputePluginOrdering(); var emptyObject$1 = {}, removedKeys = null, removedKeyCount = 0, @@ -1280,7 +1280,6 @@ var alwaysThrottleRetries = dynamicFlagsUntyped.alwaysThrottleRetries, dynamicFlagsUntyped.enableInfiniteRenderLoopDetection, enableRenderableContext = dynamicFlagsUntyped.enableRenderableContext, enableUnifiedSyncLane = dynamicFlagsUntyped.enableUnifiedSyncLane, - enableUseRefAccessWarning = dynamicFlagsUntyped.enableUseRefAccessWarning, passChildrenWhenCloningPersistedNodes = dynamicFlagsUntyped.passChildrenWhenCloningPersistedNodes, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, @@ -4868,11 +4867,6 @@ var HooksDispatcherOnMount = { }, useRef: function (initialValue) { var hook = mountWorkInProgressHook(); - if (enableUseRefAccessWarning) - return ( - (initialValue = { current: initialValue }), - (hook.memoizedState = initialValue) - ); initialValue = { current: initialValue }; return (hook.memoizedState = initialValue); }, @@ -7454,14 +7448,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$82 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$82 = lastTailNode), + for (var lastTailNode$81 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$81 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$82 + null === lastTailNode$81 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$82.sibling = null); + : (lastTailNode$81.sibling = null); } } function bubbleProperties(completedWork) { @@ -7473,53 +7467,53 @@ function bubbleProperties(completedWork) { if (didBailout) if (0 !== (completedWork.mode & 2)) { for ( - var treeBaseDuration$84 = completedWork.selfBaseDuration, - child$85 = completedWork.child; - null !== child$85; + var treeBaseDuration$83 = completedWork.selfBaseDuration, + child$84 = completedWork.child; + null !== child$84; ) - (newChildLanes |= child$85.lanes | child$85.childLanes), - (subtreeFlags |= child$85.subtreeFlags & 31457280), - (subtreeFlags |= child$85.flags & 31457280), - (treeBaseDuration$84 += child$85.treeBaseDuration), - (child$85 = child$85.sibling); - completedWork.treeBaseDuration = treeBaseDuration$84; + (newChildLanes |= child$84.lanes | child$84.childLanes), + (subtreeFlags |= child$84.subtreeFlags & 31457280), + (subtreeFlags |= child$84.flags & 31457280), + (treeBaseDuration$83 += child$84.treeBaseDuration), + (child$84 = child$84.sibling); + completedWork.treeBaseDuration = treeBaseDuration$83; } else for ( - treeBaseDuration$84 = completedWork.child; - null !== treeBaseDuration$84; + treeBaseDuration$83 = completedWork.child; + null !== treeBaseDuration$83; ) (newChildLanes |= - treeBaseDuration$84.lanes | treeBaseDuration$84.childLanes), - (subtreeFlags |= treeBaseDuration$84.subtreeFlags & 31457280), - (subtreeFlags |= treeBaseDuration$84.flags & 31457280), - (treeBaseDuration$84.return = completedWork), - (treeBaseDuration$84 = treeBaseDuration$84.sibling); + treeBaseDuration$83.lanes | treeBaseDuration$83.childLanes), + (subtreeFlags |= treeBaseDuration$83.subtreeFlags & 31457280), + (subtreeFlags |= treeBaseDuration$83.flags & 31457280), + (treeBaseDuration$83.return = completedWork), + (treeBaseDuration$83 = treeBaseDuration$83.sibling); else if (0 !== (completedWork.mode & 2)) { - treeBaseDuration$84 = completedWork.actualDuration; - child$85 = completedWork.selfBaseDuration; + treeBaseDuration$83 = completedWork.actualDuration; + child$84 = completedWork.selfBaseDuration; for (var child = completedWork.child; null !== child; ) (newChildLanes |= child.lanes | child.childLanes), (subtreeFlags |= child.subtreeFlags), (subtreeFlags |= child.flags), - (treeBaseDuration$84 += child.actualDuration), - (child$85 += child.treeBaseDuration), + (treeBaseDuration$83 += child.actualDuration), + (child$84 += child.treeBaseDuration), (child = child.sibling); - completedWork.actualDuration = treeBaseDuration$84; - completedWork.treeBaseDuration = child$85; + completedWork.actualDuration = treeBaseDuration$83; + completedWork.treeBaseDuration = child$84; } else for ( - treeBaseDuration$84 = completedWork.child; - null !== treeBaseDuration$84; + treeBaseDuration$83 = completedWork.child; + null !== treeBaseDuration$83; ) (newChildLanes |= - treeBaseDuration$84.lanes | treeBaseDuration$84.childLanes), - (subtreeFlags |= treeBaseDuration$84.subtreeFlags), - (subtreeFlags |= treeBaseDuration$84.flags), - (treeBaseDuration$84.return = completedWork), - (treeBaseDuration$84 = treeBaseDuration$84.sibling); + treeBaseDuration$83.lanes | treeBaseDuration$83.childLanes), + (subtreeFlags |= treeBaseDuration$83.subtreeFlags), + (subtreeFlags |= treeBaseDuration$83.flags), + (treeBaseDuration$83.return = completedWork), + (treeBaseDuration$83 = treeBaseDuration$83.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -8132,8 +8126,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { recordLayoutEffectDuration(current); } else ref(null); - } catch (error$110) { - captureCommitPhaseError(current, nearestMountedAncestor, error$110); + } catch (error$109) { + captureCommitPhaseError(current, nearestMountedAncestor, error$109); } else ref.current = null; } @@ -8267,10 +8261,10 @@ function commitHookEffectListMount(flags, finishedWork) { injectedProfilingHooks.markComponentLayoutEffectMountStarted( finishedWork ); - var create$111 = effect.create, + var create$110 = effect.create, inst = effect.inst; - create$111 = create$111(); - inst.destroy = create$111; + create$110 = create$110(); + inst.destroy = create$110; 0 !== (flags & 8) ? null !== injectedProfilingHooks && "function" === @@ -8298,8 +8292,8 @@ function commitHookLayoutEffects(finishedWork, hookFlags) { } else try { commitHookEffectListMount(hookFlags, finishedWork); - } catch (error$113) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$113); + } catch (error$112) { + captureCommitPhaseError(finishedWork, finishedWork.return, error$112); } } function commitClassCallbacks(finishedWork) { @@ -8388,11 +8382,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { } else try { finishedRoot.componentDidMount(); - } catch (error$114) { + } catch (error$113) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$114 + error$113 ); } else { @@ -8410,11 +8404,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$115) { + } catch (error$114) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$115 + error$114 ); } recordLayoutEffectDuration(finishedWork); @@ -8425,11 +8419,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$116) { + } catch (error$115) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$116 + error$115 ); } } @@ -8750,22 +8744,22 @@ function commitMutationEffectsOnFiber(finishedWork, root) { try { startLayoutEffectTimer(), commitHookEffectListUnmount(5, finishedWork, finishedWork.return); - } catch (error$119) { + } catch (error$118) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$119 + error$118 ); } recordLayoutEffectDuration(finishedWork); } else try { commitHookEffectListUnmount(5, finishedWork, finishedWork.return); - } catch (error$120) { + } catch (error$119) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$120 + error$119 ); } } @@ -9062,8 +9056,8 @@ function commitHookPassiveMountEffects(finishedWork, hookFlags) { } else try { commitHookEffectListMount(hookFlags, finishedWork); - } catch (error$128) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$128); + } catch (error$127) { + captureCommitPhaseError(finishedWork, finishedWork.return, error$127); } } function commitOffscreenPassiveMountEffects(current, finishedWork) { @@ -10093,8 +10087,8 @@ function renderRootSync(root, lanes) { } workLoopSync(); break; - } catch (thrownValue$133) { - handleThrow(root, thrownValue$133); + } catch (thrownValue$132) { + handleThrow(root, thrownValue$132); } while (1); lanes && root.shellSuspendCounter++; @@ -10213,8 +10207,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrent(); break; - } catch (thrownValue$135) { - handleThrow(root, thrownValue$135); + } catch (thrownValue$134) { + handleThrow(root, thrownValue$134); } while (1); resetContextDependencies(); @@ -10580,7 +10574,7 @@ function flushPassiveEffects() { _finishedWork$memoize = finishedWork.memoizedProps, id = _finishedWork$memoize.id, onPostCommit = _finishedWork$memoize.onPostCommit, - commitTime$112 = commitTime, + commitTime$111 = commitTime, phase = null === finishedWork.alternate ? "mount" : "update"; currentUpdateIsNested && (phase = "nested-update"); "function" === typeof onPostCommit && @@ -10588,7 +10582,7 @@ function flushPassiveEffects() { id, phase, passiveEffectDuration, - commitTime$112 + commitTime$111 ); var parentFiber = finishedWork.return; b: for (; null !== parentFiber; ) { @@ -11342,10 +11336,10 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - devToolsConfig$jscomp$inline_1183 = { + devToolsConfig$jscomp$inline_1182 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "19.0.0-canary-371503e8", + version: "19.0.0-canary-d7696546", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -11375,10 +11369,10 @@ var roots = new Map(), } catch (err) {} return hook.checkDCE ? !0 : !1; })({ - bundleType: devToolsConfig$jscomp$inline_1183.bundleType, - version: devToolsConfig$jscomp$inline_1183.version, - rendererPackageName: devToolsConfig$jscomp$inline_1183.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1183.rendererConfig, + bundleType: devToolsConfig$jscomp$inline_1182.bundleType, + version: devToolsConfig$jscomp$inline_1182.version, + rendererPackageName: devToolsConfig$jscomp$inline_1182.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1182.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -11394,14 +11388,14 @@ var roots = new Map(), return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1183.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1182.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-canary-371503e8" + reconcilerVersion: "19.0.0-canary-d7696546" }); exports.createPortal = function (children, containerTag) { return createPortal$1( diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js index e869fb2233714..ab146fef85008 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -2695,7 +2695,6 @@ to return true:wantsResponderID| | dynamicFlags.enableInfiniteRenderLoopDetection, enableRenderableContext = dynamicFlags.enableRenderableContext, enableUnifiedSyncLane = dynamicFlags.enableUnifiedSyncLane, - enableUseRefAccessWarning = dynamicFlags.enableUseRefAccessWarning, useModernStrictMode = dynamicFlags.useModernStrictMode; // The rest of the flags are static for better dead code elimination. var enableSchedulingProfiler = true; var enableProfilerTimer = true; @@ -13580,95 +13579,13 @@ to return true:wantsResponderID| | }; } - var stackContainsErrorMessage = null; - - function getCallerStackFrame() { - // eslint-disable-next-line react-internal/prod-error-codes - var stackFrames = new Error("Error message").stack.split("\n"); // Some browsers (e.g. Chrome) include the error message in the stack - // but others (e.g. Firefox) do not. - - if (stackContainsErrorMessage === null) { - stackContainsErrorMessage = stackFrames[0].includes("Error message"); - } - - return stackContainsErrorMessage - ? stackFrames.slice(3, 4).join("\n") - : stackFrames.slice(2, 3).join("\n"); - } - function mountRef(initialValue) { var hook = mountWorkInProgressHook(); - - if (enableUseRefAccessWarning) { - { - // Support lazy initialization pattern shown in docs. - // We need to store the caller stack frame so that we don't warn on subsequent renders. - var hasBeenInitialized = initialValue != null; - var lazyInitGetterStack = null; - var didCheckForLazyInit = false; // Only warn once per component+hook. - - var didWarnAboutRead = false; - var didWarnAboutWrite = false; - var current = initialValue; - var ref = { - get current() { - if (!hasBeenInitialized) { - didCheckForLazyInit = true; - lazyInitGetterStack = getCallerStackFrame(); - } else if ( - currentlyRenderingFiber$1 !== null && - !didWarnAboutRead - ) { - if ( - lazyInitGetterStack === null || - lazyInitGetterStack !== getCallerStackFrame() - ) { - didWarnAboutRead = true; - - warn( - "%s: Unsafe read of a mutable value during render.\n\n" + - "Reading from a ref during render is only safe if:\n" + - "1. The ref value has not been updated, or\n" + - "2. The ref holds a lazily-initialized value that is only set once.\n", - getComponentNameFromFiber(currentlyRenderingFiber$1) || - "Unknown" - ); - } - } - - return current; - }, - - set current(value) { - if (currentlyRenderingFiber$1 !== null && !didWarnAboutWrite) { - if (hasBeenInitialized || !didCheckForLazyInit) { - didWarnAboutWrite = true; - - warn( - "%s: Unsafe write of a mutable value during render.\n\n" + - "Writing to a ref during render is only safe if the ref holds " + - "a lazily-initialized value that is only set once.\n", - getComponentNameFromFiber(currentlyRenderingFiber$1) || - "Unknown" - ); - } - } - - hasBeenInitialized = true; - current = value; - } - }; - Object.seal(ref); - hook.memoizedState = ref; - return ref; - } - } else { - var _ref2 = { - current: initialValue - }; - hook.memoizedState = _ref2; - return _ref2; - } + var ref = { + current: initialValue + }; + hook.memoizedState = ref; + return ref; } function updateRef(initialValue) { @@ -31012,7 +30929,7 @@ to return true:wantsResponderID| | return root; } - var ReactVersion = "19.0.0-canary-de05bec9"; + var ReactVersion = "19.0.0-canary-ac768098"; function createPortal$1( children, diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js index 93212030753fe..098903bc84492 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<9db21d4a697e662725618f615a03fdba>> + * @generated SignedSource<> */ "use strict"; @@ -893,7 +893,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_258 = { +var injectedNamesToPlugins$jscomp$inline_257 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -939,32 +939,32 @@ var injectedNamesToPlugins$jscomp$inline_258 = { } } }, - isOrderingDirty$jscomp$inline_259 = !1, - pluginName$jscomp$inline_260; -for (pluginName$jscomp$inline_260 in injectedNamesToPlugins$jscomp$inline_258) + isOrderingDirty$jscomp$inline_258 = !1, + pluginName$jscomp$inline_259; +for (pluginName$jscomp$inline_259 in injectedNamesToPlugins$jscomp$inline_257) if ( - injectedNamesToPlugins$jscomp$inline_258.hasOwnProperty( - pluginName$jscomp$inline_260 + injectedNamesToPlugins$jscomp$inline_257.hasOwnProperty( + pluginName$jscomp$inline_259 ) ) { - var pluginModule$jscomp$inline_261 = - injectedNamesToPlugins$jscomp$inline_258[pluginName$jscomp$inline_260]; + var pluginModule$jscomp$inline_260 = + injectedNamesToPlugins$jscomp$inline_257[pluginName$jscomp$inline_259]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_260) || - namesToPlugins[pluginName$jscomp$inline_260] !== - pluginModule$jscomp$inline_261 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_259) || + namesToPlugins[pluginName$jscomp$inline_259] !== + pluginModule$jscomp$inline_260 ) { - if (namesToPlugins[pluginName$jscomp$inline_260]) + if (namesToPlugins[pluginName$jscomp$inline_259]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_260 + "`.") + (pluginName$jscomp$inline_259 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_260] = - pluginModule$jscomp$inline_261; - isOrderingDirty$jscomp$inline_259 = !0; + namesToPlugins[pluginName$jscomp$inline_259] = + pluginModule$jscomp$inline_260; + isOrderingDirty$jscomp$inline_258 = !0; } } -isOrderingDirty$jscomp$inline_259 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_258 && recomputePluginOrdering(); var instanceCache = new Map(), instanceProps = new Map(); function getInstanceFromTag(tag) { @@ -1124,7 +1124,6 @@ var ReactSharedInternals = dynamicFlagsUntyped.enableInfiniteRenderLoopDetection, enableRenderableContext = dynamicFlagsUntyped.enableRenderableContext, enableUnifiedSyncLane = dynamicFlagsUntyped.enableUnifiedSyncLane, - enableUseRefAccessWarning = dynamicFlagsUntyped.enableUseRefAccessWarning, REACT_ELEMENT_TYPE = Symbol.for("react.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), @@ -4808,11 +4807,6 @@ var HooksDispatcherOnMount = { }, useRef: function (initialValue) { var hook = mountWorkInProgressHook(); - if (enableUseRefAccessWarning) - return ( - (initialValue = { current: initialValue }), - (hook.memoizedState = initialValue) - ); initialValue = { current: initialValue }; return (hook.memoizedState = initialValue); }, @@ -7178,14 +7172,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$78 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$78 = lastTailNode), + for (var lastTailNode$77 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$77 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$78 + null === lastTailNode$77 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$78.sibling = null); + : (lastTailNode$77.sibling = null); } } function bubbleProperties(completedWork) { @@ -7195,19 +7189,19 @@ function bubbleProperties(completedWork) { newChildLanes = 0, subtreeFlags = 0; if (didBailout) - for (var child$79 = completedWork.child; null !== child$79; ) - (newChildLanes |= child$79.lanes | child$79.childLanes), - (subtreeFlags |= child$79.subtreeFlags & 31457280), - (subtreeFlags |= child$79.flags & 31457280), - (child$79.return = completedWork), - (child$79 = child$79.sibling); + for (var child$78 = completedWork.child; null !== child$78; ) + (newChildLanes |= child$78.lanes | child$78.childLanes), + (subtreeFlags |= child$78.subtreeFlags & 31457280), + (subtreeFlags |= child$78.flags & 31457280), + (child$78.return = completedWork), + (child$78 = child$78.sibling); else - for (child$79 = completedWork.child; null !== child$79; ) - (newChildLanes |= child$79.lanes | child$79.childLanes), - (subtreeFlags |= child$79.subtreeFlags), - (subtreeFlags |= child$79.flags), - (child$79.return = completedWork), - (child$79 = child$79.sibling); + for (child$78 = completedWork.child; null !== child$78; ) + (newChildLanes |= child$78.lanes | child$78.childLanes), + (subtreeFlags |= child$78.subtreeFlags), + (subtreeFlags |= child$78.flags), + (child$78.return = completedWork), + (child$78 = child$78.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -7722,8 +7716,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { else if ("function" === typeof ref) try { ref(null); - } catch (error$101) { - captureCommitPhaseError(current, nearestMountedAncestor, error$101); + } catch (error$100) { + captureCommitPhaseError(current, nearestMountedAncestor, error$100); } else ref.current = null; } @@ -7828,10 +7822,10 @@ function commitHookEffectListMount(flags, finishedWork) { var effect = (finishedWork = finishedWork.next); do { if ((effect.tag & flags) === flags) { - var create$102 = effect.create, + var create$101 = effect.create, inst = effect.inst; - create$102 = create$102(); - inst.destroy = create$102; + create$101 = create$101(); + inst.destroy = create$101; } effect = effect.next; } while (effect !== finishedWork); @@ -7886,11 +7880,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$103) { + } catch (error$102) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$103 + error$102 ); } } @@ -8351,8 +8345,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) { } try { commitHookEffectListUnmount(5, finishedWork, finishedWork.return); - } catch (error$111) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$111); + } catch (error$110) { + captureCommitPhaseError(finishedWork, finishedWork.return, error$110); } } break; @@ -8399,8 +8393,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) { viewConfig.uiViewClassName, updatePayload ); - } catch (error$114) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$114); + } catch (error$113) { + captureCommitPhaseError(finishedWork, finishedWork.return, error$113); } } break; @@ -8420,8 +8414,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) { "RCTRawText", { text: current } ); - } catch (error$115) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$115); + } catch (error$114) { + captureCommitPhaseError(finishedWork, finishedWork.return, error$114); } } break; @@ -8533,11 +8527,11 @@ function commitMutationEffectsOnFiber(finishedWork, root) { if (null === current) try { throw Error("Not yet implemented."); - } catch (error$105) { + } catch (error$104) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$105 + error$104 ); } } else if ( @@ -8611,12 +8605,12 @@ function commitReconciliationEffects(finishedWork) { break; case 3: case 4: - var parent$106 = JSCompiler_inline_result.stateNode.containerInfo, - before$107 = getHostSibling(finishedWork); + var parent$105 = JSCompiler_inline_result.stateNode.containerInfo, + before$106 = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer( finishedWork, - before$107, - parent$106 + before$106, + parent$105 ); break; default: @@ -9731,8 +9725,8 @@ function renderRootSync(root, lanes) { } workLoopSync(); break; - } catch (thrownValue$123) { - handleThrow(root, thrownValue$123); + } catch (thrownValue$122) { + handleThrow(root, thrownValue$122); } while (1); lanes && root.shellSuspendCounter++; @@ -9840,8 +9834,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrent(); break; - } catch (thrownValue$125) { - handleThrow(root, thrownValue$125); + } catch (thrownValue$124) { + handleThrow(root, thrownValue$124); } while (1); resetContextDependencies(); @@ -10853,10 +10847,10 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - devToolsConfig$jscomp$inline_1168 = { + devToolsConfig$jscomp$inline_1167 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "19.0.0-canary-617388a5", + version: "19.0.0-canary-aca2b47f", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10872,11 +10866,11 @@ var roots = new Map(), }.bind(null, findNodeHandle) } }; -var internals$jscomp$inline_1415 = { - bundleType: devToolsConfig$jscomp$inline_1168.bundleType, - version: devToolsConfig$jscomp$inline_1168.version, - rendererPackageName: devToolsConfig$jscomp$inline_1168.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1168.rendererConfig, +var internals$jscomp$inline_1414 = { + bundleType: devToolsConfig$jscomp$inline_1167.bundleType, + version: devToolsConfig$jscomp$inline_1167.version, + rendererPackageName: devToolsConfig$jscomp$inline_1167.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1167.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -10892,26 +10886,26 @@ var internals$jscomp$inline_1415 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1168.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1167.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-canary-617388a5" + reconcilerVersion: "19.0.0-canary-aca2b47f" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1416 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1415 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1416.isDisabled && - hook$jscomp$inline_1416.supportsFiber + !hook$jscomp$inline_1415.isDisabled && + hook$jscomp$inline_1415.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1416.inject( - internals$jscomp$inline_1415 + (rendererID = hook$jscomp$inline_1415.inject( + internals$jscomp$inline_1414 )), - (injectedHook = hook$jscomp$inline_1416); + (injectedHook = hook$jscomp$inline_1415); } catch (err) {} } exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = { diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js index 33688f4dfe23e..66911c5811662 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<49158fa25365b03cf5a1380b9fe8fbe8>> + * @generated SignedSource<<6112fe4a64cd1a98c2f7c3ec1990268c>> */ "use strict"; @@ -897,7 +897,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_274 = { +var injectedNamesToPlugins$jscomp$inline_273 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -943,32 +943,32 @@ var injectedNamesToPlugins$jscomp$inline_274 = { } } }, - isOrderingDirty$jscomp$inline_275 = !1, - pluginName$jscomp$inline_276; -for (pluginName$jscomp$inline_276 in injectedNamesToPlugins$jscomp$inline_274) + isOrderingDirty$jscomp$inline_274 = !1, + pluginName$jscomp$inline_275; +for (pluginName$jscomp$inline_275 in injectedNamesToPlugins$jscomp$inline_273) if ( - injectedNamesToPlugins$jscomp$inline_274.hasOwnProperty( - pluginName$jscomp$inline_276 + injectedNamesToPlugins$jscomp$inline_273.hasOwnProperty( + pluginName$jscomp$inline_275 ) ) { - var pluginModule$jscomp$inline_277 = - injectedNamesToPlugins$jscomp$inline_274[pluginName$jscomp$inline_276]; + var pluginModule$jscomp$inline_276 = + injectedNamesToPlugins$jscomp$inline_273[pluginName$jscomp$inline_275]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_276) || - namesToPlugins[pluginName$jscomp$inline_276] !== - pluginModule$jscomp$inline_277 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_275) || + namesToPlugins[pluginName$jscomp$inline_275] !== + pluginModule$jscomp$inline_276 ) { - if (namesToPlugins[pluginName$jscomp$inline_276]) + if (namesToPlugins[pluginName$jscomp$inline_275]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_276 + "`.") + (pluginName$jscomp$inline_275 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_276] = - pluginModule$jscomp$inline_277; - isOrderingDirty$jscomp$inline_275 = !0; + namesToPlugins[pluginName$jscomp$inline_275] = + pluginModule$jscomp$inline_276; + isOrderingDirty$jscomp$inline_274 = !0; } } -isOrderingDirty$jscomp$inline_275 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_274 && recomputePluginOrdering(); var instanceCache = new Map(), instanceProps = new Map(); function getInstanceFromTag(tag) { @@ -1128,7 +1128,6 @@ var ReactSharedInternals = dynamicFlagsUntyped.enableInfiniteRenderLoopDetection, enableRenderableContext = dynamicFlagsUntyped.enableRenderableContext, enableUnifiedSyncLane = dynamicFlagsUntyped.enableUnifiedSyncLane, - enableUseRefAccessWarning = dynamicFlagsUntyped.enableUseRefAccessWarning, REACT_ELEMENT_TYPE = Symbol.for("react.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), @@ -4933,11 +4932,6 @@ var HooksDispatcherOnMount = { }, useRef: function (initialValue) { var hook = mountWorkInProgressHook(); - if (enableUseRefAccessWarning) - return ( - (initialValue = { current: initialValue }), - (hook.memoizedState = initialValue) - ); initialValue = { current: initialValue }; return (hook.memoizedState = initialValue); }, @@ -7408,14 +7402,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$82 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$82 = lastTailNode), + for (var lastTailNode$81 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$81 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$82 + null === lastTailNode$81 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$82.sibling = null); + : (lastTailNode$81.sibling = null); } } function bubbleProperties(completedWork) { @@ -7427,53 +7421,53 @@ function bubbleProperties(completedWork) { if (didBailout) if (0 !== (completedWork.mode & 2)) { for ( - var treeBaseDuration$84 = completedWork.selfBaseDuration, - child$85 = completedWork.child; - null !== child$85; + var treeBaseDuration$83 = completedWork.selfBaseDuration, + child$84 = completedWork.child; + null !== child$84; ) - (newChildLanes |= child$85.lanes | child$85.childLanes), - (subtreeFlags |= child$85.subtreeFlags & 31457280), - (subtreeFlags |= child$85.flags & 31457280), - (treeBaseDuration$84 += child$85.treeBaseDuration), - (child$85 = child$85.sibling); - completedWork.treeBaseDuration = treeBaseDuration$84; + (newChildLanes |= child$84.lanes | child$84.childLanes), + (subtreeFlags |= child$84.subtreeFlags & 31457280), + (subtreeFlags |= child$84.flags & 31457280), + (treeBaseDuration$83 += child$84.treeBaseDuration), + (child$84 = child$84.sibling); + completedWork.treeBaseDuration = treeBaseDuration$83; } else for ( - treeBaseDuration$84 = completedWork.child; - null !== treeBaseDuration$84; + treeBaseDuration$83 = completedWork.child; + null !== treeBaseDuration$83; ) (newChildLanes |= - treeBaseDuration$84.lanes | treeBaseDuration$84.childLanes), - (subtreeFlags |= treeBaseDuration$84.subtreeFlags & 31457280), - (subtreeFlags |= treeBaseDuration$84.flags & 31457280), - (treeBaseDuration$84.return = completedWork), - (treeBaseDuration$84 = treeBaseDuration$84.sibling); + treeBaseDuration$83.lanes | treeBaseDuration$83.childLanes), + (subtreeFlags |= treeBaseDuration$83.subtreeFlags & 31457280), + (subtreeFlags |= treeBaseDuration$83.flags & 31457280), + (treeBaseDuration$83.return = completedWork), + (treeBaseDuration$83 = treeBaseDuration$83.sibling); else if (0 !== (completedWork.mode & 2)) { - treeBaseDuration$84 = completedWork.actualDuration; - child$85 = completedWork.selfBaseDuration; + treeBaseDuration$83 = completedWork.actualDuration; + child$84 = completedWork.selfBaseDuration; for (var child = completedWork.child; null !== child; ) (newChildLanes |= child.lanes | child.childLanes), (subtreeFlags |= child.subtreeFlags), (subtreeFlags |= child.flags), - (treeBaseDuration$84 += child.actualDuration), - (child$85 += child.treeBaseDuration), + (treeBaseDuration$83 += child.actualDuration), + (child$84 += child.treeBaseDuration), (child = child.sibling); - completedWork.actualDuration = treeBaseDuration$84; - completedWork.treeBaseDuration = child$85; + completedWork.actualDuration = treeBaseDuration$83; + completedWork.treeBaseDuration = child$84; } else for ( - treeBaseDuration$84 = completedWork.child; - null !== treeBaseDuration$84; + treeBaseDuration$83 = completedWork.child; + null !== treeBaseDuration$83; ) (newChildLanes |= - treeBaseDuration$84.lanes | treeBaseDuration$84.childLanes), - (subtreeFlags |= treeBaseDuration$84.subtreeFlags), - (subtreeFlags |= treeBaseDuration$84.flags), - (treeBaseDuration$84.return = completedWork), - (treeBaseDuration$84 = treeBaseDuration$84.sibling); + treeBaseDuration$83.lanes | treeBaseDuration$83.childLanes), + (subtreeFlags |= treeBaseDuration$83.subtreeFlags), + (subtreeFlags |= treeBaseDuration$83.flags), + (treeBaseDuration$83.return = completedWork), + (treeBaseDuration$83 = treeBaseDuration$83.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -8041,8 +8035,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { recordLayoutEffectDuration(current); } else ref(null); - } catch (error$110) { - captureCommitPhaseError(current, nearestMountedAncestor, error$110); + } catch (error$109) { + captureCommitPhaseError(current, nearestMountedAncestor, error$109); } else ref.current = null; } @@ -8176,10 +8170,10 @@ function commitHookEffectListMount(flags, finishedWork) { injectedProfilingHooks.markComponentLayoutEffectMountStarted( finishedWork ); - var create$111 = effect.create, + var create$110 = effect.create, inst = effect.inst; - create$111 = create$111(); - inst.destroy = create$111; + create$110 = create$110(); + inst.destroy = create$110; 0 !== (flags & 8) ? null !== injectedProfilingHooks && "function" === @@ -8207,8 +8201,8 @@ function commitHookLayoutEffects(finishedWork, hookFlags) { } else try { commitHookEffectListMount(hookFlags, finishedWork); - } catch (error$113) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$113); + } catch (error$112) { + captureCommitPhaseError(finishedWork, finishedWork.return, error$112); } } function commitClassCallbacks(finishedWork) { @@ -8288,11 +8282,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { } else try { finishedRoot.componentDidMount(); - } catch (error$114) { + } catch (error$113) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$114 + error$113 ); } else { @@ -8310,11 +8304,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$115) { + } catch (error$114) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$115 + error$114 ); } recordLayoutEffectDuration(finishedWork); @@ -8325,11 +8319,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$116) { + } catch (error$115) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$116 + error$115 ); } } @@ -8819,22 +8813,22 @@ function commitMutationEffectsOnFiber(finishedWork, root) { try { startLayoutEffectTimer(), commitHookEffectListUnmount(5, finishedWork, finishedWork.return); - } catch (error$125) { + } catch (error$124) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$125 + error$124 ); } recordLayoutEffectDuration(finishedWork); } else try { commitHookEffectListUnmount(5, finishedWork, finishedWork.return); - } catch (error$126) { + } catch (error$125) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$126 + error$125 ); } } @@ -8882,8 +8876,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) { viewConfig.uiViewClassName, updatePayload ); - } catch (error$129) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$129); + } catch (error$128) { + captureCommitPhaseError(finishedWork, finishedWork.return, error$128); } } break; @@ -8903,8 +8897,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) { "RCTRawText", { text: current } ); - } catch (error$130) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$130); + } catch (error$129) { + captureCommitPhaseError(finishedWork, finishedWork.return, error$129); } } break; @@ -9016,11 +9010,11 @@ function commitMutationEffectsOnFiber(finishedWork, root) { if (null === current) try { throw Error("Not yet implemented."); - } catch (error$119) { + } catch (error$118) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$119 + error$118 ); } } else if ( @@ -9094,12 +9088,12 @@ function commitReconciliationEffects(finishedWork) { break; case 3: case 4: - var parent$120 = JSCompiler_inline_result.stateNode.containerInfo, - before$121 = getHostSibling(finishedWork); + var parent$119 = JSCompiler_inline_result.stateNode.containerInfo, + before$120 = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer( finishedWork, - before$121, - parent$120 + before$120, + parent$119 ); break; default: @@ -9285,8 +9279,8 @@ function commitHookPassiveMountEffects(finishedWork, hookFlags) { } else try { commitHookEffectListMount(hookFlags, finishedWork); - } catch (error$134) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$134); + } catch (error$133) { + captureCommitPhaseError(finishedWork, finishedWork.return, error$133); } } function commitOffscreenPassiveMountEffects(current, finishedWork) { @@ -10303,8 +10297,8 @@ function renderRootSync(root, lanes) { } workLoopSync(); break; - } catch (thrownValue$139) { - handleThrow(root, thrownValue$139); + } catch (thrownValue$138) { + handleThrow(root, thrownValue$138); } while (1); lanes && root.shellSuspendCounter++; @@ -10423,8 +10417,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrent(); break; - } catch (thrownValue$141) { - handleThrow(root, thrownValue$141); + } catch (thrownValue$140) { + handleThrow(root, thrownValue$140); } while (1); resetContextDependencies(); @@ -10790,7 +10784,7 @@ function flushPassiveEffects() { _finishedWork$memoize = finishedWork.memoizedProps, id = _finishedWork$memoize.id, onPostCommit = _finishedWork$memoize.onPostCommit, - commitTime$112 = commitTime, + commitTime$111 = commitTime, phase = null === finishedWork.alternate ? "mount" : "update"; currentUpdateIsNested && (phase = "nested-update"); "function" === typeof onPostCommit && @@ -10798,7 +10792,7 @@ function flushPassiveEffects() { id, phase, passiveEffectDuration, - commitTime$112 + commitTime$111 ); var parentFiber = finishedWork.return; b: for (; null !== parentFiber; ) { @@ -11559,10 +11553,10 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - devToolsConfig$jscomp$inline_1250 = { + devToolsConfig$jscomp$inline_1249 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "19.0.0-canary-7b050599", + version: "19.0.0-canary-6eafad74", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -11592,10 +11586,10 @@ var roots = new Map(), } catch (err) {} return hook.checkDCE ? !0 : !1; })({ - bundleType: devToolsConfig$jscomp$inline_1250.bundleType, - version: devToolsConfig$jscomp$inline_1250.version, - rendererPackageName: devToolsConfig$jscomp$inline_1250.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1250.rendererConfig, + bundleType: devToolsConfig$jscomp$inline_1249.bundleType, + version: devToolsConfig$jscomp$inline_1249.version, + rendererPackageName: devToolsConfig$jscomp$inline_1249.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1249.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -11611,14 +11605,14 @@ var roots = new Map(), return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1250.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1249.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-canary-7b050599" + reconcilerVersion: "19.0.0-canary-6eafad74" }); exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = { computeComponentStackForErrorReporting: function (reactTag) {