react 16.0.0-rc.3 → 16.0.0
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.
- package/LICENSE +16 -26
- package/cjs/react.development.js +26 -48
- package/cjs/react.production.min.js +5 -7
- package/package.json +5 -6
- package/umd/react.development.js +36 -66
- package/umd/react.production.min.js +5 -7
- package/PATENTS +0 -33
package/LICENSE
CHANGED
|
@@ -1,31 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
For React software
|
|
1
|
+
MIT License
|
|
4
2
|
|
|
5
3
|
Copyright (c) 2013-present, Facebook, Inc.
|
|
6
|
-
All rights reserved.
|
|
7
|
-
|
|
8
|
-
Redistribution and use in source and binary forms, with or without modification,
|
|
9
|
-
are permitted provided that the following conditions are met:
|
|
10
|
-
|
|
11
|
-
* Redistributions of source code must retain the above copyright notice, this
|
|
12
|
-
list of conditions and the following disclaimer.
|
|
13
4
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
17
11
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
prior written permission.
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
21
14
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
30
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
31
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/cjs/react.development.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
/** @license React v16.0.0
|
|
1
|
+
/** @license React v16.0.0
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
5
|
-
* All rights reserved.
|
|
4
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
6
5
|
*
|
|
7
|
-
* This source code is licensed under the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
8
|
*/
|
|
11
9
|
'use strict';
|
|
12
10
|
|
|
@@ -25,11 +23,9 @@ var checkPropTypes = require('prop-types/checkPropTypes');
|
|
|
25
23
|
|
|
26
24
|
/**
|
|
27
25
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
28
|
-
* All rights reserved.
|
|
29
26
|
*
|
|
30
|
-
* This source code is licensed under the
|
|
31
|
-
* LICENSE file in the root directory of this source tree.
|
|
32
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
27
|
+
* This source code is licensed under the MIT license found in the
|
|
28
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
29
|
*
|
|
34
30
|
* @providesModule reactProdInvariant
|
|
35
31
|
*
|
|
@@ -117,12 +113,10 @@ var ReactNoopUpdateQueue = {
|
|
|
117
113
|
var ReactNoopUpdateQueue_1 = ReactNoopUpdateQueue;
|
|
118
114
|
|
|
119
115
|
/**
|
|
120
|
-
* Copyright 2014-
|
|
121
|
-
* All rights reserved.
|
|
116
|
+
* Copyright (c) 2014-present, Facebook, Inc.
|
|
122
117
|
*
|
|
123
|
-
* This source code is licensed under the
|
|
124
|
-
* LICENSE file in the root directory of this source tree.
|
|
125
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
118
|
+
* This source code is licensed under the MIT license found in the
|
|
119
|
+
* LICENSE file in the root directory of this source tree.
|
|
126
120
|
*
|
|
127
121
|
* @providesModule lowPriorityWarning
|
|
128
122
|
*/
|
|
@@ -314,12 +308,10 @@ var ReactBaseClasses = {
|
|
|
314
308
|
};
|
|
315
309
|
|
|
316
310
|
/**
|
|
317
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
318
|
-
* All rights reserved.
|
|
311
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
319
312
|
*
|
|
320
|
-
* This source code is licensed under the
|
|
321
|
-
* LICENSE file in the root directory of this source tree.
|
|
322
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
313
|
+
* This source code is licensed under the MIT license found in the
|
|
314
|
+
* LICENSE file in the root directory of this source tree.
|
|
323
315
|
*
|
|
324
316
|
* @providesModule ReactCurrentOwner
|
|
325
317
|
*
|
|
@@ -666,12 +658,10 @@ ReactElement.isValidElement = function (object) {
|
|
|
666
658
|
var ReactElement_1 = ReactElement;
|
|
667
659
|
|
|
668
660
|
/**
|
|
669
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
670
|
-
* All rights reserved.
|
|
661
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
671
662
|
*
|
|
672
|
-
* This source code is licensed under the
|
|
673
|
-
* LICENSE file in the root directory of this source tree.
|
|
674
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
663
|
+
* This source code is licensed under the MIT license found in the
|
|
664
|
+
* LICENSE file in the root directory of this source tree.
|
|
675
665
|
*
|
|
676
666
|
* @providesModule ReactDebugCurrentFrame
|
|
677
667
|
*
|
|
@@ -1002,17 +992,15 @@ var ReactChildren = {
|
|
|
1002
992
|
var ReactChildren_1 = ReactChildren;
|
|
1003
993
|
|
|
1004
994
|
/**
|
|
1005
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
1006
|
-
* All rights reserved.
|
|
995
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1007
996
|
*
|
|
1008
|
-
* This source code is licensed under the
|
|
1009
|
-
* LICENSE file in the root directory of this source tree.
|
|
1010
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
997
|
+
* This source code is licensed under the MIT license found in the
|
|
998
|
+
* LICENSE file in the root directory of this source tree.
|
|
1011
999
|
*
|
|
1012
1000
|
* @providesModule ReactVersion
|
|
1013
1001
|
*/
|
|
1014
1002
|
|
|
1015
|
-
var ReactVersion = '16.0.0
|
|
1003
|
+
var ReactVersion = '16.0.0';
|
|
1016
1004
|
|
|
1017
1005
|
/**
|
|
1018
1006
|
* Returns the first child in a collection of children and verifies that there
|
|
@@ -1036,12 +1024,10 @@ function onlyChild(children) {
|
|
|
1036
1024
|
var onlyChild_1 = onlyChild;
|
|
1037
1025
|
|
|
1038
1026
|
/**
|
|
1039
|
-
* Copyright 2016-present, Facebook, Inc.
|
|
1040
|
-
* All rights reserved.
|
|
1027
|
+
* Copyright (c) 2016-present, Facebook, Inc.
|
|
1041
1028
|
*
|
|
1042
|
-
* This source code is licensed under the
|
|
1043
|
-
* LICENSE file in the root directory of this source tree.
|
|
1044
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
1029
|
+
* This source code is licensed under the MIT license found in the
|
|
1030
|
+
* LICENSE file in the root directory of this source tree.
|
|
1045
1031
|
*
|
|
1046
1032
|
*
|
|
1047
1033
|
* @providesModule describeComponentFrame
|
|
@@ -1052,12 +1038,10 @@ var describeComponentFrame$1 = function (name, source, ownerName) {
|
|
|
1052
1038
|
};
|
|
1053
1039
|
|
|
1054
1040
|
/**
|
|
1055
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
1056
|
-
* All rights reserved.
|
|
1041
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1057
1042
|
*
|
|
1058
|
-
* This source code is licensed under the
|
|
1059
|
-
* LICENSE file in the root directory of this source tree.
|
|
1060
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
1043
|
+
* This source code is licensed under the MIT license found in the
|
|
1044
|
+
* LICENSE file in the root directory of this source tree.
|
|
1061
1045
|
*
|
|
1062
1046
|
* @providesModule getComponentName
|
|
1063
1047
|
*
|
|
@@ -1256,13 +1240,7 @@ function validatePropTypes(element) {
|
|
|
1256
1240
|
return;
|
|
1257
1241
|
}
|
|
1258
1242
|
var name = componentClass.displayName || componentClass.name;
|
|
1259
|
-
|
|
1260
|
-
// ReactNative `View.propTypes` have been deprecated in favor of `ViewPropTypes`.
|
|
1261
|
-
// In their place a temporary getter has been added with a deprecated warning message.
|
|
1262
|
-
// Avoid triggering that warning during validation using the temporary workaround,
|
|
1263
|
-
// __propTypesSecretDontUseThesePlease.
|
|
1264
|
-
// TODO (bvaughn) Revert this particular change any time after April 1 ReactNative tag.
|
|
1265
|
-
var propTypes = typeof componentClass.__propTypesSecretDontUseThesePlease === 'object' ? componentClass.__propTypesSecretDontUseThesePlease : componentClass.propTypes;
|
|
1243
|
+
var propTypes = componentClass.propTypes;
|
|
1266
1244
|
|
|
1267
1245
|
if (propTypes) {
|
|
1268
1246
|
currentlyValidatingElement = element;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
-
React v16.0.0
|
|
2
|
+
React v16.0.0
|
|
3
3
|
react.production.min.js
|
|
4
4
|
|
|
5
|
-
Copyright 2013-present, Facebook, Inc.
|
|
6
|
-
All rights reserved.
|
|
5
|
+
Copyright (c) 2013-present, Facebook, Inc.
|
|
7
6
|
|
|
8
|
-
This source code is licensed under the
|
|
9
|
-
LICENSE file in the root directory of this source tree.
|
|
10
|
-
of patent rights can be found in the PATENTS file in the same directory.
|
|
7
|
+
This source code is licensed under the MIT license found in the
|
|
8
|
+
LICENSE file in the root directory of this source tree.
|
|
11
9
|
*/
|
|
12
10
|
'use strict';var f=require("object-assign"),p=require("fbjs/lib/emptyObject");require("fbjs/lib/invariant");var r=require("fbjs/lib/emptyFunction");
|
|
13
11
|
function t(a){for(var b=arguments.length-1,d="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,e=0;e<b;e++)d+="\x26args[]\x3d"+encodeURIComponent(arguments[e+1]);b=Error(d+" 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;}
|
|
@@ -22,4 +20,4 @@ function L(a,b,d,e){if(K.length){var c=K.pop();c.result=a;c.keyPrefix=b;c.func=d
|
|
|
22
20
|
function N(a,b,d,e){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;if(null===a||"string"===c||"number"===c||"object"===c&&a.$$typeof===I)return d(e,a,""===b?"."+O(a,0):b),1;var g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){c=a[k];var m=b+O(c,k);g+=N(c,m,d,e)}else if(m=H&&a[H]||a["@@iterator"],"function"===typeof m)for(a=m.call(a),k=0;!(c=a.next()).done;)c=c.value,m=b+O(c,k++),g+=N(c,m,d,e);else"object"===c&&(d=""+a,t("31","[object Object]"===d?"object with keys {"+
|
|
23
21
|
Object.keys(a).join(", ")+"}":d,""));return g}function O(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function P(a,b){a.func.call(a.context,b,a.count++)}function Q(a,b,d){var e=a.result,c=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?R(a,e,d,r.thatReturnsArgument):null!=a&&(G.isValidElement(a)&&(a=G.cloneAndReplaceKey(a,c+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(J,"$\x26/")+"/")+d)),e.push(a))}
|
|
24
22
|
function R(a,b,d,e,c){var g="";null!=d&&(g=(""+d).replace(J,"$\x26/")+"/");b=L(b,g,e,c);null==a||N(a,"",Q,b);M(b)}var S={forEach:function(a,b,d){if(null==a)return a;b=L(null,null,b,d);null==a||N(a,"",P,b);M(b)},map:function(a,b,d){if(null==a)return a;var e=[];R(a,e,null,b,d);return e},count:function(a){return null==a?0:N(a,"",r.thatReturnsNull,null)},toArray:function(a){var b=[];R(a,b,null,r.thatReturnsArgument);return b}};
|
|
25
|
-
module.exports={Children:{map:S.map,forEach:S.forEach,count:S.count,toArray:S.toArray,only:function(a){G.isValidElement(a)?void 0:t("143");return a}},Component:B.Component,PureComponent:B.PureComponent,unstable_AsyncComponent:B.AsyncComponent,createElement:G.createElement,cloneElement:G.cloneElement,isValidElement:G.isValidElement,createFactory:G.createFactory,version:"16.0.0
|
|
23
|
+
module.exports={Children:{map:S.map,forEach:S.forEach,count:S.count,toArray:S.toArray,only:function(a){G.isValidElement(a)?void 0:t("143");return a}},Component:B.Component,PureComponent:B.PureComponent,unstable_AsyncComponent:B.AsyncComponent,createElement:G.createElement,cloneElement:G.cloneElement,isValidElement:G.isValidElement,createFactory:G.createFactory,version:"16.0.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:C,assign:f}};
|
package/package.json
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react",
|
|
3
3
|
"description": "React is a JavaScript library for building user interfaces.",
|
|
4
|
-
"version": "16.0.0-rc.3",
|
|
5
4
|
"keywords": [
|
|
6
5
|
"react"
|
|
7
6
|
],
|
|
7
|
+
"version": "16.0.0",
|
|
8
8
|
"homepage": "https://facebook.github.io/react/",
|
|
9
9
|
"bugs": "https://github.com/facebook/react/issues",
|
|
10
|
-
"license": "
|
|
10
|
+
"license": "MIT",
|
|
11
11
|
"files": [
|
|
12
12
|
"LICENSE",
|
|
13
|
-
"PATENTS",
|
|
14
13
|
"README.md",
|
|
15
14
|
"index.js",
|
|
16
15
|
"cjs/",
|
|
@@ -22,10 +21,10 @@
|
|
|
22
21
|
"node": ">=0.10.0"
|
|
23
22
|
},
|
|
24
23
|
"dependencies": {
|
|
25
|
-
"fbjs": "^0.8.
|
|
24
|
+
"fbjs": "^0.8.16",
|
|
26
25
|
"loose-envify": "^1.1.0",
|
|
27
|
-
"object-assign": "^4.1.
|
|
28
|
-
"prop-types": "^15.
|
|
26
|
+
"object-assign": "^4.1.1",
|
|
27
|
+
"prop-types": "^15.6.0"
|
|
29
28
|
},
|
|
30
29
|
"browserify": {
|
|
31
30
|
"transform": [
|
package/umd/react.development.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
/** @license React v16.0.0
|
|
1
|
+
/** @license React v16.0.0
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
5
|
-
* All rights reserved.
|
|
4
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
6
5
|
*
|
|
7
|
-
* This source code is licensed under the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
8
|
*/
|
|
11
9
|
|
|
12
10
|
(function (global, factory) {
|
|
@@ -107,11 +105,9 @@ var index = shouldUseNative() ? Object.assign : function (target, source) {
|
|
|
107
105
|
|
|
108
106
|
/**
|
|
109
107
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
110
|
-
* All rights reserved.
|
|
111
108
|
*
|
|
112
|
-
* This source code is licensed under the
|
|
113
|
-
* LICENSE file in the root directory of this source tree.
|
|
114
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
109
|
+
* This source code is licensed under the MIT license found in the
|
|
110
|
+
* LICENSE file in the root directory of this source tree.
|
|
115
111
|
*
|
|
116
112
|
* @providesModule reactProdInvariant
|
|
117
113
|
*
|
|
@@ -119,11 +115,9 @@ var index = shouldUseNative() ? Object.assign : function (target, source) {
|
|
|
119
115
|
|
|
120
116
|
/**
|
|
121
117
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
122
|
-
* All rights reserved.
|
|
123
118
|
*
|
|
124
|
-
* This source code is licensed under the
|
|
125
|
-
* LICENSE file in the root directory of this source tree.
|
|
126
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
119
|
+
* This source code is licensed under the MIT license found in the
|
|
120
|
+
* LICENSE file in the root directory of this source tree.
|
|
127
121
|
*
|
|
128
122
|
*
|
|
129
123
|
*/
|
|
@@ -288,11 +282,9 @@ var ReactNoopUpdateQueue_1 = ReactNoopUpdateQueue;
|
|
|
288
282
|
|
|
289
283
|
/**
|
|
290
284
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
291
|
-
* All rights reserved.
|
|
292
285
|
*
|
|
293
|
-
* This source code is licensed under the
|
|
294
|
-
* LICENSE file in the root directory of this source tree.
|
|
295
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
286
|
+
* This source code is licensed under the MIT license found in the
|
|
287
|
+
* LICENSE file in the root directory of this source tree.
|
|
296
288
|
*
|
|
297
289
|
*/
|
|
298
290
|
|
|
@@ -306,11 +298,9 @@ var emptyObject_1 = emptyObject;
|
|
|
306
298
|
|
|
307
299
|
/**
|
|
308
300
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
309
|
-
* All rights reserved.
|
|
310
301
|
*
|
|
311
|
-
* This source code is licensed under the
|
|
312
|
-
* LICENSE file in the root directory of this source tree.
|
|
313
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
302
|
+
* This source code is licensed under the MIT license found in the
|
|
303
|
+
* LICENSE file in the root directory of this source tree.
|
|
314
304
|
*
|
|
315
305
|
*/
|
|
316
306
|
|
|
@@ -359,12 +349,10 @@ function invariant(condition, format, a, b, c, d, e, f) {
|
|
|
359
349
|
var invariant_1 = invariant;
|
|
360
350
|
|
|
361
351
|
/**
|
|
362
|
-
* Copyright 2014-
|
|
363
|
-
* All rights reserved.
|
|
352
|
+
* Copyright (c) 2014-present, Facebook, Inc.
|
|
364
353
|
*
|
|
365
|
-
* This source code is licensed under the
|
|
366
|
-
* LICENSE file in the root directory of this source tree.
|
|
367
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
354
|
+
* This source code is licensed under the MIT license found in the
|
|
355
|
+
* LICENSE file in the root directory of this source tree.
|
|
368
356
|
*
|
|
369
357
|
* @providesModule lowPriorityWarning
|
|
370
358
|
*/
|
|
@@ -556,12 +544,10 @@ var ReactBaseClasses = {
|
|
|
556
544
|
};
|
|
557
545
|
|
|
558
546
|
/**
|
|
559
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
560
|
-
* All rights reserved.
|
|
547
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
561
548
|
*
|
|
562
|
-
* This source code is licensed under the
|
|
563
|
-
* LICENSE file in the root directory of this source tree.
|
|
564
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
549
|
+
* This source code is licensed under the MIT license found in the
|
|
550
|
+
* LICENSE file in the root directory of this source tree.
|
|
565
551
|
*
|
|
566
552
|
* @providesModule ReactCurrentOwner
|
|
567
553
|
*
|
|
@@ -908,12 +894,10 @@ ReactElement.isValidElement = function (object) {
|
|
|
908
894
|
var ReactElement_1 = ReactElement;
|
|
909
895
|
|
|
910
896
|
/**
|
|
911
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
912
|
-
* All rights reserved.
|
|
897
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
913
898
|
*
|
|
914
|
-
* This source code is licensed under the
|
|
915
|
-
* LICENSE file in the root directory of this source tree.
|
|
916
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
899
|
+
* This source code is licensed under the MIT license found in the
|
|
900
|
+
* LICENSE file in the root directory of this source tree.
|
|
917
901
|
*
|
|
918
902
|
* @providesModule ReactDebugCurrentFrame
|
|
919
903
|
*
|
|
@@ -1244,17 +1228,15 @@ var ReactChildren = {
|
|
|
1244
1228
|
var ReactChildren_1 = ReactChildren;
|
|
1245
1229
|
|
|
1246
1230
|
/**
|
|
1247
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
1248
|
-
* All rights reserved.
|
|
1231
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1249
1232
|
*
|
|
1250
|
-
* This source code is licensed under the
|
|
1251
|
-
* LICENSE file in the root directory of this source tree.
|
|
1252
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
1233
|
+
* This source code is licensed under the MIT license found in the
|
|
1234
|
+
* LICENSE file in the root directory of this source tree.
|
|
1253
1235
|
*
|
|
1254
1236
|
* @providesModule ReactVersion
|
|
1255
1237
|
*/
|
|
1256
1238
|
|
|
1257
|
-
var ReactVersion = '16.0.0
|
|
1239
|
+
var ReactVersion = '16.0.0';
|
|
1258
1240
|
|
|
1259
1241
|
/**
|
|
1260
1242
|
* Returns the first child in a collection of children and verifies that there
|
|
@@ -1278,12 +1260,10 @@ function onlyChild(children) {
|
|
|
1278
1260
|
var onlyChild_1 = onlyChild;
|
|
1279
1261
|
|
|
1280
1262
|
/**
|
|
1281
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
1282
|
-
* All rights reserved.
|
|
1263
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1283
1264
|
*
|
|
1284
|
-
* This source code is licensed under the
|
|
1285
|
-
* LICENSE file in the root directory of this source tree.
|
|
1286
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
1265
|
+
* This source code is licensed under the MIT license found in the
|
|
1266
|
+
* LICENSE file in the root directory of this source tree.
|
|
1287
1267
|
*/
|
|
1288
1268
|
|
|
1289
1269
|
var ReactPropTypesSecret$1 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
@@ -1319,7 +1299,7 @@ function checkPropTypes$1(typeSpecs, values, location, componentName, getStack)
|
|
|
1319
1299
|
try {
|
|
1320
1300
|
// This is intentionally an invariant that gets caught. It's the same
|
|
1321
1301
|
// behavior as without this statement except with a better message.
|
|
1322
|
-
invariant$2(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + '
|
|
1302
|
+
invariant$2(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'the `prop-types` package, but received `%s`.', componentName || 'React class', location, typeSpecName, typeof typeSpecs[typeSpecName]);
|
|
1323
1303
|
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
|
1324
1304
|
} catch (ex) {
|
|
1325
1305
|
error = ex;
|
|
@@ -1342,12 +1322,10 @@ function checkPropTypes$1(typeSpecs, values, location, componentName, getStack)
|
|
|
1342
1322
|
var checkPropTypes_1 = checkPropTypes$1;
|
|
1343
1323
|
|
|
1344
1324
|
/**
|
|
1345
|
-
* Copyright 2016-present, Facebook, Inc.
|
|
1346
|
-
* All rights reserved.
|
|
1325
|
+
* Copyright (c) 2016-present, Facebook, Inc.
|
|
1347
1326
|
*
|
|
1348
|
-
* This source code is licensed under the
|
|
1349
|
-
* LICENSE file in the root directory of this source tree.
|
|
1350
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
1327
|
+
* This source code is licensed under the MIT license found in the
|
|
1328
|
+
* LICENSE file in the root directory of this source tree.
|
|
1351
1329
|
*
|
|
1352
1330
|
*
|
|
1353
1331
|
* @providesModule describeComponentFrame
|
|
@@ -1358,12 +1336,10 @@ var describeComponentFrame$1 = function (name, source, ownerName) {
|
|
|
1358
1336
|
};
|
|
1359
1337
|
|
|
1360
1338
|
/**
|
|
1361
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
1362
|
-
* All rights reserved.
|
|
1339
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1363
1340
|
*
|
|
1364
|
-
* This source code is licensed under the
|
|
1365
|
-
* LICENSE file in the root directory of this source tree.
|
|
1366
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
1341
|
+
* This source code is licensed under the MIT license found in the
|
|
1342
|
+
* LICENSE file in the root directory of this source tree.
|
|
1367
1343
|
*
|
|
1368
1344
|
* @providesModule getComponentName
|
|
1369
1345
|
*
|
|
@@ -1562,13 +1538,7 @@ function validatePropTypes(element) {
|
|
|
1562
1538
|
return;
|
|
1563
1539
|
}
|
|
1564
1540
|
var name = componentClass.displayName || componentClass.name;
|
|
1565
|
-
|
|
1566
|
-
// ReactNative `View.propTypes` have been deprecated in favor of `ViewPropTypes`.
|
|
1567
|
-
// In their place a temporary getter has been added with a deprecated warning message.
|
|
1568
|
-
// Avoid triggering that warning during validation using the temporary workaround,
|
|
1569
|
-
// __propTypesSecretDontUseThesePlease.
|
|
1570
|
-
// TODO (bvaughn) Revert this particular change any time after April 1 ReactNative tag.
|
|
1571
|
-
var propTypes = typeof componentClass.__propTypesSecretDontUseThesePlease === 'object' ? componentClass.__propTypesSecretDontUseThesePlease : componentClass.propTypes;
|
|
1541
|
+
var propTypes = componentClass.propTypes;
|
|
1572
1542
|
|
|
1573
1543
|
if (propTypes) {
|
|
1574
1544
|
currentlyValidatingElement = element;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
-
React v16.0.0
|
|
2
|
+
React v16.0.0
|
|
3
3
|
react.production.min.js
|
|
4
4
|
|
|
5
|
-
Copyright 2013-present, Facebook, Inc.
|
|
6
|
-
All rights reserved.
|
|
5
|
+
Copyright (c) 2013-present, Facebook, Inc.
|
|
7
6
|
|
|
8
|
-
This source code is licensed under the
|
|
9
|
-
LICENSE file in the root directory of this source tree.
|
|
10
|
-
of patent rights can be found in the PATENTS file in the same directory.
|
|
7
|
+
This source code is licensed under the MIT license found in the
|
|
8
|
+
LICENSE file in the root directory of this source tree.
|
|
11
9
|
*/
|
|
12
10
|
'use strict';function y(){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 z(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=
|
|
13
11
|
1;throw b;}function r(a,b,c){this.props=a;this.context=b;this.refs=A;this.updater=c||B}function C(a,b,c){this.props=a;this.context=b;this.refs=A;this.updater=c||B}function D(){}function E(a,b,c){this.props=a;this.context=b;this.refs=A;this.updater=c||B}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=
|
|
@@ -21,4 +19,4 @@ b)for(d in void 0!==b.ref&&(g=b.ref),void 0!==b.key&&(f=""+b.key),h=void 0===b._
|
|
|
21
19
|
n.cloneAndReplaceKey=function(a,b){return n(a.type,b,a.ref,a._self,a._source,a._owner,a.props)};n.cloneElement=function(a,b,c){var d=x({},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=
|
|
22
20
|
0;p<l;p++)m[p]=arguments[p+2];d.children=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 H=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,
|
|
23
21
|
b,c){if(null==a)return a;var d=[];G(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,"",H.thatReturnsNull,null)},toArray:function(a){var b=[];G(a,b,null,H.thatReturnsArgument);return b},only:function(a){t.isValidElement(a)?void 0:z("143");return a}},Component:r,PureComponent:C,unstable_AsyncComponent:E,createElement:t.createElement,cloneElement:t.cloneElement,isValidElement:t.isValidElement,createFactory:t.createFactory,
|
|
24
|
-
version:"16.0.0
|
|
22
|
+
version:"16.0.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:I,assign:x}}}"object"===typeof exports&&"undefined"!==typeof module?module.exports=y():"function"===typeof define&&define.amd?define(y):this.React=y();
|
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.
|