react-is
Advanced tools
Comparing version 16.3.0-alpha.2 to 16.3.0-alpha.3
@@ -1,2 +0,2 @@ | ||
/** @license React v16.3.0-alpha.2 | ||
/** @license React v16.3.0-alpha.3 | ||
* react-is.development.js | ||
@@ -49,3 +49,3 @@ * | ||
default: | ||
var $$typeofType = type.$$typeof; | ||
var $$typeofType = type && type.$$typeof; | ||
@@ -52,0 +52,0 @@ switch ($$typeofType) { |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.3.0-alpha.2 | ||
/** @license React v16.3.0-alpha.3 | ||
* react-is.production.min.js | ||
@@ -11,3 +11,3 @@ * | ||
'use strict';Object.defineProperty(exports,"__esModule",{value:!0});var b="function"===typeof Symbol&&Symbol["for"],c=b?Symbol["for"]("react.element"):60103,d=b?Symbol["for"]("react.portal"):60106,e=b?Symbol["for"]("react.fragment"):60107,f=b?Symbol["for"]("react.strict_mode"):60108,g=b?Symbol["for"]("react.provider"):60109,h=b?Symbol["for"]("react.context"):60110,k=b?Symbol["for"]("react.async_mode"):60111,l=b?Symbol["for"]("react.forward_ref"):60112; | ||
function m(a){if("object"===typeof a&&null!==a){var n=a.$$typeof;switch(n){case c:switch(a=a.type,a){case k:case e:case f:return a;default:switch(a=a.$$typeof,a){case h:case l:case g:return a;default:return n}}case d:return n}}}exports.typeOf=m;exports.AsyncMode=k;exports.ContextConsumer=h;exports.ContextProvider=g;exports.Element=c;exports.ForwardRef=l;exports.Fragment=e;exports.Portal=d;exports.StrictMode=f;exports.isAsyncMode=function(a){return m(a)===k}; | ||
function m(a){if("object"===typeof a&&null!==a){var n=a.$$typeof;switch(n){case c:switch(a=a.type,a){case k:case e:case f:return a;default:switch(a=a&&a.$$typeof,a){case h:case l:case g:return a;default:return n}}case d:return n}}}exports.typeOf=m;exports.AsyncMode=k;exports.ContextConsumer=h;exports.ContextProvider=g;exports.Element=c;exports.ForwardRef=l;exports.Fragment=e;exports.Portal=d;exports.StrictMode=f;exports.isAsyncMode=function(a){return m(a)===k}; | ||
exports.isContextConsumer=function(a){return m(a)===h};exports.isContextProvider=function(a){return m(a)===g};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return m(a)===l};exports.isFragment=function(a){return m(a)===e};exports.isPortal=function(a){return m(a)===d};exports.isStrictMode=function(a){return m(a)===f}; |
{ | ||
"name": "react-is", | ||
"version": "16.3.0-alpha.2", | ||
"version": "16.3.0-alpha.3", | ||
"description": "Brand checking of React Elements.", | ||
@@ -16,3 +16,3 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"react": "^16.0.0 || 16.3.0-alpha.2" | ||
"react": "^16.0.0 || 16.3.0-alpha.3" | ||
}, | ||
@@ -19,0 +19,0 @@ "files": [ |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.3.0-alpha.2 | ||
/** @license React v16.3.0-alpha.3 | ||
* react-is.development.js | ||
@@ -47,3 +47,3 @@ * | ||
default: | ||
var $$typeofType = type.$$typeof; | ||
var $$typeofType = type && type.$$typeof; | ||
@@ -50,0 +50,0 @@ switch ($$typeofType) { |
@@ -1,2 +0,2 @@ | ||
/** @license React v16.3.0-alpha.2 | ||
/** @license React v16.3.0-alpha.3 | ||
* react-is.production.min.js | ||
@@ -9,4 +9,4 @@ * | ||
*/ | ||
'use strict';(function(b,c){"object"===typeof exports&&"undefined"!==typeof module?c(exports):"function"===typeof define&&define.amd?define(["exports"],c):c(b.ReactIs={})})(this,function(b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case e:switch(a=a.type,a){case f:case g:case h:return a;default:switch(a=a.$$typeof,a){case k:case l:case m:return a;default:return b}}case n:return b}}}var d="function"===typeof Symbol&&Symbol["for"],e=d?Symbol["for"]("react.element"): | ||
'use strict';(function(b,c){"object"===typeof exports&&"undefined"!==typeof module?c(exports):"function"===typeof define&&define.amd?define(["exports"],c):c(b.ReactIs={})})(this,function(b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case e:switch(a=a.type,a){case f:case g:case h:return a;default:switch(a=a&&a.$$typeof,a){case k:case l:case m:return a;default:return b}}case n:return b}}}var d="function"===typeof Symbol&&Symbol["for"],e=d?Symbol["for"]("react.element"): | ||
60103,n=d?Symbol["for"]("react.portal"):60106,g=d?Symbol["for"]("react.fragment"):60107,h=d?Symbol["for"]("react.strict_mode"):60108,m=d?Symbol["for"]("react.provider"):60109,k=d?Symbol["for"]("react.context"):60110,f=d?Symbol["for"]("react.async_mode"):60111,l=d?Symbol["for"]("react.forward_ref"):60112;b.typeOf=c;b.AsyncMode=f;b.ContextConsumer=k;b.ContextProvider=m;b.Element=e;b.ForwardRef=l;b.Fragment=g;b.Portal=n;b.StrictMode=h;b.isAsyncMode=function(a){return c(a)===f};b.isContextConsumer=function(a){return c(a)=== | ||
k};b.isContextProvider=function(a){return c(a)===m};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===e};b.isForwardRef=function(a){return c(a)===l};b.isFragment=function(a){return c(a)===g};b.isPortal=function(a){return c(a)===n};b.isStrictMode=function(a){return c(a)===h};Object.defineProperty(b,"__esModule",{value:!0})}); |
14269