Unverified Commit 6a0b7e90 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

Upgrade React from `197d6a04-20250424` to `79d9aed7-20250620` (#79477)

parent 9823f470
......@@ -233,16 +233,16 @@
"pretty-ms": "7.0.0",
"random-seed": "0.3.0",
"react": "19.0.0",
"react-builtin": "npm:react@19.2.0-canary-197d6a04-20250424",
"react-builtin": "npm:react@19.2.0-canary-79d9aed7-20250620",
"react-dom": "19.0.0",
"react-dom-builtin": "npm:react-dom@19.2.0-canary-197d6a04-20250424",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-197d6a04-20250424",
"react-experimental-builtin": "npm:react@0.0.0-experimental-197d6a04-20250424",
"react-is-builtin": "npm:react-is@19.2.0-canary-197d6a04-20250424",
"react-server-dom-turbopack": "19.2.0-canary-197d6a04-20250424",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-197d6a04-20250424",
"react-server-dom-webpack": "19.2.0-canary-197d6a04-20250424",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-197d6a04-20250424",
"react-dom-builtin": "npm:react-dom@19.2.0-canary-79d9aed7-20250620",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-79d9aed7-20250620",
"react-experimental-builtin": "npm:react@0.0.0-experimental-79d9aed7-20250620",
"react-is-builtin": "npm:react-is@19.2.0-canary-79d9aed7-20250620",
"react-server-dom-turbopack": "19.2.0-canary-79d9aed7-20250620",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-79d9aed7-20250620",
"react-server-dom-webpack": "19.2.0-canary-79d9aed7-20250620",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-79d9aed7-20250620",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
"relay-compiler": "13.0.2",
......@@ -252,8 +252,8 @@
"resolve-from": "5.0.0",
"sass": "1.54.0",
"satori": "0.12.2",
"scheduler-builtin": "npm:scheduler@0.27.0-canary-197d6a04-20250424",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-197d6a04-20250424",
"scheduler-builtin": "npm:scheduler@0.27.0-canary-79d9aed7-20250620",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-79d9aed7-20250620",
"seedrandom": "3.0.5",
"semver": "7.3.7",
"shell-quote": "1.7.3",
......@@ -296,10 +296,10 @@
"@types/react-dom": "19.1.2",
"@types/retry": "0.12.0",
"jest-snapshot": "30.0.0-alpha.6",
"react": "19.2.0-canary-197d6a04-20250424",
"react-dom": "19.2.0-canary-197d6a04-20250424",
"react-is": "19.2.0-canary-197d6a04-20250424",
"scheduler": "0.27.0-canary-197d6a04-20250424"
"react": "19.2.0-canary-79d9aed7-20250620",
"react-dom": "19.2.0-canary-79d9aed7-20250620",
"react-is": "19.2.0-canary-79d9aed7-20250620",
"scheduler": "0.27.0-canary-79d9aed7-20250620"
},
"patchedDependencies": {
"webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch",
......
......@@ -206,7 +206,15 @@ function Root({ children }: React.PropsWithChildren<{}>) {
return children
}
function onDefaultTransitionIndicator() {
// TODO: Compose default with user-configureable (e.g. nprogress)
// TODO: Use React's default once we figure out hanging indicators: https://codesandbox.io/p/sandbox/charming-moon-hktkp6?file=%2Fsrc%2Findex.js%3A106%2C30
return () => {}
}
const reactRootOptions: ReactDOMClient.RootOptions = {
// @ts-expect-error: Should pass on `@types/react` bump.
onDefaultTransitionIndicator: onDefaultTransitionIndicator,
onRecoverableError,
onCaughtError,
onUncaughtError,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -416,7 +416,7 @@
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-experimental-197d6a04-20250424";
exports.version = "19.2.0-experimental-79d9aed7-20250620";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
......
......@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-experimental-197d6a04-20250424";
exports.version = "19.2.0-experimental-79d9aed7-20250620";
......@@ -336,5 +336,5 @@
}))
: Internals.d.m(href));
};
exports.version = "19.2.0-experimental-197d6a04-20250424";
exports.version = "19.2.0-experimental-79d9aed7-20250620";
})();
......@@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) {
});
} else Internals.d.m(href);
};
exports.version = "19.2.0-experimental-197d6a04-20250424";
exports.version = "19.2.0-experimental-79d9aed7-20250620";
......@@ -72,10 +72,10 @@
"./package.json": "./package.json"
},
"dependencies": {
"scheduler": "0.0.0-experimental-197d6a04-20250424"
"scheduler": "0.0.0-experimental-79d9aed7-20250620"
},
"peerDependencies": {
"react": "0.0.0-experimental-197d6a04-20250424"
"react": "0.0.0-experimental-79d9aed7-20250620"
},
"browser": {
"./server.js": "./server.browser.js",
......
......@@ -13,6 +13,10 @@ exports.version = l.version;
exports.renderToString = l.renderToString;
exports.renderToStaticMarkup = l.renderToStaticMarkup;
exports.renderToPipeableStream = s.renderToPipeableStream;
exports.renderToReadableStream = s.renderToReadableStream;
if (s.resumeToPipeableStream) {
exports.resumeToPipeableStream = s.resumeToPipeableStream;
}
if (s.resume) {
exports.resume = s.resume;
}
......@@ -416,7 +416,7 @@
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-canary-197d6a04-20250424";
exports.version = "19.2.0-canary-79d9aed7-20250620";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
......
......@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-canary-197d6a04-20250424";
exports.version = "19.2.0-canary-79d9aed7-20250620";
......@@ -336,5 +336,5 @@
}))
: Internals.d.m(href));
};
exports.version = "19.2.0-canary-197d6a04-20250424";
exports.version = "19.2.0-canary-79d9aed7-20250620";
})();
......@@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) {
});
} else Internals.d.m(href);
};
exports.version = "19.2.0-canary-197d6a04-20250424";
exports.version = "19.2.0-canary-79d9aed7-20250620";
......@@ -67,10 +67,10 @@
"./package.json": "./package.json"
},
"dependencies": {
"scheduler": "0.27.0-canary-197d6a04-20250424"
"scheduler": "0.27.0-canary-79d9aed7-20250620"
},
"peerDependencies": {
"react": "19.2.0-canary-197d6a04-20250424"
"react": "19.2.0-canary-79d9aed7-20250620"
},
"browser": {
"./server.js": "./server.browser.js",
......
......@@ -13,6 +13,10 @@ exports.version = l.version;
exports.renderToString = l.renderToString;
exports.renderToStaticMarkup = l.renderToStaticMarkup;
exports.renderToPipeableStream = s.renderToPipeableStream;
exports.renderToReadableStream = s.renderToReadableStream;
if (s.resumeToPipeableStream) {
exports.resumeToPipeableStream = s.resumeToPipeableStream;
}
if (s.resume) {
exports.resume = s.resume;
}
......@@ -45,7 +45,7 @@
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:
return (type.displayName || "Context") + ".Provider";
return type.displayName || "Context";
case REACT_CONSUMER_TYPE:
return (type._context.displayName || "Context") + ".Consumer";
case REACT_FORWARD_REF_TYPE:
......@@ -291,9 +291,8 @@
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
Symbol.for("react.provider");
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
......
......@@ -45,7 +45,7 @@
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:
return (type.displayName || "Context") + ".Provider";
return type.displayName || "Context";
case REACT_CONSUMER_TYPE:
return (type._context.displayName || "Context") + ".Consumer";
case REACT_FORWARD_REF_TYPE:
......@@ -291,9 +291,8 @@
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
Symbol.for("react.provider");
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
......
......@@ -45,7 +45,7 @@
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:
return (type.displayName || "Context") + ".Provider";
return type.displayName || "Context";
case REACT_CONSUMER_TYPE:
return (type._context.displayName || "Context") + ".Consumer";
case REACT_FORWARD_REF_TYPE:
......@@ -291,9 +291,8 @@
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
Symbol.for("react.provider");
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
......
......@@ -45,7 +45,7 @@
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:
return (type.displayName || "Context") + ".Provider";
return type.displayName || "Context";
case REACT_CONSUMER_TYPE:
return (type._context.displayName || "Context") + ".Consumer";
case REACT_FORWARD_REF_TYPE:
......@@ -291,9 +291,8 @@
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
Symbol.for("react.provider");
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
......
......@@ -57,6 +57,7 @@
this.refs = emptyObject;
this.updater = updater || ReactNoopUpdateQueue;
}
function noop() {}
function testStringCoercion(value) {
return "" + value;
}
......@@ -118,7 +119,7 @@
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:
return (type.displayName || "Context") + ".Provider";
return type.displayName || "Context";
case REACT_CONSUMER_TYPE:
return (type._context.displayName || "Context") + ".Consumer";
case REACT_FORWARD_REF_TYPE:
......@@ -288,7 +289,6 @@
? (checkKeyStringCoercion(element.key), escape("" + element.key))
: index.toString(36);
}
function noop$1() {}
function resolveThenable(thenable) {
switch (thenable.status) {
case "fulfilled":
......@@ -298,7 +298,7 @@
default:
switch (
("string" === typeof thenable.status
? thenable.then(noop$1, noop$1)
? thenable.then(noop, noop)
: ((thenable.status = "pending"),
thenable.then(
function (fulfilledValue) {
......@@ -547,7 +547,6 @@
(ReactSharedInternals.T = prevTransition);
}
}
function noop() {}
function addTransitionType(type) {
var transition = ReactSharedInternals.T;
if (null !== transition) {
......@@ -653,9 +652,8 @@
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
Symbol.for("react.provider");
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
......@@ -960,6 +958,9 @@
return fn.apply(null, arguments);
};
};
exports.cacheSignal = function () {
return null;
};
exports.captureOwnerStack = function () {
var getCurrentStack = ReactSharedInternals.getCurrentStack;
return null === getCurrentStack ? null : getCurrentStack();
......@@ -1240,7 +1241,7 @@
} finally {
ReactSharedInternals.T = prevTransition;
}
return function () {};
return noop;
};
exports.unstable_useCacheRefresh = function () {
return resolveDispatcher().useCacheRefresh();
......@@ -1326,7 +1327,7 @@
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-experimental-197d6a04-20250424";
exports.version = "19.2.0-experimental-79d9aed7-20250620";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
......
......@@ -75,8 +75,9 @@ var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
pureComponentPrototype.constructor = PureComponent;
assign(pureComponentPrototype, Component.prototype);
pureComponentPrototype.isPureReactComponent = !0;
var isArrayImpl = Array.isArray,
ReactSharedInternals = { H: null, A: null, T: null, S: null, G: null },
var isArrayImpl = Array.isArray;
function noop() {}
var ReactSharedInternals = { H: null, A: null, T: null, S: null, G: null },
hasOwnProperty = Object.prototype.hasOwnProperty;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
......@@ -120,7 +121,6 @@ function getElementKey(element, index) {
? escape("" + element.key)
: index.toString(36);
}
function noop$1() {}
function resolveThenable(thenable) {
switch (thenable.status) {
case "fulfilled":
......@@ -130,7 +130,7 @@ function resolveThenable(thenable) {
default:
switch (
("string" === typeof thenable.status
? thenable.then(noop$1, noop$1)
? thenable.then(noop, noop)
: ((thenable.status = "pending"),
thenable.then(
function (fulfilledValue) {
......@@ -347,7 +347,6 @@ function startTransition(scope) {
(ReactSharedInternals.T = prevTransition);
}
}
function noop() {}
function addTransitionType(type) {
var transition = ReactSharedInternals.T;
if (null !== transition) {
......@@ -409,6 +408,9 @@ exports.cache = function (fn) {
return fn.apply(null, arguments);
};
};
exports.cacheSignal = function () {
return null;
};
exports.cloneElement = function (element, config, children) {
if (null === element || void 0 === element)
throw Error(
......@@ -540,7 +542,7 @@ exports.unstable_startGestureTransition = function (provider, scope, options) {
} finally {
ReactSharedInternals.T = prevTransition;
}
return function () {};
return noop;
};
exports.unstable_useCacheRefresh = function () {
return ReactSharedInternals.H.useCacheRefresh();
......@@ -603,4 +605,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-experimental-197d6a04-20250424";
exports.version = "19.2.0-experimental-79d9aed7-20250620";
......@@ -11,6 +11,7 @@
"use strict";
"production" !== process.env.NODE_ENV &&
(function () {
function noop() {}
function getIteratorFn(maybeIterable) {
if (null === maybeIterable || "object" !== typeof maybeIterable)
return null;
......@@ -80,7 +81,7 @@
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:
return (type.displayName || "Context") + ".Provider";
return type.displayName || "Context";
case REACT_CONSUMER_TYPE:
return (type._context.displayName || "Context") + ".Consumer";
case REACT_FORWARD_REF_TYPE:
......@@ -250,7 +251,6 @@
? (checkKeyStringCoercion(element.key), escape("" + element.key))
: index.toString(36);
}
function noop$1() {}
function resolveThenable(thenable) {
switch (thenable.status) {
case "fulfilled":
......@@ -260,7 +260,7 @@
default:
switch (
("string" === typeof thenable.status
? thenable.then(noop$1, noop$1)
? thenable.then(noop, noop)
: ((thenable.status = "pending"),
thenable.then(
function (fulfilledValue) {
......@@ -471,7 +471,6 @@
function releaseAsyncTransition() {
ReactSharedInternals.asyncTransitions--;
}
function noop() {}
function cleanup(entryValue) {
var entry = TaintRegistryValues.get(entryValue);
void 0 !== entry &&
......@@ -500,9 +499,8 @@
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
Symbol.for("react.provider");
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
......@@ -659,6 +657,10 @@
}
};
};
exports.cacheSignal = function () {
var dispatcher = ReactSharedInternals.A;
return dispatcher ? dispatcher.cacheSignal() : null;
};
exports.captureOwnerStack = function () {
var getCurrentStack = ReactSharedInternals.getCurrentStack;
return null === getCurrentStack ? null : getCurrentStack();
......@@ -992,5 +994,5 @@
exports.useMemo = function (create, deps) {
return resolveDispatcher().useMemo(create, deps);
};
exports.version = "19.2.0-experimental-197d6a04-20250424";
exports.version = "19.2.0-experimental-79d9aed7-20250620";
})();
......@@ -46,9 +46,8 @@
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
Symbol.for("react.provider");
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
......
......@@ -13,9 +13,8 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
Symbol.for("react.provider");
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
......
{
"name": "react-is",
"version": "19.2.0-canary-197d6a04-20250424",
"version": "19.2.0-canary-79d9aed7-20250620",
"description": "Brand checking of React Elements.",
"main": "index.js",
"sideEffects": false,
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment