Skip to content

Commit

Permalink
Upgrade vendored React (#58489)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding authored Nov 15, 2023
1 parent 27dcd26 commit 036f480
Show file tree
Hide file tree
Showing 119 changed files with 675 additions and 291 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-0e352ea01-20231109",
"react-builtin": "npm:react@18.3.0-canary-593ecee66-20231114",
"react-dom": "18.2.0",
"react-dom-17": "npm:react-dom@17.0.2",
"react-dom-builtin": "npm:react-dom@18.3.0-canary-0e352ea01-20231109",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-0e352ea01-20231109",
"react-experimental-builtin": "npm:react@0.0.0-experimental-0e352ea01-20231109",
"react-server-dom-turbopack": "18.3.0-canary-0e352ea01-20231109",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-0e352ea01-20231109",
"react-server-dom-webpack": "18.3.0-canary-0e352ea01-20231109",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-0e352ea01-20231109",
"react-dom-builtin": "npm:react-dom@18.3.0-canary-593ecee66-20231114",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-593ecee66-20231114",
"react-experimental-builtin": "npm:react@0.0.0-experimental-593ecee66-20231114",
"react-server-dom-turbopack": "18.3.0-canary-593ecee66-20231114",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-593ecee66-20231114",
"react-server-dom-webpack": "18.3.0-canary-593ecee66-20231114",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-593ecee66-20231114",
"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-0e352ea01-20231109",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-0e352ea01-20231109",
"scheduler-builtin": "npm:scheduler@0.24.0-canary-593ecee66-20231114",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-593ecee66-20231114",
"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-0e352ea01-20231109';
var ReactVersion = '18.3.0-experimental-593ecee66-20231114';

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function formatProdErrorMessage(code) {
return "Minified React error #" + code + "; visit " + url + " for the full message or " + 'use the non-minified dev environment for full errors and additional ' + 'helpful warnings.';
}

var ReactVersion = '18.3.0-experimental-0e352ea01-20231109';
var ReactVersion = '18.3.0-experimental-593ecee66-20231114';

// A pure JS implementation of a string hashing function. We do not use it for
// security or obfuscation purposes, only to create compact hashes. So we
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-0e352ea01-20231109';
var ReactVersion = '18.3.0-experimental-593ecee66-20231114';

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

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

var ReactVersion = '18.3.0-experimental-0e352ea01-20231109';
var ReactVersion = '18.3.0-experimental-593ecee66-20231114';

// A pure JS implementation of a string hashing function. We do not use it for
// security or obfuscation purposes, only to create compact hashes. So we
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-0e352ea01-20231109';
var ReactVersion = '18.3.0-experimental-593ecee66-20231114';

var Internals = {
usingClientEntryPoint: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

var React = require("next/dist/compiled/react-experimental");

var ReactVersion = '18.3.0-experimental-0e352ea01-20231109';
var ReactVersion = '18.3.0-experimental-593ecee66-20231114';

const 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-0e352ea01-20231109';
var ReactVersion = '18.3.0-experimental-593ecee66-20231114';

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

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

var ReactVersion = '18.3.0-experimental-0e352ea01-20231109';
var ReactVersion = '18.3.0-experimental-593ecee66-20231114';

// Do not require this module directly! Use normal `invariant` calls with
// template literal strings. The messages will be replaced with error codes
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 @@ -13,7 +13,7 @@
var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require('react-dom');

var ReactVersion = '18.3.0-experimental-0e352ea01-20231109';
var ReactVersion = '18.3.0-experimental-593ecee66-20231114';

/* global Bun */
function scheduleWork(callback) {
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-0e352ea01-20231109';
var ReactVersion = '18.3.0-experimental-593ecee66-20231114';

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

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

var ReactVersion = '18.3.0-experimental-0e352ea01-20231109';
var ReactVersion = '18.3.0-experimental-593ecee66-20231114';

// A pure JS implementation of a string hashing function. We do not use it for
// security or obfuscation purposes, only to create compact hashes. So we
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 @@ -21,7 +21,7 @@ var async_hooks = require('async_hooks');
var ReactDOM = require('react-dom');
var stream = require('stream');

var ReactVersion = '18.3.0-experimental-0e352ea01-20231109';
var ReactVersion = '18.3.0-experimental-593ecee66-20231114';

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

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

var ReactVersion = '18.3.0-experimental-0e352ea01-20231109';
var ReactVersion = '18.3.0-experimental-593ecee66-20231114';

function scheduleWork(callback) {
setImmediate(callback);
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 @@ -19434,9 +19434,12 @@ function getOffscreenDeferredCache() {
};
}

/**
* Tag the fiber with an update effect. This turns a Placement into
* a PlacementAndUpdate.
*/

function markUpdate(workInProgress) {
// Tag the fiber with an update effect. This turns a Placement into
// a PlacementAndUpdate.
workInProgress.flags |= Update;
}

Expand Down Expand Up @@ -28910,7 +28913,7 @@ identifierPrefix, onRecoverableError, transitionCallbacks, formState) {
return root;
}

var ReactVersion = '18.3.0-experimental-0e352ea01-20231109';
var ReactVersion = '18.3.0-experimental-593ecee66-20231114';

function createPortal$1(children, containerInfo, // TODO: figure out the API for cross-renderer implementation.
implementation) {
Expand Down
Loading

0 comments on commit 036f480

Please sign in to comment.