react-dom 19.2.0-canary-2805f0ed-20250903 → 19.2.0-canary-3302d1f7-20250903
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.
- package/cjs/react-dom-client.development.js +137 -126
- package/cjs/react-dom-client.production.js +69 -58
- package/cjs/react-dom-profiling.development.js +137 -126
- package/cjs/react-dom-profiling.profiling.js +69 -58
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
|
@@ -539,7 +539,8 @@ function clz32Fallback(x) {
|
|
|
539
539
|
x >>>= 0;
|
|
540
540
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var nextTransitionUpdateLane = 256,
|
|
543
|
+
nextTransitionDeferredLane = 262144,
|
|
543
544
|
nextRetryLane = 4194304;
|
|
544
545
|
function getHighestPriorityLanes(lanes) {
|
|
545
546
|
var pendingSyncLanes = lanes & 42;
|
|
@@ -571,11 +572,12 @@ function getHighestPriorityLanes(lanes) {
|
|
|
571
572
|
case 32768:
|
|
572
573
|
case 65536:
|
|
573
574
|
case 131072:
|
|
575
|
+
return lanes & 261888;
|
|
574
576
|
case 262144:
|
|
575
577
|
case 524288:
|
|
576
578
|
case 1048576:
|
|
577
579
|
case 2097152:
|
|
578
|
-
return lanes &
|
|
580
|
+
return lanes & 3932160;
|
|
579
581
|
case 4194304:
|
|
580
582
|
case 8388608:
|
|
581
583
|
case 16777216:
|
|
@@ -684,12 +686,6 @@ function computeExpirationTime(lane, currentTime) {
|
|
|
684
686
|
return -1;
|
|
685
687
|
}
|
|
686
688
|
}
|
|
687
|
-
function claimNextTransitionLane() {
|
|
688
|
-
var lane = nextTransitionLane;
|
|
689
|
-
nextTransitionLane <<= 1;
|
|
690
|
-
0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256);
|
|
691
|
-
return lane;
|
|
692
|
-
}
|
|
693
689
|
function claimNextRetryLane() {
|
|
694
690
|
var lane = nextRetryLane;
|
|
695
691
|
nextRetryLane <<= 1;
|
|
@@ -761,7 +757,7 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
|
|
|
761
757
|
root.entanglements[spawnedLaneIndex] =
|
|
762
758
|
root.entanglements[spawnedLaneIndex] |
|
|
763
759
|
1073741824 |
|
|
764
|
-
(entangledLanes &
|
|
760
|
+
(entangledLanes & 261930);
|
|
765
761
|
}
|
|
766
762
|
function markRootEntangled(root, entangledLanes) {
|
|
767
763
|
var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
|
|
@@ -2048,19 +2044,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
|
|
2048
2044
|
}
|
|
2049
2045
|
var isInputEventSupported = !1;
|
|
2050
2046
|
if (canUseDOM) {
|
|
2051
|
-
var JSCompiler_inline_result$jscomp$
|
|
2047
|
+
var JSCompiler_inline_result$jscomp$285;
|
|
2052
2048
|
if (canUseDOM) {
|
|
2053
|
-
var isSupported$jscomp$
|
|
2054
|
-
if (!isSupported$jscomp$
|
|
2055
|
-
var element$jscomp$
|
|
2056
|
-
element$jscomp$
|
|
2057
|
-
isSupported$jscomp$
|
|
2058
|
-
"function" === typeof element$jscomp$
|
|
2049
|
+
var isSupported$jscomp$inline_428 = "oninput" in document;
|
|
2050
|
+
if (!isSupported$jscomp$inline_428) {
|
|
2051
|
+
var element$jscomp$inline_429 = document.createElement("div");
|
|
2052
|
+
element$jscomp$inline_429.setAttribute("oninput", "return;");
|
|
2053
|
+
isSupported$jscomp$inline_428 =
|
|
2054
|
+
"function" === typeof element$jscomp$inline_429.oninput;
|
|
2059
2055
|
}
|
|
2060
|
-
JSCompiler_inline_result$jscomp$
|
|
2061
|
-
} else JSCompiler_inline_result$jscomp$
|
|
2056
|
+
JSCompiler_inline_result$jscomp$285 = isSupported$jscomp$inline_428;
|
|
2057
|
+
} else JSCompiler_inline_result$jscomp$285 = !1;
|
|
2062
2058
|
isInputEventSupported =
|
|
2063
|
-
JSCompiler_inline_result$jscomp$
|
|
2059
|
+
JSCompiler_inline_result$jscomp$285 &&
|
|
2064
2060
|
(!document.documentMode || 9 < document.documentMode);
|
|
2065
2061
|
}
|
|
2066
2062
|
function stopWatchingForValueChange() {
|
|
@@ -5159,7 +5155,11 @@ function updateMemo(nextCreate, deps) {
|
|
|
5159
5155
|
return prevState;
|
|
5160
5156
|
}
|
|
5161
5157
|
function mountDeferredValueImpl(hook, value, initialValue) {
|
|
5162
|
-
if (
|
|
5158
|
+
if (
|
|
5159
|
+
void 0 === initialValue ||
|
|
5160
|
+
(0 !== (renderLanes & 1073741824) &&
|
|
5161
|
+
0 === (workInProgressRootRenderLanes & 261930))
|
|
5162
|
+
)
|
|
5163
5163
|
return (hook.memoizedState = value);
|
|
5164
5164
|
hook.memoizedState = initialValue;
|
|
5165
5165
|
hook = requestDeferredLane();
|
|
@@ -5175,7 +5175,11 @@ function updateDeferredValueImpl(hook, prevValue, value, initialValue) {
|
|
|
5175
5175
|
objectIs(hook, prevValue) || (didReceiveUpdate = !0),
|
|
5176
5176
|
hook
|
|
5177
5177
|
);
|
|
5178
|
-
if (
|
|
5178
|
+
if (
|
|
5179
|
+
0 === (renderLanes & 42) ||
|
|
5180
|
+
(0 !== (renderLanes & 1073741824) &&
|
|
5181
|
+
0 === (workInProgressRootRenderLanes & 261930))
|
|
5182
|
+
)
|
|
5179
5183
|
return (didReceiveUpdate = !0), (hook.memoizedState = value);
|
|
5180
5184
|
hook = requestDeferredLane();
|
|
5181
5185
|
currentlyRenderingFiber.lanes |= hook;
|
|
@@ -10543,13 +10547,16 @@ function requestUpdateLane() {
|
|
|
10543
10547
|
: resolveUpdatePriority();
|
|
10544
10548
|
}
|
|
10545
10549
|
function requestDeferredLane() {
|
|
10546
|
-
0 === workInProgressDeferredLane
|
|
10547
|
-
(
|
|
10548
|
-
|
|
10549
|
-
|
|
10550
|
-
|
|
10551
|
-
|
|
10552
|
-
|
|
10550
|
+
if (0 === workInProgressDeferredLane)
|
|
10551
|
+
if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) {
|
|
10552
|
+
var lane = nextTransitionDeferredLane;
|
|
10553
|
+
nextTransitionDeferredLane <<= 1;
|
|
10554
|
+
0 === (nextTransitionDeferredLane & 3932160) &&
|
|
10555
|
+
(nextTransitionDeferredLane = 262144);
|
|
10556
|
+
workInProgressDeferredLane = lane;
|
|
10557
|
+
} else workInProgressDeferredLane = 536870912;
|
|
10558
|
+
lane = suspenseHandlerStackCursor.current;
|
|
10559
|
+
null !== lane && (lane.flags |= 32);
|
|
10553
10560
|
return workInProgressDeferredLane;
|
|
10554
10561
|
}
|
|
10555
10562
|
function scheduleUpdateOnFiber(root, fiber, lane) {
|
|
@@ -11595,7 +11602,7 @@ function flushSpawnedWork() {
|
|
|
11595
11602
|
0 !== (pendingEffectsLanes & 3) && flushPendingEffects();
|
|
11596
11603
|
ensureRootIsScheduled(root);
|
|
11597
11604
|
remainingLanes = root.pendingLanes;
|
|
11598
|
-
0 !== (lanes &
|
|
11605
|
+
0 !== (lanes & 261930) && 0 !== (remainingLanes & 42)
|
|
11599
11606
|
? root === rootWithNestedUpdates
|
|
11600
11607
|
? nestedUpdateCount++
|
|
11601
11608
|
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))
|
|
@@ -11975,8 +11982,12 @@ function scheduleImmediateRootScheduleTask() {
|
|
|
11975
11982
|
function requestTransitionLane() {
|
|
11976
11983
|
if (0 === currentEventTransitionLane) {
|
|
11977
11984
|
var actionScopeLane = currentEntangledLane;
|
|
11978
|
-
|
|
11979
|
-
|
|
11985
|
+
0 === actionScopeLane &&
|
|
11986
|
+
((actionScopeLane = nextTransitionUpdateLane),
|
|
11987
|
+
(nextTransitionUpdateLane <<= 1),
|
|
11988
|
+
0 === (nextTransitionUpdateLane & 261888) &&
|
|
11989
|
+
(nextTransitionUpdateLane = 256));
|
|
11990
|
+
currentEventTransitionLane = actionScopeLane;
|
|
11980
11991
|
}
|
|
11981
11992
|
return currentEventTransitionLane;
|
|
11982
11993
|
}
|
|
@@ -12075,20 +12086,20 @@ function extractEvents$1(
|
|
|
12075
12086
|
}
|
|
12076
12087
|
}
|
|
12077
12088
|
for (
|
|
12078
|
-
var i$jscomp$
|
|
12079
|
-
i$jscomp$
|
|
12080
|
-
i$jscomp$
|
|
12089
|
+
var i$jscomp$inline_1578 = 0;
|
|
12090
|
+
i$jscomp$inline_1578 < simpleEventPluginEvents.length;
|
|
12091
|
+
i$jscomp$inline_1578++
|
|
12081
12092
|
) {
|
|
12082
|
-
var eventName$jscomp$
|
|
12083
|
-
simpleEventPluginEvents[i$jscomp$
|
|
12084
|
-
domEventName$jscomp$
|
|
12085
|
-
eventName$jscomp$
|
|
12086
|
-
capitalizedEvent$jscomp$
|
|
12087
|
-
eventName$jscomp$
|
|
12088
|
-
eventName$jscomp$
|
|
12093
|
+
var eventName$jscomp$inline_1579 =
|
|
12094
|
+
simpleEventPluginEvents[i$jscomp$inline_1578],
|
|
12095
|
+
domEventName$jscomp$inline_1580 =
|
|
12096
|
+
eventName$jscomp$inline_1579.toLowerCase(),
|
|
12097
|
+
capitalizedEvent$jscomp$inline_1581 =
|
|
12098
|
+
eventName$jscomp$inline_1579[0].toUpperCase() +
|
|
12099
|
+
eventName$jscomp$inline_1579.slice(1);
|
|
12089
12100
|
registerSimpleEvent(
|
|
12090
|
-
domEventName$jscomp$
|
|
12091
|
-
"on" + capitalizedEvent$jscomp$
|
|
12101
|
+
domEventName$jscomp$inline_1580,
|
|
12102
|
+
"on" + capitalizedEvent$jscomp$inline_1581
|
|
12092
12103
|
);
|
|
12093
12104
|
}
|
|
12094
12105
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
|
@@ -15710,16 +15721,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
|
15710
15721
|
0 === i && attemptExplicitHydrationTarget(target);
|
|
15711
15722
|
}
|
|
15712
15723
|
};
|
|
15713
|
-
var isomorphicReactPackageVersion$jscomp$
|
|
15724
|
+
var isomorphicReactPackageVersion$jscomp$inline_1838 = React.version;
|
|
15714
15725
|
if (
|
|
15715
|
-
"19.2.0-canary-
|
|
15716
|
-
isomorphicReactPackageVersion$jscomp$
|
|
15726
|
+
"19.2.0-canary-3302d1f7-20250903" !==
|
|
15727
|
+
isomorphicReactPackageVersion$jscomp$inline_1838
|
|
15717
15728
|
)
|
|
15718
15729
|
throw Error(
|
|
15719
15730
|
formatProdErrorMessage(
|
|
15720
15731
|
527,
|
|
15721
|
-
isomorphicReactPackageVersion$jscomp$
|
|
15722
|
-
"19.2.0-canary-
|
|
15732
|
+
isomorphicReactPackageVersion$jscomp$inline_1838,
|
|
15733
|
+
"19.2.0-canary-3302d1f7-20250903"
|
|
15723
15734
|
)
|
|
15724
15735
|
);
|
|
15725
15736
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
@@ -15739,24 +15750,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
|
15739
15750
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
|
15740
15751
|
return componentOrElement;
|
|
15741
15752
|
};
|
|
15742
|
-
var internals$jscomp$
|
|
15753
|
+
var internals$jscomp$inline_2341 = {
|
|
15743
15754
|
bundleType: 0,
|
|
15744
|
-
version: "19.2.0-canary-
|
|
15755
|
+
version: "19.2.0-canary-3302d1f7-20250903",
|
|
15745
15756
|
rendererPackageName: "react-dom",
|
|
15746
15757
|
currentDispatcherRef: ReactSharedInternals,
|
|
15747
|
-
reconcilerVersion: "19.2.0-canary-
|
|
15758
|
+
reconcilerVersion: "19.2.0-canary-3302d1f7-20250903"
|
|
15748
15759
|
};
|
|
15749
15760
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
|
15750
|
-
var hook$jscomp$
|
|
15761
|
+
var hook$jscomp$inline_2342 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
15751
15762
|
if (
|
|
15752
|
-
!hook$jscomp$
|
|
15753
|
-
hook$jscomp$
|
|
15763
|
+
!hook$jscomp$inline_2342.isDisabled &&
|
|
15764
|
+
hook$jscomp$inline_2342.supportsFiber
|
|
15754
15765
|
)
|
|
15755
15766
|
try {
|
|
15756
|
-
(rendererID = hook$jscomp$
|
|
15757
|
-
internals$jscomp$
|
|
15767
|
+
(rendererID = hook$jscomp$inline_2342.inject(
|
|
15768
|
+
internals$jscomp$inline_2341
|
|
15758
15769
|
)),
|
|
15759
|
-
(injectedHook = hook$jscomp$
|
|
15770
|
+
(injectedHook = hook$jscomp$inline_2342);
|
|
15760
15771
|
} catch (err) {}
|
|
15761
15772
|
}
|
|
15762
15773
|
exports.createRoot = function (container, options) {
|
|
@@ -15842,4 +15853,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
|
15842
15853
|
listenToAllSupportedEvents(container);
|
|
15843
15854
|
return new ReactDOMHydrationRoot(initialChildren);
|
|
15844
15855
|
};
|
|
15845
|
-
exports.version = "19.2.0-canary-
|
|
15856
|
+
exports.version = "19.2.0-canary-3302d1f7-20250903";
|