Comparing version 0.0.0-experimental-04bd67a4-20240924 to 0.0.0-experimental-056073de-20250109
@@ -34,2 +34,4 @@ /** | ||
return "SuspenseList"; | ||
case REACT_VIEW_TRANSITION_TYPE: | ||
return "ViewTransition"; | ||
} | ||
@@ -117,9 +119,2 @@ if ("object" === typeof type) | ||
} | ||
function hasValidRef(config) { | ||
if (hasOwnProperty.call(config, "ref")) { | ||
var getter = Object.getOwnPropertyDescriptor(config, "ref").get; | ||
if (getter && getter.isReactWarning) return !1; | ||
} | ||
return void 0 !== config.ref; | ||
} | ||
function hasValidKey(config) { | ||
@@ -160,3 +155,2 @@ if (hasOwnProperty.call(config, "key")) { | ||
key, | ||
_ref, | ||
self, | ||
@@ -169,3 +163,3 @@ source, | ||
) { | ||
_ref = props.ref; | ||
self = props.ref; | ||
type = { | ||
@@ -178,3 +172,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
}; | ||
null !== (void 0 !== _ref ? _ref : null) | ||
null !== (void 0 !== self ? self : null) | ||
? Object.defineProperty(type, "ref", { | ||
@@ -265,3 +259,2 @@ enumerable: !1, | ||
(checkKeyStringCoercion(config.key), (children = "" + config.key)); | ||
hasValidRef(config); | ||
if ("key" in config) { | ||
@@ -273,11 +266,11 @@ maybeKey = {}; | ||
children && | ||
((config = | ||
defineKeyPropWarningGetter( | ||
maybeKey, | ||
"function" === typeof type | ||
? type.displayName || type.name || "Unknown" | ||
: type), | ||
children && defineKeyPropWarningGetter(maybeKey, config)); | ||
: type | ||
); | ||
return ReactElement( | ||
type, | ||
children, | ||
null, | ||
self, | ||
@@ -312,2 +305,3 @@ source, | ||
REACT_LAZY_TYPE = Symbol.for("react.lazy"), | ||
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), | ||
@@ -314,0 +308,0 @@ ReactSharedInternals = |
@@ -34,2 +34,4 @@ /** | ||
return "SuspenseList"; | ||
case REACT_VIEW_TRANSITION_TYPE: | ||
return "ViewTransition"; | ||
} | ||
@@ -117,9 +119,2 @@ if ("object" === typeof type) | ||
} | ||
function hasValidRef(config) { | ||
if (hasOwnProperty.call(config, "ref")) { | ||
var getter = Object.getOwnPropertyDescriptor(config, "ref").get; | ||
if (getter && getter.isReactWarning) return !1; | ||
} | ||
return void 0 !== config.ref; | ||
} | ||
function hasValidKey(config) { | ||
@@ -160,3 +155,2 @@ if (hasOwnProperty.call(config, "key")) { | ||
key, | ||
_ref, | ||
self, | ||
@@ -169,3 +163,3 @@ source, | ||
) { | ||
_ref = props.ref; | ||
self = props.ref; | ||
type = { | ||
@@ -178,3 +172,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
}; | ||
null !== (void 0 !== _ref ? _ref : null) | ||
null !== (void 0 !== self ? self : null) | ||
? Object.defineProperty(type, "ref", { | ||
@@ -265,3 +259,2 @@ enumerable: !1, | ||
(checkKeyStringCoercion(config.key), (children = "" + config.key)); | ||
hasValidRef(config); | ||
if ("key" in config) { | ||
@@ -273,11 +266,11 @@ maybeKey = {}; | ||
children && | ||
((config = | ||
defineKeyPropWarningGetter( | ||
maybeKey, | ||
"function" === typeof type | ||
? type.displayName || type.name || "Unknown" | ||
: type), | ||
children && defineKeyPropWarningGetter(maybeKey, config)); | ||
: type | ||
); | ||
return ReactElement( | ||
type, | ||
children, | ||
null, | ||
self, | ||
@@ -312,2 +305,3 @@ source, | ||
REACT_LAZY_TYPE = Symbol.for("react.lazy"), | ||
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), | ||
@@ -314,0 +308,0 @@ ReactSharedInternalsServer = |
@@ -34,2 +34,4 @@ /** | ||
return "SuspenseList"; | ||
case REACT_VIEW_TRANSITION_TYPE: | ||
return "ViewTransition"; | ||
} | ||
@@ -117,9 +119,2 @@ if ("object" === typeof type) | ||
} | ||
function hasValidRef(config) { | ||
if (hasOwnProperty.call(config, "ref")) { | ||
var getter = Object.getOwnPropertyDescriptor(config, "ref").get; | ||
if (getter && getter.isReactWarning) return !1; | ||
} | ||
return void 0 !== config.ref; | ||
} | ||
function hasValidKey(config) { | ||
@@ -160,3 +155,2 @@ if (hasOwnProperty.call(config, "key")) { | ||
key, | ||
_ref, | ||
self, | ||
@@ -169,3 +163,3 @@ source, | ||
) { | ||
_ref = props.ref; | ||
self = props.ref; | ||
type = { | ||
@@ -178,3 +172,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
}; | ||
null !== (void 0 !== _ref ? _ref : null) | ||
null !== (void 0 !== self ? self : null) | ||
? Object.defineProperty(type, "ref", { | ||
@@ -265,3 +259,2 @@ enumerable: !1, | ||
(checkKeyStringCoercion(config.key), (children = "" + config.key)); | ||
hasValidRef(config); | ||
if ("key" in config) { | ||
@@ -273,11 +266,11 @@ maybeKey = {}; | ||
children && | ||
((config = | ||
defineKeyPropWarningGetter( | ||
maybeKey, | ||
"function" === typeof type | ||
? type.displayName || type.name || "Unknown" | ||
: type), | ||
children && defineKeyPropWarningGetter(maybeKey, config)); | ||
: type | ||
); | ||
return ReactElement( | ||
type, | ||
children, | ||
null, | ||
self, | ||
@@ -312,2 +305,3 @@ source, | ||
REACT_LAZY_TYPE = Symbol.for("react.lazy"), | ||
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), | ||
@@ -314,0 +308,0 @@ ReactSharedInternals = |
@@ -34,2 +34,4 @@ /** | ||
return "SuspenseList"; | ||
case REACT_VIEW_TRANSITION_TYPE: | ||
return "ViewTransition"; | ||
} | ||
@@ -117,9 +119,2 @@ if ("object" === typeof type) | ||
} | ||
function hasValidRef(config) { | ||
if (hasOwnProperty.call(config, "ref")) { | ||
var getter = Object.getOwnPropertyDescriptor(config, "ref").get; | ||
if (getter && getter.isReactWarning) return !1; | ||
} | ||
return void 0 !== config.ref; | ||
} | ||
function hasValidKey(config) { | ||
@@ -160,3 +155,2 @@ if (hasOwnProperty.call(config, "key")) { | ||
key, | ||
_ref, | ||
self, | ||
@@ -169,3 +163,3 @@ source, | ||
) { | ||
_ref = props.ref; | ||
self = props.ref; | ||
type = { | ||
@@ -178,3 +172,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
}; | ||
null !== (void 0 !== _ref ? _ref : null) | ||
null !== (void 0 !== self ? self : null) | ||
? Object.defineProperty(type, "ref", { | ||
@@ -265,3 +259,2 @@ enumerable: !1, | ||
(checkKeyStringCoercion(config.key), (children = "" + config.key)); | ||
hasValidRef(config); | ||
if ("key" in config) { | ||
@@ -273,11 +266,11 @@ maybeKey = {}; | ||
children && | ||
((config = | ||
defineKeyPropWarningGetter( | ||
maybeKey, | ||
"function" === typeof type | ||
? type.displayName || type.name || "Unknown" | ||
: type), | ||
children && defineKeyPropWarningGetter(maybeKey, config)); | ||
: type | ||
); | ||
return ReactElement( | ||
type, | ||
children, | ||
null, | ||
self, | ||
@@ -312,2 +305,3 @@ source, | ||
REACT_LAZY_TYPE = Symbol.for("react.lazy"), | ||
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), | ||
@@ -314,0 +308,0 @@ ReactSharedInternalsServer = |
@@ -107,2 +107,4 @@ /** | ||
return "SuspenseList"; | ||
case REACT_VIEW_TRANSITION_TYPE: | ||
return "ViewTransition"; | ||
} | ||
@@ -163,9 +165,2 @@ if ("object" === typeof type) | ||
} | ||
function hasValidRef(config) { | ||
if (hasOwnProperty.call(config, "ref")) { | ||
var getter = Object.getOwnPropertyDescriptor(config, "ref").get; | ||
if (getter && getter.isReactWarning) return !1; | ||
} | ||
return void 0 !== config.ref; | ||
} | ||
function hasValidKey(config) { | ||
@@ -206,3 +201,2 @@ if (hasOwnProperty.call(config, "key")) { | ||
key, | ||
_ref, | ||
self, | ||
@@ -215,3 +209,3 @@ source, | ||
) { | ||
_ref = props.ref; | ||
self = props.ref; | ||
type = { | ||
@@ -224,3 +218,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
}; | ||
null !== (void 0 !== _ref ? _ref : null) | ||
null !== (void 0 !== self ? self : null) | ||
? Object.defineProperty(type, "ref", { | ||
@@ -263,3 +257,2 @@ enumerable: !1, | ||
newKey, | ||
null, | ||
void 0, | ||
@@ -614,5 +607,5 @@ void 0, | ||
REACT_LAZY_TYPE = Symbol.for("react.lazy"), | ||
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), | ||
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), | ||
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"), | ||
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
MAYBE_ITERATOR_SYMBOL = Symbol.iterator, | ||
@@ -781,2 +774,7 @@ didWarnStateUpdateForUnmountedComponent = {}, | ||
ReactSharedInternals; | ||
exports.__COMPILER_RUNTIME = { | ||
c: function (size) { | ||
return resolveDispatcher().useMemoCache(size); | ||
} | ||
}; | ||
exports.act = function (callback) { | ||
@@ -912,7 +910,22 @@ var prevActQueue = ReactSharedInternals.actQueue, | ||
owner = element._owner; | ||
if (null != config) | ||
for (propName in (hasValidRef(config) && (owner = getOwner()), | ||
if (null != config) { | ||
var JSCompiler_inline_result; | ||
a: { | ||
if ( | ||
hasOwnProperty.call(config, "ref") && | ||
(JSCompiler_inline_result = Object.getOwnPropertyDescriptor( | ||
config, | ||
"ref" | ||
).get) && | ||
JSCompiler_inline_result.isReactWarning | ||
) { | ||
JSCompiler_inline_result = !1; | ||
break a; | ||
} | ||
JSCompiler_inline_result = void 0 !== config.ref; | ||
} | ||
JSCompiler_inline_result && (owner = getOwner()); | ||
hasValidKey(config) && | ||
(checkKeyStringCoercion(config.key), (key = "" + config.key)), | ||
config)) | ||
(checkKeyStringCoercion(config.key), (key = "" + config.key)); | ||
for (propName in config) | ||
!hasOwnProperty.call(config, propName) || | ||
@@ -924,8 +937,10 @@ "key" === propName || | ||
(props[propName] = config[propName]); | ||
} | ||
var propName = arguments.length - 2; | ||
if (1 === propName) props.children = children; | ||
else if (1 < propName) { | ||
for (var childArray = Array(propName), i = 0; i < propName; i++) | ||
childArray[i] = arguments[i + 2]; | ||
props.children = childArray; | ||
JSCompiler_inline_result = Array(propName); | ||
for (var i = 0; i < propName; i++) | ||
JSCompiler_inline_result[i] = arguments[i + 2]; | ||
props.children = JSCompiler_inline_result; | ||
} | ||
@@ -935,3 +950,2 @@ props = ReactElement( | ||
key, | ||
null, | ||
void 0, | ||
@@ -972,2 +986,3 @@ void 0, | ||
} | ||
var propName; | ||
i = {}; | ||
@@ -983,3 +998,2 @@ node = null; | ||
)), | ||
hasValidRef(config), | ||
hasValidKey(config) && | ||
@@ -1008,13 +1022,12 @@ (checkKeyStringCoercion(config.key), (node = "" + config.key)), | ||
void 0 === i[propName] && (i[propName] = childrenLength[propName]); | ||
if (node) { | ||
var propName = | ||
node && | ||
defineKeyPropWarningGetter( | ||
i, | ||
"function" === typeof type | ||
? type.displayName || type.name || "Unknown" | ||
: type; | ||
node && defineKeyPropWarningGetter(i, propName); | ||
} | ||
: type | ||
); | ||
return ReactElement( | ||
type, | ||
node, | ||
null, | ||
void 0, | ||
@@ -1042,2 +1055,3 @@ void 0, | ||
}; | ||
exports.experimental_useResourceEffect = void 0; | ||
exports.forwardRef = function (render) { | ||
@@ -1101,2 +1115,3 @@ null != render && render.$$typeof === REACT_MEMO_TYPE | ||
type === REACT_OFFSCREEN_TYPE || | ||
type === REACT_VIEW_TRANSITION_TYPE || | ||
("object" === typeof type && | ||
@@ -1166,4 +1181,4 @@ null !== type && | ||
exports.unstable_Activity = REACT_OFFSCREEN_TYPE; | ||
exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE; | ||
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; | ||
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE; | ||
exports.unstable_getCacheForType = function (resourceType) { | ||
@@ -1252,3 +1267,3 @@ var dispatcher = ReactSharedInternals.A; | ||
}; | ||
exports.version = "19.0.0-experimental-04bd67a4-20240924"; | ||
exports.version = "19.1.0-experimental-056073de-20250109"; | ||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && | ||
@@ -1255,0 +1270,0 @@ "function" === |
@@ -24,5 +24,5 @@ /** | ||
REACT_LAZY_TYPE = Symbol.for("react.lazy"), | ||
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), | ||
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), | ||
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"), | ||
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
MAYBE_ITERATOR_SYMBOL = Symbol.iterator; | ||
@@ -82,4 +82,4 @@ function getIteratorFn(maybeIterable) { | ||
hasOwnProperty = Object.prototype.hasOwnProperty; | ||
function ReactElement(type, key, _ref, self, source, owner, props) { | ||
_ref = props.ref; | ||
function ReactElement(type, key, self, source, owner, props) { | ||
self = props.ref; | ||
return { | ||
@@ -89,3 +89,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
key: key, | ||
ref: void 0 !== _ref ? _ref : null, | ||
ref: void 0 !== self ? self : null, | ||
props: props | ||
@@ -98,3 +98,2 @@ }; | ||
newKey, | ||
null, | ||
void 0, | ||
@@ -372,2 +371,7 @@ void 0, | ||
ReactSharedInternals; | ||
exports.__COMPILER_RUNTIME = { | ||
c: function (size) { | ||
return ReactSharedInternals.H.useMemoCache(size); | ||
} | ||
}; | ||
exports.act = function () { | ||
@@ -409,3 +413,3 @@ throw Error("act(...) is not supported in production builds of React."); | ||
} | ||
return ReactElement(element.type, key, null, void 0, void 0, owner, props); | ||
return ReactElement(element.type, key, void 0, void 0, owner, props); | ||
}; | ||
@@ -450,3 +454,3 @@ exports.createContext = function (defaultValue) { | ||
(props[propName] = childrenLength[propName]); | ||
return ReactElement(type, key, null, void 0, void 0, null, props); | ||
return ReactElement(type, key, void 0, void 0, null, props); | ||
}; | ||
@@ -462,2 +466,3 @@ exports.createRef = function () { | ||
}; | ||
exports.experimental_useResourceEffect = void 0; | ||
exports.forwardRef = function (render) { | ||
@@ -501,4 +506,4 @@ return { $$typeof: REACT_FORWARD_REF_TYPE, render: render }; | ||
exports.unstable_Activity = REACT_OFFSCREEN_TYPE; | ||
exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE; | ||
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; | ||
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE; | ||
exports.unstable_getCacheForType = function (resourceType) { | ||
@@ -574,2 +579,2 @@ var dispatcher = ReactSharedInternals.A; | ||
}; | ||
exports.version = "19.0.0-experimental-04bd67a4-20240924"; | ||
exports.version = "19.1.0-experimental-056073de-20250109"; |
@@ -69,2 +69,4 @@ /** | ||
return "SuspenseList"; | ||
case REACT_VIEW_TRANSITION_TYPE: | ||
return "ViewTransition"; | ||
} | ||
@@ -125,9 +127,2 @@ if ("object" === typeof type) | ||
} | ||
function hasValidRef(config) { | ||
if (hasOwnProperty.call(config, "ref")) { | ||
var getter = Object.getOwnPropertyDescriptor(config, "ref").get; | ||
if (getter && getter.isReactWarning) return !1; | ||
} | ||
return void 0 !== config.ref; | ||
} | ||
function hasValidKey(config) { | ||
@@ -168,3 +163,2 @@ if (hasOwnProperty.call(config, "key")) { | ||
key, | ||
_ref, | ||
self, | ||
@@ -177,3 +171,3 @@ source, | ||
) { | ||
_ref = props.ref; | ||
self = props.ref; | ||
type = { | ||
@@ -186,3 +180,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
}; | ||
null !== (void 0 !== _ref ? _ref : null) | ||
null !== (void 0 !== self ? self : null) | ||
? Object.defineProperty(type, "ref", { | ||
@@ -225,3 +219,2 @@ enumerable: !1, | ||
newKey, | ||
null, | ||
void 0, | ||
@@ -514,6 +507,6 @@ void 0, | ||
REACT_MEMO_TYPE = Symbol.for("react.memo"), | ||
REACT_LAZY_TYPE = Symbol.for("react.lazy"); | ||
TaintRegistryObjects$1 = Symbol.for("react.debug_trace_mode"); | ||
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), | ||
REACT_LAZY_TYPE = Symbol.for("react.lazy"), | ||
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), | ||
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"), | ||
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
MAYBE_ITERATOR_SYMBOL = Symbol.iterator, | ||
@@ -564,3 +557,3 @@ REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"), | ||
}; | ||
TaintRegistryValues$1 = Object.getPrototypeOf; | ||
TaintRegistryObjects$1 = Object.getPrototypeOf; | ||
var TaintRegistryObjects = ReactSharedInternals.TaintRegistryObjects, | ||
@@ -571,3 +564,3 @@ TaintRegistryValues = ReactSharedInternals.TaintRegistryValues, | ||
ReactSharedInternals.TaintRegistryPendingRequests, | ||
TypedArrayConstructor = TaintRegistryValues$1( | ||
TypedArrayConstructor = TaintRegistryObjects$1( | ||
Uint32Array.prototype | ||
@@ -676,7 +669,22 @@ ).constructor, | ||
owner = element._owner; | ||
if (null != config) | ||
for (propName in (hasValidRef(config) && (owner = getOwner()), | ||
if (null != config) { | ||
var JSCompiler_inline_result; | ||
a: { | ||
if ( | ||
hasOwnProperty.call(config, "ref") && | ||
(JSCompiler_inline_result = Object.getOwnPropertyDescriptor( | ||
config, | ||
"ref" | ||
).get) && | ||
JSCompiler_inline_result.isReactWarning | ||
) { | ||
JSCompiler_inline_result = !1; | ||
break a; | ||
} | ||
JSCompiler_inline_result = void 0 !== config.ref; | ||
} | ||
JSCompiler_inline_result && (owner = getOwner()); | ||
hasValidKey(config) && | ||
(checkKeyStringCoercion(config.key), (key = "" + config.key)), | ||
config)) | ||
(checkKeyStringCoercion(config.key), (key = "" + config.key)); | ||
for (propName in config) | ||
!hasOwnProperty.call(config, propName) || | ||
@@ -688,8 +696,10 @@ "key" === propName || | ||
(props[propName] = config[propName]); | ||
} | ||
var propName = arguments.length - 2; | ||
if (1 === propName) props.children = children; | ||
else if (1 < propName) { | ||
for (var childArray = Array(propName), i = 0; i < propName; i++) | ||
childArray[i] = arguments[i + 2]; | ||
props.children = childArray; | ||
JSCompiler_inline_result = Array(propName); | ||
for (var i = 0; i < propName; i++) | ||
JSCompiler_inline_result[i] = arguments[i + 2]; | ||
props.children = JSCompiler_inline_result; | ||
} | ||
@@ -699,3 +709,2 @@ props = ReactElement( | ||
key, | ||
null, | ||
void 0, | ||
@@ -718,2 +727,3 @@ void 0, | ||
} | ||
var propName; | ||
i = {}; | ||
@@ -729,3 +739,2 @@ node = null; | ||
)), | ||
hasValidRef(config), | ||
hasValidKey(config) && | ||
@@ -754,13 +763,12 @@ (checkKeyStringCoercion(config.key), (node = "" + config.key)), | ||
void 0 === i[propName] && (i[propName] = childrenLength[propName]); | ||
if (node) { | ||
var propName = | ||
node && | ||
defineKeyPropWarningGetter( | ||
i, | ||
"function" === typeof type | ||
? type.displayName || type.name || "Unknown" | ||
: type; | ||
node && defineKeyPropWarningGetter(i, propName); | ||
} | ||
: type | ||
); | ||
return ReactElement( | ||
type, | ||
node, | ||
null, | ||
void 0, | ||
@@ -898,2 +906,3 @@ void 0, | ||
type === REACT_OFFSCREEN_TYPE || | ||
type === REACT_VIEW_TRANSITION_TYPE || | ||
("object" === typeof type && | ||
@@ -962,4 +971,4 @@ null !== type && | ||
}; | ||
exports.unstable_DebugTracingMode = TaintRegistryObjects$1; | ||
exports.unstable_SuspenseList = REACT_SUSPENSE_TYPE; | ||
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; | ||
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE; | ||
exports.unstable_getCacheForType = function (resourceType) { | ||
@@ -998,3 +1007,3 @@ var dispatcher = ReactSharedInternals.A; | ||
}; | ||
exports.version = "19.0.0-experimental-04bd67a4-20240924"; | ||
exports.version = "19.1.0-experimental-056073de-20250109"; | ||
})(); |
@@ -47,6 +47,7 @@ /** | ||
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), | ||
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), | ||
REACT_MEMO_TYPE = Symbol.for("react.memo"), | ||
REACT_LAZY_TYPE = Symbol.for("react.lazy"), | ||
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), | ||
REACT_POSTPONE_TYPE = Symbol.for("react.postpone"), | ||
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
MAYBE_ITERATOR_SYMBOL = Symbol.iterator; | ||
@@ -62,4 +63,4 @@ function getIteratorFn(maybeIterable) { | ||
assign = Object.assign; | ||
function ReactElement(type, key, _ref, self, source, owner, props) { | ||
_ref = props.ref; | ||
function ReactElement(type, key, self, source, owner, props) { | ||
self = props.ref; | ||
return { | ||
@@ -69,3 +70,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
key: key, | ||
ref: void 0 !== _ref ? _ref : null, | ||
ref: void 0 !== self ? self : null, | ||
props: props | ||
@@ -78,3 +79,2 @@ }; | ||
newKey, | ||
null, | ||
void 0, | ||
@@ -437,3 +437,3 @@ void 0, | ||
} | ||
return ReactElement(element.type, key, null, void 0, void 0, owner, props); | ||
return ReactElement(element.type, key, void 0, void 0, owner, props); | ||
}; | ||
@@ -462,3 +462,3 @@ exports.createElement = function (type, config, children) { | ||
(props[propName] = childrenLength[propName]); | ||
return ReactElement(type, key, null, void 0, void 0, null, props); | ||
return ReactElement(type, key, void 0, void 0, null, props); | ||
}; | ||
@@ -549,4 +549,4 @@ exports.createRef = function () { | ||
}; | ||
exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE; | ||
exports.unstable_SuspenseList = REACT_SUSPENSE_TYPE; | ||
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; | ||
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE; | ||
exports.unstable_getCacheForType = function (resourceType) { | ||
@@ -577,2 +577,2 @@ var dispatcher = ReactSharedInternals.A; | ||
}; | ||
exports.version = "19.0.0-experimental-04bd67a4-20240924"; | ||
exports.version = "19.1.0-experimental-056073de-20250109"; |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "0.0.0-experimental-04bd67a4-20240924", | ||
"version": "0.0.0-experimental-056073de-20250109", | ||
"homepage": "https://react.dev/", | ||
@@ -10,0 +10,0 @@ "bugs": "https://github.com/facebook/react/issues", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
178471
5041