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

react

Package Overview
Dependencies
Maintainers
6
Versions
2058
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 16.0.0-beta.4 to 16.0.0-beta.5

2

cjs/react.development.js

@@ -1005,3 +1005,3 @@ 'use strict';

var ReactVersion = '16.0.0-beta.4';
var ReactVersion = '16.0.0-beta.5';

@@ -1008,0 +1008,0 @@ /**

@@ -1,1 +0,1 @@

"use strict";function e(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}function t(e,t){}function n(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||R}function r(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||R}function o(){}function u(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||R}function l(e){return void 0!==e.ref}function i(e){return void 0!==e.key}function c(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function a(e){return(""+e).replace(B,"$&/")}function f(e,t,n,r){if(Y.length){var o=Y.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function p(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,Y.length<W&&Y.push(e)}function s(e,t,n,r){var o=typeof e;if("undefined"!==o&&"boolean"!==o||(e=null),null===e||"string"===o||"number"===o||"object"===o&&e.$$typeof===D)return n(r,e,""===t?K+d(e,0):t),1;var u,l,i=0,c=""===t?K:t+M;if(Array.isArray(e))for(var a=0;a<e.length;a++)u=e[a],l=c+d(u,a),i+=s(u,l,n,r);else{var f=T&&e[T]||e[L];if("function"==typeof f)for(var p,y=f.call(e),m=0;!(p=y.next()).done;)u=p.value,l=c+d(u,m++),i+=s(u,l,n,r);else if("object"===o){var h=""+e;C("31","[object Object]"===h?"object with keys {"+Object.keys(e).join(", ")+"}":h,"")}}return i}function y(e,t,n){return null==e?0:s(e,"",t,n)}function d(e,t){return"object"==typeof e&&null!==e&&null!=e.key?c(e.key):t.toString(36)}function m(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function h(e,t,n){if(null==e)return e;var r=f(null,null,t,n);y(e,m,r),p(r)}function v(e,t,n){var r=e.result,o=e.keyPrefix,u=e.func,l=e.context,i=u.call(l,t,e.count++);Array.isArray(i)?b(i,r,n,j.thatReturnsArgument):null!=i&&(N.isValidElement(i)&&(i=N.cloneAndReplaceKey(i,o+(!i.key||t&&t.key===i.key?"":a(i.key)+"/")+n)),r.push(i))}function b(e,t,n,r,o){var u="";null!=n&&(u=a(n)+"/");var l=f(t,u,r,o);y(e,v,l),p(l)}function _(e,t,n){if(null==e)return e;var r=[];return b(e,r,null,t,n),r}function E(e,t){return y(e,j.thatReturnsNull,null)}function S(e){var t=[];return b(e,t,null,j.thatReturnsArgument),t}function k(e){return N.isValidElement(e)||C("143"),e}var A=require("object-assign"),g=require("fbjs/lib/emptyObject");require("fbjs/lib/invariant");var j=require("fbjs/lib/emptyFunction"),C=e,P={isMounted:function(e){return!1},enqueueForceUpdate:function(e,n,r){t(e,"forceUpdate")},enqueueReplaceState:function(e,n,r,o){t(e,"replaceState")},enqueueSetState:function(e,n,r,o){t(e,"setState")}},R=P;n.prototype.isReactComponent={},n.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&C("85"),this.updater.enqueueSetState(this,e,t,"setState")},n.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=n.prototype;var x=r.prototype=new o;x.constructor=r,A(x,n.prototype),x.isPureReactComponent=!0;var w=u.prototype=new o;w.constructor=u,A(w,n.prototype),w.unstable_isAsyncReactComponent=!0,w.render=function(){return this.props.children};var O={Component:n,PureComponent:r,AsyncComponent:u},q={current:null},U=q,$=Object.prototype.hasOwnProperty,F="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,V={key:!0,ref:!0,__self:!0,__source:!0},I=function(e,t,n,r,o,u,l){return{$$typeof:F,type:e,key:t,ref:n,props:l,_owner:u}};I.createElement=function(e,t,n){var r,o={},u=null,c=null,a=null,f=null;if(null!=t){l(t)&&(c=t.ref),i(t)&&(u=""+t.key),a=void 0===t.__self?null:t.__self,f=void 0===t.__source?null:t.__source;for(r in t)$.call(t,r)&&!V.hasOwnProperty(r)&&(o[r]=t[r])}var p=arguments.length-2;if(1===p)o.children=n;else if(p>1){for(var s=Array(p),y=0;y<p;y++)s[y]=arguments[y+2];o.children=s}if(e&&e.defaultProps){var d=e.defaultProps;for(r in d)void 0===o[r]&&(o[r]=d[r])}return I(e,u,c,a,f,U.current,o)},I.createFactory=function(e){var t=I.createElement.bind(null,e);return t.type=e,t},I.cloneAndReplaceKey=function(e,t){return I(e.type,t,e.ref,e._self,e._source,e._owner,e.props)},I.cloneElement=function(e,t,n){var r,o=A({},e.props),u=e.key,c=e.ref,a=e._self,f=e._source,p=e._owner;if(null!=t){l(t)&&(c=t.ref,p=U.current),i(t)&&(u=""+t.key);var s;e.type&&e.type.defaultProps&&(s=e.type.defaultProps);for(r in t)$.call(t,r)&&!V.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==s?o[r]=s[r]:o[r]=t[r])}var y=arguments.length-2;if(1===y)o.children=n;else if(y>1){for(var d=Array(y),m=0;m<y;m++)d[m]=arguments[m+2];o.children=d}return I(e.type,u,c,a,f,p,o)},I.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===F};var N=I,T="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",D="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,K=".",M=":",B=/\/+/g,W=10,Y=[],z={forEach:h,map:_,count:E,toArray:S},G=z,H="16.0.0-beta.4",J=k,Q=N.createElement,X=N.createFactory,Z=N.cloneElement,ee={Children:{map:G.map,forEach:G.forEach,count:G.count,toArray:G.toArray,only:J},Component:O.Component,PureComponent:O.PureComponent,unstable_AsyncComponent:O.AsyncComponent,createElement:Q,cloneElement:Z,isValidElement:N.isValidElement,createFactory:X,version:H,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:U}},te=ee;module.exports=te;
"use strict";function e(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}function t(e,t){}function n(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||R}function r(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||R}function o(){}function u(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||R}function l(e){return void 0!==e.ref}function i(e){return void 0!==e.key}function c(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function a(e){return(""+e).replace(B,"$&/")}function f(e,t,n,r){if(Y.length){var o=Y.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function p(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,Y.length<W&&Y.push(e)}function s(e,t,n,r){var o=typeof e;if("undefined"!==o&&"boolean"!==o||(e=null),null===e||"string"===o||"number"===o||"object"===o&&e.$$typeof===D)return n(r,e,""===t?K+d(e,0):t),1;var u,l,i=0,c=""===t?K:t+M;if(Array.isArray(e))for(var a=0;a<e.length;a++)u=e[a],l=c+d(u,a),i+=s(u,l,n,r);else{var f=T&&e[T]||e[L];if("function"==typeof f)for(var p,y=f.call(e),m=0;!(p=y.next()).done;)u=p.value,l=c+d(u,m++),i+=s(u,l,n,r);else if("object"===o){var h=""+e;C("31","[object Object]"===h?"object with keys {"+Object.keys(e).join(", ")+"}":h,"")}}return i}function y(e,t,n){return null==e?0:s(e,"",t,n)}function d(e,t){return"object"==typeof e&&null!==e&&null!=e.key?c(e.key):t.toString(36)}function m(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function h(e,t,n){if(null==e)return e;var r=f(null,null,t,n);y(e,m,r),p(r)}function v(e,t,n){var r=e.result,o=e.keyPrefix,u=e.func,l=e.context,i=u.call(l,t,e.count++);Array.isArray(i)?b(i,r,n,j.thatReturnsArgument):null!=i&&(N.isValidElement(i)&&(i=N.cloneAndReplaceKey(i,o+(!i.key||t&&t.key===i.key?"":a(i.key)+"/")+n)),r.push(i))}function b(e,t,n,r,o){var u="";null!=n&&(u=a(n)+"/");var l=f(t,u,r,o);y(e,v,l),p(l)}function _(e,t,n){if(null==e)return e;var r=[];return b(e,r,null,t,n),r}function E(e,t){return y(e,j.thatReturnsNull,null)}function S(e){var t=[];return b(e,t,null,j.thatReturnsArgument),t}function k(e){return N.isValidElement(e)||C("143"),e}var A=require("object-assign"),g=require("fbjs/lib/emptyObject");require("fbjs/lib/invariant");var j=require("fbjs/lib/emptyFunction"),C=e,P={isMounted:function(e){return!1},enqueueForceUpdate:function(e,n,r){t(e,"forceUpdate")},enqueueReplaceState:function(e,n,r,o){t(e,"replaceState")},enqueueSetState:function(e,n,r,o){t(e,"setState")}},R=P;n.prototype.isReactComponent={},n.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&C("85"),this.updater.enqueueSetState(this,e,t,"setState")},n.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=n.prototype;var x=r.prototype=new o;x.constructor=r,A(x,n.prototype),x.isPureReactComponent=!0;var w=u.prototype=new o;w.constructor=u,A(w,n.prototype),w.unstable_isAsyncReactComponent=!0,w.render=function(){return this.props.children};var O={Component:n,PureComponent:r,AsyncComponent:u},q={current:null},U=q,$=Object.prototype.hasOwnProperty,F="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,V={key:!0,ref:!0,__self:!0,__source:!0},I=function(e,t,n,r,o,u,l){return{$$typeof:F,type:e,key:t,ref:n,props:l,_owner:u}};I.createElement=function(e,t,n){var r,o={},u=null,c=null,a=null,f=null;if(null!=t){l(t)&&(c=t.ref),i(t)&&(u=""+t.key),a=void 0===t.__self?null:t.__self,f=void 0===t.__source?null:t.__source;for(r in t)$.call(t,r)&&!V.hasOwnProperty(r)&&(o[r]=t[r])}var p=arguments.length-2;if(1===p)o.children=n;else if(p>1){for(var s=Array(p),y=0;y<p;y++)s[y]=arguments[y+2];o.children=s}if(e&&e.defaultProps){var d=e.defaultProps;for(r in d)void 0===o[r]&&(o[r]=d[r])}return I(e,u,c,a,f,U.current,o)},I.createFactory=function(e){var t=I.createElement.bind(null,e);return t.type=e,t},I.cloneAndReplaceKey=function(e,t){return I(e.type,t,e.ref,e._self,e._source,e._owner,e.props)},I.cloneElement=function(e,t,n){var r,o=A({},e.props),u=e.key,c=e.ref,a=e._self,f=e._source,p=e._owner;if(null!=t){l(t)&&(c=t.ref,p=U.current),i(t)&&(u=""+t.key);var s;e.type&&e.type.defaultProps&&(s=e.type.defaultProps);for(r in t)$.call(t,r)&&!V.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==s?o[r]=s[r]:o[r]=t[r])}var y=arguments.length-2;if(1===y)o.children=n;else if(y>1){for(var d=Array(y),m=0;m<y;m++)d[m]=arguments[m+2];o.children=d}return I(e.type,u,c,a,f,p,o)},I.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===F};var N=I,T="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",D="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,K=".",M=":",B=/\/+/g,W=10,Y=[],z={forEach:h,map:_,count:E,toArray:S},G=z,H="16.0.0-beta.5",J=k,Q=N.createElement,X=N.createFactory,Z=N.cloneElement,ee={Children:{map:G.map,forEach:G.forEach,count:G.count,toArray:G.toArray,only:J},Component:O.Component,PureComponent:O.PureComponent,unstable_AsyncComponent:O.AsyncComponent,createElement:Q,cloneElement:Z,isValidElement:N.isValidElement,createFactory:X,version:H,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:U}},te=ee;module.exports=te;
{
"name": "react",
"description": "React is a JavaScript library for building user interfaces.",
"version": "16.0.0-beta.4",
"version": "16.0.0-beta.5",
"keywords": [

@@ -6,0 +6,0 @@ "react"

/**
* react.production.min.js v16.0.0-beta.4
* react.production.min.js v16.0.0-beta.5
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.React=t()}(this,function(){"use strict";function e(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function t(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}function n(e,t,n){this.props=e,this.context=t,this.refs=$,this.updater=n||C}function r(e,t,n){this.props=e,this.context=t,this.refs=$,this.updater=n||C}function o(){}function u(e,t,n){this.props=e,this.context=t,this.refs=$,this.updater=n||C}function i(e){return void 0!==e.ref}function c(e){return void 0!==e.key}function l(e){return function(){return e}}function a(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function f(e){return(""+e).replace(J,"$&/")}function s(e,t,n,r){if(X.length){var o=X.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function p(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,X.length<Q&&X.push(e)}function y(e,t,n,r){var o=typeof e;if("undefined"!==o&&"boolean"!==o||(e=null),null===e||"string"===o||"number"===o||"object"===o&&e.$$typeof===z)return n(r,e,""===t?G+d(e,0):t),1;var u,i,c=0,l=""===t?G:t+H;if(Array.isArray(e))for(var a=0;a<e.length;a++)u=e[a],i=l+d(u,a),c+=y(u,i,n,r);else{var f=W&&e[W]||e[Y];if("function"==typeof f)for(var s,p=f.call(e),h=0;!(s=p.next()).done;)u=s.value,i=l+d(u,h++),c+=y(u,i,n,r);else if("object"===o){var m=""+e;P("31","[object Object]"===m?"object with keys {"+Object.keys(e).join(", ")+"}":m,"")}}return c}function h(e,t,n){return null==e?0:y(e,"",t,n)}function d(e,t){return"object"==typeof e&&null!==e&&null!=e.key?a(e.key):t.toString(36)}function m(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function v(e,t,n){if(null==e)return e;var r=s(null,null,t,n);h(e,m,r),p(r)}function b(e,t,n){var r=e.result,o=e.keyPrefix,u=e.func,i=e.context,c=u.call(i,t,e.count++);Array.isArray(c)?_(c,r,n,B.thatReturnsArgument):null!=c&&(K.isValidElement(c)&&(c=K.cloneAndReplaceKey(c,o+(!c.key||t&&t.key===c.key?"":f(c.key)+"/")+n)),r.push(c))}function _(e,t,n,r,o){var u="";null!=n&&(u=f(n)+"/");var i=s(t,u,r,o);h(e,b,i),p(i)}function g(e,t,n){if(null==e)return e;var r=[];return _(e,r,null,t,n),r}function j(e,t){return h(e,B.thatReturnsNull,null)}function O(e){var t=[];return _(e,t,null,B.thatReturnsArgument),t}function E(e){return K.isValidElement(e)||P("143"),e}var R=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,w=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(t,n){for(var r,o,u=e(t),i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var c in r)k.call(r,c)&&(u[c]=r[c]);if(R){o=R(r);for(var l=0;l<o.length;l++)S.call(r,o[l])&&(u[o[l]]=r[o[l]])}}return u},P=t,A={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){},enqueueReplaceState:function(e,t,n,r){},enqueueSetState:function(e,t,n,r){}},C=A,x={},$=x;n.prototype.isReactComponent={},n.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&P("85"),this.updater.enqueueSetState(this,e,t,"setState")},n.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=n.prototype;var q=r.prototype=new o;q.constructor=r,w(q,n.prototype),q.isPureReactComponent=!0;var F=u.prototype=new o;F.constructor=u,w(F,n.prototype),F.unstable_isAsyncReactComponent=!0,F.render=function(){return this.props.children};var N={Component:n,PureComponent:r,AsyncComponent:u},T={current:null},U=T,I=Object.prototype.hasOwnProperty,V="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,L={key:!0,ref:!0,__self:!0,__source:!0},D=function(e,t,n,r,o,u,i){return{$$typeof:V,type:e,key:t,ref:n,props:i,_owner:u}};D.createElement=function(e,t,n){var r,o={},u=null,l=null;if(null!=t){i(t)&&(l=t.ref),c(t)&&(u=""+t.key),void 0===t.__self?null:t.__self,void 0===t.__source?null:t.__source;for(r in t)I.call(t,r)&&!L.hasOwnProperty(r)&&(o[r]=t[r])}var a=arguments.length-2;if(1===a)o.children=n;else if(a>1){for(var f=Array(a),s=0;s<a;s++)f[s]=arguments[s+2];o.children=f}if(e&&e.defaultProps){var p=e.defaultProps;for(r in p)void 0===o[r]&&(o[r]=p[r])}return D(e,u,l,0,0,U.current,o)},D.createFactory=function(e){var t=D.createElement.bind(null,e);return t.type=e,t},D.cloneAndReplaceKey=function(e,t){return D(e.type,t,e.ref,e._self,e._source,e._owner,e.props)},D.cloneElement=function(e,t,n){var r,o=w({},e.props),u=e.key,l=e.ref,a=(e._self,e._source,e._owner);if(null!=t){i(t)&&(l=t.ref,a=U.current),c(t)&&(u=""+t.key);var f;e.type&&e.type.defaultProps&&(f=e.type.defaultProps);for(r in t)I.call(t,r)&&!L.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==f?o[r]=f[r]:o[r]=t[r])}var s=arguments.length-2;if(1===s)o.children=n;else if(s>1){for(var p=Array(s),y=0;y<s;y++)p[y]=arguments[y+2];o.children=p}return D(e.type,u,l,0,0,a,o)},D.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===V};var K=D,M=function(){};M.thatReturns=l,M.thatReturnsFalse=l(!1),M.thatReturnsTrue=l(!0),M.thatReturnsNull=l(null),M.thatReturnsThis=function(){return this},M.thatReturnsArgument=function(e){return e};var B=M,W="function"==typeof Symbol&&Symbol.iterator,Y="@@iterator",z="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,G=".",H=":",J=/\/+/g,Q=10,X=[],Z={forEach:v,map:g,count:j,toArray:O},ee=Z,te=E,ne=K.createElement,re=K.createFactory;return{Children:{map:ee.map,forEach:ee.forEach,count:ee.count,toArray:ee.toArray,only:te},Component:N.Component,PureComponent:N.PureComponent,unstable_AsyncComponent:N.AsyncComponent,createElement:ne,cloneElement:K.cloneElement,isValidElement:K.isValidElement,createFactory:re,version:"16.0.0-beta.4",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:U}}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.React=t()}(this,function(){"use strict";function e(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function t(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}function n(e,t,n){this.props=e,this.context=t,this.refs=$,this.updater=n||C}function r(e,t,n){this.props=e,this.context=t,this.refs=$,this.updater=n||C}function o(){}function u(e,t,n){this.props=e,this.context=t,this.refs=$,this.updater=n||C}function i(e){return void 0!==e.ref}function c(e){return void 0!==e.key}function l(e){return function(){return e}}function a(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function f(e){return(""+e).replace(J,"$&/")}function s(e,t,n,r){if(X.length){var o=X.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function p(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,X.length<Q&&X.push(e)}function y(e,t,n,r){var o=typeof e;if("undefined"!==o&&"boolean"!==o||(e=null),null===e||"string"===o||"number"===o||"object"===o&&e.$$typeof===z)return n(r,e,""===t?G+d(e,0):t),1;var u,i,c=0,l=""===t?G:t+H;if(Array.isArray(e))for(var a=0;a<e.length;a++)u=e[a],i=l+d(u,a),c+=y(u,i,n,r);else{var f=W&&e[W]||e[Y];if("function"==typeof f)for(var s,p=f.call(e),h=0;!(s=p.next()).done;)u=s.value,i=l+d(u,h++),c+=y(u,i,n,r);else if("object"===o){var m=""+e;P("31","[object Object]"===m?"object with keys {"+Object.keys(e).join(", ")+"}":m,"")}}return c}function h(e,t,n){return null==e?0:y(e,"",t,n)}function d(e,t){return"object"==typeof e&&null!==e&&null!=e.key?a(e.key):t.toString(36)}function m(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function v(e,t,n){if(null==e)return e;var r=s(null,null,t,n);h(e,m,r),p(r)}function b(e,t,n){var r=e.result,o=e.keyPrefix,u=e.func,i=e.context,c=u.call(i,t,e.count++);Array.isArray(c)?_(c,r,n,B.thatReturnsArgument):null!=c&&(K.isValidElement(c)&&(c=K.cloneAndReplaceKey(c,o+(!c.key||t&&t.key===c.key?"":f(c.key)+"/")+n)),r.push(c))}function _(e,t,n,r,o){var u="";null!=n&&(u=f(n)+"/");var i=s(t,u,r,o);h(e,b,i),p(i)}function g(e,t,n){if(null==e)return e;var r=[];return _(e,r,null,t,n),r}function j(e,t){return h(e,B.thatReturnsNull,null)}function O(e){var t=[];return _(e,t,null,B.thatReturnsArgument),t}function E(e){return K.isValidElement(e)||P("143"),e}var R=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,w=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(t,n){for(var r,o,u=e(t),i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var c in r)k.call(r,c)&&(u[c]=r[c]);if(R){o=R(r);for(var l=0;l<o.length;l++)S.call(r,o[l])&&(u[o[l]]=r[o[l]])}}return u},P=t,A={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){},enqueueReplaceState:function(e,t,n,r){},enqueueSetState:function(e,t,n,r){}},C=A,x={},$=x;n.prototype.isReactComponent={},n.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&P("85"),this.updater.enqueueSetState(this,e,t,"setState")},n.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=n.prototype;var q=r.prototype=new o;q.constructor=r,w(q,n.prototype),q.isPureReactComponent=!0;var F=u.prototype=new o;F.constructor=u,w(F,n.prototype),F.unstable_isAsyncReactComponent=!0,F.render=function(){return this.props.children};var N={Component:n,PureComponent:r,AsyncComponent:u},T={current:null},U=T,I=Object.prototype.hasOwnProperty,V="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,L={key:!0,ref:!0,__self:!0,__source:!0},D=function(e,t,n,r,o,u,i){return{$$typeof:V,type:e,key:t,ref:n,props:i,_owner:u}};D.createElement=function(e,t,n){var r,o={},u=null,l=null;if(null!=t){i(t)&&(l=t.ref),c(t)&&(u=""+t.key),void 0===t.__self?null:t.__self,void 0===t.__source?null:t.__source;for(r in t)I.call(t,r)&&!L.hasOwnProperty(r)&&(o[r]=t[r])}var a=arguments.length-2;if(1===a)o.children=n;else if(a>1){for(var f=Array(a),s=0;s<a;s++)f[s]=arguments[s+2];o.children=f}if(e&&e.defaultProps){var p=e.defaultProps;for(r in p)void 0===o[r]&&(o[r]=p[r])}return D(e,u,l,0,0,U.current,o)},D.createFactory=function(e){var t=D.createElement.bind(null,e);return t.type=e,t},D.cloneAndReplaceKey=function(e,t){return D(e.type,t,e.ref,e._self,e._source,e._owner,e.props)},D.cloneElement=function(e,t,n){var r,o=w({},e.props),u=e.key,l=e.ref,a=(e._self,e._source,e._owner);if(null!=t){i(t)&&(l=t.ref,a=U.current),c(t)&&(u=""+t.key);var f;e.type&&e.type.defaultProps&&(f=e.type.defaultProps);for(r in t)I.call(t,r)&&!L.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==f?o[r]=f[r]:o[r]=t[r])}var s=arguments.length-2;if(1===s)o.children=n;else if(s>1){for(var p=Array(s),y=0;y<s;y++)p[y]=arguments[y+2];o.children=p}return D(e.type,u,l,0,0,a,o)},D.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===V};var K=D,M=function(){};M.thatReturns=l,M.thatReturnsFalse=l(!1),M.thatReturnsTrue=l(!0),M.thatReturnsNull=l(null),M.thatReturnsThis=function(){return this},M.thatReturnsArgument=function(e){return e};var B=M,W="function"==typeof Symbol&&Symbol.iterator,Y="@@iterator",z="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,G=".",H=":",J=/\/+/g,Q=10,X=[],Z={forEach:v,map:g,count:j,toArray:O},ee=Z,te=E,ne=K.createElement,re=K.createFactory;return{Children:{map:ee.map,forEach:ee.forEach,count:ee.count,toArray:ee.toArray,only:te},Component:N.Component,PureComponent:N.PureComponent,unstable_AsyncComponent:N.AsyncComponent,createElement:ne,cloneElement:K.cloneElement,isValidElement:K.isValidElement,createFactory:re,version:"16.0.0-beta.5",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:U}}});

Sorry, the diff of this file is too big to display

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