Skip to content

Commit

Permalink
Successfully updated React from a41957507 to 9617d39ec.
Browse files Browse the repository at this point in the history
  • Loading branch information
gnoff committed Oct 18, 2023
1 parent 27b89e4 commit 61e1b76
Show file tree
Hide file tree
Showing 48 changed files with 368 additions and 256 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,16 +193,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-9617d39ec-20231018",
"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-9617d39ec-20231018",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-9617d39ec-20231018",
"react-experimental-builtin": "npm:react@0.0.0-experimental-9617d39ec-20231018",
"react-server-dom-turbopack": "18.3.0-canary-9617d39ec-20231018",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-9617d39ec-20231018",
"react-server-dom-webpack": "18.3.0-canary-9617d39ec-20231018",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-9617d39ec-20231018",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
"relay-compiler": "13.0.2",
Expand All @@ -212,8 +212,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-9617d39ec-20231018",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-9617d39ec-20231018",
"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-9617d39ec-20231018';

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-9617d39ec-20231018';

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-9617d39ec-20231018';

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-9617d39ec-20231018';

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 61e1b76

Please sign in to comment.