Skip to content

Commit fc411b9

Browse files
ncc-compiled
1 parent 1a1d12d commit fc411b9

File tree

80 files changed

+8137
-4900
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+8137
-4900
lines changed

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js

Lines changed: 1111 additions & 554 deletions
Large diffs are not rendered by default.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js

Lines changed: 1061 additions & 554 deletions
Large diffs are not rendered by default.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js

Lines changed: 1111 additions & 554 deletions
Large diffs are not rendered by default.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js

Lines changed: 1086 additions & 577 deletions
Large diffs are not rendered by default.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3603,8 +3603,6 @@
36033603
switch (type) {
36043604
case REACT_FRAGMENT_TYPE:
36053605
return "Fragment";
3606-
case REACT_PORTAL_TYPE:
3607-
return "Portal";
36083606
case REACT_PROFILER_TYPE:
36093607
return "Profiler";
36103608
case REACT_STRICT_MODE_TYPE:
@@ -3613,6 +3611,8 @@
36133611
return "Suspense";
36143612
case REACT_SUSPENSE_LIST_TYPE:
36153613
return "SuspenseList";
3614+
case REACT_ACTIVITY_TYPE:
3615+
return "Activity";
36163616
case REACT_VIEW_TRANSITION_TYPE:
36173617
return "ViewTransition";
36183618
}
@@ -3624,6 +3624,8 @@
36243624
),
36253625
type.$$typeof)
36263626
) {
3627+
case REACT_PORTAL_TYPE:
3628+
return "Portal";
36273629
case REACT_CONTEXT_TYPE:
36283630
return (type.displayName || "Context") + ".Provider";
36293631
case REACT_CONSUMER_TYPE:
@@ -5443,7 +5445,7 @@
54435445
renderNodeDestructive(request, task, props.children, -1);
54445446
task.keyPath = prevKeyPath$jscomp$1;
54455447
return;
5446-
case REACT_OFFSCREEN_TYPE:
5448+
case REACT_ACTIVITY_TYPE:
54475449
if ("hidden" !== props.mode) {
54485450
var prevKeyPath$jscomp$2 = task.keyPath;
54495451
task.keyPath = keyPath;
@@ -5458,10 +5460,17 @@
54585460
task.keyPath = _prevKeyPath3;
54595461
return;
54605462
case REACT_VIEW_TRANSITION_TYPE:
5461-
var _prevKeyPath4 = task.keyPath;
5463+
var prevKeyPath$jscomp$3 = task.keyPath;
54625464
task.keyPath = keyPath;
5463-
renderNodeDestructive(request, task, props.children, -1);
5464-
task.keyPath = _prevKeyPath4;
5465+
if (null != props.name && "auto" !== props.name)
5466+
renderNodeDestructive(request, task, props.children, -1);
5467+
else {
5468+
var prevTreeContext = task.treeContext;
5469+
task.treeContext = pushTreeContext(prevTreeContext, 1, 0);
5470+
renderNode(request, task, props.children, -1);
5471+
task.treeContext = prevTreeContext;
5472+
}
5473+
task.keyPath = prevKeyPath$jscomp$3;
54655474
return;
54665475
case REACT_SCOPE_TYPE:
54675476
throw Error(
@@ -5478,7 +5487,7 @@
54785487
task.keyPath = _prevKeyPath;
54795488
}
54805489
} else {
5481-
var prevKeyPath$jscomp$3 = task.keyPath,
5490+
var prevKeyPath$jscomp$4 = task.keyPath,
54825491
parentBoundary = task.blockedBoundary,
54835492
parentPreamble = task.blockedPreamble,
54845493
parentHoistableState = task.hoistableState,
@@ -5559,7 +5568,7 @@
55595568
} finally {
55605569
(task.blockedSegment = parentSegment),
55615570
(task.blockedPreamble = parentPreamble),
5562-
(task.keyPath = prevKeyPath$jscomp$3);
5571+
(task.keyPath = prevKeyPath$jscomp$4);
55635572
}
55645573
var suspendedPrimaryTask = createRenderTask(
55655574
request,
@@ -5649,7 +5658,7 @@
56495658
(task.blockedPreamble = parentPreamble),
56505659
(task.hoistableState = parentHoistableState),
56515660
(task.blockedSegment = parentSegment),
5652-
(task.keyPath = prevKeyPath$jscomp$3);
5661+
(task.keyPath = prevKeyPath$jscomp$4);
56535662
}
56545663
var suspendedFallbackTask = createRenderTask(
56555664
request,
@@ -5710,7 +5719,7 @@
57105719
var value$jscomp$0 = props.value,
57115720
children$jscomp$1 = props.children;
57125721
var prevSnapshot = task.context;
5713-
var prevKeyPath$jscomp$4 = task.keyPath;
5722+
var prevKeyPath$jscomp$5 = task.keyPath;
57145723
var prevValue = type._currentValue2;
57155724
type._currentValue2 = value$jscomp$0;
57165725
void 0 !== type._currentRenderer2 &&
@@ -5753,7 +5762,7 @@
57535762
var JSCompiler_inline_result$jscomp$0 = (currentActiveSnapshot =
57545763
prevSnapshot$jscomp$0.parent);
57555764
task.context = JSCompiler_inline_result$jscomp$0;
5756-
task.keyPath = prevKeyPath$jscomp$4;
5765+
task.keyPath = prevKeyPath$jscomp$5;
57575766
prevSnapshot !== task.context &&
57585767
console.error(
57595768
"Popping the context provider did not return back to the original snapshot. This is a bug in React."
@@ -5767,10 +5776,10 @@
57675776
"A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."
57685777
);
57695778
var newChildren = render(context$jscomp$0._currentValue2),
5770-
prevKeyPath$jscomp$5 = task.keyPath;
5779+
prevKeyPath$jscomp$6 = task.keyPath;
57715780
task.keyPath = keyPath;
57725781
renderNodeDestructive(request, task, newChildren, -1);
5773-
task.keyPath = prevKeyPath$jscomp$5;
5782+
task.keyPath = prevKeyPath$jscomp$6;
57745783
return;
57755784
case REACT_LAZY_TYPE:
57765785
var Component = callLazyInitInDEV(type);
@@ -8147,7 +8156,7 @@
81478156
REACT_MEMO_TYPE = Symbol.for("react.memo"),
81488157
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
81498158
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
8150-
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
8159+
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
81518160
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
81528161
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
81538162
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
@@ -9600,5 +9609,5 @@
96009609
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
96019610
);
96029611
};
9603-
exports.version = "19.1.0-experimental-5398b711-20250314";
9612+
exports.version = "19.1.0-experimental-c69a5fc5-20250318";
96049613
})();

0 commit comments

Comments
 (0)