Comparing version 19.0.0-rc-163365a0-20240717 to 19.0.0-rc-187dd6a7-20240806
@@ -155,4 +155,4 @@ /** | ||
: -1 < x.stack.indexOf("@") | ||
? "@unknown:0:0" | ||
: ""; | ||
? "@unknown:0:0" | ||
: ""; | ||
} | ||
@@ -474,9 +474,11 @@ return "\n" + prefix + name + suffix; | ||
: 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( | ||
@@ -483,0 +485,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" | ||
: ""; | ||
} | ||
@@ -474,9 +474,11 @@ return "\n" + prefix + name + suffix; | ||
: 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( | ||
@@ -483,0 +485,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" | ||
: ""; | ||
} | ||
@@ -474,9 +474,11 @@ return "\n" + prefix + name + suffix; | ||
: 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( | ||
@@ -483,0 +485,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" | ||
: ""; | ||
} | ||
@@ -474,9 +474,11 @@ return "\n" + prefix + name + suffix; | ||
: 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( | ||
@@ -483,0 +485,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" | ||
: ""; | ||
} | ||
@@ -1272,9 +1272,9 @@ return "\n" + prefix + name + suffix; | ||
: 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( | ||
@@ -1348,14 +1348,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 && | ||
@@ -1523,3 +1523,3 @@ null != render.defaultProps && | ||
}; | ||
exports.version = "19.0.0-rc-163365a0-20240717"; | ||
exports.version = "19.0.0-rc-187dd6a7-20240806"; | ||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && | ||
@@ -1526,0 +1526,0 @@ "function" === |
@@ -539,2 +539,2 @@ /** | ||
}; | ||
exports.version = "19.0.0-rc-163365a0-20240717"; | ||
exports.version = "19.0.0-rc-187dd6a7-20240806"; |
@@ -184,4 +184,4 @@ /** | ||
: -1 < x.stack.indexOf("@") | ||
? "@unknown:0:0" | ||
: ""; | ||
? "@unknown:0:0" | ||
: ""; | ||
} | ||
@@ -956,9 +956,9 @@ return "\n" + prefix + name + suffix; | ||
: 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( | ||
@@ -1032,14 +1032,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 && | ||
@@ -1119,3 +1119,3 @@ null != render.defaultProps && | ||
}; | ||
exports.version = "19.0.0-rc-163365a0-20240717"; | ||
exports.version = "19.0.0-rc-187dd6a7-20240806"; | ||
})(); |
@@ -427,2 +427,2 @@ /** | ||
}; | ||
exports.version = "19.0.0-rc-163365a0-20240717"; | ||
exports.version = "19.0.0-rc-187dd6a7-20240806"; |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "19.0.0-rc-163365a0-20240717", | ||
"version": "19.0.0-rc-187dd6a7-20240806", | ||
"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
237319
6552
8