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.
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";
})(); })();
...@@ -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,
......
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