Skip to content

Commit bafe611

Browse files
committed
Update React from a26e3f403e to f3e09d6328
1 parent a4c50b5 commit bafe611

File tree

130 files changed

+8192
-5119
lines changed

Some content is hidden

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

130 files changed

+8192
-5119
lines changed

.react-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.0.0-rc-a26e3f403e-20240611
1+
19.0.0-rc-f3e09d6328-20240612

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -200,19 +200,19 @@
200200
"pretty-bytes": "5.3.0",
201201
"pretty-ms": "7.0.0",
202202
"random-seed": "0.3.0",
203-
"react": "19.0.0-rc-a26e3f403e-20240611",
203+
"react": "19.0.0-rc-f3e09d6328-20240612",
204204
"react-17": "npm:[email protected]",
205-
"react-builtin": "npm:[email protected]a26e3f403e-20240611",
206-
"react-dom": "19.0.0-rc-a26e3f403e-20240611",
205+
"react-builtin": "npm:[email protected]f3e09d6328-20240612",
206+
"react-dom": "19.0.0-rc-f3e09d6328-20240612",
207207
"react-dom-17": "npm:[email protected]",
208-
"react-dom-builtin": "npm:[email protected]a26e3f403e-20240611",
209-
"react-dom-experimental-builtin": "npm:[email protected]a26e3f403e-20240611",
210-
"react-experimental-builtin": "npm:[email protected]a26e3f403e-20240611",
211-
"react-is-builtin": "npm:[email protected]a26e3f403e-20240611",
212-
"react-server-dom-turbopack": "19.0.0-rc-a26e3f403e-20240611",
213-
"react-server-dom-turbopack-experimental": "npm:[email protected]a26e3f403e-20240611",
214-
"react-server-dom-webpack": "19.0.0-rc-a26e3f403e-20240611",
215-
"react-server-dom-webpack-experimental": "npm:[email protected]a26e3f403e-20240611",
208+
"react-dom-builtin": "npm:[email protected]f3e09d6328-20240612",
209+
"react-dom-experimental-builtin": "npm:[email protected]f3e09d6328-20240612",
210+
"react-experimental-builtin": "npm:[email protected]f3e09d6328-20240612",
211+
"react-is-builtin": "npm:[email protected]f3e09d6328-20240612",
212+
"react-server-dom-turbopack": "19.0.0-rc-f3e09d6328-20240612",
213+
"react-server-dom-turbopack-experimental": "npm:[email protected]f3e09d6328-20240612",
214+
"react-server-dom-webpack": "19.0.0-rc-f3e09d6328-20240612",
215+
"react-server-dom-webpack-experimental": "npm:[email protected]f3e09d6328-20240612",
216216
"react-ssr-prepass": "1.0.8",
217217
"react-virtualized": "9.22.3",
218218
"relay-compiler": "13.0.2",
@@ -222,8 +222,8 @@
222222
"resolve-from": "5.0.0",
223223
"sass": "1.54.0",
224224
"satori": "0.10.9",
225-
"scheduler-builtin": "npm:[email protected]a26e3f403e-20240611",
226-
"scheduler-experimental-builtin": "npm:[email protected]a26e3f403e-20240611",
225+
"scheduler-builtin": "npm:[email protected]f3e09d6328-20240612",
226+
"scheduler-experimental-builtin": "npm:[email protected]f3e09d6328-20240612",
227227
"seedrandom": "3.0.5",
228228
"semver": "7.3.7",
229229
"shell-quote": "1.7.3",
@@ -257,10 +257,10 @@
257257
"@babel/traverse": "7.22.5",
258258
"@types/react": "npm:[email protected]",
259259
"@types/react-dom": "npm:[email protected]",
260-
"react": "19.0.0-rc-a26e3f403e-20240611",
261-
"react-dom": "19.0.0-rc-a26e3f403e-20240611",
262-
"react-is": "19.0.0-rc-a26e3f403e-20240611",
263-
"scheduler": "0.25.0-rc-a26e3f403e-20240611"
260+
"react": "19.0.0-rc-f3e09d6328-20240612",
261+
"react-dom": "19.0.0-rc-f3e09d6328-20240612",
262+
"react-is": "19.0.0-rc-f3e09d6328-20240612",
263+
"scheduler": "0.25.0-rc-f3e09d6328-20240612"
264264
},
265265
"engines": {
266266
"node": ">=18.18.0",

packages/create-next-app/templates/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ export const installTemplate = async ({
184184
* Default dependencies.
185185
*/
186186
dependencies: {
187-
react: "19.0.0-rc-a26e3f403e-20240611",
188-
"react-dom": "19.0.0-rc-a26e3f403e-20240611",
187+
react: "19.0.0-rc-f3e09d6328-20240612",
188+
"react-dom": "19.0.0-rc-f3e09d6328-20240612",
189189
next: version,
190190
},
191191
devDependencies: {},

packages/next/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@
105105
"@opentelemetry/api": "^1.1.0",
106106
"@playwright/test": "^1.41.2",
107107
"babel-plugin-react-compiler": "*",
108-
"react": "19.0.0-rc-a26e3f403e-20240611",
109-
"react-dom": "19.0.0-rc-a26e3f403e-20240611",
108+
"react": "19.0.0-rc-f3e09d6328-20240612",
109+
"react-dom": "19.0.0-rc-f3e09d6328-20240612",
110110
"sass": "^1.3.0"
111111
},
112112
"peerDependenciesMeta": {

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

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,14 @@
291291
if ("function" === typeof type)
292292
return type.displayName || type.name || null;
293293
if ("string" === typeof type) return type;
294+
break;
295+
case 29:
296+
type = fiber._debugInfo;
297+
if (null != type)
298+
for (var i = type.length - 1; 0 <= i; i--)
299+
if ("string" === typeof type[i].name) return type[i].name;
300+
if (null !== fiber.return)
301+
return getComponentNameFromFiber(fiber.return);
294302
}
295303
return null;
296304
}
@@ -5623,7 +5631,16 @@
56235631
var fiber = createFiber(29, x, null, returnFiber.mode);
56245632
fiber.lanes = lanes;
56255633
fiber.return = returnFiber;
5626-
fiber._debugInfo = currentDebugInfo;
5634+
var debugInfo = (fiber._debugInfo = currentDebugInfo);
5635+
fiber._debugOwner = returnFiber._debugOwner;
5636+
fiber._debugTask = returnFiber._debugTask;
5637+
if (null != debugInfo)
5638+
for (var i = debugInfo.length - 1; 0 <= i; i--)
5639+
if ("string" === typeof debugInfo[i].stack) {
5640+
fiber._debugOwner = debugInfo[i];
5641+
fiber._debugTask = debugInfo[i].task;
5642+
break;
5643+
}
56275644
return fiber;
56285645
} finally {
56295646
currentDebugInfo = prevDebugInfo;
@@ -23791,14 +23808,6 @@
2379123808
var didWarnAboutUndefinedDerivedState = new Set();
2379223809
var didWarnAboutInvalidateContextType = new Set();
2379323810
var didWarnOnInvalidCallback = new Set();
23794-
Object.defineProperty(fakeInternalInstance, "_processChildContext", {
23795-
enumerable: !1,
23796-
value: function () {
23797-
throw Error(
23798-
"_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal)."
23799-
);
23800-
}
23801-
});
2380223811
Object.freeze(fakeInternalInstance);
2380323812
var classComponentUpdater = {
2380423813
isMounted: function (component) {
@@ -24495,11 +24504,11 @@
2449524504
};
2449624505
(function () {
2449724506
var isomorphicReactPackageVersion = React.version;
24498-
if ("19.0.0-experimental-a26e3f403e-20240611" !== isomorphicReactPackageVersion)
24507+
if ("19.0.0-experimental-f3e09d6328-20240612" !== isomorphicReactPackageVersion)
2449924508
throw Error(
2450024509
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2450124510
(isomorphicReactPackageVersion +
24502-
"\n - react-dom: 19.0.0-experimental-a26e3f403e-20240611\nLearn more: https://react.dev/warnings/version-mismatch")
24511+
"\n - react-dom: 19.0.0-experimental-f3e09d6328-20240612\nLearn more: https://react.dev/warnings/version-mismatch")
2450324512
);
2450424513
})();
2450524514
("function" === typeof Map &&
@@ -24554,12 +24563,12 @@
2455424563
scheduleRoot: scheduleRoot,
2455524564
setRefreshHandler: setRefreshHandler,
2455624565
getCurrentFiber: getCurrentFiberForDevTools,
24557-
reconcilerVersion: "19.0.0-experimental-a26e3f403e-20240611"
24566+
reconcilerVersion: "19.0.0-experimental-f3e09d6328-20240612"
2455824567
});
2455924568
})({
2456024569
findFiberByHostInstance: getClosestInstanceFromNode,
2456124570
bundleType: 1,
24562-
version: "19.0.0-experimental-a26e3f403e-20240611",
24571+
version: "19.0.0-experimental-f3e09d6328-20240612",
2456324572
rendererPackageName: "react-dom"
2456424573
}) &&
2456524574
canUseDOM &&
@@ -24689,7 +24698,7 @@
2468924698
listenToAllSupportedEvents(container);
2469024699
return new ReactDOMHydrationRoot(initialChildren);
2469124700
};
24692-
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
24701+
exports.version = "19.0.0-experimental-f3e09d6328-20240612";
2469324702
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2469424703
"function" ===
2469524704
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
@@ -14801,14 +14801,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1480114801
};
1480214802
var isomorphicReactPackageVersion$jscomp$inline_1647 = React.version;
1480314803
if (
14804-
"19.0.0-experimental-a26e3f403e-20240611" !==
14804+
"19.0.0-experimental-f3e09d6328-20240612" !==
1480514805
isomorphicReactPackageVersion$jscomp$inline_1647
1480614806
)
1480714807
throw Error(
1480814808
formatProdErrorMessage(
1480914809
527,
1481014810
isomorphicReactPackageVersion$jscomp$inline_1647,
14811-
"19.0.0-experimental-a26e3f403e-20240611"
14811+
"19.0.0-experimental-f3e09d6328-20240612"
1481214812
)
1481314813
);
1481414814
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -14827,7 +14827,7 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1482714827
var devToolsConfig$jscomp$inline_1654 = {
1482814828
findFiberByHostInstance: getClosestInstanceFromNode,
1482914829
bundleType: 0,
14830-
version: "19.0.0-experimental-a26e3f403e-20240611",
14830+
version: "19.0.0-experimental-f3e09d6328-20240612",
1483114831
rendererPackageName: "react-dom"
1483214832
};
1483314833
var internals$jscomp$inline_2032 = {
@@ -14857,7 +14857,7 @@ var internals$jscomp$inline_2032 = {
1485714857
scheduleRoot: null,
1485814858
setRefreshHandler: null,
1485914859
getCurrentFiber: null,
14860-
reconcilerVersion: "19.0.0-experimental-a26e3f403e-20240611"
14860+
reconcilerVersion: "19.0.0-experimental-f3e09d6328-20240612"
1486114861
};
1486214862
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1486314863
var hook$jscomp$inline_2033 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -14963,4 +14963,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1496314963
listenToAllSupportedEvents(container);
1496414964
return new ReactDOMHydrationRoot(initialChildren);
1496514965
};
14966-
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
14966+
exports.version = "19.0.0-experimental-f3e09d6328-20240612";

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

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,14 @@
291291
if ("function" === typeof type)
292292
return type.displayName || type.name || null;
293293
if ("string" === typeof type) return type;
294+
break;
295+
case 29:
296+
type = fiber._debugInfo;
297+
if (null != type)
298+
for (var i = type.length - 1; 0 <= i; i--)
299+
if ("string" === typeof type[i].name) return type[i].name;
300+
if (null !== fiber.return)
301+
return getComponentNameFromFiber(fiber.return);
294302
}
295303
return null;
296304
}
@@ -5631,7 +5639,16 @@
56315639
var fiber = createFiber(29, x, null, returnFiber.mode);
56325640
fiber.lanes = lanes;
56335641
fiber.return = returnFiber;
5634-
fiber._debugInfo = currentDebugInfo;
5642+
var debugInfo = (fiber._debugInfo = currentDebugInfo);
5643+
fiber._debugOwner = returnFiber._debugOwner;
5644+
fiber._debugTask = returnFiber._debugTask;
5645+
if (null != debugInfo)
5646+
for (var i = debugInfo.length - 1; 0 <= i; i--)
5647+
if ("string" === typeof debugInfo[i].stack) {
5648+
fiber._debugOwner = debugInfo[i];
5649+
fiber._debugTask = debugInfo[i].task;
5650+
break;
5651+
}
56355652
return fiber;
56365653
} finally {
56375654
currentDebugInfo = prevDebugInfo;
@@ -23848,14 +23865,6 @@
2384823865
var didWarnAboutUndefinedDerivedState = new Set();
2384923866
var didWarnAboutInvalidateContextType = new Set();
2385023867
var didWarnOnInvalidCallback = new Set();
23851-
Object.defineProperty(fakeInternalInstance, "_processChildContext", {
23852-
enumerable: !1,
23853-
value: function () {
23854-
throw Error(
23855-
"_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal)."
23856-
);
23857-
}
23858-
});
2385923868
Object.freeze(fakeInternalInstance);
2386023869
var classComponentUpdater = {
2386123870
isMounted: function (component) {
@@ -24552,11 +24561,11 @@
2455224561
};
2455324562
(function () {
2455424563
var isomorphicReactPackageVersion = React.version;
24555-
if ("19.0.0-experimental-a26e3f403e-20240611" !== isomorphicReactPackageVersion)
24564+
if ("19.0.0-experimental-f3e09d6328-20240612" !== isomorphicReactPackageVersion)
2455624565
throw Error(
2455724566
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2455824567
(isomorphicReactPackageVersion +
24559-
"\n - react-dom: 19.0.0-experimental-a26e3f403e-20240611\nLearn more: https://react.dev/warnings/version-mismatch")
24568+
"\n - react-dom: 19.0.0-experimental-f3e09d6328-20240612\nLearn more: https://react.dev/warnings/version-mismatch")
2456024569
);
2456124570
})();
2456224571
("function" === typeof Map &&
@@ -24611,12 +24620,12 @@
2461124620
scheduleRoot: scheduleRoot,
2461224621
setRefreshHandler: setRefreshHandler,
2461324622
getCurrentFiber: getCurrentFiberForDevTools,
24614-
reconcilerVersion: "19.0.0-experimental-a26e3f403e-20240611"
24623+
reconcilerVersion: "19.0.0-experimental-f3e09d6328-20240612"
2461524624
});
2461624625
})({
2461724626
findFiberByHostInstance: getClosestInstanceFromNode,
2461824627
bundleType: 1,
24619-
version: "19.0.0-experimental-a26e3f403e-20240611",
24628+
version: "19.0.0-experimental-f3e09d6328-20240612",
2462024629
rendererPackageName: "react-dom"
2462124630
}) &&
2462224631
canUseDOM &&
@@ -25076,7 +25085,7 @@
2507625085
exports.useFormStatus = function () {
2507725086
return resolveDispatcher().useHostTransitionStatus();
2507825087
};
25079-
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
25088+
exports.version = "19.0.0-experimental-f3e09d6328-20240612";
2508025089
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2508125090
"function" ===
2508225091
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
@@ -15511,14 +15511,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1551115511
};
1551215512
var isomorphicReactPackageVersion$jscomp$inline_1735 = React.version;
1551315513
if (
15514-
"19.0.0-experimental-a26e3f403e-20240611" !==
15514+
"19.0.0-experimental-f3e09d6328-20240612" !==
1551515515
isomorphicReactPackageVersion$jscomp$inline_1735
1551615516
)
1551715517
throw Error(
1551815518
formatProdErrorMessage(
1551915519
527,
1552015520
isomorphicReactPackageVersion$jscomp$inline_1735,
15521-
"19.0.0-experimental-a26e3f403e-20240611"
15521+
"19.0.0-experimental-f3e09d6328-20240612"
1552215522
)
1552315523
);
1552415524
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15537,7 +15537,7 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1553715537
var devToolsConfig$jscomp$inline_1742 = {
1553815538
findFiberByHostInstance: getClosestInstanceFromNode,
1553915539
bundleType: 0,
15540-
version: "19.0.0-experimental-a26e3f403e-20240611",
15540+
version: "19.0.0-experimental-f3e09d6328-20240612",
1554115541
rendererPackageName: "react-dom"
1554215542
};
1554315543
(function (internals) {
@@ -15580,7 +15580,7 @@ var devToolsConfig$jscomp$inline_1742 = {
1558015580
scheduleRoot: null,
1558115581
setRefreshHandler: null,
1558215582
getCurrentFiber: null,
15583-
reconcilerVersion: "19.0.0-experimental-a26e3f403e-20240611"
15583+
reconcilerVersion: "19.0.0-experimental-f3e09d6328-20240612"
1558415584
});
1558515585
function noop() {}
1558615586
function getCrossOriginStringAs(as, input) {
@@ -15834,7 +15834,7 @@ exports.useFormState = function (action, initialState, permalink) {
1583415834
exports.useFormStatus = function () {
1583515835
return ReactSharedInternals.H.useHostTransitionStatus();
1583615836
};
15837-
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
15837+
exports.version = "19.0.0-experimental-f3e09d6328-20240612";
1583815838
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1583915839
"function" ===
1584015840
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
@@ -8853,5 +8853,5 @@
88538853
'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'
88548854
);
88558855
};
8856-
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
8856+
exports.version = "19.0.0-experimental-f3e09d6328-20240612";
88578857
})();

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
@@ -5887,4 +5887,4 @@ exports.renderToString = function (children, options) {
58875887
'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'
58885888
);
58895889
};
5890-
exports.version = "19.0.0-experimental-a26e3f403e-20240611";
5890+
exports.version = "19.0.0-experimental-f3e09d6328-20240612";

0 commit comments

Comments
 (0)