react-is
Advanced tools
Comparing version
@@ -25,2 +25,3 @@ /** | ||
case REACT_SUSPENSE_LIST_TYPE: | ||
case REACT_VIEW_TRANSITION_TYPE: | ||
return object; | ||
@@ -59,2 +60,3 @@ default: | ||
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), | ||
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); | ||
@@ -122,2 +124,3 @@ exports.ContextConsumer = REACT_CONSUMER_TYPE; | ||
type === REACT_OFFSCREEN_TYPE || | ||
type === REACT_VIEW_TRANSITION_TYPE || | ||
("object" === typeof type && | ||
@@ -124,0 +127,0 @@ null !== type && |
@@ -26,2 +26,3 @@ /** | ||
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), | ||
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); | ||
@@ -39,2 +40,3 @@ function typeOf(object) { | ||
case REACT_SUSPENSE_LIST_TYPE: | ||
case REACT_VIEW_TRANSITION_TYPE: | ||
return object; | ||
@@ -120,2 +122,3 @@ default: | ||
type === REACT_OFFSCREEN_TYPE || | ||
type === REACT_VIEW_TRANSITION_TYPE || | ||
("object" === typeof type && | ||
@@ -122,0 +125,0 @@ null !== type && |
{ | ||
"name": "react-is", | ||
"version": "0.0.0-experimental-fc8a898d-20241226", | ||
"version": "0.0.0-experimental-fcb4e0f1-20250219", | ||
"description": "Brand checking of React Elements.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13914
2.35%273
2.25%0
-100%