react 16.1.0 → 16.1.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.
@@ -1,4 +1,4 @@
1
- /** @license React v16.1.0
1
+ /** @license React v16.1.1
2
2
  * react.development.js
3
3
  *
4
4
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -22,7 +22,7 @@ var checkPropTypes = require('prop-types/checkPropTypes');
22
22
 
23
23
  // TODO: this is special because it gets imported during build.
24
24
 
25
- var ReactVersion = '16.1.0';
25
+ var ReactVersion = '16.1.1';
26
26
 
27
27
  /**
28
28
  * WARNING: DO NOT manually require this module.
@@ -1210,7 +1210,7 @@ function createElementWithValidation(type, props, children) {
1210
1210
  if (!validType) {
1211
1211
  var info = '';
1212
1212
  if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
1213
- info += ' You likely forgot to export your component from the file ' + "it's defined in.";
1213
+ info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
1214
1214
  }
1215
1215
 
1216
1216
  var sourceInfo = getSourceInfoErrorAddendum(props);
@@ -1,4 +1,4 @@
1
- /** @license React v16.1.0
1
+ /** @license React v16.1.1
2
2
  * react.production.min.js
3
3
  *
4
4
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -19,4 +19,4 @@ e?"object with keys {"+Object.keys(a).join(", ")+"}":e,""));return h}function N(
19
19
  function P(a,b,e){var d=a.result,c=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?Q(a,d,e,p.thatReturnsArgument):null!=a&&(E(a)&&(b=c+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(I,"$\x26/")+"/")+e,a={$$typeof:B,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}),d.push(a))}function Q(a,b,e,d,c){var h="";null!=e&&(h=(""+e).replace(I,"$\x26/")+"/");b=K(b,h,d,c);null==a||M(a,"",P,b);L(b)}"function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.fragment");
20
20
  var R={Children:{map:function(a,b,e){if(null==a)return a;var d=[];Q(a,d,null,b,e);return d},forEach:function(a,b,e){if(null==a)return a;b=K(null,null,b,e);null==a||M(a,"",O,b);L(b)},count:function(a){return null==a?0:M(a,"",p.thatReturnsNull,null)},toArray:function(a){var b=[];Q(a,b,null,p.thatReturnsArgument);return b},only:function(a){E(a)?void 0:q("143");return a}},Component:t,PureComponent:u,unstable_AsyncComponent:x,createElement:D,cloneElement:function(a,b,e){var d=m({},a.props),c=a.key,h=a.ref,
21
21
  k=a._owner;if(null!=b){void 0!==b.ref&&(h=b.ref,k=z.current);void 0!==b.key&&(c=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(g in b)A.call(b,g)&&!C.hasOwnProperty(g)&&(d[g]=void 0===b[g]&&void 0!==f?f[g]:b[g])}var g=arguments.length-2;if(1===g)d.children=e;else if(1<g){f=Array(g);for(var l=0;l<g;l++)f[l]=arguments[l+2];d.children=f}return{$$typeof:B,type:a.type,key:c,ref:h,props:d,_owner:k}},createFactory:function(a){var b=D.bind(null,a);b.type=a;return b},isValidElement:E,
22
- version:"16.1.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:z,assign:m}},S=Object.freeze({default:R}),T=S&&R||S;module.exports=T["default"]?T["default"]:T;
22
+ version:"16.1.1",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:z,assign:m}},S=Object.freeze({default:R}),T=S&&R||S;module.exports=T["default"]?T["default"]:T;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "react"
6
6
  ],
7
- "version": "16.1.0",
7
+ "version": "16.1.1",
8
8
  "homepage": "https://reactjs.org/",
9
9
  "bugs": "https://github.com/facebook/react/issues",
10
10
  "license": "MIT",
@@ -1,4 +1,4 @@
1
- /** @license React v16.1.0
1
+ /** @license React v16.1.1
2
2
  * react.development.js
3
3
  *
4
4
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -108,7 +108,7 @@ var objectAssign$1 = shouldUseNative() ? Object.assign : function (target, sourc
108
108
 
109
109
  // TODO: this is special because it gets imported during build.
110
110
 
111
- var ReactVersion = '16.1.0';
111
+ var ReactVersion = '16.1.1';
112
112
 
113
113
  /**
114
114
  * WARNING: DO NOT manually require this module.
@@ -1539,7 +1539,7 @@ function createElementWithValidation(type, props, children) {
1539
1539
  if (!validType) {
1540
1540
  var info = '';
1541
1541
  if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
1542
- info += ' You likely forgot to export your component from the file ' + "it's defined in.";
1542
+ info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
1543
1543
  }
1544
1544
 
1545
1545
  var sourceInfo = getSourceInfoErrorAddendum(props);
@@ -1,4 +1,4 @@
1
- /** @license React v16.1.0
1
+ /** @license React v16.1.1
2
2
  * react.production.min.js
3
3
  *
4
4
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -18,4 +18,4 @@ b,c,e){},enqueueSetState:function(a,b,c,e){}};n.prototype.isReactComponent={};n.
18
18
  !0;d.render=function(){return this.props.children};var A={current:null},G=Object.prototype.hasOwnProperty,r="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,H={key:!0,ref:!0,__self:!0,__source:!0},K="function"===typeof Symbol&&Symbol.iterator,P="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,Q="function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.portal")||60106,L=/\/+/g,t=[];"function"===typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.fragment");
19
19
  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=I(null,null,b,c);null==a||q(a,"",R,b);J(b)},count:function(a,b){return null==a?0:q(a,"",E.thatReturnsNull,null)},toArray:function(a){var b=[];D(a,b,null,E.thatReturnsArgument);return b},only:function(a){B(a)?void 0:p("143");return a}},Component:n,PureComponent:x,unstable_AsyncComponent:z,createElement:F,cloneElement:function(a,b,c){var e=u({},a.props),d=a.key,l=a.ref,
20
20
  h=a._owner;if(null!=b){void 0!==b.ref&&(l=b.ref,h=A.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(k in b)G.call(b,k)&&!H.hasOwnProperty(k)&&(e[k]=void 0===b[k]&&void 0!==g?g[k]:b[k])}var k=arguments.length-2;if(1===k)e.children=c;else if(1<k){g=Array(k);for(var m=0;m<k;m++)g[m]=arguments[m+2];e.children=g}return{$$typeof:r,type:a.type,key:d,ref:l,props:e,_owner:h}},createFactory:function(a){var b=F.bind(null,a);b.type=a;return b},isValidElement:B,
21
- version:"16.1.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:A,assign:u}};var N=Object.freeze({default:d});d=N&&d||N;return d["default"]?d["default"]:d});
21
+ version:"16.1.1",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:A,assign:u}};var N=Object.freeze({default:d});d=N&&d||N;return d["default"]?d["default"]:d});