react 16.1.0-beta → 16.1.0-beta.1
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/cjs/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.1.0-beta
|
|
1
|
+
/** @license React v16.1.0-beta.1
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -15,8 +15,8 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
15
15
|
'use strict';
|
|
16
16
|
|
|
17
17
|
var _assign = require('object-assign');
|
|
18
|
-
var emptyObject = require('fbjs/lib/emptyObject');
|
|
19
18
|
var invariant = require('fbjs/lib/invariant');
|
|
19
|
+
var emptyObject = require('fbjs/lib/emptyObject');
|
|
20
20
|
var warning = require('fbjs/lib/warning');
|
|
21
21
|
var emptyFunction = require('fbjs/lib/emptyFunction');
|
|
22
22
|
var checkPropTypes = require('prop-types/checkPropTypes');
|
|
@@ -32,35 +32,7 @@ var checkPropTypes = require('prop-types/checkPropTypes');
|
|
|
32
32
|
|
|
33
33
|
// TODO: this is special because it gets imported during build.
|
|
34
34
|
|
|
35
|
-
var ReactVersion = '16.1.0-beta';
|
|
36
|
-
|
|
37
|
-
var ReactFeatureFlags = {
|
|
38
|
-
enableAsyncSubtreeAPI: true,
|
|
39
|
-
enableAsyncSchedulingByDefaultInReactDOM: false,
|
|
40
|
-
// Mutating mode (React DOM, React ART, React Native):
|
|
41
|
-
enableMutatingReconciler: true,
|
|
42
|
-
// Experimental noop mode (currently unused):
|
|
43
|
-
enableNoopReconciler: false,
|
|
44
|
-
// Experimental persistent mode (CS):
|
|
45
|
-
enablePersistentReconciler: false,
|
|
46
|
-
// Exports React.Fragment
|
|
47
|
-
enableReactFragment: false,
|
|
48
|
-
// Exports ReactDOM.createRoot
|
|
49
|
-
enableCreateRoot: false
|
|
50
|
-
}; /**
|
|
51
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
52
|
-
*
|
|
53
|
-
* This source code is licensed under the MIT license found in the
|
|
54
|
-
* LICENSE file in the root directory of this source tree.
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
|
|
59
|
-
{
|
|
60
|
-
if (Object.freeze) {
|
|
61
|
-
Object.freeze(ReactFeatureFlags);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
35
|
+
var ReactVersion = '16.1.0-beta.1';
|
|
64
36
|
|
|
65
37
|
/**
|
|
66
38
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -78,6 +50,32 @@ var ReactFeatureFlags = {
|
|
|
78
50
|
* It always throws.
|
|
79
51
|
*/
|
|
80
52
|
|
|
53
|
+
/**
|
|
54
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
55
|
+
*
|
|
56
|
+
* This source code is licensed under the MIT license found in the
|
|
57
|
+
* LICENSE file in the root directory of this source tree.
|
|
58
|
+
*
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
// Exports React.Fragment
|
|
65
|
+
var enableReactFragment = false;
|
|
66
|
+
// Exports ReactDOM.createRoot
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
// Mutating mode (React DOM, React ART, React Native):
|
|
71
|
+
|
|
72
|
+
// Experimental noop mode (currently unused):
|
|
73
|
+
|
|
74
|
+
// Experimental persistent mode (CS):
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
// Only used in www builds.
|
|
78
|
+
|
|
81
79
|
/**
|
|
82
80
|
* Copyright (c) 2014-present, Facebook, Inc.
|
|
83
81
|
*
|
|
@@ -1425,7 +1423,7 @@ var React = {
|
|
|
1425
1423
|
}
|
|
1426
1424
|
};
|
|
1427
1425
|
|
|
1428
|
-
if (
|
|
1426
|
+
if (enableReactFragment) {
|
|
1429
1427
|
React.Fragment = REACT_FRAGMENT_TYPE;
|
|
1430
1428
|
}
|
|
1431
1429
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
React v16.1.0-beta
|
|
2
|
+
React v16.1.0-beta.1
|
|
3
3
|
react.production.min.js
|
|
4
4
|
|
|
5
5
|
Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -19,5 +19,5 @@ d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return f}function P(
|
|
|
19
19
|
function R(a,b,d){var e=a.result,c=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?S(a,e,d,r.thatReturnsArgument):null!=a&&(G(a)&&(b=c+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(K,"$\x26/")+"/")+d,a=F(a.type,b,a.ref,a._self,a._source,a._owner,a.props)),e.push(a))}function S(a,b,d,e,c){var f="";null!=d&&(f=(""+d).replace(K,"$\x26/")+"/");b=M(b,f,e,c);null==a||O(a,"",R,b);N(b)}"function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.fragment");
|
|
20
20
|
var T={Children:{map:function(a,b,d){if(null==a)return a;var e=[];S(a,e,null,b,d);return e},forEach:function(a,b,d){if(null==a)return a;b=M(null,null,b,d);null==a||O(a,"",Q,b);N(b)},count:function(a){return null==a?0:O(a,"",r.thatReturnsNull,null)},toArray:function(a){var b=[];S(a,b,null,r.thatReturnsArgument);return b},only:function(a){G(a)?void 0:t("143");return a}},Component:v,PureComponent:w,unstable_AsyncComponent:z,createElement:function(a,b,d){var e,c={},f=null,h=null,l=null,q=null;if(null!=
|
|
21
21
|
b)for(e in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(f=""+b.key),l=void 0===b.__self?null:b.__self,q=void 0===b.__source?null:b.__source,b)C.call(b,e)&&!E.hasOwnProperty(e)&&(c[e]=b[e]);var k=arguments.length-2;if(1===k)c.children=d;else if(1<k){for(var g=Array(k),m=0;m<k;m++)g[m]=arguments[m+2];c.children=g}if(a&&a.defaultProps)for(e in k=a.defaultProps,k)void 0===c[e]&&(c[e]=k[e]);return F(a,f,h,l,q,B.current,c)},cloneElement:function(a,b,d){var e=n({},a.props),c=a.key,f=a.ref,h=a._self,l=a._source,
|
|
22
|
-
q=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,q=B.current);void 0!==b.key&&(c=""+b.key);if(a.type&&a.type.defaultProps)var k=a.type.defaultProps;for(g in b)C.call(b,g)&&!E.hasOwnProperty(g)&&(e[g]=void 0===b[g]&&void 0!==k?k[g]:b[g])}var g=arguments.length-2;if(1===g)e.children=d;else if(1<g){k=Array(g);for(var m=0;m<g;m++)k[m]=arguments[m+2];e.children=k}return F(a.type,c,f,h,l,q,e)},createFactory:function(a){var b=F.createElement.bind(null,a);b.type=a;return b},isValidElement:G,version:"16.1.0-beta",
|
|
22
|
+
q=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,q=B.current);void 0!==b.key&&(c=""+b.key);if(a.type&&a.type.defaultProps)var k=a.type.defaultProps;for(g in b)C.call(b,g)&&!E.hasOwnProperty(g)&&(e[g]=void 0===b[g]&&void 0!==k?k[g]:b[g])}var g=arguments.length-2;if(1===g)e.children=d;else if(1<g){k=Array(g);for(var m=0;m<g;m++)k[m]=arguments[m+2];e.children=k}return F(a.type,c,f,h,l,q,e)},createFactory:function(a){var b=F.createElement.bind(null,a);b.type=a;return b},isValidElement:G,version:"16.1.0-beta.1",
|
|
23
23
|
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:B,assign:n}},U=Object.freeze({default:T}),V=U&&T||U;module.exports=V["default"]?V["default"]:V;
|
package/package.json
CHANGED
package/umd/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.1.0-beta
|
|
1
|
+
/** @license React v16.1.0-beta.1
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -115,35 +115,7 @@ var objectAssign$1 = shouldUseNative() ? Object.assign : function (target, sourc
|
|
|
115
115
|
|
|
116
116
|
// TODO: this is special because it gets imported during build.
|
|
117
117
|
|
|
118
|
-
var ReactVersion = '16.1.0-beta';
|
|
119
|
-
|
|
120
|
-
var ReactFeatureFlags = {
|
|
121
|
-
enableAsyncSubtreeAPI: true,
|
|
122
|
-
enableAsyncSchedulingByDefaultInReactDOM: false,
|
|
123
|
-
// Mutating mode (React DOM, React ART, React Native):
|
|
124
|
-
enableMutatingReconciler: true,
|
|
125
|
-
// Experimental noop mode (currently unused):
|
|
126
|
-
enableNoopReconciler: false,
|
|
127
|
-
// Experimental persistent mode (CS):
|
|
128
|
-
enablePersistentReconciler: false,
|
|
129
|
-
// Exports React.Fragment
|
|
130
|
-
enableReactFragment: false,
|
|
131
|
-
// Exports ReactDOM.createRoot
|
|
132
|
-
enableCreateRoot: false
|
|
133
|
-
}; /**
|
|
134
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
135
|
-
*
|
|
136
|
-
* This source code is licensed under the MIT license found in the
|
|
137
|
-
* LICENSE file in the root directory of this source tree.
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*/
|
|
141
|
-
|
|
142
|
-
{
|
|
143
|
-
if (Object.freeze) {
|
|
144
|
-
Object.freeze(ReactFeatureFlags);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
118
|
+
var ReactVersion = '16.1.0-beta.1';
|
|
147
119
|
|
|
148
120
|
/**
|
|
149
121
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -171,24 +143,6 @@ var ReactFeatureFlags = {
|
|
|
171
143
|
|
|
172
144
|
|
|
173
145
|
|
|
174
|
-
var emptyObject = {};
|
|
175
|
-
|
|
176
|
-
{
|
|
177
|
-
Object.freeze(emptyObject);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
var emptyObject_1 = emptyObject;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
184
|
-
*
|
|
185
|
-
* This source code is licensed under the MIT license found in the
|
|
186
|
-
* LICENSE file in the root directory of this source tree.
|
|
187
|
-
*
|
|
188
|
-
*/
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
146
|
/**
|
|
193
147
|
* Use invariant() to assert state which your program assumes to be true.
|
|
194
148
|
*
|
|
@@ -233,6 +187,50 @@ function invariant(condition, format, a, b, c, d, e, f) {
|
|
|
233
187
|
|
|
234
188
|
var invariant_1$1 = invariant;
|
|
235
189
|
|
|
190
|
+
/**
|
|
191
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
192
|
+
*
|
|
193
|
+
* This source code is licensed under the MIT license found in the
|
|
194
|
+
* LICENSE file in the root directory of this source tree.
|
|
195
|
+
*
|
|
196
|
+
*
|
|
197
|
+
*/
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
// Exports React.Fragment
|
|
202
|
+
var enableReactFragment = false;
|
|
203
|
+
// Exports ReactDOM.createRoot
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
// Mutating mode (React DOM, React ART, React Native):
|
|
208
|
+
|
|
209
|
+
// Experimental noop mode (currently unused):
|
|
210
|
+
|
|
211
|
+
// Experimental persistent mode (CS):
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
// Only used in www builds.
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
218
|
+
*
|
|
219
|
+
* This source code is licensed under the MIT license found in the
|
|
220
|
+
* LICENSE file in the root directory of this source tree.
|
|
221
|
+
*
|
|
222
|
+
*/
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
var emptyObject = {};
|
|
227
|
+
|
|
228
|
+
{
|
|
229
|
+
Object.freeze(emptyObject);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
var emptyObject_1 = emptyObject;
|
|
233
|
+
|
|
236
234
|
/**
|
|
237
235
|
* Copyright (c) 2014-present, Facebook, Inc.
|
|
238
236
|
*
|
|
@@ -1751,7 +1749,7 @@ var React = {
|
|
|
1751
1749
|
}
|
|
1752
1750
|
};
|
|
1753
1751
|
|
|
1754
|
-
if (
|
|
1752
|
+
if (enableReactFragment) {
|
|
1755
1753
|
React.Fragment = REACT_FRAGMENT_TYPE;
|
|
1756
1754
|
}
|
|
1757
1755
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
React v16.1.0-beta
|
|
2
|
+
React v16.1.0-beta.1
|
|
3
3
|
react.production.min.js
|
|
4
4
|
|
|
5
5
|
Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -19,4 +19,4 @@ b,c,e){},enqueueSetState:function(a,b,c,e){}};n.prototype.isReactComponent={};n.
|
|
|
19
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
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
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});
|
|
22
|
+
a);b.type=a;return b},isValidElement:B,version:"16.1.0-beta.1",__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});
|