Skip to content

Commit

Permalink
Update React from a41957507 to d803f519e (#57015)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnoff authored Oct 20, 2023
1 parent 2b60475 commit 920a7e8
Show file tree
Hide file tree
Showing 112 changed files with 4,499 additions and 3,753 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,16 @@
"random-seed": "0.3.0",
"react": "18.2.0",
"react-17": "npm:react@17.0.2",
"react-builtin": "npm:react@18.3.0-canary-a41957507-20231017",
"react-builtin": "npm:react@18.3.0-canary-d803f519e-20231020",
"react-dom": "18.2.0",
"react-dom-17": "npm:react-dom@17.0.2",
"react-dom-builtin": "npm:react-dom@18.3.0-canary-a41957507-20231017",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-a41957507-20231017",
"react-experimental-builtin": "npm:react@0.0.0-experimental-a41957507-20231017",
"react-server-dom-turbopack": "18.3.0-canary-a41957507-20231017",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-a41957507-20231017",
"react-server-dom-webpack": "18.3.0-canary-a41957507-20231017",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-a41957507-20231017",
"react-dom-builtin": "npm:react-dom@18.3.0-canary-d803f519e-20231020",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-d803f519e-20231020",
"react-experimental-builtin": "npm:react@0.0.0-experimental-d803f519e-20231020",
"react-server-dom-turbopack": "18.3.0-canary-d803f519e-20231020",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-d803f519e-20231020",
"react-server-dom-webpack": "18.3.0-canary-d803f519e-20231020",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-d803f519e-20231020",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
"relay-compiler": "13.0.2",
Expand All @@ -213,8 +213,8 @@
"resolve-from": "5.0.0",
"sass": "1.54.0",
"satori": "0.10.6",
"scheduler-builtin": "npm:scheduler@0.24.0-canary-a41957507-20231017",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-a41957507-20231017",
"scheduler-builtin": "npm:scheduler@0.24.0-canary-d803f519e-20231020",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-d803f519e-20231020",
"seedrandom": "3.0.5",
"selenium-webdriver": "4.0.0-beta.4",
"semver": "7.3.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") {
var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require('react-dom');

var ReactVersion = '18.3.0-experimental-a41957507-20231017';
var ReactVersion = '18.3.0-experimental-d803f519e-20231020';

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

Expand Down Expand Up @@ -11256,7 +11256,10 @@ function flushCompletedQueues(request, destination) {
} // We're done.


close(destination);
close(destination); // We need to stop flowing now because we do not want any async contexts which might call
// float methods to initiate any flushes after this point

stopFlowing(request);
}
}
}
Expand All @@ -11276,10 +11279,17 @@ function enqueueFlush(request) {
request.pingedTasks.length === 0 && // If there is no destination there is nothing we can flush to. A flush will
// happen when we start flowing again
request.destination !== null) {
var destination = request.destination;
request.flushScheduled = true;
scheduleWork(function () {
return flushCompletedQueues(request, destination);
// We need to existence check destination again here because it might go away
// in between the enqueueFlush call and the work execution
var destination = request.destination;

if (destination) {
flushCompletedQueues(request, destination);
} else {
request.flushScheduled = false;
}
});
}
}
Expand Down Expand Up @@ -11309,6 +11319,9 @@ function startFlowing(request, destination) {
fatalError(request, error);
}
}
function stopFlowing(request) {
request.destination = null;
} // This is called to early terminate a request. It puts all pending boundaries in client rendered state.

function abort(request, reason) {
try {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require('react-dom');
var stream = require('stream');

var ReactVersion = '18.3.0-experimental-a41957507-20231017';
var ReactVersion = '18.3.0-experimental-d803f519e-20231020';

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

Expand Down Expand Up @@ -11257,7 +11257,10 @@ function flushCompletedQueues(request, destination) {
} // We're done.


close(destination);
close(destination); // We need to stop flowing now because we do not want any async contexts which might call
// float methods to initiate any flushes after this point

stopFlowing(request);
}
}
}
Expand All @@ -11277,10 +11280,17 @@ function enqueueFlush(request) {
request.pingedTasks.length === 0 && // If there is no destination there is nothing we can flush to. A flush will
// happen when we start flowing again
request.destination !== null) {
var destination = request.destination;
request.flushScheduled = true;
scheduleWork(function () {
return flushCompletedQueues(request, destination);
// We need to existence check destination again here because it might go away
// in between the enqueueFlush call and the work execution
var destination = request.destination;

if (destination) {
flushCompletedQueues(request, destination);
} else {
request.flushScheduled = false;
}
});
}
}
Expand Down Expand Up @@ -11310,6 +11320,9 @@ function startFlowing(request, destination) {
fatalError(request, error);
}
}
function stopFlowing(request) {
request.destination = null;
} // This is called to early terminate a request. It puts all pending boundaries in client rendered state.

function abort(request, reason) {
try {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function printWarning(level, format, args) {
}
}

var ReactVersion = '18.3.0-experimental-a41957507-20231017';
var ReactVersion = '18.3.0-experimental-d803f519e-20231020';

var Internals = {
usingClientEntryPoint: false,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") {
var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require('react-dom');

var ReactVersion = '18.3.0-experimental-a41957507-20231017';
var ReactVersion = '18.3.0-experimental-d803f519e-20231020';

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

Expand Down Expand Up @@ -11312,7 +11312,10 @@ function flushCompletedQueues(request, destination) {
} // We're done.


close(destination);
close(destination); // We need to stop flowing now because we do not want any async contexts which might call
// float methods to initiate any flushes after this point

stopFlowing(request);
} else {
completeWriting(destination);
}
Expand All @@ -11334,10 +11337,17 @@ function enqueueFlush(request) {
request.pingedTasks.length === 0 && // If there is no destination there is nothing we can flush to. A flush will
// happen when we start flowing again
request.destination !== null) {
var destination = request.destination;
request.flushScheduled = true;
scheduleWork(function () {
return flushCompletedQueues(request, destination);
// We need to existence check destination again here because it might go away
// in between the enqueueFlush call and the work execution
var destination = request.destination;

if (destination) {
flushCompletedQueues(request, destination);
} else {
request.flushScheduled = false;
}
});
}
}
Expand Down Expand Up @@ -11458,7 +11468,7 @@ function renderToReadableStream(children, options) {
},
cancel: function (reason) {
stopFlowing(request);
abort(request);
abort(request, reason);
}
}, // $FlowFixMe[prop-missing] size() methods are not allowed on byte streams.
{
Expand Down Expand Up @@ -11516,7 +11526,7 @@ function resume(children, postponedState, options) {
},
cancel: function (reason) {
stopFlowing(request);
abort(request);
abort(request, reason);
}
}, // $FlowFixMe[prop-missing] size() methods are not allowed on byte streams.
{
Expand Down Expand Up @@ -11568,7 +11578,7 @@ function prerender(children, options) {
},
cancel: function (reason) {
stopFlowing(request);
abort(request);
abort(request, reason);
}
}, // $FlowFixMe[prop-missing] size() methods are not allowed on byte streams.
{
Expand Down
Loading

0 comments on commit 920a7e8

Please sign in to comment.