react-dom 19.1.0-canary-cbbe8666-20250213 → 19.1.0-canary-e670e72f-20250214

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -379,8 +379,8 @@ function getLabelForLane(lane) {
379
379
  if (lane & 8) return "InputContinuous";
380
380
  if (lane & 16) return "DefaultHydration";
381
381
  if (lane & 32) return "Default";
382
- if (lane & 64) return "TransitionHydration";
383
- if (lane & 4194176) return "Transition";
382
+ if (lane & 128) return "TransitionHydration";
383
+ if (lane & 4194048) return "Transition";
384
384
  if (lane & 62914560) return "Retry";
385
385
  if (lane & 67108864) return "SelectiveHydration";
386
386
  if (lane & 134217728) return "IdleHydration";
@@ -388,7 +388,7 @@ function getLabelForLane(lane) {
388
388
  if (lane & 536870912) return "Offscreen";
389
389
  if (lane & 1073741824) return "Deferred";
390
390
  }
391
- var nextTransitionLane = 128,
391
+ var nextTransitionLane = 256,
392
392
  nextRetryLane = 4194304;
393
393
  function getHighestPriorityLanes(lanes) {
394
394
  var pendingSyncLanes = lanes & 42;
@@ -409,6 +409,7 @@ function getHighestPriorityLanes(lanes) {
409
409
  case 64:
410
410
  return 64;
411
411
  case 128:
412
+ return 128;
412
413
  case 256:
413
414
  case 512:
414
415
  case 1024:
@@ -423,7 +424,7 @@ function getHighestPriorityLanes(lanes) {
423
424
  case 524288:
424
425
  case 1048576:
425
426
  case 2097152:
426
- return lanes & 4194176;
427
+ return lanes & 4194048;
427
428
  case 4194304:
428
429
  case 8388608:
429
430
  case 16777216:
@@ -479,7 +480,7 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
479
480
  ((suspendedLanes = nextLanes & -nextLanes),
480
481
  (rootHasPendingCommit = wipLanes & -wipLanes),
481
482
  suspendedLanes >= rootHasPendingCommit ||
482
- (32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194176)))
483
+ (32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048)))
483
484
  ? wipLanes
484
485
  : nextLanes;
485
486
  }
@@ -497,10 +498,10 @@ function computeExpirationTime(lane, currentTime) {
497
498
  case 2:
498
499
  case 4:
499
500
  case 8:
501
+ case 64:
500
502
  return currentTime + 250;
501
503
  case 16:
502
504
  case 32:
503
- case 64:
504
505
  case 128:
505
506
  case 256:
506
507
  case 512:
@@ -535,7 +536,7 @@ function computeExpirationTime(lane, currentTime) {
535
536
  function claimNextTransitionLane() {
536
537
  var lane = nextTransitionLane;
537
538
  nextTransitionLane <<= 1;
538
- 0 === (nextTransitionLane & 4194176) && (nextTransitionLane = 128);
539
+ 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256);
539
540
  return lane;
540
541
  }
541
542
  function claimNextRetryLane() {
@@ -609,7 +610,7 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
609
610
  root.entanglements[spawnedLaneIndex] =
610
611
  root.entanglements[spawnedLaneIndex] |
611
612
  1073741824 |
612
- (entangledLanes & 4194218);
613
+ (entangledLanes & 4194090);
613
614
  }
614
615
  function markRootEntangled(root, entangledLanes) {
615
616
  var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
@@ -632,7 +633,6 @@ function getBumpedLaneForHydrationByLane(lane) {
632
633
  case 32:
633
634
  lane = 16;
634
635
  break;
635
- case 128:
636
636
  case 256:
637
637
  case 512:
638
638
  case 1024:
@@ -651,7 +651,7 @@ function getBumpedLaneForHydrationByLane(lane) {
651
651
  case 8388608:
652
652
  case 16777216:
653
653
  case 33554432:
654
- lane = 64;
654
+ lane = 128;
655
655
  break;
656
656
  case 268435456:
657
657
  lane = 134217728;
@@ -2431,17 +2431,19 @@ function markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) {
2431
2431
  null === sourceFiber || sourceFiber._visibility & 1 || (isHidden = !0)),
2432
2432
  (sourceFiber = parent),
2433
2433
  (parent = parent.return);
2434
- isHidden &&
2435
- null !== update &&
2436
- 3 === sourceFiber.tag &&
2437
- ((parent = sourceFiber.stateNode),
2438
- (isHidden = 31 - clz32(lane)),
2439
- (parent = parent.hiddenUpdates),
2440
- (sourceFiber = parent[isHidden]),
2441
- null === sourceFiber
2442
- ? (parent[isHidden] = [update])
2443
- : sourceFiber.push(update),
2444
- (update.lane = lane | 536870912));
2434
+ return 3 === sourceFiber.tag
2435
+ ? ((parent = sourceFiber.stateNode),
2436
+ isHidden &&
2437
+ null !== update &&
2438
+ ((isHidden = 31 - clz32(lane)),
2439
+ (sourceFiber = parent.hiddenUpdates),
2440
+ (alternate = sourceFiber[isHidden]),
2441
+ null === alternate
2442
+ ? (sourceFiber[isHidden] = [update])
2443
+ : alternate.push(update),
2444
+ (update.lane = lane | 536870912)),
2445
+ parent)
2446
+ : null;
2445
2447
  }
2446
2448
  function getRootForUpdatedFiber(sourceFiber) {
2447
2449
  if (50 < nestedUpdateCount)
@@ -2779,7 +2781,7 @@ function enqueueUpdate(fiber, update, lane) {
2779
2781
  }
2780
2782
  function entangleTransitions(root, fiber, lane) {
2781
2783
  fiber = fiber.updateQueue;
2782
- if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194176))) {
2784
+ if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194048))) {
2783
2785
  var queueLanes = fiber.lanes;
2784
2786
  queueLanes &= root.pendingLanes;
2785
2787
  lane |= queueLanes;
@@ -3712,7 +3714,7 @@ function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
3712
3714
  );
3713
3715
  if (null === workInProgressRoot) throw Error(formatProdErrorMessage(349));
3714
3716
  isHydrating$jscomp$0 ||
3715
- 0 !== (renderLanes & 60) ||
3717
+ 0 !== (renderLanes & 124) ||
3716
3718
  pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);
3717
3719
  }
3718
3720
  return getServerSnapshot;
@@ -4405,7 +4407,7 @@ function enqueueRenderPhaseUpdate(queue, update) {
4405
4407
  queue.pending = update;
4406
4408
  }
4407
4409
  function entangleTransitionUpdate(root, queue, lane) {
4408
- if (0 !== (lane & 4194176)) {
4410
+ if (0 !== (lane & 4194048)) {
4409
4411
  var queueLanes = queue.lanes;
4410
4412
  queueLanes &= root.pendingLanes;
4411
4413
  lane |= queueLanes;
@@ -4549,7 +4551,7 @@ var ContextOnlyDispatcher = {
4549
4551
  getServerSnapshot = getSnapshot();
4550
4552
  if (null === workInProgressRoot)
4551
4553
  throw Error(formatProdErrorMessage(349));
4552
- 0 !== (workInProgressRootRenderLanes & 60) ||
4554
+ 0 !== (workInProgressRootRenderLanes & 124) ||
4553
4555
  pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);
4554
4556
  }
4555
4557
  hook.memoizedState = getServerSnapshot;
@@ -10011,7 +10013,7 @@ function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {
10011
10013
  resource = suspenseHandlerStackCursor.current;
10012
10014
  if (
10013
10015
  null !== resource &&
10014
- ((workInProgressRootRenderLanes & 4194176) ===
10016
+ ((workInProgressRootRenderLanes & 4194048) ===
10015
10017
  workInProgressRootRenderLanes
10016
10018
  ? null !== shellBoundary
10017
10019
  : ((workInProgressRootRenderLanes & 62914560) !==
@@ -10770,7 +10772,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
10770
10772
  if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
10771
10773
  var shouldTimeSlice =
10772
10774
  (!forceSync &&
10773
- 0 === (lanes & 60) &&
10775
+ 0 === (lanes & 124) &&
10774
10776
  0 === (lanes & root$jscomp$0.expiredLanes)) ||
10775
10777
  checkIfRootIsPrerendering(root$jscomp$0, lanes),
10776
10778
  exitStatus = shouldTimeSlice
@@ -10858,7 +10860,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
10858
10860
  case 1:
10859
10861
  throw Error(formatProdErrorMessage(345));
10860
10862
  case 4:
10861
- if ((lanes & 4194176) !== lanes) break;
10863
+ if ((lanes & 4194048) !== lanes) break;
10862
10864
  case 6:
10863
10865
  markRootSuspended(
10864
10866
  shouldTimeSlice,
@@ -11181,7 +11183,7 @@ function pushAsyncDispatcher() {
11181
11183
  function renderDidSuspendDelayIfPossible() {
11182
11184
  workInProgressRootExitStatus = 4;
11183
11185
  workInProgressRootDidSkipSuspendedSiblings ||
11184
- ((workInProgressRootRenderLanes & 4194176) !==
11186
+ ((workInProgressRootRenderLanes & 4194048) !==
11185
11187
  workInProgressRootRenderLanes &&
11186
11188
  null !== suspenseHandlerStackCursor.current) ||
11187
11189
  (workInProgressRootIsPrerendering = !0);
@@ -11875,7 +11877,7 @@ function flushSpawnedWork() {
11875
11877
  0 !== (pendingEffectsLanes & 3) && flushPendingEffects();
11876
11878
  ensureRootIsScheduled(root);
11877
11879
  remainingLanes = root.pendingLanes;
11878
- 0 !== (lanes & 4194218) && 0 !== (remainingLanes & 42)
11880
+ 0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42)
11879
11881
  ? ((nestedUpdateScheduled = !0),
11880
11882
  root === rootWithNestedUpdates
11881
11883
  ? nestedUpdateCount++
@@ -12107,8 +12109,8 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
12107
12109
  JSCompiler_inline_result &=
12108
12110
  pendingLanes & ~(suspendedLanes & ~pingedLanes);
12109
12111
  JSCompiler_inline_result =
12110
- JSCompiler_inline_result & 201326677
12111
- ? (JSCompiler_inline_result & 201326677) | 1
12112
+ JSCompiler_inline_result & 201326741
12113
+ ? (JSCompiler_inline_result & 201326741) | 1
12112
12114
  : JSCompiler_inline_result
12113
12115
  ? JSCompiler_inline_result | 2
12114
12116
  : 0;
@@ -15898,14 +15900,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15898
15900
  };
15899
15901
  var isomorphicReactPackageVersion$jscomp$inline_1858 = React.version;
15900
15902
  if (
15901
- "19.1.0-canary-cbbe8666-20250213" !==
15903
+ "19.1.0-canary-e670e72f-20250214" !==
15902
15904
  isomorphicReactPackageVersion$jscomp$inline_1858
15903
15905
  )
15904
15906
  throw Error(
15905
15907
  formatProdErrorMessage(
15906
15908
  527,
15907
15909
  isomorphicReactPackageVersion$jscomp$inline_1858,
15908
- "19.1.0-canary-cbbe8666-20250213"
15910
+ "19.1.0-canary-e670e72f-20250214"
15909
15911
  )
15910
15912
  );
15911
15913
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15927,10 +15929,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
15927
15929
  };
15928
15930
  var internals$jscomp$inline_1865 = {
15929
15931
  bundleType: 0,
15930
- version: "19.1.0-canary-cbbe8666-20250213",
15932
+ version: "19.1.0-canary-e670e72f-20250214",
15931
15933
  rendererPackageName: "react-dom",
15932
15934
  currentDispatcherRef: ReactSharedInternals,
15933
- reconcilerVersion: "19.1.0-canary-cbbe8666-20250213",
15935
+ reconcilerVersion: "19.1.0-canary-e670e72f-20250214",
15934
15936
  getLaneLabelMap: function () {
15935
15937
  for (
15936
15938
  var map = new Map(), lane = 1, index$281 = 0;
@@ -16210,7 +16212,7 @@ exports.useFormState = function (action, initialState, permalink) {
16210
16212
  exports.useFormStatus = function () {
16211
16213
  return ReactSharedInternals.H.useHostTransitionStatus();
16212
16214
  };
16213
- exports.version = "19.1.0-canary-cbbe8666-20250213";
16215
+ exports.version = "19.1.0-canary-e670e72f-20250214";
16214
16216
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
16215
16217
  "function" ===
16216
16218
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&