react-dom 16.11.0 → 16.12.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.
Files changed (42) hide show
  1. package/build-info.json +4 -4
  2. package/cjs/react-dom-server.browser.development.js +7 -9
  3. package/cjs/react-dom-server.browser.production.min.js +2 -2
  4. package/cjs/react-dom-server.node.development.js +7 -9
  5. package/cjs/react-dom-server.node.production.min.js +2 -2
  6. package/cjs/react-dom-test-utils.development.js +10 -8
  7. package/cjs/react-dom-test-utils.production.min.js +1 -1
  8. package/cjs/react-dom-unstable-fizz.browser.development.js +9 -5
  9. package/cjs/react-dom-unstable-fizz.browser.production.min.js +3 -3
  10. package/cjs/react-dom-unstable-fizz.node.development.js +23 -10
  11. package/cjs/react-dom-unstable-fizz.node.production.min.js +4 -3
  12. package/cjs/react-dom-unstable-flight-client.development.js +357 -0
  13. package/cjs/react-dom-unstable-flight-client.production.min.js +16 -0
  14. package/cjs/react-dom-unstable-flight-server.browser.development.js +392 -0
  15. package/cjs/react-dom-unstable-flight-server.browser.production.min.js +16 -0
  16. package/cjs/react-dom-unstable-flight-server.node.development.js +415 -0
  17. package/cjs/react-dom-unstable-flight-server.node.production.min.js +16 -0
  18. package/cjs/react-dom-unstable-native-dependencies.development.js +1 -1
  19. package/cjs/react-dom-unstable-native-dependencies.production.min.js +1 -1
  20. package/cjs/react-dom.development.js +324 -256
  21. package/cjs/react-dom.production.min.js +31 -31
  22. package/cjs/react-dom.profiling.min.js +31 -31
  23. package/package.json +8 -3
  24. package/umd/react-dom-server.browser.development.js +7 -9
  25. package/umd/react-dom-server.browser.production.min.js +2 -2
  26. package/umd/react-dom-test-utils.development.js +10 -8
  27. package/umd/react-dom-test-utils.production.min.js +1 -1
  28. package/umd/react-dom-unstable-fizz.browser.development.js +9 -5
  29. package/umd/react-dom-unstable-fizz.browser.production.min.js +3 -3
  30. package/umd/react-dom-unstable-flight-client.development.js +357 -0
  31. package/umd/react-dom-unstable-flight-client.production.min.js +14 -0
  32. package/umd/react-dom-unstable-flight-server.browser.development.js +390 -0
  33. package/umd/react-dom-unstable-flight-server.browser.production.min.js +14 -0
  34. package/umd/react-dom-unstable-native-dependencies.development.js +1 -1
  35. package/umd/react-dom-unstable-native-dependencies.production.min.js +1 -1
  36. package/umd/react-dom.development.js +324 -256
  37. package/umd/react-dom.production.min.js +191 -190
  38. package/umd/react-dom.profiling.min.js +204 -204
  39. package/unstable-flight-client.js +7 -0
  40. package/unstable-flight-server.browser.js +7 -0
  41. package/unstable-flight-server.js +3 -0
  42. package/unstable-flight-server.node.js +7 -0
package/build-info.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "branch": "master",
3
- "buildNumber": "54423",
4
- "checksum": "3b849cc",
5
- "commit": "5faf377df",
3
+ "buildNumber": "59518",
4
+ "checksum": "6f449c4",
5
+ "commit": "b53ea6ca0",
6
6
  "environment": "ci",
7
- "reactVersion": "16.10.2-5faf377df"
7
+ "reactVersion": "16.11.0-b53ea6ca0"
8
8
  }
@@ -1,4 +1,4 @@
1
- /** @license React v16.11.0
1
+ /** @license React v16.12.0
2
2
  * react-dom-server.browser.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -25,7 +25,7 @@ var checkPropTypes = require('prop-types/checkPropTypes');
25
25
 
26
26
  // TODO: this is special because it gets imported during build.
27
27
 
28
- var ReactVersion = '16.11.0';
28
+ var ReactVersion = '16.12.0';
29
29
 
30
30
  /**
31
31
  * Use invariant() to assert state which your program assumes to be true.
@@ -356,12 +356,8 @@ var describeComponentFrame = function (name, source, ownerName) {
356
356
  return '\n in ' + (name || 'Unknown') + sourceInfo;
357
357
  };
358
358
 
359
- // Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
360
-
361
- // In some cases, StrictMode should also double-render lifecycles.
362
- // This can be confusing for tests though,
363
- // And it can be bad for performance in production.
364
- // This feature flag can be used to control the behavior:
359
+ // Helps identify side effects in render-phase lifecycle hooks and setState
360
+ // reducers by double invoking them in Strict Mode.
365
361
 
366
362
  // To preserve the "Pause on caught exceptions" behavior of the debugger, we
367
363
  // replay the begin phase of a failed component inside invokeGuardedCallback.
@@ -397,7 +393,7 @@ var enableFundamentalAPI = false; // Experimental Scope support.
397
393
  var enableScopeAPI = false; // New API for JSX transforms to target - https://github.com/reactjs/rfcs/pull/107
398
394
 
399
395
  // We will enforce mocking scheduler with scheduler/unstable_mock at some point. (v17?)
400
- // Till then, we warn about the missing mock, but still fallback to a sync mode compatible version
396
+ // Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version
401
397
 
402
398
  // For tests, we flush suspense fallbacks in an act scope;
403
399
  // *except* in some of our own tests, where we test incremental loading states.
@@ -416,6 +412,8 @@ var enableScopeAPI = false; // New API for JSX transforms to target - https://gi
416
412
 
417
413
  var disableLegacyContext = false;
418
414
 
415
+ // Flag to turn event.target and event.currentTarget in ReactNative from a reactTag to a component instance
416
+
419
417
  var ReactDebugCurrentFrame$1;
420
418
  var didWarnAboutInvalidateContextType;
421
419
 
@@ -1,4 +1,4 @@
1
- /** @license React v16.11.0
1
+ /** @license React v16.12.0
2
2
  * react-dom-server.browser.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -51,4 +51,4 @@ d,{selected:h,children:I})}}if(h=d){if(La[c]&&(null!=h.children||null!=h.dangero
51
51
  z){n=void 0;var v="",r="";for(n in m)if(m.hasOwnProperty(n)){var y=0===n.indexOf("--"),p=m[n];if(null!=p){if(y)var A=n;else if(A=n,Ta.hasOwnProperty(A))A=Ta[A];else{var T=A.replace(Na,"-$1").toLowerCase().replace(Oa,"-ms-");A=Ta[A]=T}v+=r+A+":";r=n;y=null==p||"boolean"===typeof p||""===p?"":y||"number"!==typeof p||0===p||Y.hasOwnProperty(r)&&Y[r]?(""+p).trim():p+"px";v+=y;r=";"}}m=v||null}n=null;b:if(y=c,p=h,-1===y.indexOf("-"))y="string"===typeof p.is;else switch(y){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":y=
52
52
  !1;break b;default:y=!0}y?Wa.hasOwnProperty(z)||(n=z,n=ta(n)&&null!=m?n+"="+('"'+N(m)+'"'):""):n=xa(z,m);n&&(G+=" "+n)}}e||I&&(G+=' data-reactroot=""');var z=G;h="";Ka.hasOwnProperty(c)?z+="/>":(z+=">",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=N(e);break a}e=null}null!=e?(d=[],Qa[c]&&"\n"===e.charAt(0)&&(z+="\n"),z+=e):d=Z(d.children);a=a.type;f=null==f||"http://www.w3.org/1999/xhtml"===
53
53
  f?Ja(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});this.previousWasTextNode=!1;return z};return a}(),$a={renderToString:function(a){a=new Za(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new Za(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){throw Error(q(207));},renderToStaticNodeStream:function(){throw Error(q(208));
54
- },version:"16.11.0"},ab={default:$a},bb=ab&&$a||ab;module.exports=bb.default||bb;
54
+ },version:"16.12.0"},ab={default:$a},bb=ab&&$a||ab;module.exports=bb.default||bb;
@@ -1,4 +1,4 @@
1
- /** @license React v16.11.0
1
+ /** @license React v16.12.0
2
2
  * react-dom-server.node.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -22,7 +22,7 @@ var stream = require('stream');
22
22
 
23
23
  // TODO: this is special because it gets imported during build.
24
24
 
25
- var ReactVersion = '16.11.0';
25
+ var ReactVersion = '16.12.0';
26
26
 
27
27
  // Do not require this module directly! Use normal `invariant` calls with
28
28
  // template literal strings. The messages will be replaced with error codes
@@ -357,12 +357,8 @@ var describeComponentFrame = function (name, source, ownerName) {
357
357
  return '\n in ' + (name || 'Unknown') + sourceInfo;
358
358
  };
359
359
 
360
- // Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
361
-
362
- // In some cases, StrictMode should also double-render lifecycles.
363
- // This can be confusing for tests though,
364
- // And it can be bad for performance in production.
365
- // This feature flag can be used to control the behavior:
360
+ // Helps identify side effects in render-phase lifecycle hooks and setState
361
+ // reducers by double invoking them in Strict Mode.
366
362
 
367
363
  // To preserve the "Pause on caught exceptions" behavior of the debugger, we
368
364
  // replay the begin phase of a failed component inside invokeGuardedCallback.
@@ -398,7 +394,7 @@ var enableFundamentalAPI = false; // Experimental Scope support.
398
394
  var enableScopeAPI = false; // New API for JSX transforms to target - https://github.com/reactjs/rfcs/pull/107
399
395
 
400
396
  // We will enforce mocking scheduler with scheduler/unstable_mock at some point. (v17?)
401
- // Till then, we warn about the missing mock, but still fallback to a sync mode compatible version
397
+ // Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version
402
398
 
403
399
  // For tests, we flush suspense fallbacks in an act scope;
404
400
  // *except* in some of our own tests, where we test incremental loading states.
@@ -417,6 +413,8 @@ var enableScopeAPI = false; // New API for JSX transforms to target - https://gi
417
413
 
418
414
  var disableLegacyContext = false;
419
415
 
416
+ // Flag to turn event.target and event.currentTarget in ReactNative from a reactTag to a component instance
417
+
420
418
  var ReactDebugCurrentFrame$1;
421
419
  var didWarnAboutInvalidateContextType;
422
420
 
@@ -1,4 +1,4 @@
1
- /** @license React v16.11.0
1
+ /** @license React v16.12.0
2
2
  * react-dom-server.node.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -52,4 +52,4 @@ z){n=void 0;var w="",t="";for(n in l)if(l.hasOwnProperty(n)){var y=0===n.indexOf
52
52
  !1;break b;default:y=!0}y?Xa.hasOwnProperty(z)||(n=z,n=ua(n)&&null!=l?n+"="+('"'+N(l)+'"'):""):n=ya(z,l);n&&(G+=" "+n)}}e||I&&(G+=' data-reactroot=""');var z=G;g="";La.hasOwnProperty(c)?z+="/>":(z+=">",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=N(e);break a}e=null}null!=e?(d=[],Ra[c]&&"\n"===e.charAt(0)&&(z+="\n"),z+=e):d=Z(d.children);a=a.type;f=null==f||"http://www.w3.org/1999/xhtml"===
53
53
  f?Ka(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:g});this.previousWasTextNode=!1;return z};return a}();function ab(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;a.__proto__=b}
54
54
  var bb=function(a){function b(b,c){var d=a.call(this,{})||this;d.partialRenderer=new $a(b,c);return d}ab(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),cb={renderToString:function(a){a=new $a(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new $a(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(a){return new bb(a,
55
- !1)},renderToStaticNodeStream:function(a){return new bb(a,!0)},version:"16.11.0"},db={default:cb},eb=db&&cb||db;module.exports=eb.default||eb;
55
+ !1)},renderToStaticNodeStream:function(a){return new bb(a,!0)},version:"16.12.0"},db={default:cb},eb=db&&cb||db;module.exports=eb.default||eb;
@@ -1,4 +1,4 @@
1
- /** @license React v16.11.0
1
+ /** @license React v16.12.0
2
2
  * react-dom-test-utils.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -174,12 +174,8 @@ var Hydrating =
174
174
 
175
175
  // Union of all host effects
176
176
 
177
- // Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
178
-
179
- // In some cases, StrictMode should also double-render lifecycles.
180
- // This can be confusing for tests though,
181
- // And it can be bad for performance in production.
182
- // This feature flag can be used to control the behavior:
177
+ // Helps identify side effects in render-phase lifecycle hooks and setState
178
+ // reducers by double invoking them in Strict Mode.
183
179
 
184
180
  // To preserve the "Pause on caught exceptions" behavior of the debugger, we
185
181
  // replay the begin phase of a failed component inside invokeGuardedCallback.
@@ -215,7 +211,7 @@ var Hydrating =
215
211
  // New API for JSX transforms to target - https://github.com/reactjs/rfcs/pull/107
216
212
 
217
213
  // We will enforce mocking scheduler with scheduler/unstable_mock at some point. (v17?)
218
- // Till then, we warn about the missing mock, but still fallback to a sync mode compatible version
214
+ // Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version
219
215
 
220
216
  // For tests, we flush suspense fallbacks in an act scope;
221
217
  // *except* in some of our own tests, where we test incremental loading states.
@@ -230,6 +226,12 @@ var Hydrating =
230
226
  // from React.createElement to React.jsx
231
227
  // https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md
232
228
 
229
+
230
+
231
+
232
+
233
+ // Flag to turn event.target and event.currentTarget in ReactNative from a reactTag to a component instance
234
+
233
235
  var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
234
236
  function getNearestMountedFiber(fiber) {
235
237
  var node = fiber;
@@ -1,4 +1,4 @@
1
- /** @license React v16.11.0
1
+ /** @license React v16.12.0
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 v16.11.0
1
+ /** @license React v16.12.0
2
2
  * react-dom-unstable-fizz.browser.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -24,6 +24,7 @@ function flushBuffered(destination) {// WHATWG Streams do not yet have a way to
24
24
 
25
25
  function writeChunk(destination, buffer) {
26
26
  destination.enqueue(buffer);
27
+ return destination.desiredSize > 0;
27
28
  }
28
29
 
29
30
  function close(destination) {
@@ -34,7 +35,7 @@ function convertStringToBuffer(content) {
34
35
  return textEncoder.encode(content);
35
36
  }
36
37
 
37
- function formatChunk(type, props) {
38
+ function formatChunkAsString(type, props) {
38
39
  var str = '<' + type + '>';
39
40
 
40
41
  if (typeof props.children === 'string') {
@@ -42,7 +43,10 @@ function formatChunk(type, props) {
42
43
  }
43
44
 
44
45
  str += '</' + type + '>';
45
- return convertStringToBuffer(str);
46
+ return str;
47
+ }
48
+ function formatChunk(type, props) {
49
+ return convertStringToBuffer(formatChunkAsString(type, props));
46
50
  }
47
51
 
48
52
  // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
@@ -112,7 +116,7 @@ function startWork(request) {
112
116
  return performWork(request);
113
117
  });
114
118
  }
115
- function startFlowing(request, desiredBytes) {
119
+ function startFlowing(request) {
116
120
  request.flowing = false;
117
121
  flushCompletedChunks(request);
118
122
  }
@@ -128,7 +132,7 @@ function renderToReadableStream(children) {
128
132
  startWork(request);
129
133
  },
130
134
  pull: function (controller) {
131
- startFlowing(request, controller.desiredSize);
135
+ startFlowing(request);
132
136
  },
133
137
  cancel: function (reason) {}
134
138
  });
@@ -1,4 +1,4 @@
1
- /** @license React v16.11.0
1
+ /** @license React v16.12.0
2
2
  * react-dom-unstable-fizz.browser.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -7,5 +7,5 @@
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
9
 
10
- 'use strict';var e=new TextEncoder;function g(b,c){var a="<"+b+">";"string"===typeof c.children&&(a+=c.children);return e.encode(a+("</"+b+">"))}var h="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function k(b){var c=b.destination,a=b.completedChunks;b.completedChunks=[];for(b=0;b<a.length;b++)c.enqueue(a[b]);c.close()}
11
- var l={renderToReadableStream:function(b){var c;return new ReadableStream({start:function(a){a=c={destination:a,children:b,completedChunks:[],flowing:!1};a.flowing=!0;var d=a.children;a.children=null;if(!d||d.$$typeof===h){var f=d.type;d=d.props;"string"===typeof f&&(a.completedChunks.push(g(f,d)),a.flowing&&k(a))}},pull:function(){var a=c;a.flowing=!1;k(a)},cancel:function(){}})}},m={default:l},n=m&&l||m;module.exports=n.default||n;
10
+ 'use strict';var e=new TextEncoder;function g(b,c){var a="<"+b+">";"string"===typeof c.children&&(a+=c.children);return a+("</"+b+">")}var h="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function k(b){var c=b.destination,a=b.completedChunks;b.completedChunks=[];for(b=0;b<a.length;b++)c.enqueue(a[b]);c.close()}
11
+ var l={renderToReadableStream:function(b){var c;return new ReadableStream({start:function(a){a=c={destination:a,children:b,completedChunks:[],flowing:!1};a.flowing=!0;var d=a.children;a.children=null;if(!d||d.$$typeof===h){var f=d.type;d=d.props;"string"===typeof f&&(a.completedChunks.push(e.encode(g(f,d))),a.flowing&&k(a))}},pull:function(){var a=c;a.flowing=!1;k(a)},cancel:function(){}})}},m={default:l},n=m&&l||m;module.exports=n.default||n;
@@ -1,4 +1,4 @@
1
- /** @license React v16.11.0
1
+ /** @license React v16.12.0
2
2
  * react-dom-unstable-fizz.node.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -22,20 +22,30 @@ function flushBuffered(destination) {
22
22
  // If we don't have any more data to send right now.
23
23
  // Flush whatever is in the buffer to the wire.
24
24
  if (typeof destination.flush === 'function') {
25
- // By convention the Zlib streams provide a flush function for this purpose.
26
- destination.flush();
25
+ // http.createServer response have flush(), but it has a different meaning and
26
+ // is deprecated in favor of flushHeaders(). Detect to avoid a warning.
27
+ if (typeof destination.flushHeaders !== 'function') {
28
+ // By convention the Zlib streams provide a flush function for this purpose.
29
+ destination.flush();
30
+ }
27
31
  }
28
32
  }
29
33
  function beginWriting(destination) {
30
- destination.cork();
34
+ // Older Node streams like http.createServer don't have this.
35
+ if (typeof destination.cork === 'function') {
36
+ destination.cork();
37
+ }
31
38
  }
32
39
  function writeChunk(destination, buffer) {
33
40
  var nodeBuffer = buffer; // close enough
34
41
 
35
- destination.write(nodeBuffer);
42
+ return destination.write(nodeBuffer);
36
43
  }
37
44
  function completeWriting(destination) {
38
- destination.uncork();
45
+ // Older Node streams like http.createServer don't have this.
46
+ if (typeof destination.uncork === 'function') {
47
+ destination.uncork();
48
+ }
39
49
  }
40
50
  function close(destination) {
41
51
  destination.end();
@@ -44,7 +54,7 @@ function convertStringToBuffer(content) {
44
54
  return Buffer.from(content, 'utf8');
45
55
  }
46
56
 
47
- function formatChunk(type, props) {
57
+ function formatChunkAsString(type, props) {
48
58
  var str = '<' + type + '>';
49
59
 
50
60
  if (typeof props.children === 'string') {
@@ -52,7 +62,10 @@ function formatChunk(type, props) {
52
62
  }
53
63
 
54
64
  str += '</' + type + '>';
55
- return convertStringToBuffer(str);
65
+ return str;
66
+ }
67
+ function formatChunk(type, props) {
68
+ return convertStringToBuffer(formatChunkAsString(type, props));
56
69
  }
57
70
 
58
71
  // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
@@ -124,7 +137,7 @@ function startWork(request) {
124
137
  return performWork(request);
125
138
  });
126
139
  }
127
- function startFlowing(request, desiredBytes) {
140
+ function startFlowing(request) {
128
141
  request.flowing = false;
129
142
  flushCompletedChunks(request);
130
143
  }
@@ -134,7 +147,7 @@ function startFlowing(request, desiredBytes) {
134
147
 
135
148
  function createDrainHandler(destination, request) {
136
149
  return function () {
137
- return startFlowing(request, 0);
150
+ return startFlowing(request);
138
151
  };
139
152
  }
140
153
 
@@ -1,4 +1,4 @@
1
- /** @license React v16.11.0
1
+ /** @license React v16.12.0
2
2
  * react-dom-unstable-fizz.node.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -7,5 +7,6 @@
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
9
 
10
- 'use strict';function d(a,b){var c="<"+a+">";"string"===typeof b.children&&(c+=b.children);return Buffer.from(c+("</"+a+">"),"utf8")}var e="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function f(a){var b=a.destination,c=a.completedChunks;a.completedChunks=[];b.cork();try{for(a=0;a<c.length;a++)b.write(c[a])}finally{b.uncork()}b.end()}
11
- function g(a){a.flowing=!0;setImmediate(function(){var b=a.children;a.children=null;if(!b||b.$$typeof===e){var c=b.type;b=b.props;"string"===typeof c&&(a.completedChunks.push(d(c,b)),a.flowing&&f(a),c=a.destination,"function"===typeof c.flush&&c.flush())}})}function h(a,b){return function(){b.flowing=!1;f(b)}}var k={pipeToNodeWritable:function(a,b){a={destination:b,children:a,completedChunks:[],flowing:!1};b.on("drain",h(b,a));g(a)}},l={default:k},m=l&&k||l;module.exports=m.default||m;
10
+ 'use strict';function d(a,b){var c="<"+a+">";"string"===typeof b.children&&(c+=b.children);return c+("</"+a+">")}var e="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function f(a){var b=a.destination,c=a.completedChunks;a.completedChunks=[];"function"===typeof b.cork&&b.cork();try{for(a=0;a<c.length;a++)b.write(c[a])}finally{"function"===typeof b.uncork&&b.uncork()}b.end()}
11
+ function g(a){a.flowing=!0;setImmediate(function(){var b=a.children;a.children=null;if(!b||b.$$typeof===e){var c=b.type;b=b.props;"string"===typeof c&&(a.completedChunks.push(Buffer.from(d(c,b),"utf8")),a.flowing&&f(a),c=a.destination,"function"===typeof c.flush&&"function"!==typeof c.flushHeaders&&c.flush())}})}function h(a,b){return function(){b.flowing=!1;f(b)}}
12
+ var k={pipeToNodeWritable:function(a,b){a={destination:b,children:a,completedChunks:[],flowing:!1};b.on("drain",h(b,a));g(a)}},l={default:k},m=l&&k||l;module.exports=m.default||m;