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('