react-dom
Advanced tools
Comparing version 0.0.0-experimental-1022ee0ec to 0.0.0-experimental-38dd17ab9
{ | ||
"branch": "master", | ||
"buildNumber": "54342", | ||
"checksum": "a446c85", | ||
"commit": "1022ee0ec", | ||
"buildNumber": "57981", | ||
"checksum": "7604c6f", | ||
"commit": "38dd17ab9", | ||
"environment": "ci", | ||
"reactVersion": "16.10.2-experimental-1022ee0ec" | ||
"reactVersion": "16.11.0-experimental-38dd17ab9" | ||
} |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-server.browser.production.min.js | ||
@@ -55,2 +55,2 @@ * | ||
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)); | ||
},version:"16.10.2-experimental-1022ee0ec"},ab={default:$a},bb=ab&&$a||ab;module.exports=bb.default||bb; | ||
},version:"16.11.0-experimental-38dd17ab9"},ab={default:$a},bb=ab&&$a||ab;module.exports=bb.default||bb; |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-server.node.production.min.js | ||
@@ -56,2 +56,2 @@ * | ||
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, | ||
!1)},renderToStaticNodeStream:function(a){return new bb(a,!0)},version:"16.10.2-experimental-1022ee0ec"},db={default:cb},eb=db&&cb||db;module.exports=eb.default||eb; | ||
!1)},renderToStaticNodeStream:function(a){return new bb(a,!0)},version:"16.11.0-experimental-38dd17ab9"},db={default:cb},eb=db&&cb||db;module.exports=eb.default||eb; |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-test-utils.development.js | ||
@@ -177,9 +177,5 @@ * | ||
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers: | ||
// Helps identify side effects in render-phase lifecycle hooks and setState | ||
// reducers by double invoking them in Strict Mode. | ||
// In some cases, StrictMode should also double-render lifecycles. | ||
// This can be confusing for tests though, | ||
// And it can be bad for performance in production. | ||
// This feature flag can be used to control the behavior: | ||
// To preserve the "Pause on caught exceptions" behavior of the debugger, we | ||
@@ -219,3 +215,3 @@ // replay the begin phase of a failed component inside invokeGuardedCallback. | ||
// We will enforce mocking scheduler with scheduler/unstable_mock at some point. (v17?) | ||
// Till then, we warn about the missing mock, but still fallback to a sync mode compatible version | ||
// Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version | ||
@@ -222,0 +218,0 @@ // For tests, we flush suspense fallbacks in an act scope; |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-test-utils.production.min.js | ||
@@ -3,0 +3,0 @@ * |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-unstable-fizz.browser.development.js | ||
@@ -27,2 +27,3 @@ * | ||
destination.enqueue(buffer); | ||
return destination.desiredSize > 0; | ||
} | ||
@@ -38,3 +39,3 @@ | ||
function formatChunk(type, props) { | ||
function formatChunkAsString(type, props) { | ||
var str = '<' + type + '>'; | ||
@@ -47,4 +48,7 @@ | ||
str += '</' + type + '>'; | ||
return convertStringToBuffer(str); | ||
return str; | ||
} | ||
function formatChunk(type, props) { | ||
return convertStringToBuffer(formatChunkAsString(type, props)); | ||
} | ||
@@ -118,3 +122,3 @@ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol | ||
} | ||
function startFlowing(request, desiredBytes) { | ||
function startFlowing(request) { | ||
request.flowing = false; | ||
@@ -135,3 +139,3 @@ flushCompletedChunks(request); | ||
pull: function (controller) { | ||
startFlowing(request, controller.desiredSize); | ||
startFlowing(request); | ||
}, | ||
@@ -138,0 +142,0 @@ cancel: function (reason) {} |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-unstable-fizz.browser.production.min.js | ||
@@ -10,3 +10,3 @@ * | ||
'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()} | ||
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; | ||
'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()} | ||
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,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-unstable-fizz.node.development.js | ||
@@ -25,8 +25,15 @@ * | ||
if (typeof destination.flush === 'function') { | ||
// By convention the Zlib streams provide a flush function for this purpose. | ||
destination.flush(); | ||
// http.createServer response have flush(), but it has a different meaning and | ||
// is deprecated in favor of flushHeaders(). Detect to avoid a warning. | ||
if (typeof destination.flushHeaders !== 'function') { | ||
// By convention the Zlib streams provide a flush function for this purpose. | ||
destination.flush(); | ||
} | ||
} | ||
} | ||
function beginWriting(destination) { | ||
destination.cork(); | ||
// Older Node streams like http.createServer don't have this. | ||
if (typeof destination.cork === 'function') { | ||
destination.cork(); | ||
} | ||
} | ||
@@ -36,6 +43,9 @@ function writeChunk(destination, buffer) { | ||
destination.write(nodeBuffer); | ||
return destination.write(nodeBuffer); | ||
} | ||
function completeWriting(destination) { | ||
destination.uncork(); | ||
// Older Node streams like http.createServer don't have this. | ||
if (typeof destination.uncork === 'function') { | ||
destination.uncork(); | ||
} | ||
} | ||
@@ -49,3 +59,3 @@ function close(destination) { | ||
function formatChunk(type, props) { | ||
function formatChunkAsString(type, props) { | ||
var str = '<' + type + '>'; | ||
@@ -58,4 +68,7 @@ | ||
str += '</' + type + '>'; | ||
return convertStringToBuffer(str); | ||
return str; | ||
} | ||
function formatChunk(type, props) { | ||
return convertStringToBuffer(formatChunkAsString(type, props)); | ||
} | ||
@@ -131,3 +144,3 @@ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol | ||
} | ||
function startFlowing(request, desiredBytes) { | ||
function startFlowing(request) { | ||
request.flowing = false; | ||
@@ -142,3 +155,3 @@ flushCompletedChunks(request); | ||
return function () { | ||
return startFlowing(request, 0); | ||
return startFlowing(request); | ||
}; | ||
@@ -145,0 +158,0 @@ } |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-unstable-fizz.node.production.min.js | ||
@@ -10,3 +10,4 @@ * | ||
'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()} | ||
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; | ||
'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()} | ||
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)}} | ||
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; |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-unstable-native-dependencies.development.js | ||
@@ -3,0 +3,0 @@ * |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-unstable-native-dependencies.production.min.js | ||
@@ -3,0 +3,0 @@ * |
{ | ||
"name": "react-dom", | ||
"version": "0.0.0-experimental-1022ee0ec", | ||
"version": "0.0.0-experimental-38dd17ab9", | ||
"description": "React package for working with the DOM.", | ||
@@ -23,6 +23,6 @@ "main": "index.js", | ||
"prop-types": "^15.6.2", | ||
"scheduler": "0.0.0-experimental-1022ee0ec" | ||
"scheduler": "0.0.0-experimental-38dd17ab9" | ||
}, | ||
"peerDependencies": { | ||
"react": "0.0.0-experimental-1022ee0ec" | ||
"react": "0.0.0-experimental-38dd17ab9" | ||
}, | ||
@@ -43,2 +43,6 @@ "files": [ | ||
"unstable-fizz.node.js", | ||
"unstable-flight-client.js", | ||
"unstable-flight-server.js", | ||
"unstable-flight-server.browser.js", | ||
"unstable-flight-server.node.js", | ||
"unstable-native-dependencies.js", | ||
@@ -50,3 +54,4 @@ "cjs/", | ||
"./server.js": "./server.browser.js", | ||
"./unstable-fizz.js": "./unstable-fizz.browser.js" | ||
"./unstable-fizz.js": "./unstable-fizz.browser.js", | ||
"./unstable-flight-server.js": "./unstable-flight-server.browser.js" | ||
}, | ||
@@ -53,0 +58,0 @@ "browserify": { |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-server.browser.production.min.js | ||
@@ -46,2 +46,2 @@ * | ||
e="</"+a.type+">");a:{f=d.dangerouslySetInnerHTML;if(null!=f){if(null!=f.__html){f=f.__html;break a}}else if(f=d.children,"string"===typeof f||"number"===typeof f){f=C(f);break a}f=null}null!=f?(d=[],Na[c]&&"\n"===f.charAt(0)&&(w+="\n"),w+=f):d=z(d.children);a=a.type;g=null==g||"http://www.w3.org/1999/xhtml"===g?oa(a):"http://www.w3.org/2000/svg"===g&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":g;this.stack.push({domNamespace:g,type:c,children:d,childIndex:0,context:b,footer:e});this.previousWasTextNode= | ||
!1;return w};return a}();k={renderToString:function(a){a=new sa(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new sa(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){throw Error(p(207));},renderToStaticNodeStream:function(){throw Error(p(208));},version:"16.10.2-experimental-1022ee0ec"};k=(D={default:k},k)||D;return k.default||k}); | ||
!1;return w};return a}();k={renderToString:function(a){a=new sa(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new sa(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){throw Error(p(207));},renderToStaticNodeStream:function(){throw Error(p(208));},version:"16.11.0-experimental-38dd17ab9"};k=(D={default:k},k)||D;return k.default||k}); |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-test-utils.development.js | ||
@@ -175,9 +175,5 @@ * | ||
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers: | ||
// Helps identify side effects in render-phase lifecycle hooks and setState | ||
// reducers by double invoking them in Strict Mode. | ||
// In some cases, StrictMode should also double-render lifecycles. | ||
// This can be confusing for tests though, | ||
// And it can be bad for performance in production. | ||
// This feature flag can be used to control the behavior: | ||
// To preserve the "Pause on caught exceptions" behavior of the debugger, we | ||
@@ -217,3 +213,3 @@ // replay the begin phase of a failed component inside invokeGuardedCallback. | ||
// We will enforce mocking scheduler with scheduler/unstable_mock at some point. (v17?) | ||
// Till then, we warn about the missing mock, but still fallback to a sync mode compatible version | ||
// Till then, we warn about the missing mock, but still fallback to a legacy mode compatible version | ||
@@ -220,0 +216,0 @@ // For tests, we flush suspense fallbacks in an act scope; |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-test-utils.production.min.js | ||
@@ -3,0 +3,0 @@ * |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-unstable-fizz.browser.development.js | ||
@@ -27,2 +27,3 @@ * | ||
destination.enqueue(buffer); | ||
return destination.desiredSize > 0; | ||
} | ||
@@ -38,3 +39,3 @@ | ||
function formatChunk(type, props) { | ||
function formatChunkAsString(type, props) { | ||
var str = '<' + type + '>'; | ||
@@ -47,4 +48,7 @@ | ||
str += '</' + type + '>'; | ||
return convertStringToBuffer(str); | ||
return str; | ||
} | ||
function formatChunk(type, props) { | ||
return convertStringToBuffer(formatChunkAsString(type, props)); | ||
} | ||
@@ -118,3 +122,3 @@ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol | ||
} | ||
function startFlowing(request, desiredBytes) { | ||
function startFlowing(request) { | ||
request.flowing = false; | ||
@@ -135,3 +139,3 @@ flushCompletedChunks(request); | ||
pull: function (controller) { | ||
startFlowing(request, controller.desiredSize); | ||
startFlowing(request); | ||
}, | ||
@@ -138,0 +142,0 @@ cancel: function (reason) {} |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-unstable-fizz.browser.production.min.js | ||
@@ -9,3 +9,3 @@ * | ||
*/ | ||
'use strict';(function(g,e){"object"===typeof exports&&"undefined"!==typeof module?module.exports=e():"function"===typeof define&&define.amd?define(e):g.ReactDOMFizzServer=e()})(this,function(){function g(b,c){var a="<"+b+">";"string"===typeof c.children&&(a+=c.children);return k.encode(a+("</"+b+">"))}function e(b){var c=b.destination,a=b.completedChunks;b.completedChunks=[];for(b=0;b<a.length;b++)c.enqueue(a[b]);c.close()}var k=new TextEncoder,l="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"): | ||
60103,d={renderToReadableStream:function(b){var c;return new ReadableStream({start:function(a){a=c={destination:a,children:b,completedChunks:[],flowing:!1};a.flowing=!0;var f=a.children;a.children=null;if(!f||f.$$typeof===l){var d=f.type;f=f.props;"string"===typeof d&&(a.completedChunks.push(g(d,f)),a.flowing&&e(a))}},pull:function(a){a=c;a.flowing=!1;e(a)},cancel:function(a){}})}},h={default:d};d=h&&d||h;return d.default||d}); | ||
'use strict';(function(g,e){"object"===typeof exports&&"undefined"!==typeof module?module.exports=e():"function"===typeof define&&define.amd?define(e):g.ReactDOMFizzServer=e()})(this,function(){function g(b,c){var a="<"+b+">";"string"===typeof c.children&&(a+=c.children);return a+("</"+b+">")}function e(b){var c=b.destination,a=b.completedChunks;b.completedChunks=[];for(b=0;b<a.length;b++)c.enqueue(a[b]);c.close()}var k=new TextEncoder,l="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"): | ||
60103,d={renderToReadableStream:function(b){var c;return new ReadableStream({start:function(a){a=c={destination:a,children:b,completedChunks:[],flowing:!1};a.flowing=!0;var f=a.children;a.children=null;if(!f||f.$$typeof===l){var d=f.type;f=f.props;"string"===typeof d&&(a.completedChunks.push(k.encode(g(d,f))),a.flowing&&e(a))}},pull:function(a){a=c;a.flowing=!1;e(a)},cancel:function(a){}})}},h={default:d};d=h&&d||h;return d.default||d}); |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-unstable-native-dependencies.development.js | ||
@@ -3,0 +3,0 @@ * |
@@ -1,2 +0,2 @@ | ||
/** @license React v0.0.0-experimental-1022ee0ec | ||
/** @license React v0.0.0-experimental-38dd17ab9 | ||
* react-dom-unstable-native-dependencies.production.min.js | ||
@@ -3,0 +3,0 @@ * |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3293670
54
67694
15
27
+ Addedreact@0.0.0-experimental-38dd17ab9(transitive)
+ Addedscheduler@0.0.0-experimental-38dd17ab9(transitive)
- Removedreact@0.0.0-experimental-1022ee0ec(transitive)
- Removedscheduler@0.0.0-experimental-1022ee0ec(transitive)