🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

react

Package Overview
Dependencies
Maintainers
2
Versions
2306
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react - npm Package Compare versions

Comparing version

to
0.0.0-experimental-c498bfce-20250426

37

cjs/react-jsx-dev-runtime.development.js

@@ -24,4 +24,2 @@ /**

return "Fragment";
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_PROFILER_TYPE:

@@ -35,2 +33,4 @@ return "Profiler";

return "SuspenseList";
case REACT_ACTIVITY_TYPE:
return "Activity";
case REACT_VIEW_TRANSITION_TYPE:

@@ -47,2 +47,4 @@ return "ViewTransition";

) {
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:

@@ -121,2 +123,5 @@ return (type.displayName || "Context") + ".Provider";

}
function UnknownOwner() {
return Error("react-stack-top-frame");
}
function hasValidKey(config) {

@@ -302,2 +307,3 @@ if (hasOwnProperty.call(config, "key")) {

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),

@@ -308,11 +314,20 @@ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),

hasOwnProperty = Object.prototype.hasOwnProperty,
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var createTask = console.createTask
isArrayImpl = Array.isArray,
createTask = console.createTask
? console.createTask
: function () {
return null;
},
specialPropKeyWarningShown;
};
React = {
"react-stack-bottom-frame": function (callStackForError) {
return callStackForError();
}
};
var specialPropKeyWarningShown;
var didWarnAboutElementRef = {};
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
React,
UnknownOwner
)();
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
var didWarnAboutKeySpread = {};

@@ -328,2 +343,4 @@ exports.Fragment = REACT_FRAGMENT_TYPE;

) {
var trackActualOwner =
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -336,6 +353,8 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
})();

@@ -24,4 +24,2 @@ /**

return "Fragment";
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_PROFILER_TYPE:

@@ -35,2 +33,4 @@ return "Profiler";

return "SuspenseList";
case REACT_ACTIVITY_TYPE:
return "Activity";
case REACT_VIEW_TRANSITION_TYPE:

@@ -47,2 +47,4 @@ return "ViewTransition";

) {
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:

@@ -121,2 +123,5 @@ return (type.displayName || "Context") + ".Provider";

}
function UnknownOwner() {
return Error("react-stack-top-frame");
}
function hasValidKey(config) {

@@ -302,2 +307,3 @@ if (hasOwnProperty.call(config, "key")) {

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),

@@ -312,14 +318,25 @@ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),

var hasOwnProperty = Object.prototype.hasOwnProperty,
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var createTask = console.createTask
isArrayImpl = Array.isArray,
createTask = console.createTask
? console.createTask
: function () {
return null;
},
specialPropKeyWarningShown;
};
React = {
"react-stack-bottom-frame": function (callStackForError) {
return callStackForError();
}
};
var specialPropKeyWarningShown;
var didWarnAboutElementRef = {};
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
React,
UnknownOwner
)();
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
var didWarnAboutKeySpread = {};
exports.Fragment = REACT_FRAGMENT_TYPE;
exports.jsx = function (type, config, maybeKey, source, self) {
var trackActualOwner =
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -332,4 +349,6 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);

@@ -345,2 +364,4 @@ };

) {
var trackActualOwner =
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -353,7 +374,11 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
exports.jsxs = function (type, config, maybeKey, source, self) {
var trackActualOwner =
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -366,6 +391,8 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
})();

@@ -24,4 +24,2 @@ /**

return "Fragment";
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_PROFILER_TYPE:

@@ -35,2 +33,4 @@ return "Profiler";

return "SuspenseList";
case REACT_ACTIVITY_TYPE:
return "Activity";
case REACT_VIEW_TRANSITION_TYPE:

@@ -47,2 +47,4 @@ return "ViewTransition";

) {
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:

@@ -121,2 +123,5 @@ return (type.displayName || "Context") + ".Provider";

}
function UnknownOwner() {
return Error("react-stack-top-frame");
}
function hasValidKey(config) {

@@ -302,2 +307,3 @@ if (hasOwnProperty.call(config, "key")) {

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),

@@ -308,14 +314,25 @@ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),

hasOwnProperty = Object.prototype.hasOwnProperty,
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var createTask = console.createTask
isArrayImpl = Array.isArray,
createTask = console.createTask
? console.createTask
: function () {
return null;
},
specialPropKeyWarningShown;
};
React = {
"react-stack-bottom-frame": function (callStackForError) {
return callStackForError();
}
};
var specialPropKeyWarningShown;
var didWarnAboutElementRef = {};
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
React,
UnknownOwner
)();
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
var didWarnAboutKeySpread = {};
exports.Fragment = REACT_FRAGMENT_TYPE;
exports.jsx = function (type, config, maybeKey, source, self) {
var trackActualOwner =
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -328,7 +345,11 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
exports.jsxs = function (type, config, maybeKey, source, self) {
var trackActualOwner =
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -341,6 +362,8 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
})();

@@ -24,4 +24,2 @@ /**

return "Fragment";
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_PROFILER_TYPE:

@@ -35,2 +33,4 @@ return "Profiler";

return "SuspenseList";
case REACT_ACTIVITY_TYPE:
return "Activity";
case REACT_VIEW_TRANSITION_TYPE:

@@ -47,2 +47,4 @@ return "ViewTransition";

) {
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:

@@ -121,2 +123,5 @@ return (type.displayName || "Context") + ".Provider";

}
function UnknownOwner() {
return Error("react-stack-top-frame");
}
function hasValidKey(config) {

@@ -302,2 +307,3 @@ if (hasOwnProperty.call(config, "key")) {

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),

@@ -312,14 +318,25 @@ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),

var hasOwnProperty = Object.prototype.hasOwnProperty,
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var createTask = console.createTask
isArrayImpl = Array.isArray,
createTask = console.createTask
? console.createTask
: function () {
return null;
},
specialPropKeyWarningShown;
};
React = {
"react-stack-bottom-frame": function (callStackForError) {
return callStackForError();
}
};
var specialPropKeyWarningShown;
var didWarnAboutElementRef = {};
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
React,
UnknownOwner
)();
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
var didWarnAboutKeySpread = {};
exports.Fragment = REACT_FRAGMENT_TYPE;
exports.jsx = function (type, config, maybeKey, source, self) {
var trackActualOwner =
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -332,4 +349,6 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);

@@ -345,2 +364,4 @@ };

) {
var trackActualOwner =
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -353,7 +374,11 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
exports.jsxs = function (type, config, maybeKey, source, self) {
var trackActualOwner =
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
return jsxDEVImpl(

@@ -366,6 +391,8 @@ type,

self,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
trackActualOwner
? Error("react-stack-top-frame")
: unknownOwnerDebugStack,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
})();

@@ -90,3 +90,3 @@ /**

if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE$1
return type.$$typeof === REACT_CLIENT_REFERENCE
? null

@@ -98,4 +98,2 @@ : type.displayName || type.name || null;

return "Fragment";
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_PROFILER_TYPE:

@@ -109,2 +107,4 @@ return "Profiler";

return "SuspenseList";
case REACT_ACTIVITY_TYPE:
return "Activity";
case REACT_VIEW_TRANSITION_TYPE:

@@ -121,2 +121,4 @@ return "ViewTransition";

) {
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:

@@ -168,2 +170,5 @@ return (type.displayName || "Context") + ".Provider";

}
function UnknownOwner() {
return Error("react-stack-top-frame");
}
function hasValidKey(config) {

@@ -264,3 +269,4 @@ if (hasOwnProperty.call(config, "key")) {

);
newKey._store.validated = oldElement._store.validated;
oldElement._store &&
(newKey._store.validated = oldElement._store.validated);
return newKey;

@@ -506,3 +512,61 @@ }

}
function releaseAsyncTransition() {
ReactSharedInternals.asyncTransitions--;
}
function startTransition(scope) {
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
currentTransition.types =
null !== prevTransition ? prevTransition.types : null;
currentTransition.gesture = null;
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
try {
var returnValue = scope(),
onStartTransitionFinish = ReactSharedInternals.S;
null !== onStartTransitionFinish &&
onStartTransitionFinish(currentTransition, returnValue);
"object" === typeof returnValue &&
null !== returnValue &&
"function" === typeof returnValue.then &&
(ReactSharedInternals.asyncTransitions++,
returnValue.then(releaseAsyncTransition, releaseAsyncTransition),
returnValue.then(noop, reportGlobalError));
} catch (error) {
reportGlobalError(error);
} finally {
null === prevTransition &&
currentTransition._updatedFibers &&
((scope = currentTransition._updatedFibers.size),
currentTransition._updatedFibers.clear(),
10 < scope &&
console.warn(
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
)),
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);
}
}
function noop() {}
function addTransitionType(type) {
var transition = ReactSharedInternals.T;
if (null !== transition) {
var transitionTypes = transition.types;
null === transitionTypes
? (transition.types = [type])
: -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);
} else
0 === ReactSharedInternals.asyncTransitions &&
console.error(
"addTransitionType can only be called inside a `startTransition()` or `startGestureTransition()` callback. It must be associated with a specific Transition."
),
startTransition(addTransitionType.bind(null, type));
}
function enqueueTask(task) {

@@ -608,3 +672,3 @@ if (null === enqueueTaskImpl)

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),

@@ -666,3 +730,3 @@ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),

var isArrayImpl = Array.isArray,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
ReactSharedInternals = {

@@ -673,4 +737,5 @@ H: null,

S: null,
V: null,
G: null,
actQueue: null,
asyncTransitions: 0,
isBatchingLegacy: !1,

@@ -680,15 +745,22 @@ didScheduleLegacyUpdate: !1,

thrownErrors: [],
getCurrentStack: null
getCurrentStack: null,
recentlyCreatedOwnerStacks: 0
},
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
new ("function" === typeof WeakMap ? WeakMap : Map)();
var createTask = console.createTask
createTask = console.createTask
? console.createTask
: function () {
return null;
},
specialPropKeyWarningShown,
didWarnAboutOldJSXRuntime;
};
deprecatedAPIs = {
"react-stack-bottom-frame": function (callStackForError) {
return callStackForError();
}
};
var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
var didWarnAboutElementRef = {};
var unknownOwnerDebugStack = deprecatedAPIs[
"react-stack-bottom-frame"
].bind(deprecatedAPIs, UnknownOwner)();
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
var didWarnAboutMaps = !1,

@@ -989,3 +1061,2 @@ userProvidedKeyEscapeRegex = /\/+/g,

}
var propName;
i = {};

@@ -1031,2 +1102,3 @@ node = null;

);
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return ReactElement(

@@ -1039,4 +1111,4 @@ type,

i,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);

@@ -1058,3 +1130,2 @@ };

};
exports.experimental_useResourceEffect = void 0;
exports.forwardRef = function (render) {

@@ -1110,20 +1181,3 @@ null != render && render.$$typeof === REACT_MEMO_TYPE

exports.memo = function (type, compare) {
"string" === typeof type ||
"function" === typeof type ||
type === REACT_FRAGMENT_TYPE ||
type === REACT_PROFILER_TYPE ||
type === REACT_STRICT_MODE_TYPE ||
type === REACT_SUSPENSE_TYPE ||
type === REACT_SUSPENSE_LIST_TYPE ||
type === REACT_OFFSCREEN_TYPE ||
type === REACT_VIEW_TRANSITION_TYPE ||
("object" === typeof type &&
null !== type &&
(type.$$typeof === REACT_LAZY_TYPE ||
type.$$typeof === REACT_MEMO_TYPE ||
type.$$typeof === REACT_CONTEXT_TYPE ||
type.$$typeof === REACT_CONSUMER_TYPE ||
type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE ||
void 0 !== type.getModuleId)) ||
null == type &&
console.error(

@@ -1155,40 +1209,7 @@ "memo: The first argument must be a component. Instead received: %s",

};
exports.startTransition = function (scope) {
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
ReactSharedInternals.T = currentTransition;
currentTransition._updatedFibers = new Set();
try {
var returnValue = scope(),
onStartTransitionFinish = ReactSharedInternals.S;
null !== onStartTransitionFinish &&
onStartTransitionFinish(currentTransition, returnValue);
"object" === typeof returnValue &&
null !== returnValue &&
"function" === typeof returnValue.then &&
returnValue.then(noop, reportGlobalError);
} catch (error) {
reportGlobalError(error);
} finally {
null === prevTransition &&
currentTransition._updatedFibers &&
((scope = currentTransition._updatedFibers.size),
currentTransition._updatedFibers.clear(),
10 < scope &&
console.warn(
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
)),
(ReactSharedInternals.T = prevTransition);
}
};
exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
exports.startTransition = startTransition;
exports.unstable_Activity = REACT_ACTIVITY_TYPE;
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
exports.unstable_addTransitionType = function (type) {
var pendingTransitionTypes = ReactSharedInternals.V;
null === pendingTransitionTypes
? (ReactSharedInternals.V = [type])
: -1 === pendingTransitionTypes.indexOf(type) &&
pendingTransitionTypes.push(type);
};
exports.unstable_addTransitionType = addTransitionType;
exports.unstable_getCacheForType = function (resourceType) {

@@ -1205,2 +1226,38 @@ var dispatcher = ReactSharedInternals.A;

};
exports.unstable_startGestureTransition = function (
provider,
scope,
options
) {
if (null == provider)
throw Error(
"A Timeline is required as the first argument to startGestureTransition."
);
var prevTransition = ReactSharedInternals.T,
currentTransition = { types: null };
currentTransition.gesture = provider;
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
try {
var returnValue = scope();
"object" === typeof returnValue &&
null !== returnValue &&
"function" === typeof returnValue.then &&
console.error(
"Cannot use an async function in startGestureTransition. It must be able to start immediately."
);
var onStartGestureTransitionFinish = ReactSharedInternals.G;
if (null !== onStartGestureTransitionFinish)
return onStartGestureTransitionFinish(
currentTransition,
provider,
options
);
} catch (error) {
reportGlobalError(error);
} finally {
ReactSharedInternals.T = prevTransition;
}
return function () {};
};
exports.unstable_useCacheRefresh = function () {

@@ -1237,2 +1294,6 @@ return resolveDispatcher().useCacheRefresh();

exports.useEffect = function (create, deps) {
null == create &&
console.warn(
"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
);
return resolveDispatcher().useEffect(create, deps);

@@ -1247,5 +1308,13 @@ };

exports.useInsertionEffect = function (create, deps) {
null == create &&
console.warn(
"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
);
return resolveDispatcher().useInsertionEffect(create, deps);
};
exports.useLayoutEffect = function (create, deps) {
null == create &&
console.warn(
"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
);
return resolveDispatcher().useLayoutEffect(create, deps);

@@ -1280,3 +1349,3 @@ };

};
exports.version = "19.1.0-experimental-c492f975-20250128";
exports.version = "19.2.0-experimental-c498bfce-20250426";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&

@@ -1283,0 +1352,0 @@ "function" ===

@@ -24,3 +24,3 @@ /**

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),

@@ -80,3 +80,3 @@ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),

var isArrayImpl = Array.isArray,
ReactSharedInternals = { H: null, A: null, T: null, S: null, V: null },
ReactSharedInternals = { H: null, A: null, T: null, S: null, G: null },
hasOwnProperty = Object.prototype.hasOwnProperty;

@@ -327,3 +327,37 @@ function ReactElement(type, key, self, source, owner, props) {

};
function startTransition(scope) {
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
currentTransition.types =
null !== prevTransition ? prevTransition.types : null;
currentTransition.gesture = null;
ReactSharedInternals.T = currentTransition;
try {
var returnValue = scope(),
onStartTransitionFinish = ReactSharedInternals.S;
null !== onStartTransitionFinish &&
onStartTransitionFinish(currentTransition, returnValue);
"object" === typeof returnValue &&
null !== returnValue &&
"function" === typeof returnValue.then &&
returnValue.then(noop, reportGlobalError);
} catch (error) {
reportGlobalError(error);
} finally {
null !== prevTransition &&
null !== currentTransition.types &&
(prevTransition.types = currentTransition.types),
(ReactSharedInternals.T = prevTransition);
}
}
function noop() {}
function addTransitionType(type) {
var transition = ReactSharedInternals.T;
if (null !== transition) {
var transitionTypes = transition.types;
null === transitionTypes
? (transition.types = [type])
: -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);
} else startTransition(addTransitionType.bind(null, type));
}
exports.Children = {

@@ -376,5 +410,2 @@ map: mapChildren,

};
exports.act = function () {
throw Error("act(...) is not supported in production builds of React.");
};
exports.cache = function (fn) {

@@ -385,5 +416,2 @@ return function () {

};
exports.captureOwnerStack = function () {
return null;
};
exports.cloneElement = function (element, config, children) {

@@ -465,3 +493,2 @@ if (null === element || void 0 === element)

};
exports.experimental_useResourceEffect = void 0;
exports.forwardRef = function (render) {

@@ -485,31 +512,7 @@ return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };

};
exports.startTransition = function (scope) {
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
ReactSharedInternals.T = currentTransition;
try {
var returnValue = scope(),
onStartTransitionFinish = ReactSharedInternals.S;
null !== onStartTransitionFinish &&
onStartTransitionFinish(currentTransition, returnValue);
"object" === typeof returnValue &&
null !== returnValue &&
"function" === typeof returnValue.then &&
returnValue.then(noop, reportGlobalError);
} catch (error) {
reportGlobalError(error);
} finally {
ReactSharedInternals.T = prevTransition;
}
};
exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
exports.startTransition = startTransition;
exports.unstable_Activity = REACT_ACTIVITY_TYPE;
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
exports.unstable_addTransitionType = function (type) {
var pendingTransitionTypes = ReactSharedInternals.V;
null === pendingTransitionTypes
? (ReactSharedInternals.V = [type])
: -1 === pendingTransitionTypes.indexOf(type) &&
pendingTransitionTypes.push(type);
};
exports.unstable_addTransitionType = addTransitionType;
exports.unstable_getCacheForType = function (resourceType) {

@@ -524,2 +527,27 @@ var dispatcher = ReactSharedInternals.A;

};
exports.unstable_startGestureTransition = function (provider, scope, options) {
if (null == provider)
throw Error(
"A Timeline is required as the first argument to startGestureTransition."
);
var prevTransition = ReactSharedInternals.T,
currentTransition = { types: null };
currentTransition.gesture = provider;
ReactSharedInternals.T = currentTransition;
try {
scope();
var onStartGestureTransitionFinish = ReactSharedInternals.G;
if (null !== onStartGestureTransitionFinish)
return onStartGestureTransitionFinish(
currentTransition,
provider,
options
);
} catch (error) {
reportGlobalError(error);
} finally {
ReactSharedInternals.T = prevTransition;
}
return function () {};
};
exports.unstable_useCacheRefresh = function () {

@@ -586,2 +614,2 @@ return ReactSharedInternals.H.useCacheRefresh();

};
exports.version = "19.1.0-experimental-c492f975-20250128";
exports.version = "19.2.0-experimental-c498bfce-20250426";

@@ -52,3 +52,3 @@ /**

if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE$1
return type.$$typeof === REACT_CLIENT_REFERENCE
? null

@@ -60,4 +60,2 @@ : type.displayName || type.name || null;

return "Fragment";
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_PROFILER_TYPE:

@@ -71,2 +69,4 @@ return "Profiler";

return "SuspenseList";
case REACT_ACTIVITY_TYPE:
return "Activity";
case REACT_VIEW_TRANSITION_TYPE:

@@ -83,2 +83,4 @@ return "ViewTransition";

) {
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:

@@ -130,2 +132,5 @@ return (type.displayName || "Context") + ".Provider";

}
function UnknownOwner() {
return Error("react-stack-top-frame");
}
function hasValidKey(config) {

@@ -226,3 +231,4 @@ if (hasOwnProperty.call(config, "key")) {

);
newKey._store.validated = oldElement._store.validated;
oldElement._store &&
(newKey._store.validated = oldElement._store.validated);
return newKey;

@@ -471,2 +477,5 @@ }

}
function releaseAsyncTransition() {
ReactSharedInternals.asyncTransitions--;
}
function noop() {}

@@ -495,2 +504,3 @@ function cleanup(entryValue) {

ReactSharedInternals.getCurrentStack = null;
ReactSharedInternals.recentlyCreatedOwnerStacks = 0;
var isArrayImpl = Array.isArray,

@@ -510,19 +520,25 @@ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
assign = Object.assign,
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
new ("function" === typeof WeakMap ? WeakMap : Map)();
var createTask = console.createTask
createTask = console.createTask
? console.createTask
: function () {
return null;
},
specialPropKeyWarningShown,
didWarnAboutOldJSXRuntime;
};
TaintRegistryObjects$1 = {
"react-stack-bottom-frame": function (callStackForError) {
return callStackForError();
}
};
var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
var didWarnAboutElementRef = {};
var unknownOwnerDebugStack = TaintRegistryObjects$1[
"react-stack-bottom-frame"
].bind(TaintRegistryObjects$1, UnknownOwner)();
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
var didWarnAboutMaps = !1,

@@ -724,3 +740,2 @@ userProvidedKeyEscapeRegex = /\/+/g,

}
var propName;
i = {};

@@ -766,2 +781,3 @@ node = null;

);
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
return ReactElement(

@@ -774,4 +790,4 @@ type,

i,
Error("react-stack-top-frame"),
createTask(getTaskName(type))
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);

@@ -895,20 +911,3 @@ };

exports.memo = function (type, compare) {
"string" === typeof type ||
"function" === typeof type ||
type === REACT_FRAGMENT_TYPE ||
type === REACT_PROFILER_TYPE ||
type === REACT_STRICT_MODE_TYPE ||
type === REACT_SUSPENSE_TYPE ||
type === REACT_SUSPENSE_LIST_TYPE ||
type === REACT_OFFSCREEN_TYPE ||
type === REACT_VIEW_TRANSITION_TYPE ||
("object" === typeof type &&
null !== type &&
(type.$$typeof === REACT_LAZY_TYPE ||
type.$$typeof === REACT_MEMO_TYPE ||
type.$$typeof === REACT_CONTEXT_TYPE ||
type.$$typeof === REACT_CONSUMER_TYPE ||
type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE ||
void 0 !== type.getModuleId)) ||
null == type &&
console.error(

@@ -943,4 +942,7 @@ "memo: The first argument must be a component. Instead received: %s",

currentTransition = {};
currentTransition.types =
null !== prevTransition ? prevTransition.types : null;
currentTransition.gesture = null;
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
currentTransition._updatedFibers = new Set();
try {

@@ -954,3 +956,5 @@ var returnValue = scope(),

"function" === typeof returnValue.then &&
returnValue.then(noop, reportGlobalError);
(ReactSharedInternals.asyncTransitions++,
returnValue.then(releaseAsyncTransition, releaseAsyncTransition),
returnValue.then(noop, reportGlobalError));
} catch (error) {

@@ -967,2 +971,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);

@@ -987,9 +999,2 @@ }

};
exports.useActionState = function (action, initialState, permalink) {
return resolveDispatcher().useActionState(
action,
initialState,
permalink
);
};
exports.useCallback = function (callback, deps) {

@@ -1007,3 +1012,3 @@ return resolveDispatcher().useCallback(callback, deps);

};
exports.version = "19.1.0-experimental-c492f975-20250128";
exports.version = "19.2.0-experimental-c498bfce-20250426";
})();

@@ -50,2 +50,3 @@ /**

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),

@@ -408,5 +409,2 @@ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),

};
exports.captureOwnerStack = function () {
return null;
};
exports.cloneElement = function (element, config, children) {

@@ -529,2 +527,5 @@ if (null === element || void 0 === element)

currentTransition = {};
currentTransition.types =
null !== prevTransition ? prevTransition.types : null;
currentTransition.gesture = null;
ReactSharedInternals.T = currentTransition;

@@ -543,5 +544,9 @@ try {

} finally {
ReactSharedInternals.T = prevTransition;
null !== prevTransition &&
null !== currentTransition.types &&
(prevTransition.types = currentTransition.types),
(ReactSharedInternals.T = prevTransition);
}
};
exports.unstable_Activity = REACT_ACTIVITY_TYPE;
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;

@@ -561,5 +566,2 @@ exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;

};
exports.useActionState = function (action, initialState, permalink) {
return ReactSharedInternals.H.useActionState(action, initialState, permalink);
};
exports.useCallback = function (callback, deps) {

@@ -575,2 +577,2 @@ return ReactSharedInternals.H.useCallback(callback, deps);

};
exports.version = "19.1.0-experimental-c492f975-20250128";
exports.version = "19.2.0-experimental-c498bfce-20250426";

@@ -7,3 +7,3 @@ {

],
"version": "0.0.0-experimental-c492f975-20250128",
"version": "0.0.0-experimental-c498bfce-20250426",
"homepage": "https://react.dev/",

@@ -10,0 +10,0 @@ "bugs": "https://github.com/facebook/react/issues",