Comparing version
@@ -46,3 +46,3 @@ /** | ||
case REACT_CONTEXT_TYPE: | ||
return (type.displayName || "Context") + ".Provider"; | ||
return type.displayName || "Context"; | ||
case REACT_CONSUMER_TYPE: | ||
@@ -293,5 +293,4 @@ return (type._context.displayName || "Context") + ".Consumer"; | ||
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"), | ||
@@ -298,0 +297,0 @@ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), |
@@ -46,3 +46,3 @@ /** | ||
case REACT_CONTEXT_TYPE: | ||
return (type.displayName || "Context") + ".Provider"; | ||
return type.displayName || "Context"; | ||
case REACT_CONSUMER_TYPE: | ||
@@ -293,5 +293,4 @@ return (type._context.displayName || "Context") + ".Consumer"; | ||
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"), | ||
@@ -298,0 +297,0 @@ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), |
@@ -46,3 +46,3 @@ /** | ||
case REACT_CONTEXT_TYPE: | ||
return (type.displayName || "Context") + ".Provider"; | ||
return type.displayName || "Context"; | ||
case REACT_CONSUMER_TYPE: | ||
@@ -293,5 +293,4 @@ return (type._context.displayName || "Context") + ".Consumer"; | ||
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"), | ||
@@ -298,0 +297,0 @@ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), |
@@ -46,3 +46,3 @@ /** | ||
case REACT_CONTEXT_TYPE: | ||
return (type.displayName || "Context") + ".Provider"; | ||
return type.displayName || "Context"; | ||
case REACT_CONSUMER_TYPE: | ||
@@ -293,5 +293,4 @@ return (type._context.displayName || "Context") + ".Consumer"; | ||
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"), | ||
@@ -298,0 +297,0 @@ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), |
@@ -60,2 +60,3 @@ /** | ||
} | ||
function noop() {} | ||
function testStringCoercion(value) { | ||
@@ -120,3 +121,3 @@ return "" + value; | ||
case REACT_CONTEXT_TYPE: | ||
return (type.displayName || "Context") + ".Provider"; | ||
return type.displayName || "Context"; | ||
case REACT_CONSUMER_TYPE: | ||
@@ -291,3 +292,2 @@ return (type._context.displayName || "Context") + ".Consumer"; | ||
} | ||
function noop$1() {} | ||
function resolveThenable(thenable) { | ||
@@ -302,3 +302,3 @@ switch (thenable.status) { | ||
("string" === typeof thenable.status | ||
? thenable.then(noop$1, noop$1) | ||
? thenable.then(noop, noop) | ||
: ((thenable.status = "pending"), | ||
@@ -505,3 +505,5 @@ thenable.then( | ||
} | ||
function noop() {} | ||
function releaseAsyncTransition() { | ||
ReactSharedInternals.asyncTransitions--; | ||
} | ||
function enqueueTask(task) { | ||
@@ -598,5 +600,4 @@ if (null === enqueueTaskImpl) | ||
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"), | ||
@@ -669,4 +670,4 @@ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), | ||
S: null, | ||
V: null, | ||
actQueue: null, | ||
asyncTransitions: 0, | ||
isBatchingLegacy: !1, | ||
@@ -904,2 +905,5 @@ didScheduleLegacyUpdate: !1, | ||
}; | ||
exports.cacheSignal = function () { | ||
return null; | ||
}; | ||
exports.captureOwnerStack = function () { | ||
@@ -1129,4 +1133,4 @@ var getCurrentStack = ReactSharedInternals.getCurrentStack; | ||
currentTransition = {}; | ||
currentTransition._updatedFibers = new Set(); | ||
ReactSharedInternals.T = currentTransition; | ||
currentTransition._updatedFibers = new Set(); | ||
try { | ||
@@ -1140,3 +1144,5 @@ var returnValue = scope(), | ||
"function" === typeof returnValue.then && | ||
returnValue.then(noop, reportGlobalError); | ||
(ReactSharedInternals.asyncTransitions++, | ||
returnValue.then(releaseAsyncTransition, releaseAsyncTransition), | ||
returnValue.then(noop, reportGlobalError)); | ||
} catch (error) { | ||
@@ -1153,2 +1159,10 @@ reportGlobalError(error); | ||
)), | ||
null !== prevTransition && | ||
null !== currentTransition.types && | ||
(null !== prevTransition.types && | ||
prevTransition.types !== currentTransition.types && | ||
console.error( | ||
"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React." | ||
), | ||
(prevTransition.types = currentTransition.types)), | ||
(ReactSharedInternals.T = prevTransition); | ||
@@ -1243,3 +1257,3 @@ } | ||
}; | ||
exports.version = "19.2.0-canary-63779030-20250328"; | ||
exports.version = "19.2.0-canary-65c4decb-20250630"; | ||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && | ||
@@ -1246,0 +1260,0 @@ "function" === |
@@ -74,4 +74,5 @@ /** | ||
pureComponentPrototype.isPureReactComponent = !0; | ||
var isArrayImpl = Array.isArray, | ||
ReactSharedInternals = { H: null, A: null, T: null, S: null, V: null }, | ||
var isArrayImpl = Array.isArray; | ||
function noop() {} | ||
var ReactSharedInternals = { H: null, A: null, T: null, S: null }, | ||
hasOwnProperty = Object.prototype.hasOwnProperty; | ||
@@ -120,3 +121,2 @@ function ReactElement(type, key, self, source, owner, props) { | ||
} | ||
function noop$1() {} | ||
function resolveThenable(thenable) { | ||
@@ -131,3 +131,3 @@ switch (thenable.status) { | ||
("string" === typeof thenable.status | ||
? thenable.then(noop$1, noop$1) | ||
? thenable.then(noop, noop) | ||
: ((thenable.status = "pending"), | ||
@@ -321,3 +321,2 @@ thenable.then( | ||
}; | ||
function noop() {} | ||
exports.Children = { | ||
@@ -375,2 +374,5 @@ map: mapChildren, | ||
}; | ||
exports.cacheSignal = function () { | ||
return null; | ||
}; | ||
exports.cloneElement = function (element, config, children) { | ||
@@ -480,3 +482,6 @@ if (null === element || void 0 === element) | ||
} finally { | ||
ReactSharedInternals.T = prevTransition; | ||
null !== prevTransition && | ||
null !== currentTransition.types && | ||
(prevTransition.types = currentTransition.types), | ||
(ReactSharedInternals.T = prevTransition); | ||
} | ||
@@ -547,2 +552,2 @@ }; | ||
}; | ||
exports.version = "19.2.0-canary-63779030-20250328"; | ||
exports.version = "19.2.0-canary-65c4decb-20250630"; |
@@ -14,2 +14,3 @@ /** | ||
(function () { | ||
function noop() {} | ||
function getIteratorFn(maybeIterable) { | ||
@@ -82,3 +83,3 @@ if (null === maybeIterable || "object" !== typeof maybeIterable) | ||
case REACT_CONTEXT_TYPE: | ||
return (type.displayName || "Context") + ".Provider"; | ||
return type.displayName || "Context"; | ||
case REACT_CONSUMER_TYPE: | ||
@@ -253,3 +254,2 @@ return (type._context.displayName || "Context") + ".Consumer"; | ||
} | ||
function noop() {} | ||
function resolveThenable(thenable) { | ||
@@ -483,5 +483,4 @@ switch (thenable.status) { | ||
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"), | ||
@@ -600,2 +599,6 @@ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), | ||
}; | ||
exports.cacheSignal = function () { | ||
var dispatcher = ReactSharedInternals.A; | ||
return dispatcher ? dispatcher.cacheSignal() : null; | ||
}; | ||
exports.captureOwnerStack = function () { | ||
@@ -819,3 +822,3 @@ var getCurrentStack = ReactSharedInternals.getCurrentStack; | ||
}; | ||
exports.version = "19.2.0-canary-63779030-20250328"; | ||
exports.version = "19.2.0-canary-65c4decb-20250630"; | ||
})(); |
@@ -28,4 +28,5 @@ /** | ||
} | ||
var isArrayImpl = Array.isArray, | ||
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), | ||
var isArrayImpl = Array.isArray; | ||
function noop() {} | ||
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), | ||
REACT_PORTAL_TYPE = Symbol.for("react.portal"), | ||
@@ -91,3 +92,2 @@ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), | ||
} | ||
function noop() {} | ||
function resolveThenable(thenable) { | ||
@@ -345,2 +345,6 @@ switch (thenable.status) { | ||
}; | ||
exports.cacheSignal = function () { | ||
var dispatcher = ReactSharedInternals.A; | ||
return dispatcher ? dispatcher.cacheSignal() : null; | ||
}; | ||
exports.captureOwnerStack = function () { | ||
@@ -432,2 +436,2 @@ return null; | ||
}; | ||
exports.version = "19.2.0-canary-63779030-20250328"; | ||
exports.version = "19.2.0-canary-65c4decb-20250630"; |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "19.2.0-canary-63779030-20250328", | ||
"version": "19.2.0-canary-65c4decb-20250630", | ||
"homepage": "https://react.dev/", | ||
@@ -10,0 +10,0 @@ "bugs": "https://github.com/facebook/react/issues", |
167636
0.54%4783
0.46%