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

react

Package Overview
Dependencies
Maintainers
0
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-163365a0-20240717 to 19.0.0-rc-16409d05-20241101

172

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

@@ -155,4 +155,4 @@ /**

: -1 < x.stack.indexOf("@")
? "@unknown:0:0"
: "";
? "@unknown:0:0"
: "";
}

@@ -172,60 +172,60 @@ return "\n" + prefix + name + suffix;

disableLogs();
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
try {
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
throw Error();
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
}
fn.call(Fake.prototype);
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
throw Error();
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
}
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
return [null, null];
}
return [null, null];
}
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name"
);
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
"name"
);
try {
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var _RunInRootFrame$Deter =

@@ -239,5 +239,5 @@ RunInRootFrame.DetermineComponentFrameRoot(),

for (
sampleStack = _RunInRootFrame$Deter = 0;
_RunInRootFrame$Deter < sampleLines.length &&
!sampleLines[_RunInRootFrame$Deter].includes(
_RunInRootFrame$Deter = namePropDescriptor = 0;
namePropDescriptor < sampleLines.length &&
!sampleLines[namePropDescriptor].includes(
"DetermineComponentFrameRoot"

@@ -247,43 +247,47 @@ );

)
_RunInRootFrame$Deter++;
namePropDescriptor++;
for (
;
sampleStack < controlLines.length &&
!controlLines[sampleStack].includes("DetermineComponentFrameRoot");
_RunInRootFrame$Deter < controlLines.length &&
!controlLines[_RunInRootFrame$Deter].includes(
"DetermineComponentFrameRoot"
);
)
sampleStack++;
_RunInRootFrame$Deter++;
if (
_RunInRootFrame$Deter === sampleLines.length ||
sampleStack === controlLines.length
namePropDescriptor === sampleLines.length ||
_RunInRootFrame$Deter === controlLines.length
)
for (
_RunInRootFrame$Deter = sampleLines.length - 1,
sampleStack = controlLines.length - 1;
1 <= _RunInRootFrame$Deter &&
0 <= sampleStack &&
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack];
namePropDescriptor = sampleLines.length - 1,
_RunInRootFrame$Deter = controlLines.length - 1;
1 <= namePropDescriptor &&
0 <= _RunInRootFrame$Deter &&
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter];
)
sampleStack--;
_RunInRootFrame$Deter--;
for (
;
1 <= _RunInRootFrame$Deter && 0 <= sampleStack;
_RunInRootFrame$Deter--, sampleStack--
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
namePropDescriptor--, _RunInRootFrame$Deter--
)
if (
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack]
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter]
) {
if (1 !== _RunInRootFrame$Deter || 1 !== sampleStack) {
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
do
if (
(_RunInRootFrame$Deter--,
sampleStack--,
0 > sampleStack ||
sampleLines[_RunInRootFrame$Deter] !==
controlLines[sampleStack])
(namePropDescriptor--,
_RunInRootFrame$Deter--,
0 > _RunInRootFrame$Deter ||
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter])
) {
var _frame =
"\n" +
sampleLines[_RunInRootFrame$Deter].replace(
sampleLines[namePropDescriptor].replace(
" at new ",

@@ -299,3 +303,3 @@ " at "

}
while (1 <= _RunInRootFrame$Deter && 0 <= sampleStack);
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
}

@@ -478,9 +482,11 @@ break;

: 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);
? (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);
console.error(

@@ -487,0 +493,0 @@ "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",

@@ -155,4 +155,4 @@ /**

: -1 < x.stack.indexOf("@")
? "@unknown:0:0"
: "";
? "@unknown:0:0"
: "";
}

@@ -172,60 +172,60 @@ return "\n" + prefix + name + suffix;

disableLogs();
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
try {
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
throw Error();
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
}
fn.call(Fake.prototype);
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
throw Error();
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
}
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
return [null, null];
}
return [null, null];
}
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name"
);
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
"name"
);
try {
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var _RunInRootFrame$Deter =

@@ -239,5 +239,5 @@ RunInRootFrame.DetermineComponentFrameRoot(),

for (
sampleStack = _RunInRootFrame$Deter = 0;
_RunInRootFrame$Deter < sampleLines.length &&
!sampleLines[_RunInRootFrame$Deter].includes(
_RunInRootFrame$Deter = namePropDescriptor = 0;
namePropDescriptor < sampleLines.length &&
!sampleLines[namePropDescriptor].includes(
"DetermineComponentFrameRoot"

@@ -247,43 +247,47 @@ );

)
_RunInRootFrame$Deter++;
namePropDescriptor++;
for (
;
sampleStack < controlLines.length &&
!controlLines[sampleStack].includes("DetermineComponentFrameRoot");
_RunInRootFrame$Deter < controlLines.length &&
!controlLines[_RunInRootFrame$Deter].includes(
"DetermineComponentFrameRoot"
);
)
sampleStack++;
_RunInRootFrame$Deter++;
if (
_RunInRootFrame$Deter === sampleLines.length ||
sampleStack === controlLines.length
namePropDescriptor === sampleLines.length ||
_RunInRootFrame$Deter === controlLines.length
)
for (
_RunInRootFrame$Deter = sampleLines.length - 1,
sampleStack = controlLines.length - 1;
1 <= _RunInRootFrame$Deter &&
0 <= sampleStack &&
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack];
namePropDescriptor = sampleLines.length - 1,
_RunInRootFrame$Deter = controlLines.length - 1;
1 <= namePropDescriptor &&
0 <= _RunInRootFrame$Deter &&
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter];
)
sampleStack--;
_RunInRootFrame$Deter--;
for (
;
1 <= _RunInRootFrame$Deter && 0 <= sampleStack;
_RunInRootFrame$Deter--, sampleStack--
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
namePropDescriptor--, _RunInRootFrame$Deter--
)
if (
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack]
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter]
) {
if (1 !== _RunInRootFrame$Deter || 1 !== sampleStack) {
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
do
if (
(_RunInRootFrame$Deter--,
sampleStack--,
0 > sampleStack ||
sampleLines[_RunInRootFrame$Deter] !==
controlLines[sampleStack])
(namePropDescriptor--,
_RunInRootFrame$Deter--,
0 > _RunInRootFrame$Deter ||
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter])
) {
var _frame =
"\n" +
sampleLines[_RunInRootFrame$Deter].replace(
sampleLines[namePropDescriptor].replace(
" at new ",

@@ -299,3 +303,3 @@ " at "

}
while (1 <= _RunInRootFrame$Deter && 0 <= sampleStack);
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
}

@@ -478,9 +482,11 @@ break;

: 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);
? (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);
console.error(

@@ -487,0 +493,0 @@ "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",

@@ -155,4 +155,4 @@ /**

: -1 < x.stack.indexOf("@")
? "@unknown:0:0"
: "";
? "@unknown:0:0"
: "";
}

@@ -172,60 +172,60 @@ return "\n" + prefix + name + suffix;

disableLogs();
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
try {
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
throw Error();
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
}
fn.call(Fake.prototype);
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
throw Error();
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
}
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
return [null, null];
}
return [null, null];
}
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name"
);
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
"name"
);
try {
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var _RunInRootFrame$Deter =

@@ -239,5 +239,5 @@ RunInRootFrame.DetermineComponentFrameRoot(),

for (
sampleStack = _RunInRootFrame$Deter = 0;
_RunInRootFrame$Deter < sampleLines.length &&
!sampleLines[_RunInRootFrame$Deter].includes(
_RunInRootFrame$Deter = namePropDescriptor = 0;
namePropDescriptor < sampleLines.length &&
!sampleLines[namePropDescriptor].includes(
"DetermineComponentFrameRoot"

@@ -247,43 +247,47 @@ );

)
_RunInRootFrame$Deter++;
namePropDescriptor++;
for (
;
sampleStack < controlLines.length &&
!controlLines[sampleStack].includes("DetermineComponentFrameRoot");
_RunInRootFrame$Deter < controlLines.length &&
!controlLines[_RunInRootFrame$Deter].includes(
"DetermineComponentFrameRoot"
);
)
sampleStack++;
_RunInRootFrame$Deter++;
if (
_RunInRootFrame$Deter === sampleLines.length ||
sampleStack === controlLines.length
namePropDescriptor === sampleLines.length ||
_RunInRootFrame$Deter === controlLines.length
)
for (
_RunInRootFrame$Deter = sampleLines.length - 1,
sampleStack = controlLines.length - 1;
1 <= _RunInRootFrame$Deter &&
0 <= sampleStack &&
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack];
namePropDescriptor = sampleLines.length - 1,
_RunInRootFrame$Deter = controlLines.length - 1;
1 <= namePropDescriptor &&
0 <= _RunInRootFrame$Deter &&
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter];
)
sampleStack--;
_RunInRootFrame$Deter--;
for (
;
1 <= _RunInRootFrame$Deter && 0 <= sampleStack;
_RunInRootFrame$Deter--, sampleStack--
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
namePropDescriptor--, _RunInRootFrame$Deter--
)
if (
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack]
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter]
) {
if (1 !== _RunInRootFrame$Deter || 1 !== sampleStack) {
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
do
if (
(_RunInRootFrame$Deter--,
sampleStack--,
0 > sampleStack ||
sampleLines[_RunInRootFrame$Deter] !==
controlLines[sampleStack])
(namePropDescriptor--,
_RunInRootFrame$Deter--,
0 > _RunInRootFrame$Deter ||
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter])
) {
var _frame =
"\n" +
sampleLines[_RunInRootFrame$Deter].replace(
sampleLines[namePropDescriptor].replace(
" at new ",

@@ -299,3 +303,3 @@ " at "

}
while (1 <= _RunInRootFrame$Deter && 0 <= sampleStack);
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
}

@@ -478,9 +482,11 @@ break;

: 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);
? (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);
console.error(

@@ -487,0 +493,0 @@ "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",

@@ -155,4 +155,4 @@ /**

: -1 < x.stack.indexOf("@")
? "@unknown:0:0"
: "";
? "@unknown:0:0"
: "";
}

@@ -172,60 +172,60 @@ return "\n" + prefix + name + suffix;

disableLogs();
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
try {
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
throw Error();
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
}
fn.call(Fake.prototype);
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
throw Error();
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
}
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
return [null, null];
}
return [null, null];
}
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name"
);
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
"name"
);
try {
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var _RunInRootFrame$Deter =

@@ -239,5 +239,5 @@ RunInRootFrame.DetermineComponentFrameRoot(),

for (
sampleStack = _RunInRootFrame$Deter = 0;
_RunInRootFrame$Deter < sampleLines.length &&
!sampleLines[_RunInRootFrame$Deter].includes(
_RunInRootFrame$Deter = namePropDescriptor = 0;
namePropDescriptor < sampleLines.length &&
!sampleLines[namePropDescriptor].includes(
"DetermineComponentFrameRoot"

@@ -247,43 +247,47 @@ );

)
_RunInRootFrame$Deter++;
namePropDescriptor++;
for (
;
sampleStack < controlLines.length &&
!controlLines[sampleStack].includes("DetermineComponentFrameRoot");
_RunInRootFrame$Deter < controlLines.length &&
!controlLines[_RunInRootFrame$Deter].includes(
"DetermineComponentFrameRoot"
);
)
sampleStack++;
_RunInRootFrame$Deter++;
if (
_RunInRootFrame$Deter === sampleLines.length ||
sampleStack === controlLines.length
namePropDescriptor === sampleLines.length ||
_RunInRootFrame$Deter === controlLines.length
)
for (
_RunInRootFrame$Deter = sampleLines.length - 1,
sampleStack = controlLines.length - 1;
1 <= _RunInRootFrame$Deter &&
0 <= sampleStack &&
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack];
namePropDescriptor = sampleLines.length - 1,
_RunInRootFrame$Deter = controlLines.length - 1;
1 <= namePropDescriptor &&
0 <= _RunInRootFrame$Deter &&
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter];
)
sampleStack--;
_RunInRootFrame$Deter--;
for (
;
1 <= _RunInRootFrame$Deter && 0 <= sampleStack;
_RunInRootFrame$Deter--, sampleStack--
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
namePropDescriptor--, _RunInRootFrame$Deter--
)
if (
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack]
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter]
) {
if (1 !== _RunInRootFrame$Deter || 1 !== sampleStack) {
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
do
if (
(_RunInRootFrame$Deter--,
sampleStack--,
0 > sampleStack ||
sampleLines[_RunInRootFrame$Deter] !==
controlLines[sampleStack])
(namePropDescriptor--,
_RunInRootFrame$Deter--,
0 > _RunInRootFrame$Deter ||
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter])
) {
var _frame =
"\n" +
sampleLines[_RunInRootFrame$Deter].replace(
sampleLines[namePropDescriptor].replace(
" at new ",

@@ -299,3 +303,3 @@ " at "

}
while (1 <= _RunInRootFrame$Deter && 0 <= sampleStack);
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
}

@@ -478,9 +482,11 @@ break;

: 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);
? (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);
console.error(

@@ -487,0 +493,0 @@ "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",

@@ -222,4 +222,4 @@ /**

: -1 < x.stack.indexOf("@")
? "@unknown:0:0"
: "";
? "@unknown:0:0"
: "";
}

@@ -239,60 +239,60 @@ return "\n" + prefix + name + suffix;

disableLogs();
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
try {
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
throw Error();
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
}
fn.call(Fake.prototype);
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
throw Error();
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
}
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
return [null, null];
}
return [null, null];
}
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name"
);
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
"name"
);
try {
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var _RunInRootFrame$Deter =

@@ -306,5 +306,5 @@ RunInRootFrame.DetermineComponentFrameRoot(),

for (
sampleStack = _RunInRootFrame$Deter = 0;
_RunInRootFrame$Deter < sampleLines.length &&
!sampleLines[_RunInRootFrame$Deter].includes(
_RunInRootFrame$Deter = namePropDescriptor = 0;
namePropDescriptor < sampleLines.length &&
!sampleLines[namePropDescriptor].includes(
"DetermineComponentFrameRoot"

@@ -314,43 +314,47 @@ );

)
_RunInRootFrame$Deter++;
namePropDescriptor++;
for (
;
sampleStack < controlLines.length &&
!controlLines[sampleStack].includes("DetermineComponentFrameRoot");
_RunInRootFrame$Deter < controlLines.length &&
!controlLines[_RunInRootFrame$Deter].includes(
"DetermineComponentFrameRoot"
);
)
sampleStack++;
_RunInRootFrame$Deter++;
if (
_RunInRootFrame$Deter === sampleLines.length ||
sampleStack === controlLines.length
namePropDescriptor === sampleLines.length ||
_RunInRootFrame$Deter === controlLines.length
)
for (
_RunInRootFrame$Deter = sampleLines.length - 1,
sampleStack = controlLines.length - 1;
1 <= _RunInRootFrame$Deter &&
0 <= sampleStack &&
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack];
namePropDescriptor = sampleLines.length - 1,
_RunInRootFrame$Deter = controlLines.length - 1;
1 <= namePropDescriptor &&
0 <= _RunInRootFrame$Deter &&
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter];
)
sampleStack--;
_RunInRootFrame$Deter--;
for (
;
1 <= _RunInRootFrame$Deter && 0 <= sampleStack;
_RunInRootFrame$Deter--, sampleStack--
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
namePropDescriptor--, _RunInRootFrame$Deter--
)
if (
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack]
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter]
) {
if (1 !== _RunInRootFrame$Deter || 1 !== sampleStack) {
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
do
if (
(_RunInRootFrame$Deter--,
sampleStack--,
0 > sampleStack ||
sampleLines[_RunInRootFrame$Deter] !==
controlLines[sampleStack])
(namePropDescriptor--,
_RunInRootFrame$Deter--,
0 > _RunInRootFrame$Deter ||
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter])
) {
var _frame =
"\n" +
sampleLines[_RunInRootFrame$Deter].replace(
sampleLines[namePropDescriptor].replace(
" at new ",

@@ -366,3 +370,3 @@ " at "

}
while (1 <= _RunInRootFrame$Deter && 0 <= sampleStack);
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
}

@@ -1276,9 +1280,9 @@ break;

: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((typeString =
"<" +
(getComponentNameFromType(type.type) || "Unknown") +
" />"),
(i =
" Did you accidentally export a JSX literal instead of a component?"))
: (typeString = typeof type);
? ((typeString =
"<" +
(getComponentNameFromType(type.type) || "Unknown") +
" />"),
(i =
" Did you accidentally export a JSX literal instead of a component?"))
: (typeString = typeof type);
console.error(

@@ -1352,14 +1356,14 @@ "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",

: "function" !== typeof render
? console.error(
"forwardRef requires a render function but was given %s.",
null === render ? "null" : typeof render
)
: 0 !== render.length &&
2 !== render.length &&
console.error(
"forwardRef render functions accept exactly two parameters: props and ref. %s",
1 === render.length
? "Did you forget to use the ref parameter?"
: "Any additional parameter will be undefined."
);
? console.error(
"forwardRef requires a render function but was given %s.",
null === render ? "null" : typeof render
)
: 0 !== render.length &&
2 !== render.length &&
console.error(
"forwardRef render functions accept exactly two parameters: props and ref. %s",
1 === render.length
? "Did you forget to use the ref parameter?"
: "Any additional parameter will be undefined."
);
null != render &&

@@ -1426,6 +1430,5 @@ null != render.defaultProps &&

var prevTransition = ReactSharedInternals.T,
transition = {};
ReactSharedInternals.T = transition;
var currentTransition = ReactSharedInternals.T;
ReactSharedInternals.T._updatedFibers = new Set();
currentTransition = {};
ReactSharedInternals.T = currentTransition;
currentTransition._updatedFibers = new Set();
try {

@@ -1435,3 +1438,3 @@ var returnValue = scope(),

null !== onStartTransitionFinish &&
onStartTransitionFinish(transition, returnValue);
onStartTransitionFinish(currentTransition, returnValue);
"object" === typeof returnValue &&

@@ -1529,3 +1532,3 @@ null !== returnValue &&

};
exports.version = "19.0.0-rc-163365a0-20240717";
exports.version = "19.0.0-rc-16409d05-20241101";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&

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

@@ -459,4 +459,4 @@ /**

var prevTransition = ReactSharedInternals.T,
transition = {};
ReactSharedInternals.T = transition;
currentTransition = {};
ReactSharedInternals.T = currentTransition;
try {

@@ -466,3 +466,3 @@ var returnValue = scope(),

null !== onStartTransitionFinish &&
onStartTransitionFinish(transition, returnValue);
onStartTransitionFinish(currentTransition, returnValue);
"object" === typeof returnValue &&

@@ -541,2 +541,2 @@ null !== returnValue &&

};
exports.version = "19.0.0-rc-163365a0-20240717";
exports.version = "19.0.0-rc-16409d05-20241101";

@@ -184,4 +184,4 @@ /**

: -1 < x.stack.indexOf("@")
? "@unknown:0:0"
: "";
? "@unknown:0:0"
: "";
}

@@ -201,60 +201,60 @@ return "\n" + prefix + name + suffix;

disableLogs();
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
try {
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
throw Error();
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
}
fn.call(Fake.prototype);
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
throw Error();
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
}
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
return [null, null];
}
return [null, null];
}
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name"
);
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
"name"
);
try {
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var _RunInRootFrame$Deter =

@@ -268,5 +268,5 @@ RunInRootFrame.DetermineComponentFrameRoot(),

for (
sampleStack = _RunInRootFrame$Deter = 0;
_RunInRootFrame$Deter < sampleLines.length &&
!sampleLines[_RunInRootFrame$Deter].includes(
_RunInRootFrame$Deter = namePropDescriptor = 0;
namePropDescriptor < sampleLines.length &&
!sampleLines[namePropDescriptor].includes(
"DetermineComponentFrameRoot"

@@ -276,43 +276,47 @@ );

)
_RunInRootFrame$Deter++;
namePropDescriptor++;
for (
;
sampleStack < controlLines.length &&
!controlLines[sampleStack].includes("DetermineComponentFrameRoot");
_RunInRootFrame$Deter < controlLines.length &&
!controlLines[_RunInRootFrame$Deter].includes(
"DetermineComponentFrameRoot"
);
)
sampleStack++;
_RunInRootFrame$Deter++;
if (
_RunInRootFrame$Deter === sampleLines.length ||
sampleStack === controlLines.length
namePropDescriptor === sampleLines.length ||
_RunInRootFrame$Deter === controlLines.length
)
for (
_RunInRootFrame$Deter = sampleLines.length - 1,
sampleStack = controlLines.length - 1;
1 <= _RunInRootFrame$Deter &&
0 <= sampleStack &&
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack];
namePropDescriptor = sampleLines.length - 1,
_RunInRootFrame$Deter = controlLines.length - 1;
1 <= namePropDescriptor &&
0 <= _RunInRootFrame$Deter &&
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter];
)
sampleStack--;
_RunInRootFrame$Deter--;
for (
;
1 <= _RunInRootFrame$Deter && 0 <= sampleStack;
_RunInRootFrame$Deter--, sampleStack--
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
namePropDescriptor--, _RunInRootFrame$Deter--
)
if (
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack]
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter]
) {
if (1 !== _RunInRootFrame$Deter || 1 !== sampleStack) {
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
do
if (
(_RunInRootFrame$Deter--,
sampleStack--,
0 > sampleStack ||
sampleLines[_RunInRootFrame$Deter] !==
controlLines[sampleStack])
(namePropDescriptor--,
_RunInRootFrame$Deter--,
0 > _RunInRootFrame$Deter ||
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter])
) {
var _frame =
"\n" +
sampleLines[_RunInRootFrame$Deter].replace(
sampleLines[namePropDescriptor].replace(
" at new ",

@@ -328,3 +332,3 @@ " at "

}
while (1 <= _RunInRootFrame$Deter && 0 <= sampleStack);
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
}

@@ -960,9 +964,9 @@ break;

: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((typeString =
"<" +
(getComponentNameFromType(type.type) || "Unknown") +
" />"),
(i =
" Did you accidentally export a JSX literal instead of a component?"))
: (typeString = typeof type);
? ((typeString =
"<" +
(getComponentNameFromType(type.type) || "Unknown") +
" />"),
(i =
" Did you accidentally export a JSX literal instead of a component?"))
: (typeString = typeof type);
console.error(

@@ -1036,14 +1040,14 @@ "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",

: "function" !== typeof render
? console.error(
"forwardRef requires a render function but was given %s.",
null === render ? "null" : typeof render
)
: 0 !== render.length &&
2 !== render.length &&
console.error(
"forwardRef render functions accept exactly two parameters: props and ref. %s",
1 === render.length
? "Did you forget to use the ref parameter?"
: "Any additional parameter will be undefined."
);
? console.error(
"forwardRef requires a render function but was given %s.",
null === render ? "null" : typeof render
)
: 0 !== render.length &&
2 !== render.length &&
console.error(
"forwardRef render functions accept exactly two parameters: props and ref. %s",
1 === render.length
? "Did you forget to use the ref parameter?"
: "Any additional parameter will be undefined."
);
null != render &&

@@ -1123,3 +1127,3 @@ null != render.defaultProps &&

};
exports.version = "19.0.0-rc-163365a0-20240717";
exports.version = "19.0.0-rc-16409d05-20241101";
})();

@@ -427,2 +427,2 @@ /**

};
exports.version = "19.0.0-rc-163365a0-20240717";
exports.version = "19.0.0-rc-16409d05-20241101";

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

],
"version": "19.0.0-rc-163365a0-20240717",
"version": "19.0.0-rc-16409d05-20241101",
"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