Skip to content

Commit 059645f

Browse files
ncc-compiled
1 parent 62104eb commit 059645f

File tree

63 files changed

+1261
-634
lines changed

Some content is hidden

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

63 files changed

+1261
-634
lines changed

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

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5855,6 +5855,14 @@
58555855
}
58565856
function finishRenderingHooks(current, workInProgress) {
58575857
workInProgress._debugHookTypes = hookTypesDev;
5858+
null === workInProgress.dependencies
5859+
? null !== thenableState &&
5860+
(workInProgress.dependencies = {
5861+
lanes: 0,
5862+
firstContext: null,
5863+
_debugThenableState: thenableState
5864+
})
5865+
: (workInProgress.dependencies._debugThenableState = thenableState);
58585866
ReactSharedInternals.H = ContextOnlyDispatcher;
58595867
var didRenderTooFewHooks =
58605868
null !== currentHook && null !== currentHook.next;
@@ -10444,7 +10452,11 @@
1044410452
"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."
1044510453
);
1044610454
lastContextDependency = context;
10447-
consumer.dependencies = { lanes: 0, firstContext: context };
10455+
consumer.dependencies = {
10456+
lanes: 0,
10457+
firstContext: context,
10458+
_debugThenableState: null
10459+
};
1044810460
consumer.flags |= 524288;
1044910461
} else lastContextDependency = lastContextDependency.next = context;
1045010462
return value;
@@ -13359,7 +13371,8 @@
1335913371
? null
1336013372
: {
1336113373
lanes: pendingProps.lanes,
13362-
firstContext: pendingProps.firstContext
13374+
firstContext: pendingProps.firstContext,
13375+
_debugThenableState: pendingProps._debugThenableState
1336313376
};
1336413377
workInProgress.sibling = current.sibling;
1336513378
workInProgress.index = current.index;
@@ -13412,7 +13425,8 @@
1341213425
? null
1341313426
: {
1341413427
lanes: renderLanes.lanes,
13415-
firstContext: renderLanes.firstContext
13428+
firstContext: renderLanes.firstContext,
13429+
_debugThenableState: renderLanes._debugThenableState
1341613430
}),
1341713431
(workInProgress.selfBaseDuration = current.selfBaseDuration),
1341813432
(workInProgress.treeBaseDuration = current.treeBaseDuration));
@@ -24615,11 +24629,11 @@
2461524629
};
2461624630
(function () {
2461724631
var isomorphicReactPackageVersion = React.version;
24618-
if ("19.0.0-experimental-7771d3a7-20240827" !== isomorphicReactPackageVersion)
24632+
if ("19.0.0-experimental-d1afcb43-20240903" !== isomorphicReactPackageVersion)
2461924633
throw Error(
2462024634
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2462124635
(isomorphicReactPackageVersion +
24622-
"\n - react-dom: 19.0.0-experimental-7771d3a7-20240827\nLearn more: https://react.dev/warnings/version-mismatch")
24636+
"\n - react-dom: 19.0.0-experimental-d1afcb43-20240903\nLearn more: https://react.dev/warnings/version-mismatch")
2462324637
);
2462424638
})();
2462524639
("function" === typeof Map &&
@@ -24656,11 +24670,11 @@
2465624670
!(function () {
2465724671
var internals = {
2465824672
bundleType: 1,
24659-
version: "19.0.0-experimental-7771d3a7-20240827",
24673+
version: "19.0.0-experimental-d1afcb43-20240903",
2466024674
rendererPackageName: "react-dom",
2466124675
currentDispatcherRef: ReactSharedInternals,
2466224676
findFiberByHostInstance: getClosestInstanceFromNode,
24663-
reconcilerVersion: "19.0.0-experimental-7771d3a7-20240827"
24677+
reconcilerVersion: "19.0.0-experimental-d1afcb43-20240903"
2466424678
};
2466524679
internals.overrideHookState = overrideHookState;
2466624680
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -24804,7 +24818,7 @@
2480424818
listenToAllSupportedEvents(container);
2480524819
return new ReactDOMHydrationRoot(initialChildren);
2480624820
};
24807-
exports.version = "19.0.0-experimental-7771d3a7-20240827";
24821+
exports.version = "19.0.0-experimental-d1afcb43-20240903";
2480824822
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2480924823
"function" ===
2481024824
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15014,14 +15014,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1501415014
};
1501515015
var isomorphicReactPackageVersion$jscomp$inline_1635 = React.version;
1501615016
if (
15017-
"19.0.0-experimental-7771d3a7-20240827" !==
15017+
"19.0.0-experimental-d1afcb43-20240903" !==
1501815018
isomorphicReactPackageVersion$jscomp$inline_1635
1501915019
)
1502015020
throw Error(
1502115021
formatProdErrorMessage(
1502215022
527,
1502315023
isomorphicReactPackageVersion$jscomp$inline_1635,
15024-
"19.0.0-experimental-7771d3a7-20240827"
15024+
"19.0.0-experimental-d1afcb43-20240903"
1502515025
)
1502615026
);
1502715027
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15043,11 +15043,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1504315043
};
1504415044
var internals$jscomp$inline_2043 = {
1504515045
bundleType: 0,
15046-
version: "19.0.0-experimental-7771d3a7-20240827",
15046+
version: "19.0.0-experimental-d1afcb43-20240903",
1504715047
rendererPackageName: "react-dom",
1504815048
currentDispatcherRef: ReactSharedInternals,
1504915049
findFiberByHostInstance: getClosestInstanceFromNode,
15050-
reconcilerVersion: "19.0.0-experimental-7771d3a7-20240827"
15050+
reconcilerVersion: "19.0.0-experimental-d1afcb43-20240903"
1505115051
};
1505215052
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1505315053
var hook$jscomp$inline_2044 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15151,4 +15151,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1515115151
listenToAllSupportedEvents(container);
1515215152
return new ReactDOMHydrationRoot(initialChildren);
1515315153
};
15154-
exports.version = "19.0.0-experimental-7771d3a7-20240827";
15154+
exports.version = "19.0.0-experimental-d1afcb43-20240903";

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

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5863,6 +5863,14 @@
58635863
}
58645864
function finishRenderingHooks(current, workInProgress) {
58655865
workInProgress._debugHookTypes = hookTypesDev;
5866+
null === workInProgress.dependencies
5867+
? null !== thenableState &&
5868+
(workInProgress.dependencies = {
5869+
lanes: 0,
5870+
firstContext: null,
5871+
_debugThenableState: thenableState
5872+
})
5873+
: (workInProgress.dependencies._debugThenableState = thenableState);
58665874
ReactSharedInternals.H = ContextOnlyDispatcher;
58675875
var didRenderTooFewHooks =
58685876
null !== currentHook && null !== currentHook.next;
@@ -10452,7 +10460,11 @@
1045210460
"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."
1045310461
);
1045410462
lastContextDependency = context;
10455-
consumer.dependencies = { lanes: 0, firstContext: context };
10463+
consumer.dependencies = {
10464+
lanes: 0,
10465+
firstContext: context,
10466+
_debugThenableState: null
10467+
};
1045610468
consumer.flags |= 524288;
1045710469
} else lastContextDependency = lastContextDependency.next = context;
1045810470
return value;
@@ -13367,7 +13379,8 @@
1336713379
? null
1336813380
: {
1336913381
lanes: pendingProps.lanes,
13370-
firstContext: pendingProps.firstContext
13382+
firstContext: pendingProps.firstContext,
13383+
_debugThenableState: pendingProps._debugThenableState
1337113384
};
1337213385
workInProgress.sibling = current.sibling;
1337313386
workInProgress.index = current.index;
@@ -13420,7 +13433,8 @@
1342013433
? null
1342113434
: {
1342213435
lanes: renderLanes.lanes,
13423-
firstContext: renderLanes.firstContext
13436+
firstContext: renderLanes.firstContext,
13437+
_debugThenableState: renderLanes._debugThenableState
1342413438
}),
1342513439
(workInProgress.selfBaseDuration = current.selfBaseDuration),
1342613440
(workInProgress.treeBaseDuration = current.treeBaseDuration));
@@ -24672,11 +24686,11 @@
2467224686
};
2467324687
(function () {
2467424688
var isomorphicReactPackageVersion = React.version;
24675-
if ("19.0.0-experimental-7771d3a7-20240827" !== isomorphicReactPackageVersion)
24689+
if ("19.0.0-experimental-d1afcb43-20240903" !== isomorphicReactPackageVersion)
2467624690
throw Error(
2467724691
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2467824692
(isomorphicReactPackageVersion +
24679-
"\n - react-dom: 19.0.0-experimental-7771d3a7-20240827\nLearn more: https://react.dev/warnings/version-mismatch")
24693+
"\n - react-dom: 19.0.0-experimental-d1afcb43-20240903\nLearn more: https://react.dev/warnings/version-mismatch")
2468024694
);
2468124695
})();
2468224696
("function" === typeof Map &&
@@ -24713,11 +24727,11 @@
2471324727
!(function () {
2471424728
var internals = {
2471524729
bundleType: 1,
24716-
version: "19.0.0-experimental-7771d3a7-20240827",
24730+
version: "19.0.0-experimental-d1afcb43-20240903",
2471724731
rendererPackageName: "react-dom",
2471824732
currentDispatcherRef: ReactSharedInternals,
2471924733
findFiberByHostInstance: getClosestInstanceFromNode,
24720-
reconcilerVersion: "19.0.0-experimental-7771d3a7-20240827"
24734+
reconcilerVersion: "19.0.0-experimental-d1afcb43-20240903"
2472124735
};
2472224736
internals.overrideHookState = overrideHookState;
2472324737
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25191,7 +25205,7 @@
2519125205
exports.useFormStatus = function () {
2519225206
return resolveDispatcher().useHostTransitionStatus();
2519325207
};
25194-
exports.version = "19.0.0-experimental-7771d3a7-20240827";
25208+
exports.version = "19.0.0-experimental-d1afcb43-20240903";
2519525209
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2519625210
"function" ===
2519725211
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15717,14 +15717,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1571715717
};
1571815718
var isomorphicReactPackageVersion$jscomp$inline_1724 = React.version;
1571915719
if (
15720-
"19.0.0-experimental-7771d3a7-20240827" !==
15720+
"19.0.0-experimental-d1afcb43-20240903" !==
1572115721
isomorphicReactPackageVersion$jscomp$inline_1724
1572215722
)
1572315723
throw Error(
1572415724
formatProdErrorMessage(
1572515725
527,
1572615726
isomorphicReactPackageVersion$jscomp$inline_1724,
15727-
"19.0.0-experimental-7771d3a7-20240827"
15727+
"19.0.0-experimental-d1afcb43-20240903"
1572815728
)
1572915729
);
1573015730
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15746,11 +15746,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1574615746
};
1574715747
var internals$jscomp$inline_1731 = {
1574815748
bundleType: 0,
15749-
version: "19.0.0-experimental-7771d3a7-20240827",
15749+
version: "19.0.0-experimental-d1afcb43-20240903",
1575015750
rendererPackageName: "react-dom",
1575115751
currentDispatcherRef: ReactSharedInternals,
1575215752
findFiberByHostInstance: getClosestInstanceFromNode,
15753-
reconcilerVersion: "19.0.0-experimental-7771d3a7-20240827",
15753+
reconcilerVersion: "19.0.0-experimental-d1afcb43-20240903",
1575415754
getLaneLabelMap: function () {
1575515755
for (
1575615756
var map = new Map(), lane = 1, index$292 = 0;
@@ -16030,7 +16030,7 @@ exports.useFormState = function (action, initialState, permalink) {
1603016030
exports.useFormStatus = function () {
1603116031
return ReactSharedInternals.H.useHostTransitionStatus();
1603216032
};
16033-
exports.version = "19.0.0-experimental-7771d3a7-20240827";
16033+
exports.version = "19.0.0-experimental-d1afcb43-20240903";
1603416034
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1603516035
"function" ===
1603616036
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9291,5 +9291,5 @@
92919291
'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'
92929292
);
92939293
};
9294-
exports.version = "19.0.0-experimental-7771d3a7-20240827";
9294+
exports.version = "19.0.0-experimental-d1afcb43-20240903";
92959295
})();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6055,4 +6055,4 @@ exports.renderToString = function (children, options) {
60556055
'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'
60566056
);
60576057
};
6058-
exports.version = "19.0.0-experimental-7771d3a7-20240827";
6058+
exports.version = "19.0.0-experimental-d1afcb43-20240903";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9291,5 +9291,5 @@
92919291
'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 "renderToPipeableStream" which supports Suspense on the server'
92929292
);
92939293
};
9294-
exports.version = "19.0.0-experimental-7771d3a7-20240827";
9294+
exports.version = "19.0.0-experimental-d1afcb43-20240903";
92959295
})();

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6147,4 +6147,4 @@ exports.renderToString = function (children, options) {
61476147
'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 "renderToPipeableStream" which supports Suspense on the server'
61486148
);
61496149
};
6150-
exports.version = "19.0.0-experimental-7771d3a7-20240827";
6150+
exports.version = "19.0.0-experimental-d1afcb43-20240903";

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8177,11 +8177,11 @@
81778177
}
81788178
function ensureCorrectIsomorphicReactVersion() {
81798179
var isomorphicReactPackageVersion = React.version;
8180-
if ("19.0.0-experimental-7771d3a7-20240827" !== isomorphicReactPackageVersion)
8180+
if ("19.0.0-experimental-d1afcb43-20240903" !== isomorphicReactPackageVersion)
81818181
throw Error(
81828182
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
81838183
(isomorphicReactPackageVersion +
8184-
"\n - react-dom: 19.0.0-experimental-7771d3a7-20240827\nLearn more: https://react.dev/warnings/version-mismatch")
8184+
"\n - react-dom: 19.0.0-experimental-d1afcb43-20240903\nLearn more: https://react.dev/warnings/version-mismatch")
81858185
);
81868186
}
81878187
var React = require("next/dist/compiled/react-experimental"),
@@ -9911,5 +9911,5 @@
99119911
startWork(request);
99129912
});
99139913
};
9914-
exports.version = "19.0.0-experimental-7771d3a7-20240827";
9914+
exports.version = "19.0.0-experimental-d1afcb43-20240903";
99159915
})();

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6572,12 +6572,12 @@ function getPostponedState(request) {
65726572
}
65736573
function ensureCorrectIsomorphicReactVersion() {
65746574
var isomorphicReactPackageVersion = React.version;
6575-
if ("19.0.0-experimental-7771d3a7-20240827" !== isomorphicReactPackageVersion)
6575+
if ("19.0.0-experimental-d1afcb43-20240903" !== isomorphicReactPackageVersion)
65766576
throw Error(
65776577
formatProdErrorMessage(
65786578
527,
65796579
isomorphicReactPackageVersion,
6580-
"19.0.0-experimental-7771d3a7-20240827"
6580+
"19.0.0-experimental-d1afcb43-20240903"
65816581
)
65826582
);
65836583
}
@@ -6782,4 +6782,4 @@ exports.resume = function (children, postponedState, options) {
67826782
startWork(request);
67836783
});
67846784
};
6785-
exports.version = "19.0.0-experimental-7771d3a7-20240827";
6785+
exports.version = "19.0.0-experimental-d1afcb43-20240903";

0 commit comments

Comments
 (0)