From 1ae3f42c1a04c800372bed2a3c26389815325836 Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 4 Jul 2023 05:32:31 -0400 Subject: [PATCH] chore(deps): bump react `18.3.0-canary-1fdacbefd-20230630` (#52005) This PR updates the vendored react dependencies using `pnpm sync-react` ### React upstream changes - https://github.com/facebook/react/pull/27028 - https://github.com/facebook/react/pull/27027 - https://github.com/facebook/react/pull/27019 - https://github.com/facebook/react/pull/26954 - https://github.com/facebook/react/pull/26987 - https://github.com/facebook/react/pull/26985 - https://github.com/facebook/react/pull/26933 - https://github.com/facebook/react/pull/26625 - https://github.com/facebook/react/pull/27011 - https://github.com/facebook/react/pull/27008 - https://github.com/facebook/react/pull/26997 - https://github.com/facebook/react/pull/26989 - https://github.com/facebook/react/pull/26955 - https://github.com/facebook/react/pull/26963 - https://github.com/facebook/react/pull/26983 - https://github.com/facebook/react/pull/26914 - https://github.com/facebook/react/pull/26951 - https://github.com/facebook/react/pull/26977 - https://github.com/facebook/react/pull/26958 - https://github.com/facebook/react/pull/26940 - https://github.com/facebook/react/pull/26939 - https://github.com/facebook/react/pull/26887 - https://github.com/facebook/react/pull/26947 - https://github.com/facebook/react/pull/26945 - https://github.com/facebook/react/pull/26942 - https://github.com/facebook/react/pull/26938 - https://github.com/facebook/react/pull/26844 - https://github.com/facebook/react/pull/25510 - https://github.com/facebook/react/pull/26932 - https://github.com/facebook/react/pull/26896 - https://github.com/facebook/react/pull/26913 - https://github.com/facebook/react/pull/26888 - https://github.com/facebook/react/pull/26827 - https://github.com/facebook/react/pull/26889 - https://github.com/facebook/react/pull/26877 - https://github.com/facebook/react/pull/26873 - https://github.com/facebook/react/pull/26880 - https://github.com/facebook/react/pull/26842 - https://github.com/facebook/react/pull/26858 - https://github.com/facebook/react/pull/26754 - https://github.com/facebook/react/pull/26753 - https://github.com/facebook/react/pull/26881 ### Related Closes #49409 (by https://github.com/facebook/react/pull/26977) fix NEXT-1189 Co-authored-by: Shu Ding --- package.json | 16 +- ...t-dom-server-legacy.browser.development.js | 420 +++++------ ...om-server-legacy.browser.production.min.js | 250 ++++--- ...eact-dom-server-legacy.node.development.js | 423 +++++------ ...t-dom-server-legacy.node.production.min.js | 272 ++++--- ...t-dom-server-rendering-stub.development.js | 10 +- ...om-server-rendering-stub.production.min.js | 6 +- .../react-dom-server.browser.development.js | 426 +++++------ ...react-dom-server.browser.production.min.js | 262 ++++--- .../cjs/react-dom-server.edge.development.js | 426 +++++------ .../react-dom-server.edge.production.min.js | 282 ++++---- .../cjs/react-dom-server.node.development.js | 416 +++++------ .../react-dom-server.node.production.min.js | 281 ++++---- .../react-dom-static.browser.development.js | 426 +++++------ ...react-dom-static.browser.production.min.js | 262 ++++--- .../cjs/react-dom-static.edge.development.js | 426 +++++------ .../react-dom-static.edge.production.min.js | 264 ++++--- .../cjs/react-dom-static.node.development.js | 416 +++++------ .../react-dom-static.node.production.min.js | 285 ++++---- .../react-dom-unstable_testing.development.js | 386 ++++------ ...act-dom-unstable_testing.production.min.js | 624 ++++++++-------- .../cjs/react-dom.development.js | 386 ++++------ .../cjs/react-dom.production.min.js | 594 ++++++++-------- .../cjs/react-dom.profiling.min.js | 646 ++++++++--------- .../react-dom-experimental/package.json | 4 +- ...t-dom-server-legacy.browser.development.js | 420 +++++------ ...om-server-legacy.browser.production.min.js | 243 ++++--- ...eact-dom-server-legacy.node.development.js | 423 +++++------ ...t-dom-server-legacy.node.production.min.js | 266 ++++--- ...t-dom-server-rendering-stub.development.js | 10 +- ...om-server-rendering-stub.production.min.js | 5 +- .../react-dom-server.browser.development.js | 426 +++++------ ...react-dom-server.browser.production.min.js | 253 ++++--- .../cjs/react-dom-server.edge.development.js | 426 +++++------ .../react-dom-server.edge.production.min.js | 273 ++++--- .../cjs/react-dom-server.node.development.js | 416 +++++------ .../react-dom-server.node.production.min.js | 274 ++++--- .../react-dom/cjs/react-dom.development.js | 376 ++++------ .../react-dom/cjs/react-dom.production.min.js | 578 +++++++-------- .../react-dom/cjs/react-dom.profiling.min.js | 605 ++++++++-------- .../next/src/compiled/react-dom/package.json | 4 +- .../cjs/react.development.js | 2 +- .../cjs/react.production.min.js | 2 +- .../cjs/react.shared-subset.development.js | 2 +- .../cjs/react.shared-subset.production.min.js | 2 +- ...-dom-webpack-client.browser.development.js | 669 ++++++++++++------ ...m-webpack-client.browser.production.min.js | 53 +- ...ver-dom-webpack-client.edge.development.js | 574 ++++++++++++--- ...-dom-webpack-client.edge.production.min.js | 54 +- ...ver-dom-webpack-client.node.development.js | 590 ++++++++++++--- ...-dom-webpack-client.node.production.min.js | 53 +- ...bpack-client.node.unbundled.development.js | 538 +++++++++++--- ...ck-client.node.unbundled.production.min.js | 50 +- ...-dom-webpack-server.browser.development.js | 309 ++++++-- ...m-webpack-server.browser.production.min.js | 108 +-- ...ver-dom-webpack-server.edge.development.js | 309 ++++++-- ...-dom-webpack-server.edge.production.min.js | 110 +-- ...ver-dom-webpack-server.node.development.js | 298 ++++++-- ...-dom-webpack-server.node.production.min.js | 98 +-- ...bpack-server.node.unbundled.development.js | 243 ++++++- ...ck-server.node.unbundled.production.min.js | 119 ++-- .../package.json | 4 +- ...-dom-webpack-client.browser.development.js | 517 ++++++++------ ...m-webpack-client.browser.production.min.js | 49 +- ...ver-dom-webpack-client.edge.development.js | 422 ++++++++--- ...-dom-webpack-client.edge.production.min.js | 51 +- ...ver-dom-webpack-client.node.development.js | 438 +++++++++--- ...-dom-webpack-client.node.production.min.js | 51 +- ...bpack-client.node.unbundled.development.js | 386 +++++++--- ...ck-client.node.unbundled.production.min.js | 48 +- ...-dom-webpack-server.browser.development.js | 215 ++++-- ...m-webpack-server.browser.production.min.js | 98 +-- ...ver-dom-webpack-server.edge.development.js | 215 ++++-- ...-dom-webpack-server.edge.production.min.js | 102 +-- ...ver-dom-webpack-server.node.development.js | 210 ++++-- ...-dom-webpack-server.node.production.min.js | 86 +-- ...bpack-server.node.unbundled.development.js | 155 +++- ...ck-server.node.unbundled.production.min.js | 115 +-- .../react-server-dom-webpack/package.json | 4 +- .../compiled/react/cjs/react.development.js | 2 +- .../react/cjs/react.production.min.js | 2 +- .../cjs/react.shared-subset.development.js | 2 +- .../cjs/react.shared-subset.production.min.js | 2 +- pnpm-lock.yaml | 80 +-- 84 files changed, 11825 insertions(+), 8819 deletions(-) diff --git a/package.json b/package.json index 1abeac7f1399c..2a5bcb52767ac 100644 --- a/package.json +++ b/package.json @@ -189,14 +189,14 @@ "random-seed": "0.3.0", "react": "18.2.0", "react-17": "npm:react@17.0.2", - "react-builtin": "npm:react@18.3.0-canary-1cea38448-20230530", + "react-builtin": "npm:react@18.3.0-canary-1fdacbefd-20230630", "react-dom": "18.2.0", "react-dom-17": "npm:react-dom@17.0.2", - "react-dom-builtin": "npm:react-dom@18.3.0-canary-1cea38448-20230530", - "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-1cea38448-20230530", - "react-experimental-builtin": "npm:react@0.0.0-experimental-1cea38448-20230530", - "react-server-dom-webpack": "18.3.0-canary-1cea38448-20230530", - "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-1cea38448-20230530", + "react-dom-builtin": "npm:react-dom@18.3.0-canary-1fdacbefd-20230630", + "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-1fdacbefd-20230630", + "react-experimental-builtin": "npm:react@0.0.0-experimental-1fdacbefd-20230630", + "react-server-dom-webpack": "18.3.0-canary-1fdacbefd-20230630", + "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-1fdacbefd-20230630", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", "relay-compiler": "13.0.2", @@ -206,8 +206,8 @@ "resolve-from": "5.0.0", "sass": "1.54.0", "satori": "0.9.1", - "scheduler-builtin": "npm:scheduler@0.24.0-canary-1cea38448-20230530", - "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-1cea38448-20230530", + "scheduler-builtin": "npm:scheduler@0.24.0-canary-1fdacbefd-20230630", + "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-1fdacbefd-20230630", "seedrandom": "3.0.5", "selenium-webdriver": "4.0.0-beta.4", "semver": "7.3.7", diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js index 543bc0d8816cf..9874568260791 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js @@ -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-1cea38448-20230530'; +var ReactVersion = '18.3.0-experimental-1fdacbefd-20230630'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; @@ -1877,6 +1877,7 @@ var startScriptSrc = stringToPrecomputedChunk(''); /** * This escaping function is designed to work with bootstrapScriptContent only. @@ -1906,7 +1907,7 @@ var scriptReplacer = function (match, prefix, s, suffix) { // is set, the server will send instructions via data attributes (instead of inline scripts) -function createResponseState$1(identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { +function createResponseState$1(resources, identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix; var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk(''); /** * This escaping function is designed to work with bootstrapScriptContent only. @@ -1913,7 +1914,7 @@ var scriptReplacer = function (match, prefix, s, suffix) { // is set, the server will send instructions via data attributes (instead of inline scripts) -function createResponseState$1(identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { +function createResponseState$1(resources, identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix; var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk(''); /** * This escaping function is designed to work with bootstrapScriptContent only. @@ -1986,7 +1987,7 @@ var scriptReplacer = function (match, prefix, s, suffix) { // is set, the server will send instructions via data attributes (instead of inline scripts) -function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { +function createResponseState(resources, identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix; var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk(''); /** * This escaping function is designed to work with bootstrapScriptContent only. @@ -1986,7 +1987,7 @@ var scriptReplacer = function (match, prefix, s, suffix) { // is set, the server will send instructions via data attributes (instead of inline scripts) -function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { +function createResponseState(resources, identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix; var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk(''); /** * This escaping function is designed to work with bootstrapScriptContent only. @@ -2054,7 +2055,7 @@ var scriptReplacer = function (match, prefix, s, suffix) { // is set, the server will send instructions via data attributes (instead of inline scripts) -function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { +function createResponseState(resources, identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix; var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk(''); /** * This escaping function is designed to work with bootstrapScriptContent only. @@ -1986,7 +1987,7 @@ var scriptReplacer = function (match, prefix, s, suffix) { // is set, the server will send instructions via data attributes (instead of inline scripts) -function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { +function createResponseState(resources, identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix; var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk(''); /** * This escaping function is designed to work with bootstrapScriptContent only. @@ -1986,7 +1987,7 @@ var scriptReplacer = function (match, prefix, s, suffix) { // is set, the server will send instructions via data attributes (instead of inline scripts) -function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { +function createResponseState(resources, identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix; var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk(''); /** * This escaping function is designed to work with bootstrapScriptContent only. @@ -2055,7 +2056,7 @@ var scriptReplacer = function (match, prefix, s, suffix) { // is set, the server will send instructions via data attributes (instead of inline scripts) -function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { +function createResponseState(resources, identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix; var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk(''); /** * This escaping function is designed to work with bootstrapScriptContent only. @@ -1868,7 +1869,7 @@ var scriptReplacer = function (match, prefix, s, suffix) { // is set, the server will send instructions via data attributes (instead of inline scripts) -function createResponseState$1(identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { +function createResponseState$1(resources, identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix; var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk(''); /** * This escaping function is designed to work with bootstrapScriptContent only. @@ -1875,7 +1876,7 @@ var scriptReplacer = function (match, prefix, s, suffix) { // is set, the server will send instructions via data attributes (instead of inline scripts) -function createResponseState$1(identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { +function createResponseState$1(resources, identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix; var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk(''); /** * This escaping function is designed to work with bootstrapScriptContent only. @@ -1949,7 +1950,7 @@ var scriptReplacer = function (match, prefix, s, suffix) { // is set, the server will send instructions via data attributes (instead of inline scripts) -function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { +function createResponseState(resources, identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix; var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk(''); /** * This escaping function is designed to work with bootstrapScriptContent only. @@ -1949,7 +1950,7 @@ var scriptReplacer = function (match, prefix, s, suffix) { // is set, the server will send instructions via data attributes (instead of inline scripts) -function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { +function createResponseState(resources, identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix; var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk(''); /** * This escaping function is designed to work with bootstrapScriptContent only. @@ -2017,7 +2018,7 @@ var scriptReplacer = function (match, prefix, s, suffix) { // is set, the server will send instructions via data attributes (instead of inline scripts) -function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { +function createResponseState(resources, identifierPrefix, nonce, bootstrapScriptContent, bootstrapScripts, bootstrapModules, externalRuntimeConfig) { var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix; var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk('