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.
@@ -336,7 +336,7 @@ function clz32Fallback(x) {
336
336
  x >>>= 0;
337
337
  return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
338
338
  }
339
- var nextTransitionLane = 128,
339
+ var nextTransitionLane = 256,
340
340
  nextRetryLane = 4194304;
341
341
  function getHighestPriorityLanes(lanes) {
342
342
  var pendingSyncLanes = lanes & 42;
@@ -357,6 +357,7 @@ function getHighestPriorityLanes(lanes) {
357
357
  case 64:
358
358
  return 64;
359
359
  case 128:
360
+ return 128;
360
361
  case 256:
361
362
  case 512:
362
363
  case 1024:
@@ -371,7 +372,7 @@ function getHighestPriorityLanes(lanes) {
371
372
  case 524288:
372
373
  case 1048576:
373
374
  case 2097152:
374
- return lanes & 4194176;
375
+ return lanes & 4194048;
375
376
  case 4194304:
376
377
  case 8388608:
377
378
  case 16777216:
@@ -427,7 +428,7 @@ function getNextLanes(root, wipLanes, rootHasPendingCommit) {
427
428
  ((suspendedLanes = nextLanes & -nextLanes),
428
429
  (rootHasPendingCommit = wipLanes & -wipLanes),
429
430
  suspendedLanes >= rootHasPendingCommit ||
430
- (32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194176)))
431
+ (32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048)))
431
432
  ? wipLanes
432
433
  : nextLanes;
433
434
  }
@@ -445,10 +446,10 @@ function computeExpirationTime(lane, currentTime) {
445
446
  case 2:
446
447
  case 4:
447
448
  case 8:
449
+ case 64:
448
450
  return currentTime + 250;
449
451
  case 16:
450
452
  case 32:
451
- case 64:
452
453
  case 128:
453
454
  case 256:
454
455
  case 512:
@@ -483,7 +484,7 @@ function computeExpirationTime(lane, currentTime) {
483
484
  function claimNextTransitionLane() {
484
485
  var lane = nextTransitionLane;
485
486
  nextTransitionLane <<= 1;
486
- 0 === (nextTransitionLane & 4194176) && (nextTransitionLane = 128);
487
+ 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256);
487
488
  return lane;
488
489
  }
489
490
  function claimNextRetryLane() {
@@ -557,7 +558,7 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
557
558
  root.entanglements[spawnedLaneIndex] =
558
559
  root.entanglements[spawnedLaneIndex] |
559
560
  1073741824 |
560
- (entangledLanes & 4194218);
561
+ (entangledLanes & 4194090);
561
562
  }
562
563
  function markRootEntangled(root, entangledLanes) {
563
564
  var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
@@ -580,7 +581,6 @@ function getBumpedLaneForHydrationByLane(lane) {
580
581
  case 32:
581
582
  lane = 16;
582
583
  break;
583
- case 128:
584
584
  case 256:
585
585
  case 512:
586
586
  case 1024:
@@ -599,7 +599,7 @@ function getBumpedLaneForHydrationByLane(lane) {
599
599
  case 8388608:
600
600
  case 16777216:
601
601
  case 33554432:
602
- lane = 64;
602
+ lane = 128;
603
603
  break;
604
604
  case 268435456:
605
605
  lane = 134217728;
@@ -2349,17 +2349,19 @@ function markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) {
2349
2349
  null === sourceFiber || sourceFiber._visibility & 1 || (isHidden = !0)),
2350
2350
  (sourceFiber = parent),
2351
2351
  (parent = parent.return);
2352
- isHidden &&
2353
- null !== update &&
2354
- 3 === sourceFiber.tag &&
2355
- ((parent = sourceFiber.stateNode),
2356
- (isHidden = 31 - clz32(lane)),
2357
- (parent = parent.hiddenUpdates),
2358
- (sourceFiber = parent[isHidden]),
2359
- null === sourceFiber
2360
- ? (parent[isHidden] = [update])
2361
- : sourceFiber.push(update),
2362
- (update.lane = lane | 536870912));
2352
+ return 3 === sourceFiber.tag
2353
+ ? ((parent = sourceFiber.stateNode),
2354
+ isHidden &&
2355
+ null !== update &&
2356
+ ((isHidden = 31 - clz32(lane)),
2357
+ (sourceFiber = parent.hiddenUpdates),
2358
+ (alternate = sourceFiber[isHidden]),
2359
+ null === alternate
2360
+ ? (sourceFiber[isHidden] = [update])
2361
+ : alternate.push(update),
2362
+ (update.lane = lane | 536870912)),
2363
+ parent)
2364
+ : null;
2363
2365
  }
2364
2366
  function getRootForUpdatedFiber(sourceFiber) {
2365
2367
  if (50 < nestedUpdateCount)
@@ -2643,7 +2645,7 @@ function enqueueUpdate(fiber, update, lane) {
2643
2645
  }
2644
2646
  function entangleTransitions(root, fiber, lane) {
2645
2647
  fiber = fiber.updateQueue;
2646
- if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194176))) {
2648
+ if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194048))) {
2647
2649
  var queueLanes = fiber.lanes;
2648
2650
  queueLanes &= root.pendingLanes;
2649
2651
  lane |= queueLanes;
@@ -3571,7 +3573,7 @@ function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
3571
3573
  );
3572
3574
  if (null === workInProgressRoot) throw Error(formatProdErrorMessage(349));
3573
3575
  isHydrating$jscomp$0 ||
3574
- 0 !== (renderLanes & 60) ||
3576
+ 0 !== (renderLanes & 124) ||
3575
3577
  pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);
3576
3578
  }
3577
3579
  return getServerSnapshot;
@@ -4261,7 +4263,7 @@ function enqueueRenderPhaseUpdate(queue, update) {
4261
4263
  queue.pending = update;
4262
4264
  }
4263
4265
  function entangleTransitionUpdate(root, queue, lane) {
4264
- if (0 !== (lane & 4194176)) {
4266
+ if (0 !== (lane & 4194048)) {
4265
4267
  var queueLanes = queue.lanes;
4266
4268
  queueLanes &= root.pendingLanes;
4267
4269
  lane |= queueLanes;
@@ -4405,7 +4407,7 @@ var ContextOnlyDispatcher = {
4405
4407
  getServerSnapshot = getSnapshot();
4406
4408
  if (null === workInProgressRoot)
4407
4409
  throw Error(formatProdErrorMessage(349));
4408
- 0 !== (workInProgressRootRenderLanes & 60) ||
4410
+ 0 !== (workInProgressRootRenderLanes & 124) ||
4409
4411
  pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);
4410
4412
  }
4411
4413
  hook.memoizedState = getServerSnapshot;
@@ -9583,7 +9585,7 @@ function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {
9583
9585
  resource = suspenseHandlerStackCursor.current;
9584
9586
  if (
9585
9587
  null !== resource &&
9586
- ((workInProgressRootRenderLanes & 4194176) ===
9588
+ ((workInProgressRootRenderLanes & 4194048) ===
9587
9589
  workInProgressRootRenderLanes
9588
9590
  ? null !== shellBoundary
9589
9591
  : ((workInProgressRootRenderLanes & 62914560) !==
@@ -10275,7 +10277,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
10275
10277
  if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
10276
10278
  var shouldTimeSlice =
10277
10279
  (!forceSync &&
10278
- 0 === (lanes & 60) &&
10280
+ 0 === (lanes & 124) &&
10279
10281
  0 === (lanes & root$jscomp$0.expiredLanes)) ||
10280
10282
  checkIfRootIsPrerendering(root$jscomp$0, lanes),
10281
10283
  exitStatus = shouldTimeSlice
@@ -10363,7 +10365,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
10363
10365
  case 1:
10364
10366
  throw Error(formatProdErrorMessage(345));
10365
10367
  case 4:
10366
- if ((lanes & 4194176) !== lanes) break;
10368
+ if ((lanes & 4194048) !== lanes) break;
10367
10369
  case 6:
10368
10370
  markRootSuspended(
10369
10371
  shouldTimeSlice,
@@ -10656,7 +10658,7 @@ function pushAsyncDispatcher() {
10656
10658
  function renderDidSuspendDelayIfPossible() {
10657
10659
  workInProgressRootExitStatus = 4;
10658
10660
  workInProgressRootDidSkipSuspendedSiblings ||
10659
- ((workInProgressRootRenderLanes & 4194176) !==
10661
+ ((workInProgressRootRenderLanes & 4194048) !==
10660
10662
  workInProgressRootRenderLanes &&
10661
10663
  null !== suspenseHandlerStackCursor.current) ||
10662
10664
  (workInProgressRootIsPrerendering = !0);
@@ -11267,7 +11269,7 @@ function flushSpawnedWork() {
11267
11269
  0 !== (pendingEffectsLanes & 3) && flushPendingEffects();
11268
11270
  ensureRootIsScheduled(root);
11269
11271
  remainingLanes = root.pendingLanes;
11270
- 0 !== (lanes & 4194218) && 0 !== (remainingLanes & 42)
11272
+ 0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42)
11271
11273
  ? root === rootWithNestedUpdates
11272
11274
  ? nestedUpdateCount++
11273
11275
  : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))
@@ -11481,8 +11483,8 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
11481
11483
  JSCompiler_inline_result &=
11482
11484
  pendingLanes & ~(suspendedLanes & ~pingedLanes);
11483
11485
  JSCompiler_inline_result =
11484
- JSCompiler_inline_result & 201326677
11485
- ? (JSCompiler_inline_result & 201326677) | 1
11486
+ JSCompiler_inline_result & 201326741
11487
+ ? (JSCompiler_inline_result & 201326741) | 1
11486
11488
  : JSCompiler_inline_result
11487
11489
  ? JSCompiler_inline_result | 2
11488
11490
  : 0;
@@ -15250,14 +15252,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15250
15252
  };
15251
15253
  var isomorphicReactPackageVersion$jscomp$inline_1762 = React.version;
15252
15254
  if (
15253
- "19.1.0-canary-cbbe8666-20250213" !==
15255
+ "19.1.0-canary-e670e72f-20250214" !==
15254
15256
  isomorphicReactPackageVersion$jscomp$inline_1762
15255
15257
  )
15256
15258
  throw Error(
15257
15259
  formatProdErrorMessage(
15258
15260
  527,
15259
15261
  isomorphicReactPackageVersion$jscomp$inline_1762,
15260
- "19.1.0-canary-cbbe8666-20250213"
15262
+ "19.1.0-canary-e670e72f-20250214"
15261
15263
  )
15262
15264
  );
15263
15265
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15279,10 +15281,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
15279
15281
  };
15280
15282
  var internals$jscomp$inline_2243 = {
15281
15283
  bundleType: 0,
15282
- version: "19.1.0-canary-cbbe8666-20250213",
15284
+ version: "19.1.0-canary-e670e72f-20250214",
15283
15285
  rendererPackageName: "react-dom",
15284
15286
  currentDispatcherRef: ReactSharedInternals,
15285
- reconcilerVersion: "19.1.0-canary-cbbe8666-20250213"
15287
+ reconcilerVersion: "19.1.0-canary-e670e72f-20250214"
15286
15288
  };
15287
15289
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15288
15290
  var hook$jscomp$inline_2244 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15386,4 +15388,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
15386
15388
  listenToAllSupportedEvents(container);
15387
15389
  return new ReactDOMHydrationRoot(initialChildren);
15388
15390
  };
15389
- exports.version = "19.1.0-canary-cbbe8666-20250213";
15391
+ exports.version = "19.1.0-canary-e670e72f-20250214";