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 3b009b4c-20250102 to 3ce77d55-20250106 #74557

Merged
merged 6 commits into from
Jan 7, 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 @@ -211,16 +211,16 @@
"pretty-ms": "7.0.0",
"random-seed": "0.3.0",
"react": "19.0.0",
"react-builtin": "npm:[email protected]3b009b4c-20250102",
"react-builtin": "npm:[email protected]3ce77d55-20250106",
"react-dom": "19.0.0",
"react-dom-builtin": "npm:[email protected]3b009b4c-20250102",
"react-dom-experimental-builtin": "npm:[email protected]3b009b4c-20250102",
"react-experimental-builtin": "npm:[email protected]3b009b4c-20250102",
"react-is-builtin": "npm:[email protected]3b009b4c-20250102",
"react-server-dom-turbopack": "19.1.0-canary-3b009b4c-20250102",
"react-server-dom-turbopack-experimental": "npm:[email protected]3b009b4c-20250102",
"react-server-dom-webpack": "19.1.0-canary-3b009b4c-20250102",
"react-server-dom-webpack-experimental": "npm:[email protected]3b009b4c-20250102",
"react-dom-builtin": "npm:[email protected]3ce77d55-20250106",
"react-dom-experimental-builtin": "npm:[email protected]3ce77d55-20250106",
"react-experimental-builtin": "npm:[email protected]3ce77d55-20250106",
"react-is-builtin": "npm:[email protected]3ce77d55-20250106",
"react-server-dom-turbopack": "19.1.0-canary-3ce77d55-20250106",
"react-server-dom-turbopack-experimental": "npm:[email protected]3ce77d55-20250106",
"react-server-dom-webpack": "19.1.0-canary-3ce77d55-20250106",
"react-server-dom-webpack-experimental": "npm:[email protected]3ce77d55-20250106",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
"relay-compiler": "13.0.2",
Expand All @@ -230,8 +230,8 @@
"resolve-from": "5.0.0",
"sass": "1.54.0",
"satori": "0.10.9",
"scheduler-builtin": "npm:[email protected]3b009b4c-20250102",
"scheduler-experimental-builtin": "npm:[email protected]3b009b4c-20250102",
"scheduler-builtin": "npm:[email protected]3ce77d55-20250106",
"scheduler-experimental-builtin": "npm:[email protected]3ce77d55-20250106",
"seedrandom": "3.0.5",
"semver": "7.3.7",
"shell-quote": "1.7.3",
Expand Down Expand Up @@ -272,10 +272,10 @@
"@types/react": "19.0.0",
"@types/react-dom": "19.0.0",
"jest-snapshot": "30.0.0-alpha.6",
"react": "19.1.0-canary-3b009b4c-20250102",
"react-dom": "19.1.0-canary-3b009b4c-20250102",
"react-is": "19.1.0-canary-3b009b4c-20250102",
"scheduler": "0.26.0-canary-3b009b4c-20250102"
"react": "19.1.0-canary-3ce77d55-20250106",
"react-dom": "19.1.0-canary-3ce77d55-20250106",
"react-is": "19.1.0-canary-3ce77d55-20250106",
"scheduler": "0.26.0-canary-3ce77d55-20250106"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12347,7 +12347,9 @@
if (
((hoistableRoot = maybeNodes[i]),
hoistableRoot.getAttribute("href") ===
(null == current.href ? null : current.href) &&
(null == current.href || "" === current.href
? null
: current.href) &&
hoistableRoot.getAttribute("rel") ===
(null == current.rel ? null : current.rel) &&
hoistableRoot.getAttribute("title") ===
Expand Down Expand Up @@ -19581,36 +19583,34 @@
}
case "src":
case "href":
"" !== propKey ||
("a" === tag && "href" === value) ||
("object" === tag && "data" === value)
? hydrateSanitizedAttribute(
domElement,
value,
value,
propKey,
extraAttributes,
serverDifferences
)
: ("src" === value
? console.error(
'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
value,
value
)
: console.error(
'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
value,
value
),
hydrateSanitizedAttribute(
domElement,
value,
value,
null,
extraAttributes,
serverDifferences
));
if (
!(
"" !== propKey ||
("a" === tag && "href" === value) ||
("object" === tag && "data" === value)
)
) {
"src" === value
? console.error(
'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
value,
value
)
: console.error(
'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
value,
value
);
continue;
}
hydrateSanitizedAttribute(
domElement,
value,
value,
propKey,
extraAttributes,
serverDifferences
);
continue;
case "action":
case "formAction":
Expand Down Expand Up @@ -20228,7 +20228,9 @@
else if (
name !== anyProps.rel ||
instance.getAttribute("href") !==
(null == anyProps.href ? null : anyProps.href) ||
(null == anyProps.href || "" === anyProps.href
? null
: anyProps.href) ||
instance.getAttribute("crossorigin") !==
(null == anyProps.crossOrigin
? null
Expand Down Expand Up @@ -25645,11 +25647,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-experimental-3b009b4c-20250102" !== isomorphicReactPackageVersion)
if ("19.1.0-experimental-3ce77d55-20250106" !== 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-3b009b4c-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-experimental-3ce77d55-20250106\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -25686,10 +25688,10 @@
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-experimental-3b009b4c-20250102",
version: "19.1.0-experimental-3ce77d55-20250106",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-3b009b4c-20250102"
reconcilerVersion: "19.1.0-experimental-3ce77d55-20250106"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -25833,7 +25835,7 @@
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-experimental-3b009b4c-20250102";
exports.version = "19.1.0-experimental-3ce77d55-20250106";
"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 @@ -8441,7 +8441,9 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
if (
((currentResource = maybeNodes[i]),
currentResource.getAttribute("href") ===
(null == current.href ? null : current.href) &&
(null == current.href || "" === current.href
? null
: current.href) &&
currentResource.getAttribute("rel") ===
(null == current.rel ? null : current.rel) &&
currentResource.getAttribute("title") ===
Expand Down Expand Up @@ -13689,7 +13691,9 @@ function canHydrateInstance(instance, type, props, inRootOrSingleton) {
else if (
name !== anyProps.rel ||
instance.getAttribute("href") !==
(null == anyProps.href ? null : anyProps.href) ||
(null == anyProps.href || "" === anyProps.href
? null
: anyProps.href) ||
instance.getAttribute("crossorigin") !==
(null == anyProps.crossOrigin ? null : anyProps.crossOrigin) ||
instance.getAttribute("title") !==
Expand Down Expand Up @@ -15306,14 +15310,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1699 = React.version;
if (
"19.1.0-experimental-3b009b4c-20250102" !==
"19.1.0-experimental-3ce77d55-20250106" !==
isomorphicReactPackageVersion$jscomp$inline_1699
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1699,
"19.1.0-experimental-3b009b4c-20250102"
"19.1.0-experimental-3ce77d55-20250106"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -15335,10 +15339,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2162 = {
bundleType: 0,
version: "19.1.0-experimental-3b009b4c-20250102",
version: "19.1.0-experimental-3ce77d55-20250106",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-3b009b4c-20250102"
reconcilerVersion: "19.1.0-experimental-3ce77d55-20250106"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2163 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -15444,4 +15448,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-experimental-3b009b4c-20250102";
exports.version = "19.1.0-experimental-3ce77d55-20250106";
Original file line number Diff line number Diff line change
Expand Up @@ -12355,7 +12355,9 @@
if (
((hoistableRoot = maybeNodes[i]),
hoistableRoot.getAttribute("href") ===
(null == current.href ? null : current.href) &&
(null == current.href || "" === current.href
? null
: current.href) &&
hoistableRoot.getAttribute("rel") ===
(null == current.rel ? null : current.rel) &&
hoistableRoot.getAttribute("title") ===
Expand Down Expand Up @@ -19593,36 +19595,34 @@
}
case "src":
case "href":
"" !== propKey ||
("a" === tag && "href" === value) ||
("object" === tag && "data" === value)
? hydrateSanitizedAttribute(
domElement,
value,
value,
propKey,
extraAttributes,
serverDifferences
)
: ("src" === value
? console.error(
'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
value,
value
)
: console.error(
'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
value,
value
),
hydrateSanitizedAttribute(
domElement,
value,
value,
null,
extraAttributes,
serverDifferences
));
if (
!(
"" !== propKey ||
("a" === tag && "href" === value) ||
("object" === tag && "data" === value)
)
) {
"src" === value
? console.error(
'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
value,
value
)
: console.error(
'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
value,
value
);
continue;
}
hydrateSanitizedAttribute(
domElement,
value,
value,
propKey,
extraAttributes,
serverDifferences
);
continue;
case "action":
case "formAction":
Expand Down Expand Up @@ -20240,7 +20240,9 @@
else if (
name !== anyProps.rel ||
instance.getAttribute("href") !==
(null == anyProps.href ? null : anyProps.href) ||
(null == anyProps.href || "" === anyProps.href
? null
: anyProps.href) ||
instance.getAttribute("crossorigin") !==
(null == anyProps.crossOrigin
? null
Expand Down Expand Up @@ -25702,11 +25704,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-experimental-3b009b4c-20250102" !== isomorphicReactPackageVersion)
if ("19.1.0-experimental-3ce77d55-20250106" !== 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-3b009b4c-20250102\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-experimental-3ce77d55-20250106\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -25743,10 +25745,10 @@
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-experimental-3b009b4c-20250102",
version: "19.1.0-experimental-3ce77d55-20250106",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-experimental-3b009b4c-20250102"
reconcilerVersion: "19.1.0-experimental-3ce77d55-20250106"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -26220,7 +26222,7 @@
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-experimental-3b009b4c-20250102";
exports.version = "19.1.0-experimental-3ce77d55-20250106";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Loading
Loading