Skip to content

Commit

Permalink
Upgrade React from e03ac20f-20250305 to 029e8bd6-20250306 (#76870)
Browse files Browse the repository at this point in the history
  • Loading branch information
vercel-release-bot authored Mar 7, 2025
1 parent 7e7ddeb commit 8ea354c
Show file tree
Hide file tree
Showing 86 changed files with 1,388 additions and 812 deletions.
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,16 +227,16 @@
"pretty-ms": "7.0.0",
"random-seed": "0.3.0",
"react": "19.0.0",
"react-builtin": "npm:[email protected]e03ac20f-20250305",
"react-builtin": "npm:[email protected]029e8bd6-20250306",
"react-dom": "19.0.0",
"react-dom-builtin": "npm:[email protected]e03ac20f-20250305",
"react-dom-experimental-builtin": "npm:[email protected]e03ac20f-20250305",
"react-experimental-builtin": "npm:[email protected]e03ac20f-20250305",
"react-is-builtin": "npm:[email protected]e03ac20f-20250305",
"react-server-dom-turbopack": "19.1.0-canary-e03ac20f-20250305",
"react-server-dom-turbopack-experimental": "npm:[email protected]e03ac20f-20250305",
"react-server-dom-webpack": "19.1.0-canary-e03ac20f-20250305",
"react-server-dom-webpack-experimental": "npm:[email protected]e03ac20f-20250305",
"react-dom-builtin": "npm:[email protected]029e8bd6-20250306",
"react-dom-experimental-builtin": "npm:[email protected]029e8bd6-20250306",
"react-experimental-builtin": "npm:[email protected]029e8bd6-20250306",
"react-is-builtin": "npm:[email protected]029e8bd6-20250306",
"react-server-dom-turbopack": "19.1.0-canary-029e8bd6-20250306",
"react-server-dom-turbopack-experimental": "npm:[email protected]029e8bd6-20250306",
"react-server-dom-webpack": "19.1.0-canary-029e8bd6-20250306",
"react-server-dom-webpack-experimental": "npm:[email protected]029e8bd6-20250306",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
"relay-compiler": "13.0.2",
Expand All @@ -246,8 +246,8 @@
"resolve-from": "5.0.0",
"sass": "1.54.0",
"satori": "0.12.1",
"scheduler-builtin": "npm:[email protected]e03ac20f-20250305",
"scheduler-experimental-builtin": "npm:[email protected]e03ac20f-20250305",
"scheduler-builtin": "npm:[email protected]029e8bd6-20250306",
"scheduler-experimental-builtin": "npm:[email protected]029e8bd6-20250306",
"seedrandom": "3.0.5",
"semver": "7.3.7",
"shell-quote": "1.7.3",
Expand Down Expand Up @@ -289,10 +289,10 @@
"@types/react": "19.0.8",
"@types/react-dom": "19.0.3",
"jest-snapshot": "30.0.0-alpha.6",
"react": "19.1.0-canary-e03ac20f-20250305",
"react-dom": "19.1.0-canary-e03ac20f-20250305",
"react-is": "19.1.0-canary-e03ac20f-20250305",
"scheduler": "0.26.0-canary-e03ac20f-20250305"
"react": "19.1.0-canary-029e8bd6-20250306",
"react-dom": "19.1.0-canary-029e8bd6-20250306",
"react-is": "19.1.0-canary-029e8bd6-20250306",
"scheduler": "0.26.0-canary-029e8bd6-20250306"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15086,14 +15086,18 @@
}
function emitPendingHydrationWarnings() {
var diffRoot = hydrationDiffRootDEV;
null !== diffRoot &&
((hydrationDiffRootDEV = null),
(diffRoot = describeDiff(diffRoot)),
console.error(
"A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\n%s%s",
"https://react.dev/link/hydration-mismatch",
diffRoot
));
if (null !== diffRoot) {
hydrationDiffRootDEV = null;
for (var diff = describeDiff(diffRoot); 0 < diffRoot.children.length; )
diffRoot = diffRoot.children[0];
runWithFiberInDEV(diffRoot.fiber, function () {
console.error(
"A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\n%s%s",
"https://react.dev/link/hydration-mismatch",
diff
);
});
}
}
function getViewTransitionName(props, instance) {
return null != props.name && "auto" !== props.name
Expand Down Expand Up @@ -20393,6 +20397,8 @@
}
return;
case "dialog":
listenToNonDelegatedEvent("beforetoggle", domElement);
listenToNonDelegatedEvent("toggle", domElement);
listenToNonDelegatedEvent("cancel", domElement);
listenToNonDelegatedEvent("close", domElement);
break;
Expand Down Expand Up @@ -27867,11 +27873,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-experimental-e03ac20f-20250305" !== isomorphicReactPackageVersion)
if ("19.1.0-experimental-029e8bd6-20250306" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-experimental-e03ac20f-20250305\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-experimental-029e8bd6-20250306\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -27908,10 +27914,10 @@
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-experimental-e03ac20f-20250305",
version: "19.1.0-experimental-029e8bd6-20250306",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-e03ac20f-20250305"
reconcilerVersion: "19.1.0-experimental-029e8bd6-20250306"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -28053,7 +28059,7 @@
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-experimental-e03ac20f-20250305";
exports.version = "19.1.0-experimental-029e8bd6-20250306";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14689,6 +14689,8 @@ function setInitialProperties(domElement, tag, props) {
}
return;
case "dialog":
listenToNonDelegatedEvent("beforetoggle", domElement);
listenToNonDelegatedEvent("toggle", domElement);
listenToNonDelegatedEvent("cancel", domElement);
listenToNonDelegatedEvent("close", domElement);
break;
Expand Down Expand Up @@ -17299,14 +17301,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1909 = React.version;
if (
"19.1.0-experimental-e03ac20f-20250305" !==
"19.1.0-experimental-029e8bd6-20250306" !==
isomorphicReactPackageVersion$jscomp$inline_1909
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1909,
"19.1.0-experimental-e03ac20f-20250305"
"19.1.0-experimental-029e8bd6-20250306"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -17328,10 +17330,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2526 = {
bundleType: 0,
version: "19.1.0-experimental-e03ac20f-20250305",
version: "19.1.0-experimental-029e8bd6-20250306",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-e03ac20f-20250305"
reconcilerVersion: "19.1.0-experimental-029e8bd6-20250306"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2527 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -17435,4 +17437,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-experimental-e03ac20f-20250305";
exports.version = "19.1.0-experimental-029e8bd6-20250306";
Original file line number Diff line number Diff line change
Expand Up @@ -15094,14 +15094,18 @@
}
function emitPendingHydrationWarnings() {
var diffRoot = hydrationDiffRootDEV;
null !== diffRoot &&
((hydrationDiffRootDEV = null),
(diffRoot = describeDiff(diffRoot)),
console.error(
"A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\n%s%s",
"https://react.dev/link/hydration-mismatch",
diffRoot
));
if (null !== diffRoot) {
hydrationDiffRootDEV = null;
for (var diff = describeDiff(diffRoot); 0 < diffRoot.children.length; )
diffRoot = diffRoot.children[0];
runWithFiberInDEV(diffRoot.fiber, function () {
console.error(
"A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\n%s%s",
"https://react.dev/link/hydration-mismatch",
diff
);
});
}
}
function getViewTransitionName(props, instance) {
return null != props.name && "auto" !== props.name
Expand Down Expand Up @@ -20401,6 +20405,8 @@
}
return;
case "dialog":
listenToNonDelegatedEvent("beforetoggle", domElement);
listenToNonDelegatedEvent("toggle", domElement);
listenToNonDelegatedEvent("cancel", domElement);
listenToNonDelegatedEvent("close", domElement);
break;
Expand Down Expand Up @@ -27920,11 +27926,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-experimental-e03ac20f-20250305" !== isomorphicReactPackageVersion)
if ("19.1.0-experimental-029e8bd6-20250306" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-experimental-e03ac20f-20250305\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-experimental-029e8bd6-20250306\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -27961,10 +27967,10 @@
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-experimental-e03ac20f-20250305",
version: "19.1.0-experimental-029e8bd6-20250306",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-e03ac20f-20250305"
reconcilerVersion: "19.1.0-experimental-029e8bd6-20250306"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -28436,7 +28442,7 @@
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-experimental-e03ac20f-20250305";
exports.version = "19.1.0-experimental-029e8bd6-20250306";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16090,6 +16090,8 @@ function setInitialProperties(domElement, tag, props) {
}
return;
case "dialog":
listenToNonDelegatedEvent("beforetoggle", domElement);
listenToNonDelegatedEvent("toggle", domElement);
listenToNonDelegatedEvent("cancel", domElement);
listenToNonDelegatedEvent("close", domElement);
break;
Expand Down Expand Up @@ -18726,14 +18728,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2057 = React.version;
if (
"19.1.0-experimental-e03ac20f-20250305" !==
"19.1.0-experimental-029e8bd6-20250306" !==
isomorphicReactPackageVersion$jscomp$inline_2057
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2057,
"19.1.0-experimental-e03ac20f-20250305"
"19.1.0-experimental-029e8bd6-20250306"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -18755,10 +18757,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2667 = {
bundleType: 0,
version: "19.1.0-experimental-e03ac20f-20250305",
version: "19.1.0-experimental-029e8bd6-20250306",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-e03ac20f-20250305"
reconcilerVersion: "19.1.0-experimental-029e8bd6-20250306"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2668 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -19023,7 +19025,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-experimental-e03ac20f-20250305";
exports.version = "19.1.0-experimental-029e8bd6-20250306";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9600,5 +9600,5 @@
'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'
);
};
exports.version = "19.1.0-experimental-e03ac20f-20250305";
exports.version = "19.1.0-experimental-029e8bd6-20250306";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -6351,4 +6351,4 @@ exports.renderToString = function (children, options) {
'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'
);
};
exports.version = "19.1.0-experimental-e03ac20f-20250305";
exports.version = "19.1.0-experimental-029e8bd6-20250306";
Original file line number Diff line number Diff line change
Expand Up @@ -9600,5 +9600,5 @@
'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'
);
};
exports.version = "19.1.0-experimental-e03ac20f-20250305";
exports.version = "19.1.0-experimental-029e8bd6-20250306";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -6445,4 +6445,4 @@ exports.renderToString = function (children, options) {
'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'
);
};
exports.version = "19.1.0-experimental-e03ac20f-20250305";
exports.version = "19.1.0-experimental-029e8bd6-20250306";
Original file line number Diff line number Diff line change
Expand Up @@ -8503,11 +8503,11 @@
}
function ensureCorrectIsomorphicReactVersion() {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-experimental-e03ac20f-20250305" !== isomorphicReactPackageVersion)
if ("19.1.0-experimental-029e8bd6-20250306" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-experimental-e03ac20f-20250305\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-experimental-029e8bd6-20250306\nLearn more: https://react.dev/warnings/version-mismatch")
);
}
var React = require("next/dist/compiled/react-experimental"),
Expand Down Expand Up @@ -10294,5 +10294,5 @@
startWork(request);
});
};
exports.version = "19.1.0-experimental-e03ac20f-20250305";
exports.version = "19.1.0-experimental-029e8bd6-20250306";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -6892,12 +6892,12 @@ function getPostponedState(request) {
}
function ensureCorrectIsomorphicReactVersion() {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-experimental-e03ac20f-20250305" !== isomorphicReactPackageVersion)
if ("19.1.0-experimental-029e8bd6-20250306" !== isomorphicReactPackageVersion)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion,
"19.1.0-experimental-e03ac20f-20250305"
"19.1.0-experimental-029e8bd6-20250306"
)
);
}
Expand Down Expand Up @@ -7152,4 +7152,4 @@ exports.resumeAndPrerender = function (children, postponedState, options) {
startWork(request);
});
};
exports.version = "19.1.0-experimental-e03ac20f-20250305";
exports.version = "19.1.0-experimental-029e8bd6-20250306";
Loading

0 comments on commit 8ea354c

Please sign in to comment.