react-dom 17.0.0 → 17.0.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/build-info.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
- "branch": "master",
3
- "buildNumber": "216201",
4
- "checksum": "6a2f7e9",
5
- "commit": "4ead6b530",
2
+ "branch": "17.0.1",
3
+ "buildNumber": "222790",
4
+ "checksum": "addb3df",
5
+ "commit": "8e5adfbd7",
6
6
  "environment": "ci",
7
- "reactVersion": "17.0.0-alpha.0-4ead6b530"
7
+ "reactVersion": "17.0.0-8e5adfbd7"
8
8
  }
@@ -1,4 +1,4 @@
1
- /** @license React v17.0.0
1
+ /** @license React v17.0.1
2
2
  * react-dom-server.browser.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -30,7 +30,7 @@ function formatProdErrorMessage(code) {
30
30
  }
31
31
 
32
32
  // TODO: this is special because it gets imported during build.
33
- var ReactVersion = '17.0.0';
33
+ var ReactVersion = '17.0.1';
34
34
 
35
35
  var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
36
36
 
@@ -1,4 +1,4 @@
1
- /** @license React v17.0.0
1
+ /** @license React v17.0.1
2
2
  * react-dom-server.browser.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -48,4 +48,4 @@ d,{selected:g,children:L})}}if(g=d){if(Oa[c]&&(null!=g.children||null!=g.dangero
48
48
  !1;break b;default:C=!0}for(w in g)if(Ya.call(g,w)){var n=g[w];if(null!=n){if("style"===w){var k=void 0,v="",H="";for(k in n)if(n.hasOwnProperty(k)){var x=0===k.indexOf("--"),y=n[k];if(null!=y){if(x)var A=k;else if(A=k,Wa.hasOwnProperty(A))A=Wa[A];else{var cb=A.replace(Qa,"-$1").toLowerCase().replace(Ra,"-ms-");A=Wa[A]=cb}v+=H+A+":";H=k;x=null==y||"boolean"===typeof y||""===y?"":x||"number"!==typeof y||0===y||Y.hasOwnProperty(H)&&Y[H]?(""+y).trim():y+"px";v+=x;H=";"}}n=v||null}k=null;C?Za.hasOwnProperty(w)||
49
49
  (k=w,k=sa(k)&&null!=n?k+'="'+(O(n)+'"'):""):k=ya(w,n);k&&(G+=" "+k)}}e||L&&(G+=' data-reactroot=""');var w=G;g="";Na.hasOwnProperty(c)?w+="/>":(w+=">",g="</"+a.type+">");a:{e=d.dangerouslySetInnerHTML;if(null!=e){if(null!=e.__html){e=e.__html;break a}}else if(e=d.children,"string"===typeof e||"number"===typeof e){e=O(e);break a}e=null}null!=e?(d=[],Ta.hasOwnProperty(c)&&"\n"===e.charAt(0)&&(w+="\n"),w+=e):d=Z(d.children);a=a.type;f=null==f||"http://www.w3.org/1999/xhtml"===f?Ma(a):"http://www.w3.org/2000/svg"===
50
50
  f&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":f;this.stack.push({domNamespace:f,type:c,children:d,childIndex:0,context:b,footer:g});this.previousWasTextNode=!1;return w};return a}();exports.renderToNodeStream=function(){throw Error(p(207));};exports.renderToStaticMarkup=function(a,b){a=new bb(a,!0,b);try{return a.read(Infinity)}finally{a.destroy()}};exports.renderToStaticNodeStream=function(){throw Error(p(208));};exports.renderToString=function(a,b){a=new bb(a,!1,b);try{return a.read(Infinity)}finally{a.destroy()}};
51
- exports.version="17.0.0";
51
+ exports.version="17.0.1";
@@ -1,4 +1,4 @@
1
- /** @license React v17.0.0
1
+ /** @license React v17.0.1
2
2
  * react-dom-server.node.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -18,7 +18,7 @@ var _assign = require('object-assign');
18
18
  var stream = require('stream');
19
19
 
20
20
  // TODO: this is special because it gets imported during build.
21
- var ReactVersion = '17.0.0';
21
+ var ReactVersion = '17.0.1';
22
22
 
23
23
  // Do not require this module directly! Use normal `invariant` calls with
24
24
  // template literal strings. The messages will be replaced with error codes
@@ -1,4 +1,4 @@
1
- /** @license React v17.0.0
1
+ /** @license React v17.0.1
2
2
  * react-dom-server.node.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -49,4 +49,4 @@ d,{selected:g,children:L})}}if(g=d){if(Pa[c]&&(null!=g.children||null!=g.dangero
49
49
  (k=w,k=ta(k)&&null!=m?k+'="'+(O(m)+'"'):""):k=za(w,m);k&&(G+=" "+k)}}e||L&&(G+=' data-reactroot=""');var w=G;g="";Oa.hasOwnProperty(c)?w+="/>":(w+=">",g="</"+a.type+">");a:{e=d.dangerouslySetInnerHTML;if(null!=e){if(null!=e.__html){e=e.__html;break a}}else if(e=d.children,"string"===typeof e||"number"===typeof e){e=O(e);break a}e=null}null!=e?(d=[],Ua.hasOwnProperty(c)&&"\n"===e.charAt(0)&&(w+="\n"),w+=e):d=Z(d.children);a=a.type;f=null==f||"http://www.w3.org/1999/xhtml"===f?Na(a):"http://www.w3.org/2000/svg"===
50
50
  f&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":f;this.stack.push({domNamespace:f,type:c,children:d,childIndex:0,context:b,footer:g});this.previousWasTextNode=!1;return w};return a}();function db(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;a.__proto__=b}
51
51
  var fb=function(a){function b(b,c,h){var d=a.call(this,{})||this;d.partialRenderer=new cb(b,c,h);return d}db(b,a);var c=b.prototype;c._destroy=function(a,b){this.partialRenderer.destroy();b(a)};c._read=function(a){try{this.push(this.partialRenderer.read(a))}catch(f){this.destroy(f)}};return b}(aa.Readable);exports.renderToNodeStream=function(a,b){return new fb(a,!1,b)};exports.renderToStaticMarkup=function(a,b){a=new cb(a,!0,b);try{return a.read(Infinity)}finally{a.destroy()}};
52
- exports.renderToStaticNodeStream=function(a,b){return new fb(a,!0,b)};exports.renderToString=function(a,b){a=new cb(a,!1,b);try{return a.read(Infinity)}finally{a.destroy()}};exports.version="17.0.0";
52
+ exports.renderToStaticNodeStream=function(a,b){return new fb(a,!0,b)};exports.renderToString=function(a,b){a=new cb(a,!1,b);try{return a.read(Infinity)}finally{a.destroy()}};exports.version="17.0.1";
@@ -1,4 +1,4 @@
1
- /** @license React v17.0.0
1
+ /** @license React v17.0.1
2
2
  * react-dom-test-utils.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -1,4 +1,4 @@
1
- /** @license React v17.0.0
1
+ /** @license React v17.0.1
2
2
  * react-dom-test-utils.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -1,4 +1,4 @@
1
- /** @license React v17.0.0
1
+ /** @license React v17.0.1
2
2
  * react-dom.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -5737,7 +5737,15 @@ function higherPriorityLane(a, b) {
5737
5737
  return a !== NoLane && a < b ? a : b;
5738
5738
  }
5739
5739
  function createLaneMap(initial) {
5740
- return new Array(TotalLanes).fill(initial);
5740
+ // Intentionally pushing one by one.
5741
+ // https://v8.dev/blog/elements-kinds#avoid-creating-holes
5742
+ var laneMap = [];
5743
+
5744
+ for (var i = 0; i < TotalLanes; i++) {
5745
+ laneMap.push(initial);
5746
+ }
5747
+
5748
+ return laneMap;
5741
5749
  }
5742
5750
  function markRootUpdated(root, updateLane, eventTime) {
5743
5751
  root.pendingLanes |= updateLane; // TODO: Theoretically, any update to any lane can unblock any other lane. But
@@ -11338,7 +11346,7 @@ function flushSyncCallbackQueueImpl() {
11338
11346
  }
11339
11347
 
11340
11348
  // TODO: this is special because it gets imported during build.
11341
- var ReactVersion = '17.0.0';
11349
+ var ReactVersion = '17.0.1';
11342
11350
 
11343
11351
  var NoMode = 0;
11344
11352
  var StrictMode = 1; // TODO: Remove BlockingMode and ConcurrentMode by reading from the root