Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade React from 6aa8254b-20250312 to f457d0b4-20250313 #77091

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]6aa8254b-20250312",
"react-builtin": "npm:[email protected]f457d0b4-20250313",
"react-dom": "19.0.0",
"react-dom-builtin": "npm:[email protected]6aa8254b-20250312",
"react-dom-experimental-builtin": "npm:[email protected]6aa8254b-20250312",
"react-experimental-builtin": "npm:[email protected]6aa8254b-20250312",
"react-is-builtin": "npm:[email protected]6aa8254b-20250312",
"react-server-dom-turbopack": "19.1.0-canary-6aa8254b-20250312",
"react-server-dom-turbopack-experimental": "npm:[email protected]6aa8254b-20250312",
"react-server-dom-webpack": "19.1.0-canary-6aa8254b-20250312",
"react-server-dom-webpack-experimental": "npm:[email protected]6aa8254b-20250312",
"react-dom-builtin": "npm:[email protected]f457d0b4-20250313",
"react-dom-experimental-builtin": "npm:[email protected]f457d0b4-20250313",
"react-experimental-builtin": "npm:[email protected]f457d0b4-20250313",
"react-is-builtin": "npm:[email protected]f457d0b4-20250313",
"react-server-dom-turbopack": "19.1.0-canary-f457d0b4-20250313",
"react-server-dom-turbopack-experimental": "npm:[email protected]f457d0b4-20250313",
"react-server-dom-webpack": "19.1.0-canary-f457d0b4-20250313",
"react-server-dom-webpack-experimental": "npm:[email protected]f457d0b4-20250313",
"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]6aa8254b-20250312",
"scheduler-experimental-builtin": "npm:[email protected]6aa8254b-20250312",
"scheduler-builtin": "npm:[email protected]f457d0b4-20250313",
"scheduler-experimental-builtin": "npm:[email protected]f457d0b4-20250313",
"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-6aa8254b-20250312",
"react-dom": "19.1.0-canary-6aa8254b-20250312",
"react-is": "19.1.0-canary-6aa8254b-20250312",
"scheduler": "0.26.0-canary-6aa8254b-20250312"
"react": "19.1.0-canary-f457d0b4-20250313",
"react-dom": "19.1.0-canary-f457d0b4-20250313",
"react-is": "19.1.0-canary-f457d0b4-20250313",
"scheduler": "0.26.0-canary-f457d0b4-20250313"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22045,7 +22045,7 @@
anim.cancel();
}
}
function customizeViewTransitionError(error) {
function customizeViewTransitionError(error, ignoreAbort) {
if ("object" === typeof error && null !== error)
switch (error.name) {
case "TimeoutError":
Expand All @@ -22054,10 +22054,12 @@
{ cause: error }
);
case "AbortError":
return Error(
"A ViewTransition was aborted early. This might be because you have other View Transition libraries on the page and only one can run at a time. To avoid this, use only React's built-in <ViewTransition> to coordinate.",
{ cause: error }
);
return ignoreAbort
? null
: Error(
"A ViewTransition was aborted early. This might be because you have other View Transition libraries on the page and only one can run at a time. To avoid this, use only React's built-in <ViewTransition> to coordinate.",
{ cause: error }
);
case "InvalidStateError":
if (
"View transition was skipped because document visibility state is hidden." ===
Expand Down Expand Up @@ -22134,7 +22136,7 @@
ownerDocument.__reactViewTransition = transition;
transition.ready.then(spawnedWorkCallback, function (error) {
try {
(error = customizeViewTransitionError(error)),
(error = customizeViewTransitionError(error, !1)),
null !== error && errorCallback(error);
} finally {
spawnedWorkCallback();
Expand Down Expand Up @@ -22321,7 +22323,7 @@
: readyCallback;
transition.ready.then(readyForAnimations, function (error) {
try {
(error = customizeViewTransitionError(error)),
(error = customizeViewTransitionError(error, !0)),
null !== error && errorCallback(error);
} finally {
readyCallback();
Expand Down Expand Up @@ -27960,11 +27962,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-experimental-6aa8254b-20250312" !== isomorphicReactPackageVersion)
if ("19.1.0-experimental-f457d0b4-20250313" !== 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-6aa8254b-20250312\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-experimental-f457d0b4-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -28001,10 +28003,10 @@
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-experimental-6aa8254b-20250312",
version: "19.1.0-experimental-f457d0b4-20250313",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-6aa8254b-20250312"
reconcilerVersion: "19.1.0-experimental-f457d0b4-20250313"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -28146,7 +28148,7 @@
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-experimental-6aa8254b-20250312";
exports.version = "19.1.0-experimental-f457d0b4-20250313";
"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 @@ -15343,9 +15343,12 @@ function cancelAllViewTransitionAnimations(scope) {
anim.cancel();
}
}
function customizeViewTransitionError(error) {
function customizeViewTransitionError(error, ignoreAbort) {
if ("object" === typeof error && null !== error)
switch (error.name) {
case "AbortError":
if (ignoreAbort) return null;
break;
case "InvalidStateError":
if (
"View transition was skipped because document visibility state is hidden." ===
Expand Down Expand Up @@ -15412,7 +15415,7 @@ function startViewTransition(
ownerDocument.__reactViewTransition = transition;
transition.ready.then(spawnedWorkCallback, function (error) {
try {
(error = customizeViewTransitionError(error)),
(error = customizeViewTransitionError(error, !1)),
null !== error && errorCallback(error);
} finally {
spawnedWorkCallback();
Expand Down Expand Up @@ -15597,7 +15600,7 @@ function startGestureTransition(
: readyCallback;
transition.ready.then(readyForAnimations, function (error) {
try {
(error = customizeViewTransitionError(error)),
(error = customizeViewTransitionError(error, !0)),
null !== error && errorCallback(error);
} finally {
readyCallback();
Expand Down Expand Up @@ -17368,14 +17371,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1905 = React.version;
if (
"19.1.0-experimental-6aa8254b-20250312" !==
"19.1.0-experimental-f457d0b4-20250313" !==
isomorphicReactPackageVersion$jscomp$inline_1905
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1905,
"19.1.0-experimental-6aa8254b-20250312"
"19.1.0-experimental-f457d0b4-20250313"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -17397,10 +17400,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2498 = {
bundleType: 0,
version: "19.1.0-experimental-6aa8254b-20250312",
version: "19.1.0-experimental-f457d0b4-20250313",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-6aa8254b-20250312"
reconcilerVersion: "19.1.0-experimental-f457d0b4-20250313"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2499 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -17504,4 +17507,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-experimental-6aa8254b-20250312";
exports.version = "19.1.0-experimental-f457d0b4-20250313";
Original file line number Diff line number Diff line change
Expand Up @@ -22053,7 +22053,7 @@
anim.cancel();
}
}
function customizeViewTransitionError(error) {
function customizeViewTransitionError(error, ignoreAbort) {
if ("object" === typeof error && null !== error)
switch (error.name) {
case "TimeoutError":
Expand All @@ -22062,10 +22062,12 @@
{ cause: error }
);
case "AbortError":
return Error(
"A ViewTransition was aborted early. This might be because you have other View Transition libraries on the page and only one can run at a time. To avoid this, use only React's built-in <ViewTransition> to coordinate.",
{ cause: error }
);
return ignoreAbort
? null
: Error(
"A ViewTransition was aborted early. This might be because you have other View Transition libraries on the page and only one can run at a time. To avoid this, use only React's built-in <ViewTransition> to coordinate.",
{ cause: error }
);
case "InvalidStateError":
if (
"View transition was skipped because document visibility state is hidden." ===
Expand Down Expand Up @@ -22142,7 +22144,7 @@
ownerDocument.__reactViewTransition = transition;
transition.ready.then(spawnedWorkCallback, function (error) {
try {
(error = customizeViewTransitionError(error)),
(error = customizeViewTransitionError(error, !1)),
null !== error && errorCallback(error);
} finally {
spawnedWorkCallback();
Expand Down Expand Up @@ -22329,7 +22331,7 @@
: readyCallback;
transition.ready.then(readyForAnimations, function (error) {
try {
(error = customizeViewTransitionError(error)),
(error = customizeViewTransitionError(error, !0)),
null !== error && errorCallback(error);
} finally {
readyCallback();
Expand Down Expand Up @@ -28013,11 +28015,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-experimental-6aa8254b-20250312" !== isomorphicReactPackageVersion)
if ("19.1.0-experimental-f457d0b4-20250313" !== 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-6aa8254b-20250312\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-experimental-f457d0b4-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -28054,10 +28056,10 @@
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-experimental-6aa8254b-20250312",
version: "19.1.0-experimental-f457d0b4-20250313",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-6aa8254b-20250312"
reconcilerVersion: "19.1.0-experimental-f457d0b4-20250313"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -28529,7 +28531,7 @@
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-experimental-6aa8254b-20250312";
exports.version = "19.1.0-experimental-f457d0b4-20250313";
"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 @@ -16753,9 +16753,12 @@ function cancelAllViewTransitionAnimations(scope) {
anim.cancel();
}
}
function customizeViewTransitionError(error) {
function customizeViewTransitionError(error, ignoreAbort) {
if ("object" === typeof error && null !== error)
switch (error.name) {
case "AbortError":
if (ignoreAbort) return null;
break;
case "InvalidStateError":
if (
"View transition was skipped because document visibility state is hidden." ===
Expand Down Expand Up @@ -16822,7 +16825,7 @@ function startViewTransition(
ownerDocument.__reactViewTransition = transition;
transition.ready.then(spawnedWorkCallback, function (error) {
try {
(error = customizeViewTransitionError(error)),
(error = customizeViewTransitionError(error, !1)),
null !== error && errorCallback(error);
} finally {
spawnedWorkCallback();
Expand Down Expand Up @@ -17007,7 +17010,7 @@ function startGestureTransition(
: readyCallback;
transition.ready.then(readyForAnimations, function (error) {
try {
(error = customizeViewTransitionError(error)),
(error = customizeViewTransitionError(error, !0)),
null !== error && errorCallback(error);
} finally {
readyCallback();
Expand Down Expand Up @@ -18795,14 +18798,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2053 = React.version;
if (
"19.1.0-experimental-6aa8254b-20250312" !==
"19.1.0-experimental-f457d0b4-20250313" !==
isomorphicReactPackageVersion$jscomp$inline_2053
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2053,
"19.1.0-experimental-6aa8254b-20250312"
"19.1.0-experimental-f457d0b4-20250313"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -18824,10 +18827,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2639 = {
bundleType: 0,
version: "19.1.0-experimental-6aa8254b-20250312",
version: "19.1.0-experimental-f457d0b4-20250313",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-6aa8254b-20250312"
reconcilerVersion: "19.1.0-experimental-f457d0b4-20250313"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2640 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -19092,7 +19095,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-experimental-6aa8254b-20250312";
exports.version = "19.1.0-experimental-f457d0b4-20250313";
"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-6aa8254b-20250312";
exports.version = "19.1.0-experimental-f457d0b4-20250313";
})();
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-6aa8254b-20250312";
exports.version = "19.1.0-experimental-f457d0b4-20250313";
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-6aa8254b-20250312";
exports.version = "19.1.0-experimental-f457d0b4-20250313";
})();
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-6aa8254b-20250312";
exports.version = "19.1.0-experimental-f457d0b4-20250313";
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-6aa8254b-20250312" !== isomorphicReactPackageVersion)
if ("19.1.0-experimental-f457d0b4-20250313" !== 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-6aa8254b-20250312\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-experimental-f457d0b4-20250313\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-6aa8254b-20250312";
exports.version = "19.1.0-experimental-f457d0b4-20250313";
})();
Loading
Loading