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 @@ ...@@ -233,16 +233,16 @@
"pretty-ms": "7.0.0", "pretty-ms": "7.0.0",
"random-seed": "0.3.0", "random-seed": "0.3.0",
"react": "19.0.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": "19.0.0",
"react-dom-builtin": "npm:react-dom@19.2.0-canary-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-197d6a04-20250424", "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-79d9aed7-20250620",
"react-experimental-builtin": "npm:react@0.0.0-experimental-197d6a04-20250424", "react-experimental-builtin": "npm:react@0.0.0-experimental-79d9aed7-20250620",
"react-is-builtin": "npm:react-is@19.2.0-canary-197d6a04-20250424", "react-is-builtin": "npm:react-is@19.2.0-canary-79d9aed7-20250620",
"react-server-dom-turbopack": "19.2.0-canary-197d6a04-20250424", "react-server-dom-turbopack": "19.2.0-canary-79d9aed7-20250620",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-197d6a04-20250424", "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-79d9aed7-20250620",
"react-server-dom-webpack": "19.2.0-canary-197d6a04-20250424", "react-server-dom-webpack": "19.2.0-canary-79d9aed7-20250620",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-197d6a04-20250424", "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-79d9aed7-20250620",
"react-ssr-prepass": "1.0.8", "react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3", "react-virtualized": "9.22.3",
"relay-compiler": "13.0.2", "relay-compiler": "13.0.2",
...@@ -252,8 +252,8 @@ ...@@ -252,8 +252,8 @@
"resolve-from": "5.0.0", "resolve-from": "5.0.0",
"sass": "1.54.0", "sass": "1.54.0",
"satori": "0.12.2", "satori": "0.12.2",
"scheduler-builtin": "npm:scheduler@0.27.0-canary-197d6a04-20250424", "scheduler-builtin": "npm:scheduler@0.27.0-canary-79d9aed7-20250620",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-197d6a04-20250424", "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-79d9aed7-20250620",
"seedrandom": "3.0.5", "seedrandom": "3.0.5",
"semver": "7.3.7", "semver": "7.3.7",
"shell-quote": "1.7.3", "shell-quote": "1.7.3",
...@@ -296,10 +296,10 @@ ...@@ -296,10 +296,10 @@
"@types/react-dom": "19.1.2", "@types/react-dom": "19.1.2",
"@types/retry": "0.12.0", "@types/retry": "0.12.0",
"jest-snapshot": "30.0.0-alpha.6", "jest-snapshot": "30.0.0-alpha.6",
"react": "19.2.0-canary-197d6a04-20250424", "react": "19.2.0-canary-79d9aed7-20250620",
"react-dom": "19.2.0-canary-197d6a04-20250424", "react-dom": "19.2.0-canary-79d9aed7-20250620",
"react-is": "19.2.0-canary-197d6a04-20250424", "react-is": "19.2.0-canary-79d9aed7-20250620",
"scheduler": "0.27.0-canary-197d6a04-20250424" "scheduler": "0.27.0-canary-79d9aed7-20250620"
}, },
"patchedDependencies": { "patchedDependencies": {
"webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch", "webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch",
......
...@@ -206,7 +206,15 @@ function Root({ children }: React.PropsWithChildren<{}>) { ...@@ -206,7 +206,15 @@ function Root({ children }: React.PropsWithChildren<{}>) {
return children 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 = { const reactRootOptions: ReactDOMClient.RootOptions = {
// @ts-expect-error: Should pass on `@types/react` bump.
onDefaultTransitionIndicator: onDefaultTransitionIndicator,
onRecoverableError, onRecoverableError,
onCaughtError, onCaughtError,
onUncaughtError, 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.
...@@ -416,7 +416,7 @@ ...@@ -416,7 +416,7 @@
exports.useFormStatus = function () { exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus(); 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__ && "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" === "function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
......
...@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) { ...@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () { exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus(); return ReactSharedInternals.H.useHostTransitionStatus();
}; };
exports.version = "19.2.0-experimental-197d6a04-20250424"; exports.version = "19.2.0-experimental-79d9aed7-20250620";
...@@ -336,5 +336,5 @@ ...@@ -336,5 +336,5 @@
})) }))
: Internals.d.m(href)); : 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) { ...@@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) {
}); });
} else Internals.d.m(href); } 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 @@ ...@@ -72,10 +72,10 @@
"./package.json": "./package.json" "./package.json": "./package.json"
}, },
"dependencies": { "dependencies": {
"scheduler": "0.0.0-experimental-197d6a04-20250424" "scheduler": "0.0.0-experimental-79d9aed7-20250620"
}, },
"peerDependencies": { "peerDependencies": {
"react": "0.0.0-experimental-197d6a04-20250424" "react": "0.0.0-experimental-79d9aed7-20250620"
}, },
"browser": { "browser": {
"./server.js": "./server.browser.js", "./server.js": "./server.browser.js",
......
...@@ -13,6 +13,10 @@ exports.version = l.version; ...@@ -13,6 +13,10 @@ exports.version = l.version;
exports.renderToString = l.renderToString; exports.renderToString = l.renderToString;
exports.renderToStaticMarkup = l.renderToStaticMarkup; exports.renderToStaticMarkup = l.renderToStaticMarkup;
exports.renderToPipeableStream = s.renderToPipeableStream; exports.renderToPipeableStream = s.renderToPipeableStream;
exports.renderToReadableStream = s.renderToReadableStream;
if (s.resumeToPipeableStream) { if (s.resumeToPipeableStream) {
exports.resumeToPipeableStream = s.resumeToPipeableStream; exports.resumeToPipeableStream = s.resumeToPipeableStream;
} }
if (s.resume) {
exports.resume = s.resume;
}
...@@ -416,7 +416,7 @@ ...@@ -416,7 +416,7 @@
exports.useFormStatus = function () { exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus(); 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__ && "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" === "function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
......
...@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) { ...@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () { exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus(); return ReactSharedInternals.H.useHostTransitionStatus();
}; };
exports.version = "19.2.0-canary-197d6a04-20250424"; exports.version = "19.2.0-canary-79d9aed7-20250620";
...@@ -336,5 +336,5 @@ ...@@ -336,5 +336,5 @@
})) }))
: Internals.d.m(href)); : 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) { ...@@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) {
}); });
} else Internals.d.m(href); } 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 @@ ...@@ -67,10 +67,10 @@
"./package.json": "./package.json" "./package.json": "./package.json"
}, },
"dependencies": { "dependencies": {
"scheduler": "0.27.0-canary-197d6a04-20250424" "scheduler": "0.27.0-canary-79d9aed7-20250620"
}, },
"peerDependencies": { "peerDependencies": {
"react": "19.2.0-canary-197d6a04-20250424" "react": "19.2.0-canary-79d9aed7-20250620"
}, },
"browser": { "browser": {
"./server.js": "./server.browser.js", "./server.js": "./server.browser.js",
......
...@@ -13,6 +13,10 @@ exports.version = l.version; ...@@ -13,6 +13,10 @@ exports.version = l.version;
exports.renderToString = l.renderToString; exports.renderToString = l.renderToString;
exports.renderToStaticMarkup = l.renderToStaticMarkup; exports.renderToStaticMarkup = l.renderToStaticMarkup;
exports.renderToPipeableStream = s.renderToPipeableStream; exports.renderToPipeableStream = s.renderToPipeableStream;
exports.renderToReadableStream = s.renderToReadableStream;
if (s.resumeToPipeableStream) { if (s.resumeToPipeableStream) {
exports.resumeToPipeableStream = s.resumeToPipeableStream; exports.resumeToPipeableStream = s.resumeToPipeableStream;
} }
if (s.resume) {
exports.resume = s.resume;
}
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
case REACT_PORTAL_TYPE: case REACT_PORTAL_TYPE:
return "Portal"; return "Portal";
case REACT_CONTEXT_TYPE: case REACT_CONTEXT_TYPE:
return (type.displayName || "Context") + ".Provider"; return type.displayName || "Context";
case REACT_CONSUMER_TYPE: case REACT_CONSUMER_TYPE:
return (type._context.displayName || "Context") + ".Consumer"; return (type._context.displayName || "Context") + ".Consumer";
case REACT_FORWARD_REF_TYPE: case REACT_FORWARD_REF_TYPE:
...@@ -291,9 +291,8 @@ ...@@ -291,9 +291,8 @@
REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"); REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
Symbol.for("react.provider"); REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
case REACT_PORTAL_TYPE: case REACT_PORTAL_TYPE:
return "Portal"; return "Portal";
case REACT_CONTEXT_TYPE: case REACT_CONTEXT_TYPE:
return (type.displayName || "Context") + ".Provider"; return type.displayName || "Context";
case REACT_CONSUMER_TYPE: case REACT_CONSUMER_TYPE:
return (type._context.displayName || "Context") + ".Consumer"; return (type._context.displayName || "Context") + ".Consumer";
case REACT_FORWARD_REF_TYPE: case REACT_FORWARD_REF_TYPE:
...@@ -291,9 +291,8 @@ ...@@ -291,9 +291,8 @@
REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"); REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
Symbol.for("react.provider"); REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
case REACT_PORTAL_TYPE: case REACT_PORTAL_TYPE:
return "Portal"; return "Portal";
case REACT_CONTEXT_TYPE: case REACT_CONTEXT_TYPE:
return (type.displayName || "Context") + ".Provider"; return type.displayName || "Context";
case REACT_CONSUMER_TYPE: case REACT_CONSUMER_TYPE:
return (type._context.displayName || "Context") + ".Consumer"; return (type._context.displayName || "Context") + ".Consumer";
case REACT_FORWARD_REF_TYPE: case REACT_FORWARD_REF_TYPE:
...@@ -291,9 +291,8 @@ ...@@ -291,9 +291,8 @@
REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"); REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
Symbol.for("react.provider"); REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
case REACT_PORTAL_TYPE: case REACT_PORTAL_TYPE:
return "Portal"; return "Portal";
case REACT_CONTEXT_TYPE: case REACT_CONTEXT_TYPE:
return (type.displayName || "Context") + ".Provider"; return type.displayName || "Context";
case REACT_CONSUMER_TYPE: case REACT_CONSUMER_TYPE:
return (type._context.displayName || "Context") + ".Consumer"; return (type._context.displayName || "Context") + ".Consumer";
case REACT_FORWARD_REF_TYPE: case REACT_FORWARD_REF_TYPE:
...@@ -291,9 +291,8 @@ ...@@ -291,9 +291,8 @@
REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"); REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
Symbol.for("react.provider"); REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
......
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
this.refs = emptyObject; this.refs = emptyObject;
this.updater = updater || ReactNoopUpdateQueue; this.updater = updater || ReactNoopUpdateQueue;
} }
function noop() {}
function testStringCoercion(value) { function testStringCoercion(value) {
return "" + value; return "" + value;
} }
...@@ -118,7 +119,7 @@ ...@@ -118,7 +119,7 @@
case REACT_PORTAL_TYPE: case REACT_PORTAL_TYPE:
return "Portal"; return "Portal";
case REACT_CONTEXT_TYPE: case REACT_CONTEXT_TYPE:
return (type.displayName || "Context") + ".Provider"; return type.displayName || "Context";
case REACT_CONSUMER_TYPE: case REACT_CONSUMER_TYPE:
return (type._context.displayName || "Context") + ".Consumer"; return (type._context.displayName || "Context") + ".Consumer";
case REACT_FORWARD_REF_TYPE: case REACT_FORWARD_REF_TYPE:
...@@ -288,7 +289,6 @@ ...@@ -288,7 +289,6 @@
? (checkKeyStringCoercion(element.key), escape("" + element.key)) ? (checkKeyStringCoercion(element.key), escape("" + element.key))
: index.toString(36); : index.toString(36);
} }
function noop$1() {}
function resolveThenable(thenable) { function resolveThenable(thenable) {
switch (thenable.status) { switch (thenable.status) {
case "fulfilled": case "fulfilled":
...@@ -298,7 +298,7 @@ ...@@ -298,7 +298,7 @@
default: default:
switch ( switch (
("string" === typeof thenable.status ("string" === typeof thenable.status
? thenable.then(noop$1, noop$1) ? thenable.then(noop, noop)
: ((thenable.status = "pending"), : ((thenable.status = "pending"),
thenable.then( thenable.then(
function (fulfilledValue) { function (fulfilledValue) {
...@@ -547,7 +547,6 @@ ...@@ -547,7 +547,6 @@
(ReactSharedInternals.T = prevTransition); (ReactSharedInternals.T = prevTransition);
} }
} }
function noop() {}
function addTransitionType(type) { function addTransitionType(type) {
var transition = ReactSharedInternals.T; var transition = ReactSharedInternals.T;
if (null !== transition) { if (null !== transition) {
...@@ -653,9 +652,8 @@ ...@@ -653,9 +652,8 @@
REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"); REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
Symbol.for("react.provider"); REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
...@@ -960,6 +958,9 @@ ...@@ -960,6 +958,9 @@
return fn.apply(null, arguments); return fn.apply(null, arguments);
}; };
}; };
exports.cacheSignal = function () {
return null;
};
exports.captureOwnerStack = function () { exports.captureOwnerStack = function () {
var getCurrentStack = ReactSharedInternals.getCurrentStack; var getCurrentStack = ReactSharedInternals.getCurrentStack;
return null === getCurrentStack ? null : getCurrentStack(); return null === getCurrentStack ? null : getCurrentStack();
...@@ -1240,7 +1241,7 @@ ...@@ -1240,7 +1241,7 @@
} finally { } finally {
ReactSharedInternals.T = prevTransition; ReactSharedInternals.T = prevTransition;
} }
return function () {}; return noop;
}; };
exports.unstable_useCacheRefresh = function () { exports.unstable_useCacheRefresh = function () {
return resolveDispatcher().useCacheRefresh(); return resolveDispatcher().useCacheRefresh();
...@@ -1326,7 +1327,7 @@ ...@@ -1326,7 +1327,7 @@
exports.useTransition = function () { exports.useTransition = function () {
return resolveDispatcher().useTransition(); 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__ && "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" === "function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
......
...@@ -75,8 +75,9 @@ var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy()); ...@@ -75,8 +75,9 @@ var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
pureComponentPrototype.constructor = PureComponent; pureComponentPrototype.constructor = PureComponent;
assign(pureComponentPrototype, Component.prototype); assign(pureComponentPrototype, Component.prototype);
pureComponentPrototype.isPureReactComponent = !0; pureComponentPrototype.isPureReactComponent = !0;
var isArrayImpl = Array.isArray, var isArrayImpl = Array.isArray;
ReactSharedInternals = { H: null, A: null, T: null, S: null, G: null }, function noop() {}
var ReactSharedInternals = { H: null, A: null, T: null, S: null, G: null },
hasOwnProperty = Object.prototype.hasOwnProperty; hasOwnProperty = Object.prototype.hasOwnProperty;
function ReactElement(type, key, self, source, owner, props) { function ReactElement(type, key, self, source, owner, props) {
self = props.ref; self = props.ref;
...@@ -120,7 +121,6 @@ function getElementKey(element, index) { ...@@ -120,7 +121,6 @@ function getElementKey(element, index) {
? escape("" + element.key) ? escape("" + element.key)
: index.toString(36); : index.toString(36);
} }
function noop$1() {}
function resolveThenable(thenable) { function resolveThenable(thenable) {
switch (thenable.status) { switch (thenable.status) {
case "fulfilled": case "fulfilled":
...@@ -130,7 +130,7 @@ function resolveThenable(thenable) { ...@@ -130,7 +130,7 @@ function resolveThenable(thenable) {
default: default:
switch ( switch (
("string" === typeof thenable.status ("string" === typeof thenable.status
? thenable.then(noop$1, noop$1) ? thenable.then(noop, noop)
: ((thenable.status = "pending"), : ((thenable.status = "pending"),
thenable.then( thenable.then(
function (fulfilledValue) { function (fulfilledValue) {
...@@ -347,7 +347,6 @@ function startTransition(scope) { ...@@ -347,7 +347,6 @@ function startTransition(scope) {
(ReactSharedInternals.T = prevTransition); (ReactSharedInternals.T = prevTransition);
} }
} }
function noop() {}
function addTransitionType(type) { function addTransitionType(type) {
var transition = ReactSharedInternals.T; var transition = ReactSharedInternals.T;
if (null !== transition) { if (null !== transition) {
...@@ -409,6 +408,9 @@ exports.cache = function (fn) { ...@@ -409,6 +408,9 @@ exports.cache = function (fn) {
return fn.apply(null, arguments); return fn.apply(null, arguments);
}; };
}; };
exports.cacheSignal = function () {
return null;
};
exports.cloneElement = function (element, config, children) { exports.cloneElement = function (element, config, children) {
if (null === element || void 0 === element) if (null === element || void 0 === element)
throw Error( throw Error(
...@@ -540,7 +542,7 @@ exports.unstable_startGestureTransition = function (provider, scope, options) { ...@@ -540,7 +542,7 @@ exports.unstable_startGestureTransition = function (provider, scope, options) {
} finally { } finally {
ReactSharedInternals.T = prevTransition; ReactSharedInternals.T = prevTransition;
} }
return function () {}; return noop;
}; };
exports.unstable_useCacheRefresh = function () { exports.unstable_useCacheRefresh = function () {
return ReactSharedInternals.H.useCacheRefresh(); return ReactSharedInternals.H.useCacheRefresh();
...@@ -603,4 +605,4 @@ exports.useSyncExternalStore = function ( ...@@ -603,4 +605,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () { exports.useTransition = function () {
return ReactSharedInternals.H.useTransition(); return ReactSharedInternals.H.useTransition();
}; };
exports.version = "19.2.0-experimental-197d6a04-20250424"; exports.version = "19.2.0-experimental-79d9aed7-20250620";
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
"use strict"; "use strict";
"production" !== process.env.NODE_ENV && "production" !== process.env.NODE_ENV &&
(function () { (function () {
function noop() {}
function getIteratorFn(maybeIterable) { function getIteratorFn(maybeIterable) {
if (null === maybeIterable || "object" !== typeof maybeIterable) if (null === maybeIterable || "object" !== typeof maybeIterable)
return null; return null;
...@@ -80,7 +81,7 @@ ...@@ -80,7 +81,7 @@
case REACT_PORTAL_TYPE: case REACT_PORTAL_TYPE:
return "Portal"; return "Portal";
case REACT_CONTEXT_TYPE: case REACT_CONTEXT_TYPE:
return (type.displayName || "Context") + ".Provider"; return type.displayName || "Context";
case REACT_CONSUMER_TYPE: case REACT_CONSUMER_TYPE:
return (type._context.displayName || "Context") + ".Consumer"; return (type._context.displayName || "Context") + ".Consumer";
case REACT_FORWARD_REF_TYPE: case REACT_FORWARD_REF_TYPE:
...@@ -250,7 +251,6 @@ ...@@ -250,7 +251,6 @@
? (checkKeyStringCoercion(element.key), escape("" + element.key)) ? (checkKeyStringCoercion(element.key), escape("" + element.key))
: index.toString(36); : index.toString(36);
} }
function noop$1() {}
function resolveThenable(thenable) { function resolveThenable(thenable) {
switch (thenable.status) { switch (thenable.status) {
case "fulfilled": case "fulfilled":
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
default: default:
switch ( switch (
("string" === typeof thenable.status ("string" === typeof thenable.status
? thenable.then(noop$1, noop$1) ? thenable.then(noop, noop)
: ((thenable.status = "pending"), : ((thenable.status = "pending"),
thenable.then( thenable.then(
function (fulfilledValue) { function (fulfilledValue) {
...@@ -471,7 +471,6 @@ ...@@ -471,7 +471,6 @@
function releaseAsyncTransition() { function releaseAsyncTransition() {
ReactSharedInternals.asyncTransitions--; ReactSharedInternals.asyncTransitions--;
} }
function noop() {}
function cleanup(entryValue) { function cleanup(entryValue) {
var entry = TaintRegistryValues.get(entryValue); var entry = TaintRegistryValues.get(entryValue);
void 0 !== entry && void 0 !== entry &&
...@@ -500,9 +499,8 @@ ...@@ -500,9 +499,8 @@
REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"); REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
Symbol.for("react.provider"); REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
...@@ -659,6 +657,10 @@ ...@@ -659,6 +657,10 @@
} }
}; };
}; };
exports.cacheSignal = function () {
var dispatcher = ReactSharedInternals.A;
return dispatcher ? dispatcher.cacheSignal() : null;
};
exports.captureOwnerStack = function () { exports.captureOwnerStack = function () {
var getCurrentStack = ReactSharedInternals.getCurrentStack; var getCurrentStack = ReactSharedInternals.getCurrentStack;
return null === getCurrentStack ? null : getCurrentStack(); return null === getCurrentStack ? null : getCurrentStack();
...@@ -992,5 +994,5 @@ ...@@ -992,5 +994,5 @@
exports.useMemo = function (create, deps) { exports.useMemo = function (create, deps) {
return resolveDispatcher().useMemo(create, deps); return resolveDispatcher().useMemo(create, deps);
}; };
exports.version = "19.2.0-experimental-197d6a04-20250424"; exports.version = "19.2.0-experimental-79d9aed7-20250620";
})(); })();
...@@ -36,8 +36,9 @@ function formatProdErrorMessage(code) { ...@@ -36,8 +36,9 @@ function formatProdErrorMessage(code) {
" for the full message or use the non-minified dev environment for full errors and additional helpful warnings." " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
); );
} }
var isArrayImpl = Array.isArray, var isArrayImpl = Array.isArray;
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), function noop() {}
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
...@@ -102,7 +103,6 @@ function getElementKey(element, index) { ...@@ -102,7 +103,6 @@ function getElementKey(element, index) {
? escape("" + element.key) ? escape("" + element.key)
: index.toString(36); : index.toString(36);
} }
function noop$1() {}
function resolveThenable(thenable) { function resolveThenable(thenable) {
switch (thenable.status) { switch (thenable.status) {
case "fulfilled": case "fulfilled":
...@@ -112,7 +112,7 @@ function resolveThenable(thenable) { ...@@ -112,7 +112,7 @@ function resolveThenable(thenable) {
default: default:
switch ( switch (
("string" === typeof thenable.status ("string" === typeof thenable.status
? thenable.then(noop$1, noop$1) ? thenable.then(noop, noop)
: ((thenable.status = "pending"), : ((thenable.status = "pending"),
thenable.then( thenable.then(
function (fulfilledValue) { function (fulfilledValue) {
...@@ -307,9 +307,8 @@ var reportGlobalError = ...@@ -307,9 +307,8 @@ var reportGlobalError =
return; return;
} }
console.error(error); console.error(error);
}; },
function noop() {} getPrototypeOf = Object.getPrototypeOf,
var getPrototypeOf = Object.getPrototypeOf,
TaintRegistryObjects = ReactSharedInternals.TaintRegistryObjects, TaintRegistryObjects = ReactSharedInternals.TaintRegistryObjects,
TaintRegistryValues = ReactSharedInternals.TaintRegistryValues, TaintRegistryValues = ReactSharedInternals.TaintRegistryValues,
TaintRegistryByteLengths = ReactSharedInternals.TaintRegistryByteLengths, TaintRegistryByteLengths = ReactSharedInternals.TaintRegistryByteLengths,
...@@ -405,6 +404,10 @@ exports.cache = function (fn) { ...@@ -405,6 +404,10 @@ exports.cache = function (fn) {
} }
}; };
}; };
exports.cacheSignal = function () {
var dispatcher = ReactSharedInternals.A;
return dispatcher ? dispatcher.cacheSignal() : null;
};
exports.cloneElement = function (element, config, children) { exports.cloneElement = function (element, config, children) {
if (null === element || void 0 === element) if (null === element || void 0 === element)
throw Error(formatProdErrorMessage(267, element)); throw Error(formatProdErrorMessage(267, element));
...@@ -569,4 +572,4 @@ exports.useId = function () { ...@@ -569,4 +572,4 @@ exports.useId = function () {
exports.useMemo = function (create, deps) { exports.useMemo = function (create, deps) {
return ReactSharedInternals.H.useMemo(create, deps); return ReactSharedInternals.H.useMemo(create, deps);
}; };
exports.version = "19.2.0-experimental-197d6a04-20250424"; exports.version = "19.2.0-experimental-79d9aed7-20250620";
...@@ -46,9 +46,8 @@ ...@@ -46,9 +46,8 @@
REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"); REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
Symbol.for("react.provider"); REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
......
...@@ -13,9 +13,8 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), ...@@ -13,9 +13,8 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_PORTAL_TYPE = Symbol.for("react.portal"),
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
REACT_PROFILER_TYPE = Symbol.for("react.profiler"); REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
Symbol.for("react.provider"); REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_CONTEXT_TYPE = Symbol.for("react.context"),
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
......
{ {
"name": "react-is", "name": "react-is",
"version": "19.2.0-canary-197d6a04-20250424", "version": "19.2.0-canary-79d9aed7-20250620",
"description": "Brand checking of React Elements.", "description": "Brand checking of React Elements.",
"main": "index.js", "main": "index.js",
"sideEffects": false, "sideEffects": false,
......
...@@ -1423,6 +1423,7 @@ function processFullBinaryRow(response, id, tag, buffer, chunk) { ...@@ -1423,6 +1423,7 @@ function processFullBinaryRow(response, id, tag, buffer, chunk) {
break; break;
case 78: case 78:
case 68: case 68:
case 74:
case 87: case 87:
throw Error( throw Error(
"Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client." "Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client."
......
...@@ -1613,6 +1613,7 @@ function processFullBinaryRow(response, id, tag, buffer, chunk) { ...@@ -1613,6 +1613,7 @@ function processFullBinaryRow(response, id, tag, buffer, chunk) {
break; break;
case 78: case 78:
case 68: case 68:
case 74:
case 87: case 87:
throw Error( throw Error(
"Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client." "Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client."
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
"neo-async": "^2.6.1" "neo-async": "^2.6.1"
}, },
"peerDependencies": { "peerDependencies": {
"react": "0.0.0-experimental-197d6a04-20250424", "react": "0.0.0-experimental-79d9aed7-20250620",
"react-dom": "0.0.0-experimental-197d6a04-20250424" "react-dom": "0.0.0-experimental-79d9aed7-20250620"
} }
} }
\ No newline at end of file
...@@ -7,9 +7,11 @@ if (process.env.NODE_ENV === 'production') { ...@@ -7,9 +7,11 @@ if (process.env.NODE_ENV === 'production') {
s = require('./cjs/react-server-dom-turbopack-server.node.development.js'); s = require('./cjs/react-server-dom-turbopack-server.node.development.js');
} }
exports.renderToReadableStream = s.renderToReadableStream;
exports.renderToPipeableStream = s.renderToPipeableStream; exports.renderToPipeableStream = s.renderToPipeableStream;
exports.decodeReplyFromBusboy = s.decodeReplyFromBusboy;
exports.decodeReply = s.decodeReply; exports.decodeReply = s.decodeReply;
exports.decodeReplyFromBusboy = s.decodeReplyFromBusboy;
exports.decodeReplyFromAsyncIterable = s.decodeReplyFromAsyncIterable;
exports.decodeAction = s.decodeAction; exports.decodeAction = s.decodeAction;
exports.decodeFormState = s.decodeFormState; exports.decodeFormState = s.decodeFormState;
exports.registerServerReference = s.registerServerReference; exports.registerServerReference = s.registerServerReference;
......
...@@ -7,6 +7,9 @@ if (process.env.NODE_ENV === 'production') { ...@@ -7,6 +7,9 @@ if (process.env.NODE_ENV === 'production') {
s = require('./cjs/react-server-dom-turbopack-server.node.development.js'); s = require('./cjs/react-server-dom-turbopack-server.node.development.js');
} }
if (s.unstable_prerender) {
exports.unstable_prerender = s.unstable_prerender;
}
if (s.unstable_prerenderToNodeStream) { if (s.unstable_prerenderToNodeStream) {
exports.unstable_prerenderToNodeStream = s.unstable_prerenderToNodeStream; exports.unstable_prerenderToNodeStream = s.unstable_prerenderToNodeStream;
} }
...@@ -1419,6 +1419,7 @@ function processFullBinaryRow(response, id, tag, buffer, chunk) { ...@@ -1419,6 +1419,7 @@ function processFullBinaryRow(response, id, tag, buffer, chunk) {
break; break;
case 78: case 78:
case 68: case 68:
case 74:
case 87: case 87:
throw Error( throw Error(
"Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client." "Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client."
......
...@@ -1609,6 +1609,7 @@ function processFullBinaryRow(response, id, tag, buffer, chunk) { ...@@ -1609,6 +1609,7 @@ function processFullBinaryRow(response, id, tag, buffer, chunk) {
break; break;
case 78: case 78:
case 68: case 68:
case 74:
case 87: case 87:
throw Error( throw Error(
"Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client." "Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client."
......
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