Skip to content

Commit 15e76ea

Browse files
authored
Update React from 6c3b8dbfe to 14898b6a9 (#63439)
Update React from 6c3b8dbfe to 14898b6a9. ### React upstream changes - facebook/react#28580 Closes NEXT-2853
1 parent 229cb14 commit 15e76ea

File tree

111 files changed

+417
-651
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+417
-651
lines changed

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -194,16 +194,16 @@
194194
"random-seed": "0.3.0",
195195
"react": "18.2.0",
196196
"react-17": "npm:[email protected]",
197-
"react-builtin": "npm:[email protected]6c3b8dbfe-20240226",
197+
"react-builtin": "npm:[email protected]14898b6a9-20240318",
198198
"react-dom": "18.2.0",
199199
"react-dom-17": "npm:[email protected]",
200-
"react-dom-builtin": "npm:[email protected]6c3b8dbfe-20240226",
201-
"react-dom-experimental-builtin": "npm:[email protected]6c3b8dbfe-20240226",
202-
"react-experimental-builtin": "npm:[email protected]6c3b8dbfe-20240226",
203-
"react-server-dom-turbopack": "18.3.0-canary-6c3b8dbfe-20240226",
204-
"react-server-dom-turbopack-experimental": "npm:[email protected]6c3b8dbfe-20240226",
205-
"react-server-dom-webpack": "18.3.0-canary-6c3b8dbfe-20240226",
206-
"react-server-dom-webpack-experimental": "npm:[email protected]6c3b8dbfe-20240226",
200+
"react-dom-builtin": "npm:[email protected]14898b6a9-20240318",
201+
"react-dom-experimental-builtin": "npm:[email protected]14898b6a9-20240318",
202+
"react-experimental-builtin": "npm:[email protected]14898b6a9-20240318",
203+
"react-server-dom-turbopack": "18.3.0-canary-14898b6a9-20240318",
204+
"react-server-dom-turbopack-experimental": "npm:[email protected]14898b6a9-20240318",
205+
"react-server-dom-webpack": "18.3.0-canary-14898b6a9-20240318",
206+
"react-server-dom-webpack-experimental": "npm:[email protected]14898b6a9-20240318",
207207
"react-ssr-prepass": "1.0.8",
208208
"react-virtualized": "9.22.3",
209209
"relay-compiler": "13.0.2",
@@ -213,8 +213,8 @@
213213
"resolve-from": "5.0.0",
214214
"sass": "1.54.0",
215215
"satori": "0.10.9",
216-
"scheduler-builtin": "npm:[email protected]6c3b8dbfe-20240226",
217-
"scheduler-experimental-builtin": "npm:[email protected]6c3b8dbfe-20240226",
216+
"scheduler-builtin": "npm:[email protected]14898b6a9-20240318",
217+
"scheduler-experimental-builtin": "npm:[email protected]14898b6a9-20240318",
218218
"seedrandom": "3.0.5",
219219
"selenium-webdriver": "4.0.0-beta.4",
220220
"semver": "7.3.7",

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") {
1717
var React = require("next/dist/compiled/react-experimental");
1818
var ReactDOM = require('react-dom');
1919

20-
var ReactVersion = '18.3.0-experimental-6c3b8dbfe-20240226';
20+
var ReactVersion = '18.3.0-experimental-14898b6a9-20240318';
2121

2222
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2323

@@ -506,9 +506,6 @@ function stringToChunk(content) {
506506
function stringToPrecomputedChunk(content) {
507507
return content;
508508
}
509-
function clonePrecomputedChunk(chunk) {
510-
return chunk;
511-
}
512509
function closeWithError(destination, error) {
513510
// $FlowFixMe[incompatible-call]: This is an Error object or the destination accepts other types.
514511
destination.destroy(error);
@@ -5124,7 +5121,7 @@ function writeCompletedBoundaryInstruction(destination, resumableState, renderSt
51245121
if (requiresStyleInsertion) {
51255122
if ((resumableState.instructions & SentCompleteBoundaryFunction) === NothingSent) {
51265123
resumableState.instructions |= SentStyleInsertionFunction | SentCompleteBoundaryFunction;
5127-
writeChunk(destination, clonePrecomputedChunk(completeBoundaryWithStylesScript1FullBoth));
5124+
writeChunk(destination, completeBoundaryWithStylesScript1FullBoth);
51285125
} else if ((resumableState.instructions & SentStyleInsertionFunction) === NothingSent) {
51295126
resumableState.instructions |= SentStyleInsertionFunction;
51305127
writeChunk(destination, completeBoundaryWithStylesScript1FullPartial);

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function formatProdErrorMessage(code) {
3030
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.';
3131
}
3232

33-
var ReactVersion = '18.3.0-experimental-6c3b8dbfe-20240226';
33+
var ReactVersion = '18.3.0-experimental-14898b6a9-20240318';
3434

3535
// ATTENTION
3636
// When adding new symbols to this file,
@@ -191,9 +191,6 @@ function stringToChunk(content) {
191191
function stringToPrecomputedChunk(content) {
192192
return content;
193193
}
194-
function clonePrecomputedChunk(chunk) {
195-
return chunk;
196-
}
197194
function closeWithError(destination, error) {
198195
// $FlowFixMe[incompatible-call]: This is an Error object or the destination accepts other types.
199196
destination.destroy(error);
@@ -3240,7 +3237,7 @@ function writeCompletedBoundaryInstruction(destination, resumableState, renderSt
32403237
if (requiresStyleInsertion) {
32413238
if ((resumableState.instructions & SentCompleteBoundaryFunction) === NothingSent) {
32423239
resumableState.instructions |= SentStyleInsertionFunction | SentCompleteBoundaryFunction;
3243-
writeChunk(destination, clonePrecomputedChunk(completeBoundaryWithStylesScript1FullBoth));
3240+
writeChunk(destination, completeBoundaryWithStylesScript1FullBoth);
32443241
} else if ((resumableState.instructions & SentStyleInsertionFunction) === NothingSent) {
32453242
resumableState.instructions |= SentStyleInsertionFunction;
32463243
writeChunk(destination, completeBoundaryWithStylesScript1FullPartial);

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var React = require("next/dist/compiled/react-experimental");
1818
var ReactDOM = require('react-dom');
1919
var stream = require('stream');
2020

21-
var ReactVersion = '18.3.0-experimental-6c3b8dbfe-20240226';
21+
var ReactVersion = '18.3.0-experimental-14898b6a9-20240318';
2222

2323
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2424

@@ -507,9 +507,6 @@ function stringToChunk(content) {
507507
function stringToPrecomputedChunk(content) {
508508
return content;
509509
}
510-
function clonePrecomputedChunk(chunk) {
511-
return chunk;
512-
}
513510
function closeWithError(destination, error) {
514511
// $FlowFixMe[incompatible-call]: This is an Error object or the destination accepts other types.
515512
destination.destroy(error);
@@ -5125,7 +5122,7 @@ function writeCompletedBoundaryInstruction(destination, resumableState, renderSt
51255122
if (requiresStyleInsertion) {
51265123
if ((resumableState.instructions & SentCompleteBoundaryFunction) === NothingSent) {
51275124
resumableState.instructions |= SentStyleInsertionFunction | SentCompleteBoundaryFunction;
5128-
writeChunk(destination, clonePrecomputedChunk(completeBoundaryWithStylesScript1FullBoth));
5125+
writeChunk(destination, completeBoundaryWithStylesScript1FullBoth);
51295126
} else if ((resumableState.instructions & SentStyleInsertionFunction) === NothingSent) {
51305127
resumableState.instructions |= SentStyleInsertionFunction;
51315128
writeChunk(destination, completeBoundaryWithStylesScript1FullPartial);

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var React = require("next/dist/compiled/react-experimental");
1414
var ReactDOM = require('react-dom');
1515
var stream = require('stream');
1616

17-
var ReactVersion = '18.3.0-experimental-6c3b8dbfe-20240226';
17+
var ReactVersion = '18.3.0-experimental-14898b6a9-20240318';
1818

1919
// ATTENTION
2020
// When adding new symbols to this file,
@@ -175,9 +175,6 @@ function stringToChunk(content) {
175175
function stringToPrecomputedChunk(content) {
176176
return content;
177177
}
178-
function clonePrecomputedChunk(chunk) {
179-
return chunk;
180-
}
181178
function closeWithError(destination, error) {
182179
// $FlowFixMe[incompatible-call]: This is an Error object or the destination accepts other types.
183180
destination.destroy(error);
@@ -3224,7 +3221,7 @@ function writeCompletedBoundaryInstruction(destination, resumableState, renderSt
32243221
if (requiresStyleInsertion) {
32253222
if ((resumableState.instructions & SentCompleteBoundaryFunction) === NothingSent) {
32263223
resumableState.instructions |= SentStyleInsertionFunction | SentCompleteBoundaryFunction;
3227-
writeChunk(destination, clonePrecomputedChunk(completeBoundaryWithStylesScript1FullBoth));
3224+
writeChunk(destination, completeBoundaryWithStylesScript1FullBoth);
32283225
} else if ((resumableState.instructions & SentStyleInsertionFunction) === NothingSent) {
32293226
resumableState.instructions |= SentStyleInsertionFunction;
32303227
writeChunk(destination, completeBoundaryWithStylesScript1FullPartial);

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-rendering-stub.development.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function printWarning(level, format, args) {
5555
}
5656
}
5757

58-
var ReactVersion = '18.3.0-experimental-6c3b8dbfe-20240226';
58+
var ReactVersion = '18.3.0-experimental-14898b6a9-20240318';
5959

6060
var Internals = {
6161
usingClientEntryPoint: false,

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-rendering-stub.production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

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

15-
var ReactVersion = '18.3.0-experimental-6c3b8dbfe-20240226';
15+
var ReactVersion = '18.3.0-experimental-14898b6a9-20240318';
1616

1717
const Internals = {
1818
usingClientEntryPoint: false,

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-rendering-stub.production.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)