Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react

Package Overview
Dependencies
Maintainers
4
Versions
2045
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 19.0.0-rc-65a56d0e-20241020 to 19.0.0-rc-66855b96-20241106

31

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

@@ -351,9 +351,2 @@ /**

}
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) {

@@ -391,4 +384,4 @@ if (hasOwnProperty.call(config, "key")) {

}
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
type = {

@@ -401,3 +394,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -521,3 +514,2 @@ enumerable: !1,

(checkKeyStringCoercion(config.key), (children = "" + config.key));
hasValidRef(config);
if ("key" in config) {

@@ -529,16 +521,9 @@ maybeKey = {};

children &&
((config =
defineKeyPropWarningGetter(
maybeKey,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type),
children && defineKeyPropWarningGetter(maybeKey, config));
return ReactElement(
type,
children,
null,
self,
source,
getOwner(),
maybeKey
);
: type
);
return ReactElement(type, children, self, source, getOwner(), maybeKey);
}

@@ -545,0 +530,0 @@ function validateChildKeys(node, parentType) {

@@ -351,9 +351,2 @@ /**

}
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) {

@@ -391,4 +384,4 @@ if (hasOwnProperty.call(config, "key")) {

}
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
type = {

@@ -401,3 +394,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -521,3 +514,2 @@ enumerable: !1,

(checkKeyStringCoercion(config.key), (children = "" + config.key));
hasValidRef(config);
if ("key" in config) {

@@ -529,16 +521,9 @@ maybeKey = {};

children &&
((config =
defineKeyPropWarningGetter(
maybeKey,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type),
children && defineKeyPropWarningGetter(maybeKey, config));
return ReactElement(
type,
children,
null,
self,
source,
getOwner(),
maybeKey
);
: type
);
return ReactElement(type, children, self, source, getOwner(), maybeKey);
}

@@ -545,0 +530,0 @@ function validateChildKeys(node, parentType) {

@@ -351,9 +351,2 @@ /**

}
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) {

@@ -391,4 +384,4 @@ if (hasOwnProperty.call(config, "key")) {

}
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
type = {

@@ -401,3 +394,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -521,3 +514,2 @@ enumerable: !1,

(checkKeyStringCoercion(config.key), (children = "" + config.key));
hasValidRef(config);
if ("key" in config) {

@@ -529,16 +521,9 @@ maybeKey = {};

children &&
((config =
defineKeyPropWarningGetter(
maybeKey,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type),
children && defineKeyPropWarningGetter(maybeKey, config));
return ReactElement(
type,
children,
null,
self,
source,
getOwner(),
maybeKey
);
: type
);
return ReactElement(type, children, self, source, getOwner(), maybeKey);
}

@@ -545,0 +530,0 @@ function validateChildKeys(node, parentType) {

@@ -351,9 +351,2 @@ /**

}
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) {

@@ -391,4 +384,4 @@ if (hasOwnProperty.call(config, "key")) {

}
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
type = {

@@ -401,3 +394,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -521,3 +514,2 @@ enumerable: !1,

(checkKeyStringCoercion(config.key), (children = "" + config.key));
hasValidRef(config);
if ("key" in config) {

@@ -529,16 +521,9 @@ maybeKey = {};

children &&
((config =
defineKeyPropWarningGetter(
maybeKey,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type),
children && defineKeyPropWarningGetter(maybeKey, config));
return ReactElement(
type,
children,
null,
self,
source,
getOwner(),
maybeKey
);
: type
);
return ReactElement(type, children, self, source, getOwner(), maybeKey);
}

@@ -545,0 +530,0 @@ function validateChildKeys(node, parentType) {

@@ -418,9 +418,2 @@ /**

}
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) {

@@ -458,4 +451,4 @@ if (hasOwnProperty.call(config, "key")) {

}
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
type = {

@@ -468,3 +461,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -495,3 +488,2 @@ enumerable: !1,

newKey,
null,
void 0,

@@ -1211,7 +1203,22 @@ void 0,

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) ||

@@ -1223,18 +1230,12 @@ "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;
}
props = ReactElement(
element.type,
key,
null,
void 0,
void 0,
owner,
props
);
props = ReactElement(element.type, key, void 0, void 0, owner, props);
for (key = 2; key < arguments.length; key++)

@@ -1294,2 +1295,3 @@ validateChildKeys(arguments[key], props.type);

}
var propName;
i = {};

@@ -1305,3 +1307,2 @@ typeString = null;

)),
hasValidRef(config),
hasValidKey(config) &&

@@ -1330,18 +1331,10 @@ (checkKeyStringCoercion(config.key), (typeString = "" + config.key)),

void 0 === i[propName] && (i[propName] = childrenLength[propName]);
if (typeString) {
var propName =
typeString &&
defineKeyPropWarningGetter(
i,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type;
typeString && defineKeyPropWarningGetter(i, propName);
}
return ReactElement(
type,
typeString,
null,
void 0,
void 0,
getOwner(),
i
);
: type
);
return ReactElement(type, typeString, void 0, void 0, getOwner(), i);
};

@@ -1532,3 +1525,3 @@ exports.createRef = function () {

};
exports.version = "19.0.0-rc-65a56d0e-20241020";
exports.version = "19.0.0-rc-66855b96-20241106";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&

@@ -1535,0 +1528,0 @@ "function" ===

@@ -77,4 +77,4 @@ /**

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 {

@@ -84,3 +84,3 @@ $$typeof: REACT_ELEMENT_TYPE,

key: key,
ref: void 0 !== _ref ? _ref : null,
ref: void 0 !== self ? self : null,
props: props

@@ -93,3 +93,2 @@ };

newKey,
null,
void 0,

@@ -397,3 +396,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);
};

@@ -438,3 +437,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);
};

@@ -544,2 +543,2 @@ exports.createRef = function () {

};
exports.version = "19.0.0-rc-65a56d0e-20241020";
exports.version = "19.0.0-rc-66855b96-20241106";

@@ -380,9 +380,2 @@ /**

}
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) {

@@ -420,4 +413,4 @@ if (hasOwnProperty.call(config, "key")) {

}
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
type = {

@@ -430,3 +423,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -457,3 +450,2 @@ enumerable: !1,

newKey,
null,
void 0,

@@ -913,7 +905,22 @@ void 0,

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) ||

@@ -925,18 +932,12 @@ "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;
}
props = ReactElement(
element.type,
key,
null,
void 0,
void 0,
owner,
props
);
props = ReactElement(element.type, key, void 0, void 0, owner, props);
for (key = 2; key < arguments.length; key++)

@@ -978,2 +979,3 @@ validateChildKeys(arguments[key], props.type);

}
var propName;
i = {};

@@ -989,3 +991,2 @@ typeString = null;

)),
hasValidRef(config),
hasValidKey(config) &&

@@ -1014,18 +1015,10 @@ (checkKeyStringCoercion(config.key), (typeString = "" + config.key)),

void 0 === i[propName] && (i[propName] = childrenLength[propName]);
if (typeString) {
var propName =
typeString &&
defineKeyPropWarningGetter(
i,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type;
typeString && defineKeyPropWarningGetter(i, propName);
}
return ReactElement(
type,
typeString,
null,
void 0,
void 0,
getOwner(),
i
);
: type
);
return ReactElement(type, typeString, void 0, void 0, getOwner(), i);
};

@@ -1129,3 +1122,3 @@ exports.createRef = function () {

};
exports.version = "19.0.0-rc-65a56d0e-20241020";
exports.version = "19.0.0-rc-66855b96-20241106";
})();

@@ -48,4 +48,4 @@ /**

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 {

@@ -55,3 +55,3 @@ $$typeof: REACT_ELEMENT_TYPE,

key: key,
ref: void 0 !== _ref ? _ref : null,
ref: void 0 !== self ? self : null,
props: props

@@ -64,3 +64,2 @@ };

newKey,
null,
void 0,

@@ -370,3 +369,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);
};

@@ -395,3 +394,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);
};

@@ -432,2 +431,2 @@ exports.createRef = function () {

};
exports.version = "19.0.0-rc-65a56d0e-20241020";
exports.version = "19.0.0-rc-66855b96-20241106";

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

],
"version": "19.0.0-rc-65a56d0e-20241020",
"version": "19.0.0-rc-66855b96-20241106",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc