Skip to content
New issue

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

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

Already on GitHub? # to your account

Upgrade React from f0edf41e-20250115 to b158439a-20250115 #74936

Merged
merged 6 commits into from
Jan 15, 2025
Merged
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 @@ -213,16 +213,16 @@
"pretty-ms": "7.0.0",
"random-seed": "0.3.0",
"react": "19.0.0",
"react-builtin": "npm:react@19.1.0-canary-f0edf41e-20250115",
"react-builtin": "npm:react@19.1.0-canary-b158439a-20250115",
"react-dom": "19.0.0",
"react-dom-builtin": "npm:react-dom@19.1.0-canary-f0edf41e-20250115",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-f0edf41e-20250115",
"react-experimental-builtin": "npm:react@0.0.0-experimental-f0edf41e-20250115",
"react-is-builtin": "npm:react-is@19.1.0-canary-f0edf41e-20250115",
"react-server-dom-turbopack": "19.1.0-canary-f0edf41e-20250115",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-f0edf41e-20250115",
"react-server-dom-webpack": "19.1.0-canary-f0edf41e-20250115",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-f0edf41e-20250115",
"react-dom-builtin": "npm:react-dom@19.1.0-canary-b158439a-20250115",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-b158439a-20250115",
"react-experimental-builtin": "npm:react@0.0.0-experimental-b158439a-20250115",
"react-is-builtin": "npm:react-is@19.1.0-canary-b158439a-20250115",
"react-server-dom-turbopack": "19.1.0-canary-b158439a-20250115",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-b158439a-20250115",
"react-server-dom-webpack": "19.1.0-canary-b158439a-20250115",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-b158439a-20250115",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
"relay-compiler": "13.0.2",
Expand All @@ -232,8 +232,8 @@
"resolve-from": "5.0.0",
"sass": "1.54.0",
"satori": "0.10.9",
"scheduler-builtin": "npm:scheduler@0.26.0-canary-f0edf41e-20250115",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-f0edf41e-20250115",
"scheduler-builtin": "npm:scheduler@0.26.0-canary-b158439a-20250115",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-b158439a-20250115",
"seedrandom": "3.0.5",
"semver": "7.3.7",
"shell-quote": "1.7.3",
Expand Down Expand Up @@ -274,10 +274,10 @@
"@types/react": "19.0.0",
"@types/react-dom": "19.0.0",
"jest-snapshot": "30.0.0-alpha.6",
"react": "19.1.0-canary-f0edf41e-20250115",
"react-dom": "19.1.0-canary-f0edf41e-20250115",
"react-is": "19.1.0-canary-f0edf41e-20250115",
"scheduler": "0.26.0-canary-f0edf41e-20250115"
"react": "19.1.0-canary-b158439a-20250115",
"react-dom": "19.1.0-canary-b158439a-20250115",
"react-is": "19.1.0-canary-b158439a-20250115",
"scheduler": "0.26.0-canary-b158439a-20250115"
},
"patchedDependencies": {
"webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26794,11 +26794,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-experimental-f0edf41e-20250115" !== isomorphicReactPackageVersion)
if ("19.1.0-experimental-b158439a-20250115" !== 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-f0edf41e-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-experimental-b158439a-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -26835,10 +26835,10 @@
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-experimental-f0edf41e-20250115",
version: "19.1.0-experimental-b158439a-20250115",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-f0edf41e-20250115"
reconcilerVersion: "19.1.0-experimental-b158439a-20250115"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -26982,7 +26982,7 @@
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-experimental-f0edf41e-20250115";
exports.version = "19.1.0-experimental-b158439a-20250115";
"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 @@ -16373,14 +16373,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1799 = React.version;
if (
"19.1.0-experimental-f0edf41e-20250115" !==
"19.1.0-experimental-b158439a-20250115" !==
isomorphicReactPackageVersion$jscomp$inline_1799
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1799,
"19.1.0-experimental-f0edf41e-20250115"
"19.1.0-experimental-b158439a-20250115"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -16402,10 +16402,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2330 = {
bundleType: 0,
version: "19.1.0-experimental-f0edf41e-20250115",
version: "19.1.0-experimental-b158439a-20250115",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-f0edf41e-20250115"
reconcilerVersion: "19.1.0-experimental-b158439a-20250115"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2331 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -16511,4 +16511,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-experimental-f0edf41e-20250115";
exports.version = "19.1.0-experimental-b158439a-20250115";
Original file line number Diff line number Diff line change
Expand Up @@ -26847,11 +26847,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-experimental-f0edf41e-20250115" !== isomorphicReactPackageVersion)
if ("19.1.0-experimental-b158439a-20250115" !== 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-f0edf41e-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-experimental-b158439a-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -26888,10 +26888,10 @@
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-experimental-f0edf41e-20250115",
version: "19.1.0-experimental-b158439a-20250115",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-f0edf41e-20250115"
reconcilerVersion: "19.1.0-experimental-b158439a-20250115"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -27365,7 +27365,7 @@
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-experimental-f0edf41e-20250115";
exports.version = "19.1.0-experimental-b158439a-20250115";
"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 @@ -17805,14 +17805,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1947 = React.version;
if (
"19.1.0-experimental-f0edf41e-20250115" !==
"19.1.0-experimental-b158439a-20250115" !==
isomorphicReactPackageVersion$jscomp$inline_1947
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1947,
"19.1.0-experimental-f0edf41e-20250115"
"19.1.0-experimental-b158439a-20250115"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -17834,10 +17834,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2471 = {
bundleType: 0,
version: "19.1.0-experimental-f0edf41e-20250115",
version: "19.1.0-experimental-b158439a-20250115",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-f0edf41e-20250115"
reconcilerVersion: "19.1.0-experimental-b158439a-20250115"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2472 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -18104,7 +18104,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-experimental-f0edf41e-20250115";
exports.version = "19.1.0-experimental-b158439a-20250115";
"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 @@ -4003,6 +4003,9 @@
index
);
}
function unsupportedRefresh() {
throw Error("Cache cannot be refreshed during server rendering.");
}
function noop$1() {}
function disabledLog() {}
function disableLogs() {
Expand Down Expand Up @@ -9215,6 +9218,9 @@
data[i] = REACT_MEMO_CACHE_SENTINEL;
return data;
},
useCacheRefresh: function () {
return unsupportedRefresh;
},
useEffectEvent: function () {
return throwOnUseEffectEventCall;
}
Expand Down Expand Up @@ -9297,5 +9303,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-f0edf41e-20250115";
exports.version = "19.1.0-experimental-b158439a-20250115";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -3246,6 +3246,9 @@ function readPreviousThenableFromState() {
index
);
}
function unsupportedRefresh() {
throw Error(formatProdErrorMessage(393));
}
function noop$1() {}
var HooksDispatcher = {
readContext: function (context) {
Expand Down Expand Up @@ -3332,6 +3335,9 @@ var HooksDispatcher = {
data[i] = REACT_MEMO_CACHE_SENTINEL;
return data;
},
useCacheRefresh: function () {
return unsupportedRefresh;
},
useEffectEvent: function () {
return throwOnUseEffectEventCall;
}
Expand Down Expand Up @@ -6062,4 +6068,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-f0edf41e-20250115";
exports.version = "19.1.0-experimental-b158439a-20250115";
Original file line number Diff line number Diff line change
Expand Up @@ -4003,6 +4003,9 @@
index
);
}
function unsupportedRefresh() {
throw Error("Cache cannot be refreshed during server rendering.");
}
function noop$1() {}
function disabledLog() {}
function disableLogs() {
Expand Down Expand Up @@ -9215,6 +9218,9 @@
data[i] = REACT_MEMO_CACHE_SENTINEL;
return data;
},
useCacheRefresh: function () {
return unsupportedRefresh;
},
useEffectEvent: function () {
return throwOnUseEffectEventCall;
}
Expand Down Expand Up @@ -9297,5 +9303,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-f0edf41e-20250115";
exports.version = "19.1.0-experimental-b158439a-20250115";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -3292,6 +3292,9 @@ function readPreviousThenableFromState() {
index
);
}
function unsupportedRefresh() {
throw Error("Cache cannot be refreshed during server rendering.");
}
function noop$1() {}
var HooksDispatcher = {
readContext: function (context) {
Expand Down Expand Up @@ -3383,6 +3386,9 @@ var HooksDispatcher = {
data[i] = REACT_MEMO_CACHE_SENTINEL;
return data;
},
useCacheRefresh: function () {
return unsupportedRefresh;
},
useEffectEvent: function () {
return throwOnUseEffectEventCall;
}
Expand Down Expand Up @@ -6153,4 +6159,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-f0edf41e-20250115";
exports.version = "19.1.0-experimental-b158439a-20250115";
Original file line number Diff line number Diff line change
Expand Up @@ -4179,6 +4179,9 @@
index
);
}
function unsupportedRefresh() {
throw Error("Cache cannot be refreshed during server rendering.");
}
function noop$1() {}
function disabledLog() {}
function disableLogs() {
Expand Down Expand Up @@ -8201,11 +8204,11 @@
}
function ensureCorrectIsomorphicReactVersion() {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-experimental-f0edf41e-20250115" !== isomorphicReactPackageVersion)
if ("19.1.0-experimental-b158439a-20250115" !== 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-f0edf41e-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-experimental-b158439a-20250115\nLearn more: https://react.dev/warnings/version-mismatch")
);
}
var React = require("next/dist/compiled/react-experimental"),
Expand Down Expand Up @@ -9659,6 +9662,9 @@
data[i] = REACT_MEMO_CACHE_SENTINEL;
return data;
},
useCacheRefresh: function () {
return unsupportedRefresh;
},
useEffectEvent: function () {
return throwOnUseEffectEventCall;
}
Expand Down Expand Up @@ -9979,5 +9985,5 @@
startWork(request);
});
};
exports.version = "19.1.0-experimental-f0edf41e-20250115";
exports.version = "19.1.0-experimental-b158439a-20250115";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -3646,6 +3646,9 @@ function readPreviousThenableFromState() {
index
);
}
function unsupportedRefresh() {
throw Error(formatProdErrorMessage(393));
}
function noop$1() {}
var HooksDispatcher = {
readContext: function (context) {
Expand Down Expand Up @@ -3731,6 +3734,9 @@ var HooksDispatcher = {
data[i] = REACT_MEMO_CACHE_SENTINEL;
return data;
},
useCacheRefresh: function () {
return unsupportedRefresh;
},
useEffectEvent: function () {
return throwOnUseEffectEventCall;
}
Expand Down Expand Up @@ -6590,12 +6596,12 @@ function getPostponedState(request) {
}
function ensureCorrectIsomorphicReactVersion() {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-experimental-f0edf41e-20250115" !== isomorphicReactPackageVersion)
if ("19.1.0-experimental-b158439a-20250115" !== isomorphicReactPackageVersion)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion,
"19.1.0-experimental-f0edf41e-20250115"
"19.1.0-experimental-b158439a-20250115"
)
);
}
Expand Down Expand Up @@ -6850,4 +6856,4 @@ exports.resumeAndPrerender = function (children, postponedState, options) {
startWork(request);
});
};
exports.version = "19.1.0-experimental-f0edf41e-20250115";
exports.version = "19.1.0-experimental-b158439a-20250115";
Loading
Loading