Socket
Socket
Sign inDemoInstall

react

Package Overview
Dependencies
0
Maintainers
0
Versions
1841
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.0-experimental-dfd30974ab-20240613 to 0.0.0-experimental-e02baf6c92-20240627

119

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

@@ -35,3 +35,3 @@ /**

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

@@ -235,63 +235,18 @@ : type.displayName || type.name || null;

) {
if (
"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 ||
("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$1 ||
void 0 !== type.getModuleId))
) {
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
);
else validateChildKeys(children);
} else {
children = "";
if (
void 0 === type ||
("object" === typeof type &&
null !== type &&
0 === Object.keys(type).length)
)
children +=
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
null === type
? (isStaticChildren = "null")
: isArrayImpl(type)
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
error(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
isStaticChildren,
children
);
}
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
);
else validateChildKeys(children);
if (hasOwnProperty.call(config, "key")) {

@@ -348,29 +303,7 @@ children = getComponentNameFromType(type);

function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE
)
node._store && (node._store.validated = 1);
else {
if (null === node || "object" !== typeof node) var iteratorFn = null;
else
(iteratorFn =
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
node["@@iterator"]),
(iteratorFn =
"function" === typeof iteratorFn ? iteratorFn : null);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE &&
node._store &&
(node._store.validated = 1);
}

@@ -391,14 +324,10 @@ var React = require("react"),

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
ReactSharedInternals =
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
supportsCreateTask = !!console.createTask,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
createTask = console.createTask
var createTask = console.createTask
? console.createTask

@@ -405,0 +334,0 @@ : function () {

@@ -35,3 +35,3 @@ /**

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

@@ -235,63 +235,18 @@ : type.displayName || type.name || null;

) {
if (
"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 ||
("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$1 ||
void 0 !== type.getModuleId))
) {
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
);
else validateChildKeys(children);
} else {
children = "";
if (
void 0 === type ||
("object" === typeof type &&
null !== type &&
0 === Object.keys(type).length)
)
children +=
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
null === type
? (isStaticChildren = "null")
: isArrayImpl(type)
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
error(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
isStaticChildren,
children
);
}
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
);
else validateChildKeys(children);
if (hasOwnProperty.call(config, "key")) {

@@ -348,29 +303,7 @@ children = getComponentNameFromType(type);

function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE
)
node._store && (node._store.validated = 1);
else {
if (null === node || "object" !== typeof node) var iteratorFn = null;
else
(iteratorFn =
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
node["@@iterator"]),
(iteratorFn =
"function" === typeof iteratorFn ? iteratorFn : null);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE &&
node._store &&
(node._store.validated = 1);
}

@@ -391,4 +324,2 @@ var React = require("react"),

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
ReactSharedInternalsServer =

@@ -401,9 +332,7 @@ React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;

var supportsCreateTask = !!console.createTask,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
createTask = console.createTask
var createTask = console.createTask
? console.createTask

@@ -410,0 +339,0 @@ : function () {

@@ -35,3 +35,3 @@ /**

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

@@ -235,63 +235,18 @@ : type.displayName || type.name || null;

) {
if (
"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 ||
("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$1 ||
void 0 !== type.getModuleId))
) {
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
);
else validateChildKeys(children);
} else {
children = "";
if (
void 0 === type ||
("object" === typeof type &&
null !== type &&
0 === Object.keys(type).length)
)
children +=
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
null === type
? (isStaticChildren = "null")
: isArrayImpl(type)
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
error(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
isStaticChildren,
children
);
}
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
);
else validateChildKeys(children);
if (hasOwnProperty.call(config, "key")) {

@@ -348,29 +303,7 @@ children = getComponentNameFromType(type);

function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE
)
node._store && (node._store.validated = 1);
else {
if (null === node || "object" !== typeof node) var iteratorFn = null;
else
(iteratorFn =
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
node["@@iterator"]),
(iteratorFn =
"function" === typeof iteratorFn ? iteratorFn : null);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE &&
node._store &&
(node._store.validated = 1);
}

@@ -391,14 +324,10 @@ var React = require("react"),

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
ReactSharedInternals =
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
supportsCreateTask = !!console.createTask,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
createTask = console.createTask
var createTask = console.createTask
? console.createTask

@@ -405,0 +334,0 @@ : function () {

@@ -35,3 +35,3 @@ /**

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

@@ -235,63 +235,18 @@ : type.displayName || type.name || null;

) {
if (
"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 ||
("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$1 ||
void 0 !== type.getModuleId))
) {
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
);
else validateChildKeys(children);
} else {
children = "";
if (
void 0 === type ||
("object" === typeof type &&
null !== type &&
0 === Object.keys(type).length)
)
children +=
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
null === type
? (isStaticChildren = "null")
: isArrayImpl(type)
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
error(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
isStaticChildren,
children
);
}
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
);
else validateChildKeys(children);
if (hasOwnProperty.call(config, "key")) {

@@ -348,29 +303,7 @@ children = getComponentNameFromType(type);

function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE
)
node._store && (node._store.validated = 1);
else {
if (null === node || "object" !== typeof node) var iteratorFn = null;
else
(iteratorFn =
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
node["@@iterator"]),
(iteratorFn =
"function" === typeof iteratorFn ? iteratorFn : null);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE &&
node._store &&
(node._store.validated = 1);
}

@@ -391,4 +324,2 @@ var React = require("react"),

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
ReactSharedInternalsServer =

@@ -401,9 +332,7 @@ React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;

var supportsCreateTask = !!console.createTask,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
createTask = console.createTask
var createTask = console.createTask
? console.createTask

@@ -410,0 +339,0 @@ : function () {

@@ -119,3 +119,3 @@ /**

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

@@ -299,20 +299,2 @@ : type.displayName || type.name || null;

}
function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (isValidElement(node)) node._store && (node._store.validated = 1);
else {
var iteratorFn = getIteratorFn(node);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
}
function isValidElement(object) {

@@ -728,8 +710,7 @@ return (

var isArrayImpl = Array.isArray,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference");
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
createTask = console.createTask
var createTask = console.createTask
? console.createTask

@@ -943,2 +924,6 @@ : function () {

};
exports.captureOwnerStack = function () {
var getCurrentStack = ReactSharedInternals.getCurrentStack;
return null === getCurrentStack ? null : getCurrentStack(null);
};
exports.cloneElement = function (element, config, children) {

@@ -984,3 +969,4 @@ if (null === element || void 0 === element)

for (key = 2; key < arguments.length; key++)
validateChildKeys(arguments[key]);
(owner = arguments[key]),
isValidElement(owner) && owner._store && (owner._store.validated = 1);
return props;

@@ -1007,6 +993,8 @@ };

exports.createElement = function (type, config, children) {
for (var i = 2; i < arguments.length; i++)
validateChildKeys(arguments[i]);
for (var i = 2; i < arguments.length; i++) {
var node = arguments[i];
isValidElement(node) && node._store && (node._store.validated = 1);
}
i = {};
var key = null;
node = null;
if (null != config)

@@ -1022,3 +1010,3 @@ for (propName in (didWarnAboutOldJSXRuntime ||

hasValidKey(config) &&
(checkKeyStringCoercion(config.key), (key = "" + config.key)),
(checkKeyStringCoercion(config.key), (node = "" + config.key)),
config))

@@ -1045,3 +1033,3 @@ hasOwnProperty.call(config, propName) &&

void 0 === i[propName] && (i[propName] = childrenLength[propName]);
if (key) {
if (node) {
var propName =

@@ -1051,7 +1039,7 @@ "function" === typeof type

: type;
key && defineKeyPropWarningGetter(i, propName);
node && defineKeyPropWarningGetter(i, propName);
}
return ReactElement(
type,
key,
node,
null,

@@ -1145,3 +1133,3 @@ void 0,

type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
type.$$typeof === REACT_CLIENT_REFERENCE ||
void 0 !== type.getModuleId)) ||

@@ -1289,3 +1277,3 @@ error$jscomp$0(

};
exports.version = "19.0.0-experimental-dfd30974ab-20240613";
exports.version = "19.0.0-experimental-e02baf6c92-20240627";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&

@@ -1292,0 +1280,0 @@ "function" ===

@@ -376,2 +376,5 @@ /**

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

@@ -563,2 +566,2 @@ if (null === element || void 0 === element)

};
exports.version = "19.0.0-experimental-dfd30974ab-20240613";
exports.version = "19.0.0-experimental-e02baf6c92-20240627";

@@ -81,3 +81,3 @@ /**

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

@@ -261,20 +261,2 @@ : type.displayName || type.name || null;

}
function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (isValidElement(node)) node._store && (node._store.validated = 1);
else {
var iteratorFn = getIteratorFn(node);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
}
function isValidElement(object) {

@@ -563,9 +545,8 @@ return (

MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
assign = Object.assign,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference");
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
createTask = console.createTask
var createTask = console.createTask
? console.createTask

@@ -708,2 +689,6 @@ : function () {

};
exports.captureOwnerStack = function () {
var getCurrentStack = ReactSharedInternals.getCurrentStack;
return null === getCurrentStack ? null : getCurrentStack(null);
};
exports.cloneElement = function (element, config, children) {

@@ -749,10 +734,13 @@ if (null === element || void 0 === element)

for (key = 2; key < arguments.length; key++)
validateChildKeys(arguments[key]);
(owner = arguments[key]),
isValidElement(owner) && owner._store && (owner._store.validated = 1);
return props;
};
exports.createElement = function (type, config, children) {
for (var i = 2; i < arguments.length; i++)
validateChildKeys(arguments[i]);
for (var i = 2; i < arguments.length; i++) {
var node = arguments[i];
isValidElement(node) && node._store && (node._store.validated = 1);
}
i = {};
var key = null;
node = null;
if (null != config)

@@ -768,3 +756,3 @@ for (propName in (didWarnAboutOldJSXRuntime ||

hasValidKey(config) &&
(checkKeyStringCoercion(config.key), (key = "" + config.key)),
(checkKeyStringCoercion(config.key), (node = "" + config.key)),
config))

@@ -791,3 +779,3 @@ hasOwnProperty.call(config, propName) &&

void 0 === i[propName] && (i[propName] = childrenLength[propName]);
if (key) {
if (node) {
var propName =

@@ -797,7 +785,7 @@ "function" === typeof type

: type;
key && defineKeyPropWarningGetter(i, propName);
node && defineKeyPropWarningGetter(i, propName);
}
return ReactElement(
type,
key,
node,
null,

@@ -943,3 +931,3 @@ void 0,

type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
type.$$typeof === REACT_CLIENT_REFERENCE ||
void 0 !== type.getModuleId)) ||

@@ -1036,3 +1024,3 @@ error$jscomp$0(

};
exports.version = "19.0.0-experimental-dfd30974ab-20240613";
exports.version = "19.0.0-experimental-e02baf6c92-20240627";
})();

@@ -407,2 +407,5 @@ /**

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

@@ -568,2 +571,2 @@ if (null === element || void 0 === element)

};
exports.version = "19.0.0-experimental-dfd30974ab-20240613";
exports.version = "19.0.0-experimental-e02baf6c92-20240627";

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

],
"version": "0.0.0-experimental-dfd30974ab-20240613",
"version": "0.0.0-experimental-e02baf6c92-20240627",
"homepage": "https://react.dev/",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc