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

react-is

Package Overview
Dependencies
Maintainers
8
Versions
1918
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-is - npm Package Compare versions

Comparing version 0.0.0-b8fda6cab to 0.0.0-bb1c82155

6

cjs/react-is.development.js

@@ -147,2 +147,3 @@ /** @license React vundefined

var Suspense = REACT_SUSPENSE_TYPE;
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
var hasWarnedAboutDeprecatedIsAsyncMode = false;

@@ -206,2 +207,5 @@ var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated

}
function isSuspenseList(object) {
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
}

@@ -219,2 +223,3 @@ exports.ContextConsumer = ContextConsumer;

exports.Suspense = Suspense;
exports.SuspenseList = SuspenseList;
exports.isAsyncMode = isAsyncMode;

@@ -233,2 +238,3 @@ exports.isConcurrentMode = isConcurrentMode;

exports.isSuspense = isSuspense;
exports.isSuspenseList = isSuspenseList;
exports.isValidElementType = isValidElementType;

@@ -235,0 +241,0 @@ exports.typeOf = typeOf;

6

cjs/react-is.production.min.js

@@ -10,5 +10,5 @@ /** @license React vundefined

'use strict';var b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110,k=60112,l=60113,m=60120,n=60115,p=60116,q=60129,r=60131;if("function"===typeof Symbol&&Symbol.for){var u=Symbol.for;b=u("react.element");c=u("react.portal");d=u("react.fragment");e=u("react.strict_mode");f=u("react.profiler");g=u("react.provider");h=u("react.context");k=u("react.forward_ref");l=u("react.suspense");m=u("react.suspense_list");n=u("react.memo");p=u("react.lazy");q=u("react.debug_trace_mode");r=u("react.legacy_hidden")}
var v=0;"function"===typeof Symbol&&(v=Symbol.for("react.module.reference"));function w(a){if("object"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type,a){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof,a){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var x=g,y=b,z=k,A=d,B=p,C=n,D=c,E=f,F=e,G=l;exports.ContextConsumer=h;exports.ContextProvider=x;exports.Element=y;exports.ForwardRef=z;exports.Fragment=A;
exports.Lazy=B;exports.Memo=C;exports.Portal=D;exports.Profiler=E;exports.StrictMode=F;exports.Suspense=G;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return w(a)===h};exports.isContextProvider=function(a){return w(a)===g};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return w(a)===k};exports.isFragment=function(a){return w(a)===d};
exports.isLazy=function(a){return w(a)===p};exports.isMemo=function(a){return w(a)===n};exports.isPortal=function(a){return w(a)===c};exports.isProfiler=function(a){return w(a)===f};exports.isStrictMode=function(a){return w(a)===e};exports.isSuspense=function(a){return w(a)===l};
var v=0;"function"===typeof Symbol&&(v=Symbol.for("react.module.reference"));function w(a){if("object"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type,a){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof,a){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var x=g,y=b,z=k,A=d,B=p,C=n,D=c,E=f,F=e,G=l,H=m;exports.ContextConsumer=h;exports.ContextProvider=x;exports.Element=y;exports.ForwardRef=z;exports.Fragment=A;
exports.Lazy=B;exports.Memo=C;exports.Portal=D;exports.Profiler=E;exports.StrictMode=F;exports.Suspense=G;exports.SuspenseList=H;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return w(a)===h};exports.isContextProvider=function(a){return w(a)===g};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return w(a)===k};
exports.isFragment=function(a){return w(a)===d};exports.isLazy=function(a){return w(a)===p};exports.isMemo=function(a){return w(a)===n};exports.isPortal=function(a){return w(a)===c};exports.isProfiler=function(a){return w(a)===f};exports.isStrictMode=function(a){return w(a)===e};exports.isSuspense=function(a){return w(a)===l};exports.isSuspenseList=function(a){return w(a)===m};
exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===d||a===f||a===q||a===e||a===l||a===m||a===r||"object"===typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===n||a.$$typeof===g||a.$$typeof===h||a.$$typeof===k||a.$$typeof===v||void 0!==a.getModuleId)?!0:!1};exports.typeOf=w;
{
"name": "react-is",
"version": "0.0.0-b8fda6cab",
"version": "0.0.0-bb1c82155",
"description": "Brand checking of React Elements.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -146,2 +146,3 @@ /** @license React vundefined

var Suspense = REACT_SUSPENSE_TYPE;
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
var hasWarnedAboutDeprecatedIsAsyncMode = false;

@@ -205,2 +206,5 @@ var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated

}
function isSuspenseList(object) {
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
}

@@ -218,2 +222,3 @@ exports.ContextConsumer = ContextConsumer;

exports.Suspense = Suspense;
exports.SuspenseList = SuspenseList;
exports.isAsyncMode = isAsyncMode;

@@ -232,2 +237,3 @@ exports.isConcurrentMode = isConcurrentMode;

exports.isSuspense = isSuspense;
exports.isSuspenseList = isSuspenseList;
exports.isValidElementType = isValidElementType;

@@ -234,0 +240,0 @@ exports.typeOf = typeOf;

@@ -9,7 +9,7 @@ /** @license React vundefined

*/
(function(){'use strict';(function(b,c){"object"===typeof exports&&"undefined"!==typeof module?c(exports):"function"===typeof define&&define.amd?define(["exports"],c):(b=b||self,c(b.ReactIs={}))})(this,function(b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case q:switch(a=a.type,a){case e:case f:case g:case h:case t:return a;default:switch(a=a&&a.$$typeof,a){case k:case l:case m:case n:case p:return a;default:return b}}case r:return b}}}var q=60103,r=60106,e=60107,g=60108,f=60114,
p=60109,k=60110,l=60112,h=60113,t=60120,n=60115,m=60116,u=60129,v=60131;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;q=d("react.element");r=d("react.portal");e=d("react.fragment");g=d("react.strict_mode");f=d("react.profiler");p=d("react.provider");k=d("react.context");l=d("react.forward_ref");h=d("react.suspense");t=d("react.suspense_list");n=d("react.memo");m=d("react.lazy");u=d("react.debug_trace_mode");v=d("react.legacy_hidden")}var w=0;"function"===typeof Symbol&&(w=Symbol.for("react.module.reference"));
b.ContextConsumer=k;b.ContextProvider=p;b.Element=q;b.ForwardRef=l;b.Fragment=e;b.Lazy=m;b.Memo=n;b.Portal=r;b.Profiler=f;b.StrictMode=g;b.Suspense=h;b.isAsyncMode=function(a){return!1};b.isConcurrentMode=function(a){return!1};b.isContextConsumer=function(a){return c(a)===k};b.isContextProvider=function(a){return c(a)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===q};b.isForwardRef=function(a){return c(a)===l};b.isFragment=function(a){return c(a)===e};b.isLazy=function(a){return c(a)===
m};b.isMemo=function(a){return c(a)===n};b.isPortal=function(a){return c(a)===r};b.isProfiler=function(a){return c(a)===f};b.isStrictMode=function(a){return c(a)===g};b.isSuspense=function(a){return c(a)===h};b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===f||a===u||a===g||a===h||a===t||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===m||a.$$typeof===n||a.$$typeof===p||a.$$typeof===k||a.$$typeof===l||a.$$typeof===w||void 0!==a.getModuleId)?!0:!1};b.typeOf=
c});
(function(){'use strict';(function(b,c){"object"===typeof exports&&"undefined"!==typeof module?c(exports):"function"===typeof define&&define.amd?define(["exports"],c):(b=b||self,c(b.ReactIs={}))})(this,function(b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case r:switch(a=a.type,a){case e:case f:case g:case h:case k:return a;default:switch(a=a&&a.$$typeof,a){case l:case m:case n:case p:case q:return a;default:return b}}case t:return b}}}var r=60103,t=60106,e=60107,g=60108,f=60114,
q=60109,l=60110,m=60112,h=60113,k=60120,p=60115,n=60116,u=60129,v=60131;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;r=d("react.element");t=d("react.portal");e=d("react.fragment");g=d("react.strict_mode");f=d("react.profiler");q=d("react.provider");l=d("react.context");m=d("react.forward_ref");h=d("react.suspense");k=d("react.suspense_list");p=d("react.memo");n=d("react.lazy");u=d("react.debug_trace_mode");v=d("react.legacy_hidden")}var w=0;"function"===typeof Symbol&&(w=Symbol.for("react.module.reference"));
b.ContextConsumer=l;b.ContextProvider=q;b.Element=r;b.ForwardRef=m;b.Fragment=e;b.Lazy=n;b.Memo=p;b.Portal=t;b.Profiler=f;b.StrictMode=g;b.Suspense=h;b.SuspenseList=k;b.isAsyncMode=function(a){return!1};b.isConcurrentMode=function(a){return!1};b.isContextConsumer=function(a){return c(a)===l};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===r};b.isForwardRef=function(a){return c(a)===m};b.isFragment=function(a){return c(a)===
e};b.isLazy=function(a){return c(a)===n};b.isMemo=function(a){return c(a)===p};b.isPortal=function(a){return c(a)===t};b.isProfiler=function(a){return c(a)===f};b.isStrictMode=function(a){return c(a)===g};b.isSuspense=function(a){return c(a)===h};b.isSuspenseList=function(a){return c(a)===k};b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===f||a===u||a===g||a===h||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===n||a.$$typeof===p||a.$$typeof===
q||a.$$typeof===l||a.$$typeof===m||a.$$typeof===w||void 0!==a.getModuleId)?!0:!1};b.typeOf=c});
})();
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