react 16.0.0-rc.1 → 16.1.0-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,22 @@
1
- function x(){function q(){}function n(a,b,c,d,e,f,g){return{$$typeof:J,type:a,key:b,ref:c,props:g,_owner:f}}function y(a){for(var b=arguments.length-1,c="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,d=0;d<b;d++)c+="\x26args[]\x3d"+encodeURIComponent(arguments[d+1]);b=Error(c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;
2
- }function r(a,b,c){this.props=a;this.context=b;this.refs=z;this.updater=c||A}function B(a,b,c){this.props=a;this.context=b;this.refs=z;this.updater=c||A}function C(){}function D(a,b,c){this.props=a;this.context=b;this.refs=z;this.updater=c||A}function v(a){return function(){return a}}function R(a){var b={"\x3d":"\x3d0",":":"\x3d2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function K(a,b,c,d){if(w.length){var e=w.pop();e.result=a;e.keyPrefix=b;e.func=c;e.context=d;e.count=0;return e}return{result:a,
3
- keyPrefix:b,func:c,context:d,count:0}}function L(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>w.length&&w.push(a)}function u(a,b,c,d){var e=typeof a;if("undefined"===e||"boolean"===e)a=null;if(null===a||"string"===e||"number"===e||"object"===e&&a.$$typeof===S)return c(d,a,""===b?"."+E(a,0):b),1;var f=0;b=""===b?".":b+":";if(Array.isArray(a))for(var g=0;g<a.length;g++){e=a[g];var h=b+E(e,g);f+=u(e,h,c,d)}else if(h=M&&a[M]||a["@@iterator"],"function"===typeof h)for(a=h.call(a),
4
- g=0;!(e=a.next()).done;)e=e.value,h=b+E(e,g++),f+=u(e,h,c,d);else"object"===e&&(c=""+a,y("31","[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return f}function E(a,b){return"object"===typeof a&&null!==a&&null!=a.key?R(a.key):b.toString(36)}function T(a,b){a.func.call(a.context,b,a.count++)}function U(a,b,c){var d=a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?F(a,d,c,G.thatReturnsArgument):null!=a&&(t.isValidElement(a)&&(a=t.cloneAndReplaceKey(a,
5
- e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(N,"$\x26/")+"/")+c)),d.push(a))}function F(a,b,c,d,e){var f="";null!=c&&(f=(""+c).replace(N,"$\x26/")+"/");b=K(b,f,d,e);null==a||u(a,"",U,b);L(b)}var O=Object.getOwnPropertySymbols,V=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,H=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==
6
- Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(d){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var d,e=1;e<arguments.length;e++){var f=Object(arguments[e]);for(var g in f)V.call(f,g)&&(c[g]=f[g]);if(O){d=
7
- O(f);for(var h=0;h<d.length;h++)W.call(f,d[h])&&(c[d[h]]=f[d[h]])}}return c},A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},z={};r.prototype.isReactComponent={};r.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?y("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};r.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};C.prototype=r.prototype;
8
- var k=B.prototype=new C;k.constructor=B;H(k,r.prototype);k.isPureReactComponent=!0;k=D.prototype=new C;k.constructor=D;H(k,r.prototype);k.unstable_isAsyncReactComponent=!0;k.render=function(){return this.props.children};var I={current:null},P=Object.prototype.hasOwnProperty,J="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,Q={key:!0,ref:!0,__self:!0,__source:!0};n.createElement=function(a,b,c){var d,e={},f=null,g=null,h=null,k=null;if(null!=b)for(d in void 0!==b.ref&&
9
- (g=b.ref),void 0!==b.key&&(f=""+b.key),h=void 0===b.__self?null:b.__self,k=void 0===b.__source?null:b.__source,b)P.call(b,d)&&!Q.hasOwnProperty(d)&&(e[d]=b[d]);var m=arguments.length-2;if(1===m)e.children=c;else if(1<m){for(var l=Array(m),p=0;p<m;p++)l[p]=arguments[p+2];e.children=l}if(a&&a.defaultProps)for(d in m=a.defaultProps,m)void 0===e[d]&&(e[d]=m[d]);return n(a,f,g,h,k,I.current,e)};n.createFactory=function(a){var b=n.createElement.bind(null,a);b.type=a;return b};n.cloneAndReplaceKey=function(a,
10
- b){return n(a.type,b,a.ref,a._self,a._source,a._owner,a.props)};n.cloneElement=function(a,b,c){var d=H({},a.props),e=a.key,f=a.ref,g=a._self,h=a._source,k=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,k=I.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var m=a.type.defaultProps;for(l in b)P.call(b,l)&&!Q.hasOwnProperty(l)&&(d[l]=void 0===b[l]&&void 0!==m?m[l]:b[l])}var l=arguments.length-2;if(1===l)d.children=c;else if(1<l){m=Array(l);for(var p=0;p<l;p++)m[p]=arguments[p+2];d.children=
11
- m}return n(a.type,e,f,g,h,k,d)};n.isValidElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===J};var t=n;q.thatReturns=v;q.thatReturnsFalse=v(!1);q.thatReturnsTrue=v(!0);q.thatReturnsNull=v(null);q.thatReturnsThis=function(){return this};q.thatReturnsArgument=function(a){return a};var G=q,M="function"===typeof Symbol&&Symbol.iterator,S="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,N=/\/+/g,w=[];return{Children:{map:function(a,b,c){if(null==a)return a;
12
- var d=[];F(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=K(null,null,b,c);null==a||u(a,"",T,b);L(b)},count:function(a){return null==a?0:u(a,"",G.thatReturnsNull,null)},toArray:function(a){var b=[];F(a,b,null,G.thatReturnsArgument);return b},only:function(a){t.isValidElement(a)?void 0:y("143");return a}},Component:r,PureComponent:B,unstable_AsyncComponent:D,createElement:t.createElement,cloneElement:t.cloneElement,isValidElement:t.isValidElement,createFactory:t.createFactory,
13
- version:"16.0.0-rc.1",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:I}}}"object"===typeof exports&&"undefined"!==typeof module?module.exports=x():"function"===typeof define&&define.amd?define(x):this.React=x();
1
+ /*
2
+ React v16.1.0-beta
3
+ react.production.min.js
4
+
5
+ Copyright (c) 2013-present, Facebook, Inc.
6
+
7
+ This source code is licensed under the MIT license found in the
8
+ LICENSE file in the root directory of this source tree.
9
+ */
10
+ 'use strict';(function(q,k){"object"===typeof exports&&"undefined"!==typeof module?module.exports=k():"function"===typeof define&&define.amd?define(k):q.React=k()})(this,function(){function q(a){for(var b=arguments.length-1,c="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,e=0;e<b;e++)c+="\x26args[]\x3d"+encodeURIComponent(arguments[e+1]);b=Error(c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");
11
+ b.name="Invariant Violation";b.framesToPop=1;throw b;}function k(a){return function(){return a}}function n(a,b,c){this.props=a;this.context=b;this.refs=w;this.updater=c||x}function y(a,b,c){this.props=a;this.context=b;this.refs=w;this.updater=c||x}function z(){}function A(a,b,c){this.props=a;this.context=b;this.refs=w;this.updater=c||x}function B(a){return"object"===typeof a&&null!==a&&a.$$typeof===G}function P(a){var b={"\x3d":"\x3d0",":":"\x3d2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}
12
+ function H(a,b,c,e){if(t.length){var f=t.pop();f.result=a;f.keyPrefix=b;f.func=c;f.context=e;f.count=0;return f}return{result:a,keyPrefix:b,func:c,context:e,count:0}}function I(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>t.length&&t.push(a)}function r(a,b,c,e){var f=typeof a;if("undefined"===f||"boolean"===f)a=null;if(null===a||"string"===f||"number"===f||"object"===f&&a.$$typeof===Q||"object"===f&&a.$$typeof===R)return c(e,a,""===b?"."+C(a,0):b),1;var d=0;b=""===b?".":
13
+ b+":";if(Array.isArray(a))for(var g=0;g<a.length;g++){f=a[g];var h=b+C(f,g);d+=r(f,h,c,e)}else if(h=J&&a[J]||a["@@iterator"],"function"===typeof h)for(a=h.call(a),g=0;!(f=a.next()).done;)f=f.value,h=b+C(f,g++),d+=r(f,h,c,e);else"object"===f&&(c=""+a,q("31","[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return d}function C(a,b){return"object"===typeof a&&null!==a&&null!=a.key?P(a.key):b.toString(36)}function S(a,b,c){a.func.call(a.context,b,a.count++)}function T(a,
14
+ b,c){var e=a.result,f=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?D(a,e,c,E.thatReturnsArgument):null!=a&&(B(a)&&(b=f+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(K,"$\x26/")+"/")+c,a=u(a.type,b,a.ref,a._self,a._source,a._owner,a.props)),e.push(a))}function D(a,b,c,e,f){var d="";null!=c&&(d=(""+c).replace(K,"$\x26/")+"/");b=H(b,d,e,f);null==a||r(a,"",T,b);I(b)}var L=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,v=function(){try{if(!Object.assign)return!1;
15
+ var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(e){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");
16
+ var c=Object(a);for(var e,f=1;f<arguments.length;f++){var d=Object(arguments[f]);for(var g in d)U.call(d,g)&&(c[g]=d[g]);if(L){e=L(d);for(var h=0;h<e.length;h++)V.call(d,e[h])&&(c[e[h]]=d[e[h]])}}return c},w={},d=function(){};d.thatReturns=k;d.thatReturnsFalse=k(!1);d.thatReturnsTrue=k(!0);d.thatReturnsNull=k(null);d.thatReturnsThis=function(){return this};d.thatReturnsArgument=function(a){return a};var E=d,x={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,
17
+ b,c,e){},enqueueSetState:function(a,b,c,e){}};n.prototype.isReactComponent={};n.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?q("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};n.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};z.prototype=n.prototype;d=y.prototype=new z;d.constructor=y;v(d,n.prototype);d.isPureReactComponent=!0;d=A.prototype=new z;d.constructor=A;v(d,n.prototype);d.unstable_isAsyncReactComponent=
18
+ !0;d.render=function(){return this.props.children};var F={current:null},M=Object.prototype.hasOwnProperty,G="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,N={key:!0,ref:!0,__self:!0,__source:!0},u=function(a,b,c,e,f,d,g){return{$$typeof:G,type:a,key:b,ref:c,props:g,_owner:d}},J="function"===typeof Symbol&&Symbol.iterator,Q="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,R="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.portal")||
19
+ 60106,K=/\/+/g,t=[];"function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.fragment");d={Children:{map:function(a,b,c){if(null==a)return a;var e=[];D(a,e,null,b,c);return e},forEach:function(a,b,c){if(null==a)return a;b=H(null,null,b,c);null==a||r(a,"",S,b);I(b)},count:function(a,b){return null==a?0:r(a,"",E.thatReturnsNull,null)},toArray:function(a){var b=[];D(a,b,null,E.thatReturnsArgument);return b},only:function(a){B(a)?void 0:q("143");return a}},Component:n,PureComponent:y,unstable_AsyncComponent:A,
20
+ createElement:function(a,b,c){var e,f={},d=null,g=null,h=null,k=null;if(null!=b)for(e in void 0!==b.ref&&(g=b.ref),void 0!==b.key&&(d=""+b.key),h=void 0===b.__self?null:b.__self,k=void 0===b.__source?null:b.__source,b)M.call(b,e)&&!N.hasOwnProperty(e)&&(f[e]=b[e]);var m=arguments.length-2;if(1===m)f.children=c;else if(1<m){for(var l=Array(m),p=0;p<m;p++)l[p]=arguments[p+2];f.children=l}if(a&&a.defaultProps)for(e in m=a.defaultProps,m)void 0===f[e]&&(f[e]=m[e]);return u(a,d,g,h,k,F.current,f)},cloneElement:function(a,
21
+ b,c){var e=v({},a.props),d=a.key,k=a.ref,g=a._self,h=a._source,n=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,n=F.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var m=a.type.defaultProps;for(l in b)M.call(b,l)&&!N.hasOwnProperty(l)&&(e[l]=void 0===b[l]&&void 0!==m?m[l]:b[l])}var l=arguments.length-2;if(1===l)e.children=c;else if(1<l){m=Array(l);for(var p=0;p<l;p++)m[p]=arguments[p+2];e.children=m}return u(a.type,d,k,g,h,n,e)},createFactory:function(a){var b=u.createElement.bind(null,
22
+ a);b.type=a;return b},isValidElement:B,version:"16.1.0-beta",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:F,assign:v}};var O=Object.freeze({default:d});d=O&&d||O;return d["default"]?d["default"]:d});
package/PATENTS DELETED
@@ -1,33 +0,0 @@
1
- Additional Grant of Patent Rights Version 2
2
-
3
- "Software" means the React software distributed by Facebook, Inc.
4
-
5
- Facebook, Inc. ("Facebook") hereby grants to each recipient of the Software
6
- ("you") a perpetual, worldwide, royalty-free, non-exclusive, irrevocable
7
- (subject to the termination provision below) license under any Necessary
8
- Claims, to make, have made, use, sell, offer to sell, import, and otherwise
9
- transfer the Software. For avoidance of doubt, no license is granted under
10
- Facebook's rights in any patent claims that are infringed by (i) modifications
11
- to the Software made by you or any third party or (ii) the Software in
12
- combination with any software or other technology.
13
-
14
- The license granted hereunder will terminate, automatically and without notice,
15
- if you (or any of your subsidiaries, corporate affiliates or agents) initiate
16
- directly or indirectly, or take a direct financial interest in, any Patent
17
- Assertion: (i) against Facebook or any of its subsidiaries or corporate
18
- affiliates, (ii) against any party if such Patent Assertion arises in whole or
19
- in part from any software, technology, product or service of Facebook or any of
20
- its subsidiaries or corporate affiliates, or (iii) against any party relating
21
- to the Software. Notwithstanding the foregoing, if Facebook or any of its
22
- subsidiaries or corporate affiliates files a lawsuit alleging patent
23
- infringement against you in the first instance, and you respond by filing a
24
- patent infringement counterclaim in that lawsuit against that party that is
25
- unrelated to the Software, the license granted hereunder will not terminate
26
- under section (i) of this paragraph due to such counterclaim.
27
-
28
- A "Necessary Claim" is a claim of a patent owned by Facebook that is
29
- necessarily infringed by the Software standing alone.
30
-
31
- A "Patent Assertion" is any lawsuit or other action alleging direct, indirect,
32
- or contributory infringement or inducement to infringe any patent, including a
33
- cross-claim or counterclaim.