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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dom",
3
- "version": "17.0.0",
3
+ "version": "17.0.1",
4
4
  "description": "React package for working with the DOM.",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -19,10 +19,10 @@
19
19
  "dependencies": {
20
20
  "loose-envify": "^1.1.0",
21
21
  "object-assign": "^4.1.1",
22
- "scheduler": "^0.20.0"
22
+ "scheduler": "^0.20.1"
23
23
  },
24
24
  "peerDependencies": {
25
- "react": "17.0.0"
25
+ "react": "17.0.1"
26
26
  },
27
27
  "files": [
28
28
  "LICENSE",
@@ -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.
@@ -26,7 +26,7 @@
26
26
  }
27
27
 
28
28
  // TODO: this is special because it gets imported during build.
29
- var ReactVersion = '17.0.0';
29
+ var ReactVersion = '17.0.1';
30
30
 
31
31
  var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
32
32
 
@@ -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.
@@ -42,5 +42,5 @@ var g=Ja(d.children);if(null!=e){var l=null!=d.value?d.value+"":g;h=!1;if(Array.
42
42
  }if(null!=h.style&&"object"!==typeof h.style)throw Error(t(62));}h=d;e=this.makeStaticMarkup;g=1===this.stack.length;l="<"+a.type;b:if(-1===c.indexOf("-"))n="string"===typeof h.is;else switch(c){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":n=!1;break b;default:n=!0}for(y in h)if(Sa.call(h,y)){var m=h[y];if(null!=m){if("style"===y){var p=void 0,q="",r="";for(p in m)if(m.hasOwnProperty(p)){var x=
43
43
  0===p.indexOf("--"),u=m[p];if(null!=u){if(x)var v=p;else if(v=p,da.hasOwnProperty(v))v=da[v];else{var A=v.replace(Oa,"-$1").toLowerCase().replace(Pa,"-ms-");v=da[v]=A}q+=r+v+":";r=p;x=null==u||"boolean"===typeof u||""===u?"":x||"number"!==typeof u||0===u||H.hasOwnProperty(r)&&H[r]?(""+u).trim():u+"px";q+=x;r=";"}}m=q||null}p=null;n?Ta.hasOwnProperty(y)||(p=y,p=ha(p)&&null!=m?p+'="'+(C(m)+'"'):""):p=Fa(y,m);p&&(l+=" "+p)}}e||g&&(l+=' data-reactroot=""');var y=l;h="";xa.hasOwnProperty(c)?y+="/>":(y+=
44
44
  ">",h="</"+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=C(e);break a}e=null}null!=e?(d=[],Qa.hasOwnProperty(c)&&"\n"===e.charAt(0)&&(y+="\n"),y+=e):d=B(d.children);a=a.type;f=null==f||"http://www.w3.org/1999/xhtml"===f?ra(a):"http://www.w3.org/2000/svg"===f&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":f;this.stack.push({domNamespace:f,type:c,children:d,childIndex:0,context:b,footer:h});
45
- this.previousWasTextNode=!1;return y};return a}();x.renderToNodeStream=function(){throw Error(t(207));};x.renderToStaticMarkup=function(a,b){a=new za(a,!0,b);try{return a.read(Infinity)}finally{a.destroy()}};x.renderToStaticNodeStream=function(){throw Error(t(208));};x.renderToString=function(a,b){a=new za(a,!1,b);try{return a.read(Infinity)}finally{a.destroy()}};x.version="17.0.0"});
45
+ this.previousWasTextNode=!1;return y};return a}();x.renderToNodeStream=function(){throw Error(t(207));};x.renderToStaticMarkup=function(a,b){a=new za(a,!0,b);try{return a.read(Infinity)}finally{a.destroy()}};x.renderToStaticNodeStream=function(){throw Error(t(208));};x.renderToString=function(a,b){a=new za(a,!1,b);try{return a.read(Infinity)}finally{a.destroy()}};x.version="17.0.1"});
46
46
  })();
@@ -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.
@@ -5767,7 +5767,15 @@
5767
5767
  return a !== NoLane && a < b ? a : b;
5768
5768
  }
5769
5769
  function createLaneMap(initial) {
5770
- return new Array(TotalLanes).fill(initial);
5770
+ // Intentionally pushing one by one.
5771
+ // https://v8.dev/blog/elements-kinds#avoid-creating-holes
5772
+ var laneMap = [];
5773
+
5774
+ for (var i = 0; i < TotalLanes; i++) {
5775
+ laneMap.push(initial);
5776
+ }
5777
+
5778
+ return laneMap;
5771
5779
  }
5772
5780
  function markRootUpdated(root, updateLane, eventTime) {
5773
5781
  root.pendingLanes |= updateLane; // TODO: Theoretically, any update to any lane can unblock any other lane. But
@@ -11368,7 +11376,7 @@
11368
11376
  }
11369
11377
 
11370
11378
  // TODO: this is special because it gets imported during build.
11371
- var ReactVersion = '17.0.0';
11379
+ var ReactVersion = '17.0.1';
11372
11380
 
11373
11381
  var NoMode = 0;
11374
11382
  var StrictMode = 1; // TODO: Remove BlockingMode and ConcurrentMode by reading from the root