From 735cc3adb5eb9ba8d0b8e91395f529681d723ec7 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Tue, 24 Sep 2024 13:02:46 +0200 Subject: [PATCH 1/5] Update `react@experimental` --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 16b2a257e8a14..c6c7091dad41d 100644 --- a/package.json +++ b/package.json @@ -212,13 +212,13 @@ "react-dom": "19.0.0-rc-e4953922-20240919", "react-dom-17": "npm:react-dom@17.0.2", "react-dom-builtin": "npm:react-dom@19.0.0-rc-e4953922-20240919", - "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-e4953922-20240919", - "react-experimental-builtin": "npm:react@0.0.0-experimental-e4953922-20240919", + "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-5d19e1c8-20240923", + "react-experimental-builtin": "npm:react@0.0.0-experimental-5d19e1c8-20240923", "react-is-builtin": "npm:react-is@19.0.0-rc-e4953922-20240919", "react-server-dom-turbopack": "19.0.0-rc-e4953922-20240919", - "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-e4953922-20240919", + "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-5d19e1c8-20240923", "react-server-dom-webpack": "19.0.0-rc-e4953922-20240919", - "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-e4953922-20240919", + "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-5d19e1c8-20240923", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", "relay-compiler": "13.0.2", @@ -229,7 +229,7 @@ "sass": "1.54.0", "satori": "0.10.9", "scheduler-builtin": "npm:scheduler@0.25.0-rc-e4953922-20240919", - "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-e4953922-20240919", + "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-5d19e1c8-20240923", "seedrandom": "3.0.5", "semver": "7.3.7", "shell-quote": "1.7.3", From d9fc1c637a0cdfab752e9fff41f318091a36c64a Mon Sep 17 00:00:00 2001 From: eps1lon Date: Tue, 24 Sep 2024 13:02:46 +0200 Subject: [PATCH 2/5] Update `react@rc` --- package.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index c6c7091dad41d..1864799abf630 100644 --- a/package.json +++ b/package.json @@ -206,18 +206,18 @@ "pretty-bytes": "5.3.0", "pretty-ms": "7.0.0", "random-seed": "0.3.0", - "react": "19.0.0-rc-e4953922-20240919", + "react": "19.0.0-rc-5d19e1c8-20240923", "react-17": "npm:react@17.0.2", - "react-builtin": "npm:react@19.0.0-rc-e4953922-20240919", - "react-dom": "19.0.0-rc-e4953922-20240919", + "react-builtin": "npm:react@19.0.0-rc-5d19e1c8-20240923", + "react-dom": "19.0.0-rc-5d19e1c8-20240923", "react-dom-17": "npm:react-dom@17.0.2", - "react-dom-builtin": "npm:react-dom@19.0.0-rc-e4953922-20240919", + "react-dom-builtin": "npm:react-dom@19.0.0-rc-5d19e1c8-20240923", "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-5d19e1c8-20240923", "react-experimental-builtin": "npm:react@0.0.0-experimental-5d19e1c8-20240923", - "react-is-builtin": "npm:react-is@19.0.0-rc-e4953922-20240919", - "react-server-dom-turbopack": "19.0.0-rc-e4953922-20240919", + "react-is-builtin": "npm:react-is@19.0.0-rc-5d19e1c8-20240923", + "react-server-dom-turbopack": "19.0.0-rc-5d19e1c8-20240923", "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-5d19e1c8-20240923", - "react-server-dom-webpack": "19.0.0-rc-e4953922-20240919", + "react-server-dom-webpack": "19.0.0-rc-5d19e1c8-20240923", "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-5d19e1c8-20240923", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", @@ -228,7 +228,7 @@ "resolve-from": "5.0.0", "sass": "1.54.0", "satori": "0.10.9", - "scheduler-builtin": "npm:scheduler@0.25.0-rc-e4953922-20240919", + "scheduler-builtin": "npm:scheduler@0.25.0-rc-5d19e1c8-20240923", "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-5d19e1c8-20240923", "seedrandom": "3.0.5", "semver": "7.3.7", @@ -269,10 +269,10 @@ "@babel/traverse": "7.22.5", "@types/react": "npm:types-react@19.0.0-rc.0", "@types/react-dom": "npm:types-react-dom@19.0.0-rc.0", - "react": "19.0.0-rc-e4953922-20240919", - "react-dom": "19.0.0-rc-e4953922-20240919", - "react-is": "19.0.0-rc-e4953922-20240919", - "scheduler": "0.25.0-rc-e4953922-20240919" + "react": "19.0.0-rc-5d19e1c8-20240923", + "react-dom": "19.0.0-rc-5d19e1c8-20240923", + "react-is": "19.0.0-rc-5d19e1c8-20240923", + "scheduler": "0.25.0-rc-5d19e1c8-20240923" }, "patchedDependencies": { "webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch" From e93c301611058724258302ee5cb6d7db07aab398 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Tue, 24 Sep 2024 13:02:47 +0200 Subject: [PATCH 3/5] Updated peer dependency references --- examples/reproduction-template/package.json | 4 ++-- packages/create-next-app/templates/index.ts | 2 +- packages/next/package.json | 4 ++-- run-tests.js | 2 +- test/.stats-app/package.json | 4 ++-- test/e2e/next-test/first-time-setup-js/package.json | 4 ++-- test/e2e/next-test/first-time-setup-ts/package.json | 4 ++-- test/lib/next-modes/base.ts | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/examples/reproduction-template/package.json b/examples/reproduction-template/package.json index 3f218a7d516e7..dda04e8c51342 100644 --- a/examples/reproduction-template/package.json +++ b/examples/reproduction-template/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc-e4953922-20240919", - "react-dom": "19.0.0-rc-e4953922-20240919" + "react": "19.0.0-rc-5d19e1c8-20240923", + "react-dom": "19.0.0-rc-5d19e1c8-20240923" }, "devDependencies": { "@types/node": "20.12.12", diff --git a/packages/create-next-app/templates/index.ts b/packages/create-next-app/templates/index.ts index 9a34b04d20158..6e91c597690bb 100644 --- a/packages/create-next-app/templates/index.ts +++ b/packages/create-next-app/templates/index.ts @@ -13,7 +13,7 @@ import { GetTemplateFileArgs, InstallTemplateArgs } from "./types"; // Do not rename or format. sync-react script relies on this line. // prettier-ignore -const nextjsReactPeerVersion = "19.0.0-rc-e4953922-20240919"; +const nextjsReactPeerVersion = "19.0.0-rc-5d19e1c8-20240923"; /** * Get the file path for a given file in a template, e.g. "next.config.js". diff --git a/packages/next/package.json b/packages/next/package.json index 299b0213e65f9..692b8d58eb9ff 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -107,8 +107,8 @@ "@opentelemetry/api": "^1.1.0", "@playwright/test": "^1.41.2", "babel-plugin-react-compiler": "*", - "react": "19.0.0-rc-e4953922-20240919", - "react-dom": "19.0.0-rc-e4953922-20240919", + "react": "19.0.0-rc-5d19e1c8-20240923", + "react-dom": "19.0.0-rc-5d19e1c8-20240923", "sass": "^1.3.0" }, "peerDependenciesMeta": { diff --git a/run-tests.js b/run-tests.js index 49889e6f98768..8a0e6cebb18ec 100644 --- a/run-tests.js +++ b/run-tests.js @@ -20,7 +20,7 @@ const { getTestFilter } = require('./test/get-test-filter') // Do not rename or format. sync-react script relies on this line. // prettier-ignore -const nextjsReactPeerVersion = "19.0.0-rc-e4953922-20240919"; +const nextjsReactPeerVersion = "19.0.0-rc-5d19e1c8-20240923"; let argv = require('yargs/yargs')(process.argv.slice(2)) .string('type') diff --git a/test/.stats-app/package.json b/test/.stats-app/package.json index af516c52a9080..f3cbdc2a012f0 100644 --- a/test/.stats-app/package.json +++ b/test/.stats-app/package.json @@ -4,8 +4,8 @@ "license": "MIT", "dependencies": { "next": "latest", - "react": "19.0.0-rc-e4953922-20240919", - "react-dom": "19.0.0-rc-e4953922-20240919" + "react": "19.0.0-rc-5d19e1c8-20240923", + "react-dom": "19.0.0-rc-5d19e1c8-20240923" }, "engines": { "node": ">=18.18.0" diff --git a/test/e2e/next-test/first-time-setup-js/package.json b/test/e2e/next-test/first-time-setup-js/package.json index 5020622248f0a..25ab27fa9618d 100644 --- a/test/e2e/next-test/first-time-setup-js/package.json +++ b/test/e2e/next-test/first-time-setup-js/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc-e4953922-20240919", - "react-dom": "19.0.0-rc-e4953922-20240919" + "react": "19.0.0-rc-5d19e1c8-20240923", + "react-dom": "19.0.0-rc-5d19e1c8-20240923" } } diff --git a/test/e2e/next-test/first-time-setup-ts/package.json b/test/e2e/next-test/first-time-setup-ts/package.json index a16084f41a528..216b01d931d3f 100644 --- a/test/e2e/next-test/first-time-setup-ts/package.json +++ b/test/e2e/next-test/first-time-setup-ts/package.json @@ -8,8 +8,8 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc-e4953922-20240919", - "react-dom": "19.0.0-rc-e4953922-20240919" + "react": "19.0.0-rc-5d19e1c8-20240923", + "react-dom": "19.0.0-rc-5d19e1c8-20240923" }, "devDependencies": { "@types/react": "^18", diff --git a/test/lib/next-modes/base.ts b/test/lib/next-modes/base.ts index 95dd439849ca0..3097edea97ef6 100644 --- a/test/lib/next-modes/base.ts +++ b/test/lib/next-modes/base.ts @@ -51,7 +51,7 @@ type OmitFirstArgument = F extends ( // Do not rename or format. sync-react script relies on this line. // prettier-ignore -const nextjsReactPeerVersion = "19.0.0-rc-e4953922-20240919"; +const nextjsReactPeerVersion = "19.0.0-rc-5d19e1c8-20240923"; export class NextInstance { protected files: FileRef | { [filename: string]: string | FileRef } From aca35da4642cece753515961eaf1fb7501527043 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Tue, 24 Sep 2024 13:02:57 +0200 Subject: [PATCH 4/5] Update lockfile --- pnpm-lock.yaml | 376 ++++++++++++++++++++++++------------------------- 1 file changed, 188 insertions(+), 188 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 95c212cee0f12..0e6c6e1588d02 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,10 +15,10 @@ overrides: '@babel/traverse': 7.22.5 '@types/react': npm:types-react@19.0.0-rc.0 '@types/react-dom': npm:types-react-dom@19.0.0-rc.0 - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919 - react-is: 19.0.0-rc-e4953922-20240919 - scheduler: 0.25.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923 + react-is: 19.0.0-rc-5d19e1c8-20240923 + scheduler: 0.25.0-rc-5d19e1c8-20240923 patchedDependencies: webpack-sources@3.2.3: @@ -64,7 +64,7 @@ importers: version: 11.11.0 '@emotion/react': specifier: 11.11.1 - version: 11.11.1(react@19.0.0-rc-e4953922-20240919)(types-react@19.0.0-rc.0) + version: 11.11.1(react@19.0.0-rc-5d19e1c8-20240923)(types-react@19.0.0-rc.0) '@fullhuman/postcss-purgecss': specifier: 1.3.0 version: 1.3.0 @@ -73,7 +73,7 @@ importers: version: 2.2.1(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))) '@mdx-js/react': specifier: 2.2.1 - version: 2.2.1(react@19.0.0-rc-e4953922-20240919) + version: 2.2.1(react@19.0.0-rc-5d19e1c8-20240923) '@next/bundle-analyzer': specifier: workspace:* version: link:packages/next-bundle-analyzer @@ -139,7 +139,7 @@ importers: version: 6.1.2(@jest/globals@29.7.0)(@types/jest@29.5.5)(jest@29.7.0(@types/node@20.12.3)(babel-plugin-macros@3.1.0)) '@testing-library/react': specifier: ^15.0.5 - version: 15.0.7(react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919))(react@19.0.0-rc-e4953922-20240919)(types-react@19.0.0-rc.0) + version: 15.0.7(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923)(types-react@19.0.0-rc.0) '@types/busboy': specifier: 1.5.3 version: 1.5.3 @@ -450,50 +450,50 @@ importers: specifier: 0.3.0 version: 0.3.0 react: - specifier: 19.0.0-rc-e4953922-20240919 - version: 19.0.0-rc-e4953922-20240919 + specifier: 19.0.0-rc-5d19e1c8-20240923 + version: 19.0.0-rc-5d19e1c8-20240923 react-17: specifier: npm:react@17.0.2 version: react@17.0.2 react-builtin: - specifier: npm:react@19.0.0-rc-e4953922-20240919 - version: react@19.0.0-rc-e4953922-20240919 + specifier: npm:react@19.0.0-rc-5d19e1c8-20240923 + version: react@19.0.0-rc-5d19e1c8-20240923 react-dom: - specifier: 19.0.0-rc-e4953922-20240919 - version: 19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919) + specifier: 19.0.0-rc-5d19e1c8-20240923 + version: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) react-dom-17: specifier: npm:react-dom@17.0.2 - version: react-dom@17.0.2(react@19.0.0-rc-e4953922-20240919) + version: react-dom@17.0.2(react@19.0.0-rc-5d19e1c8-20240923) react-dom-builtin: - specifier: npm:react-dom@19.0.0-rc-e4953922-20240919 - version: react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919) + specifier: npm:react-dom@19.0.0-rc-5d19e1c8-20240923 + version: react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) react-dom-experimental-builtin: - specifier: npm:react-dom@0.0.0-experimental-e4953922-20240919 - version: react-dom@0.0.0-experimental-e4953922-20240919(react@19.0.0-rc-e4953922-20240919) + specifier: npm:react-dom@0.0.0-experimental-5d19e1c8-20240923 + version: react-dom@0.0.0-experimental-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) react-experimental-builtin: - specifier: npm:react@0.0.0-experimental-e4953922-20240919 - version: react@0.0.0-experimental-e4953922-20240919 + specifier: npm:react@0.0.0-experimental-5d19e1c8-20240923 + version: react@0.0.0-experimental-5d19e1c8-20240923 react-is-builtin: - specifier: npm:react-is@19.0.0-rc-e4953922-20240919 - version: react-is@19.0.0-rc-e4953922-20240919 + specifier: npm:react-is@19.0.0-rc-5d19e1c8-20240923 + version: react-is@19.0.0-rc-5d19e1c8-20240923 react-server-dom-turbopack: - specifier: 19.0.0-rc-e4953922-20240919 - version: 19.0.0-rc-e4953922-20240919(react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919))(react@19.0.0-rc-e4953922-20240919) + specifier: 19.0.0-rc-5d19e1c8-20240923 + version: 19.0.0-rc-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923) react-server-dom-turbopack-experimental: - specifier: npm:react-server-dom-turbopack@0.0.0-experimental-e4953922-20240919 - version: react-server-dom-turbopack@0.0.0-experimental-e4953922-20240919(react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919))(react@19.0.0-rc-e4953922-20240919) + specifier: npm:react-server-dom-turbopack@0.0.0-experimental-5d19e1c8-20240923 + version: react-server-dom-turbopack@0.0.0-experimental-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923) react-server-dom-webpack: - specifier: 19.0.0-rc-e4953922-20240919 - version: 19.0.0-rc-e4953922-20240919(react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919))(react@19.0.0-rc-e4953922-20240919)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))) + specifier: 19.0.0-rc-5d19e1c8-20240923 + version: 19.0.0-rc-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))) react-server-dom-webpack-experimental: - specifier: npm:react-server-dom-webpack@0.0.0-experimental-e4953922-20240919 - version: react-server-dom-webpack@0.0.0-experimental-e4953922-20240919(react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919))(react@19.0.0-rc-e4953922-20240919)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))) + specifier: npm:react-server-dom-webpack@0.0.0-experimental-5d19e1c8-20240923 + version: react-server-dom-webpack@0.0.0-experimental-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))) react-ssr-prepass: specifier: 1.0.8 - version: 1.0.8(react-is@19.0.0-rc-f90a6bcc-20240827)(react@19.0.0-rc-e4953922-20240919) + version: 1.0.8(react-is@19.0.0-rc-f90a6bcc-20240827)(react@19.0.0-rc-5d19e1c8-20240923) react-virtualized: specifier: 9.22.3 - version: 9.22.3(react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919))(react@19.0.0-rc-e4953922-20240919) + version: 9.22.3(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923) relay-compiler: specifier: 13.0.2 version: 13.0.2 @@ -516,11 +516,11 @@ importers: specifier: 0.10.9 version: 0.10.9 scheduler-builtin: - specifier: npm:scheduler@0.25.0-rc-e4953922-20240919 - version: scheduler@0.25.0-rc-e4953922-20240919 + specifier: npm:scheduler@0.25.0-rc-5d19e1c8-20240923 + version: scheduler@0.25.0-rc-5d19e1c8-20240923 scheduler-experimental-builtin: - specifier: npm:scheduler@0.0.0-experimental-e4953922-20240919 - version: scheduler@0.0.0-experimental-e4953922-20240919 + specifier: npm:scheduler@0.0.0-experimental-5d19e1c8-20240923 + version: scheduler@0.0.0-experimental-5d19e1c8-20240923 seedrandom: specifier: 3.0.5 version: 3.0.5 @@ -535,16 +535,16 @@ importers: version: 6.0.0 styled-components: specifier: 6.0.0-rc.3 - version: 6.0.0-rc.3(react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919))(react@19.0.0-rc-e4953922-20240919) + version: 6.0.0-rc.3(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923) styled-jsx: specifier: 5.1.6 - version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-e4953922-20240919) + version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-5d19e1c8-20240923) styled-jsx-plugin-postcss: specifier: 3.0.2 version: 3.0.2 swr: specifier: ^2.2.4 - version: 2.2.4(react@19.0.0-rc-e4953922-20240919) + version: 2.2.4(react@19.0.0-rc-5d19e1c8-20240923) tailwindcss: specifier: 3.2.7 version: 3.2.7(postcss@8.4.31) @@ -868,17 +868,17 @@ importers: specifier: 8.4.31 version: 8.4.31 react: - specifier: 19.0.0-rc-e4953922-20240919 - version: 19.0.0-rc-e4953922-20240919 + specifier: 19.0.0-rc-5d19e1c8-20240923 + version: 19.0.0-rc-5d19e1c8-20240923 react-dom: - specifier: 19.0.0-rc-e4953922-20240919 - version: 19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919) + specifier: 19.0.0-rc-5d19e1c8-20240923 + version: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) sass: specifier: ^1.3.0 version: 1.77.8 styled-jsx: specifier: 5.1.6 - version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-e4953922-20240919) + version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-5d19e1c8-20240923) optionalDependencies: sharp: specifier: ^0.33.5 @@ -1459,7 +1459,7 @@ importers: version: 1.0.35 unistore: specifier: 3.4.1 - version: 3.4.1(react@19.0.0-rc-e4953922-20240919) + version: 3.4.1(react@19.0.0-rc-5d19e1c8-20240923) util: specifier: 0.12.4 version: 0.12.4 @@ -1593,8 +1593,8 @@ importers: packages/third-parties: dependencies: react: - specifier: 19.0.0-rc-e4953922-20240919 - version: 19.0.0-rc-e4953922-20240919 + specifier: 19.0.0-rc-5d19e1c8-20240923 + version: 19.0.0-rc-5d19e1c8-20240923 third-party-capital: specifier: 1.0.20 version: 1.0.20 @@ -1654,14 +1654,14 @@ importers: specifier: 29.5.0 version: 29.5.0 react: - specifier: 19.0.0-rc-e4953922-20240919 - version: 19.0.0-rc-e4953922-20240919 + specifier: 19.0.0-rc-5d19e1c8-20240923 + version: 19.0.0-rc-5d19e1c8-20240923 react-test-renderer: specifier: 18.2.0 - version: 18.2.0(react@19.0.0-rc-e4953922-20240919) + version: 18.2.0(react@19.0.0-rc-5d19e1c8-20240923) styled-jsx: specifier: ^5.1.2 - version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-e4953922-20240919) + version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-5d19e1c8-20240923) turbopack/packages/devlow-bench: dependencies: @@ -3305,7 +3305,7 @@ packages: resolution: {integrity: sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==} peerDependencies: '@types/react': '*' - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 peerDependenciesMeta: '@types/react': optional: true @@ -3322,7 +3322,7 @@ packages: '@emotion/use-insertion-effect-with-fallbacks@1.0.1': resolution: {integrity: sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 '@emotion/utils@1.2.1': resolution: {integrity: sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==} @@ -3515,14 +3515,14 @@ packages: '@floating-ui/react-dom@2.1.0': resolution: {integrity: sha512-lNzj5EQmEKn5FFKc04+zasr09h/uX8RtJRNj5gUXsSQIXHVWTVh+hVAg1vOMCexkX8EgvemMvIFpQfkosnVNyA==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923 '@floating-ui/react@0.26.16': resolution: {integrity: sha512-HEf43zxZNAI/E781QIVpYSF3K2VH4TTYZpqecjdsFkjsaU1EbaWcM++kw0HXFffj7gDUcBFevX8s0rQGQpxkow==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923 '@floating-ui/utils@0.2.2': resolution: {integrity: sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==} @@ -4162,13 +4162,13 @@ packages: resolution: {integrity: sha512-l9ypojKN3PjwO1CSLIsqxi7mA25+7w+xc71Q+JuCCREI0tuGwkZsKbIOpuTATIJOjPh8ycLiW7QxX1LYsRTq6w==} peerDependencies: '@mantine/hooks': 7.10.1 - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923 '@mantine/hooks@7.11.2': resolution: {integrity: sha512-jhyVe/sbDEG2U8rr2lMecUPgQxcfr5hh9HazqGfkS7ZRIMDO7uJ947yAcTMGGkp5Lxtt5TBFt1Cb6tiB2/1agg==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 '@mapbox/node-pre-gyp@1.0.5': resolution: {integrity: sha512-4srsKPXWlIxp5Vbqz5uLfBN+du2fJChBoYn/f2h991WLdk7jUvcSk/McVLSv/X+xQIPI8eGD5GjrnygdyHnhPA==} @@ -4185,7 +4185,7 @@ packages: '@mdx-js/react@2.2.1': resolution: {integrity: sha512-YdXcMcEnqZhzql98RNrqYo9cEhTTesBiCclEtoiQUbJwx87q9453GTapYU6kJ8ZZ2ek1Vp25SiAXEFy5O/eAPw==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 '@mswjs/cookies@1.1.0': resolution: {integrity: sha512-0ZcCVQxifZmhwNBoQIrystCb+2sWBY2Zw8lpfJBPCHGCA/HWqehITeCRVIv4VMy8MPlaHo2w2pTHFV2pFfqKPw==} @@ -4868,8 +4868,8 @@ packages: engines: {node: '>=18'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923 peerDependenciesMeta: '@types/react': optional: true @@ -10233,7 +10233,7 @@ packages: lucide-react@0.383.0: resolution: {integrity: sha512-13xlG0CQCJtzjSQYwwJ3WRqMHtRj3EXmLlorrARt7y+IHnxUCp3XyFNL1DfaGySWxHObDvnu1u1dV+0VMKHUSg==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 lz-string@1.5.0: resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} @@ -12432,28 +12432,28 @@ packages: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} hasBin: true - react-dom@0.0.0-experimental-e4953922-20240919: - resolution: {integrity: sha512-nOX6DyRbtXrhFYeuO0HhPMk0BdJY1XsI2Sle43R1iPJyXOylNZ6b4Fa6SIiGD09dVfSJ14+Nkh4xOeC50jgk+g==} + react-dom@0.0.0-experimental-5d19e1c8-20240923: + resolution: {integrity: sha512-0k45pTmdiI0loGpwbu0V9Wd1wle3iZt9T9yC3Dd6m2xbBxHxl5L8ypIbbQwPPcsVfQLvx7DhRPGs95DAi2ZayA==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 react-dom@17.0.2: resolution: {integrity: sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 - react-dom@19.0.0-rc-e4953922-20240919: - resolution: {integrity: sha512-E8jZqdTPvWQ4SRH29nKwwMUmlnyYdx1YPWDBXfeEC5LL92Tq7qQC1Tjh75Zr1zgNsxp1c5YpyWyQTYmpeIdXQg==} + react-dom@19.0.0-rc-5d19e1c8-20240923: + resolution: {integrity: sha512-1O1KWGV/Lmlr1d1RePwiqZOuq2/EZLPpD/9fwlgJer4KKYTr6KlIEPEjC6u1iMQEUvs/r+maxdKSgeHjsNWFfg==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 react-dom@19.0.0-rc-f90a6bcc-20240827: resolution: {integrity: sha512-oUa/reDvGtjRcxi8u+GYHaDHanudaO28+G+Wvxm50CItW1xwIFN2Nn7foJxxDS9lFLGdRWZvjxldZEPAUSuXbg==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 - react-is@19.0.0-rc-e4953922-20240919: - resolution: {integrity: sha512-Ih6Ph7b2xhU30t6nt1+4QzoNtMk4VFgIRBznA+y30d4MIY9hJKtuEIkWm5K7wRKQ0eUSGPEQ88TYx5sgRhILaQ==} + react-is@19.0.0-rc-5d19e1c8-20240923: + resolution: {integrity: sha512-vX1YsII4H0lgVOgeRvslngSKI86O0Q/VTFanouP34zBqKv5aTnjrBjkSS1bWuyiLPaB6cV+ixBFplAljiHAcOg==} react-is@19.0.0-rc-f90a6bcc-20240827: resolution: {integrity: sha512-1tXoLFzVbqHAQeY3CwpyF5IYbkwgSoNHhrhS8qOrfiZIh2461h/C1BP/JVIxwyL51wHhUgLsAc/M8g0OcEhV1A==} @@ -12464,8 +12464,8 @@ packages: react-number-format@5.4.0: resolution: {integrity: sha512-NWdICrqLhI7rAS8yUeLVd6Wr4cN7UjJ9IBTS0f/a9i7UB4x4Ti70kGnksBtZ7o4Z7YRbvCMMR/jQmkoOBa/4fg==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923 react-refresh@0.12.0: resolution: {integrity: sha512-suLIhrU2IHKL5JEKR/fAwJv7bbeq4kJ+pJopf77jHwuR+HmJS/HbrPIGsTBUVfw7tXPOmYv7UJ7PCaN49e8x4A==} @@ -12476,7 +12476,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 peerDependenciesMeta: '@types/react': optional: true @@ -12486,58 +12486,58 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 peerDependenciesMeta: '@types/react': optional: true - react-server-dom-turbopack@0.0.0-experimental-e4953922-20240919: - resolution: {integrity: sha512-Jm5stWOZp8kgVckmSTrck1xLBTNp0McnMYA2Acsaf3W6UFw88lAP6Ub9MOD5jxb6+ddhsoV/5nLrn1mprKT83A==} + react-server-dom-turbopack@0.0.0-experimental-5d19e1c8-20240923: + resolution: {integrity: sha512-IyqOOby4ZHRg2VCJ/wG4wN/+YLhNsjhBd0GrgoroXGYnPPFRmULKZ57wSukBpHdUlAOis6gq014yfEKZoZUoSQ==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923 - react-server-dom-turbopack@19.0.0-rc-e4953922-20240919: - resolution: {integrity: sha512-526bH6N2PmTb+rQkjkM3qG1OHFPGi3zP6lW6JCcbo5i7UrkVPB4RxzUyTkjluTD77DZJNxfBIu8iSLTVJaxf9w==} + react-server-dom-turbopack@19.0.0-rc-5d19e1c8-20240923: + resolution: {integrity: sha512-ueaVIxCVj3RwtOW8I33WfrxHnnuMCaoiinvVBUNKAVBjgm0W4rpb8yPAJR0O6fmY8PG4kBZ+xmD2KQcY+BGSLQ==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923 - react-server-dom-webpack@0.0.0-experimental-e4953922-20240919: - resolution: {integrity: sha512-AC+YwhxWBnL/0BSmjr4T8NeZFP7P/YXDnZiTXW9ENjjneqM6/WBhrOhfI2hInMSOqf5WHQnVh2HY5kOeEVNh2g==} + react-server-dom-webpack@0.0.0-experimental-5d19e1c8-20240923: + resolution: {integrity: sha512-O5qvoJjPChSnTc56wHvQyPldiAU/MgvOvzUbvUp53PjghokIUx7axJg4pX4/zOY7lbSHbfINQp/EKDNO4jZvyg==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923 webpack: 5.90.0 - react-server-dom-webpack@19.0.0-rc-e4953922-20240919: - resolution: {integrity: sha512-q5D47eO/p75dqxDLMC7og+joeTz++TjrE9rB2jLspmR46+2bzdh1jrNbjOcpYGmozmqduN5ZnlmLx1Iorvg8dQ==} + react-server-dom-webpack@19.0.0-rc-5d19e1c8-20240923: + resolution: {integrity: sha512-hGkbo+YFRNoqw9d/xV3FTHmI2rljBDEsr6z3mI1sH8q4DrUI3gkfPt3lxgy2PwXQtXkEit3Ko72o91gcdIntAg==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923 webpack: 5.90.0 react-shallow-renderer@16.15.0: resolution: {integrity: sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 react-ssr-prepass@1.0.8: resolution: {integrity: sha512-O0gfRA1SaK+9ITKxqfnXsej2jF+OHGP/+GxD4unROQaM/0/UczGF9fuF+wTboxaQoKdIf4FvS3h/OigWh704VA==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 - react-is: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-is: 19.0.0-rc-5d19e1c8-20240923 react-style-singleton@2.2.1: resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==} engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 peerDependenciesMeta: '@types/react': optional: true @@ -12545,30 +12545,30 @@ packages: react-test-renderer@18.2.0: resolution: {integrity: sha512-JWD+aQ0lh2gvh4NM3bBM42Kx+XybOxCpgYK7F8ugAlpaTSnWsX+39Z4XkOykGZAHrjwwTZT3x3KxswVWxHPUqA==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 react-textarea-autosize@8.5.3: resolution: {integrity: sha512-XT1024o2pqCuZSuBt9FwHlaDeNtVrtCXu0Rnz88t1jUGheCLa3PhjE1GH8Ctm2axEtvdCl5SUHYschyQ0L5QHQ==} engines: {node: '>=10'} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 react-virtualized@9.22.3: resolution: {integrity: sha512-MKovKMxWTcwPSxE1kK1HcheQTWfuCxAuBoSTf2gwyMM21NdX/PXUhnoP8Uc5dRKd+nKm8v41R36OellhdCpkrw==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923 - react@0.0.0-experimental-e4953922-20240919: - resolution: {integrity: sha512-mjO/HwUnpYU8/fyWR8WjSRjJJ2O3V8Q2zWwFsp/HnE6iQu2mnGlX7OT/c/SWRXLM+AticoAQA41zzVSOglNEfg==} + react@0.0.0-experimental-5d19e1c8-20240923: + resolution: {integrity: sha512-Gj4QEoaMrdPspWXPXnExlgYEkBFuui6xYW81tswLnguthYhVzR8L8PZ8cppTQqQsklNPoWKWcWNh7YBaLTLoUg==} engines: {node: '>=0.10.0'} react@17.0.2: resolution: {integrity: sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==} engines: {node: '>=0.10.0'} - react@19.0.0-rc-e4953922-20240919: - resolution: {integrity: sha512-4CkSUGAHyU1WJ5w90eDna6fAMDwv2irJCLl3dne3DjuxWgdPgtBjdUpSNn4mb1FZUyiJBh7RiNB57G4YjPkDkQ==} + react@19.0.0-rc-5d19e1c8-20240923: + resolution: {integrity: sha512-ZmgGzqPoYKevfJa+BThu1qkvDFFAVYQIbG9oPvAbNk1/4A+wJqplwDT1rhbRZmxV8n67oawoZkf5xAup99cyUA==} engines: {node: '>=0.10.0'} react@19.0.0-rc-f90a6bcc-20240827: @@ -13081,11 +13081,11 @@ packages: resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} engines: {node: '>=v12.22.7'} - scheduler@0.0.0-experimental-e4953922-20240919: - resolution: {integrity: sha512-m61FhozRJoMrNwhBipKqFaLiAbY1fWxShBhw9FQcL4lOrh1+vhNX6P3UzlqY0oFgnhTaDer75weM+bA5GZfl8w==} + scheduler@0.0.0-experimental-5d19e1c8-20240923: + resolution: {integrity: sha512-U4lYFxZO7Xm9vrcKhVs/tIV1ea8qQyDAwGOYBRY6y5Ki6NJu012riisAQS7WRb/fsENb0hwjbfgjvpxPNMEELQ==} - scheduler@0.25.0-rc-e4953922-20240919: - resolution: {integrity: sha512-6l7cfQOmb5n350VJp8/CIejjEqB/1niPiwsooAHcH81ia/rMbZrzLChl14FOS6tJr0H+9P9rvgnAA6/pFHj2Mg==} + scheduler@0.25.0-rc-5d19e1c8-20240923: + resolution: {integrity: sha512-lyXuqeq6jwl7PPmOBJcqrfbm5qczKdgDTdIc0JYq6nJq0CATvNBSP95s+8TqPwcesmE3t+0jh9W1w6WOAtR7Aw==} schema-utils@2.7.1: resolution: {integrity: sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==} @@ -13627,8 +13627,8 @@ packages: engines: {node: '>= 16'} peerDependencies: babel-plugin-styled-components: '>= 2' - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923 peerDependenciesMeta: babel-plugin-styled-components: optional: true @@ -13642,7 +13642,7 @@ packages: peerDependencies: '@babel/core': '*' babel-plugin-macros: '*' - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 peerDependenciesMeta: '@babel/core': optional: true @@ -13719,7 +13719,7 @@ packages: swr@2.2.4: resolution: {integrity: sha512-njiZ/4RiIhoOlAaLYDqwz5qH/KZXVilRLvomrx83HjzCWTfa+InyfAjv05PSFxnmLzZkNO9ZfvgoqzAaEI4sGQ==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 symbol-observable@1.0.1: resolution: {integrity: sha512-Kb3PrPYz4HanVF1LVGuAdW6LoVgIwjUYJGzFe7NDrBLCN4lsV/5J0MFurV+ygS4bRVwrCEt2c7MQ1R2a72oJDw==} @@ -14436,7 +14436,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 peerDependenciesMeta: '@types/react': optional: true @@ -14444,13 +14444,13 @@ packages: use-composed-ref@1.3.0: resolution: {integrity: sha512-GLMG0Jc/jiKov/3Ulid1wbv3r54K9HlMW29IWcDFPEqFkSO2nS0MuefWgMJpeHQ9YJeXDL3ZUF+P3jdXlZX/cQ==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 use-isomorphic-layout-effect@1.1.2: resolution: {integrity: sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==} peerDependencies: '@types/react': '*' - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 peerDependenciesMeta: '@types/react': optional: true @@ -14459,7 +14459,7 @@ packages: resolution: {integrity: sha512-xA+AVm/Wlg3e2P/JiItTziwS7FK92LWrDB0p+hgXloIMuVCeJJ8v6f0eeHyPZaJrM+usM1FkFfbNCrJGs8A/zw==} peerDependencies: '@types/react': '*' - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 peerDependenciesMeta: '@types/react': optional: true @@ -14469,7 +14469,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 peerDependenciesMeta: '@types/react': optional: true @@ -14477,7 +14477,7 @@ packages: use-sync-external-store@1.2.0: resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} peerDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -16999,17 +16999,17 @@ snapshots: '@emotion/memoize@0.8.1': {} - '@emotion/react@11.11.1(react@19.0.0-rc-e4953922-20240919)(types-react@19.0.0-rc.0)': + '@emotion/react@11.11.1(react@19.0.0-rc-5d19e1c8-20240923)(types-react@19.0.0-rc.0)': dependencies: '@babel/runtime': 7.22.5 '@emotion/babel-plugin': 11.11.0 '@emotion/cache': 11.11.0 '@emotion/serialize': 1.1.2 - '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@19.0.0-rc-e4953922-20240919) + '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@19.0.0-rc-5d19e1c8-20240923) '@emotion/utils': 1.2.1 '@emotion/weak-memoize': 0.3.1 hoist-non-react-statics: 3.3.2 - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 optionalDependencies: '@types/react': types-react@19.0.0-rc.0 transitivePeerDependencies: @@ -17027,9 +17027,9 @@ snapshots: '@emotion/unitless@0.8.1': {} - '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@19.0.0-rc-e4953922-20240919)': + '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@19.0.0-rc-5d19e1c8-20240923)': dependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 '@emotion/utils@1.2.1': {} @@ -18389,11 +18389,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@mdx-js/react@2.2.1(react@19.0.0-rc-e4953922-20240919)': + '@mdx-js/react@2.2.1(react@19.0.0-rc-5d19e1c8-20240923)': dependencies: '@types/mdx': 2.0.3 '@types/react': types-react@19.0.0-rc.0 - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 '@mdx-js/react@2.2.1(react@19.0.0-rc-f90a6bcc-20240827)': dependencies: @@ -19214,13 +19214,13 @@ snapshots: '@types/jest': 29.5.5 jest: 29.7.0(@types/node@20.12.3)(babel-plugin-macros@3.1.0) - '@testing-library/react@15.0.7(react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919))(react@19.0.0-rc-e4953922-20240919)(types-react@19.0.0-rc.0)': + '@testing-library/react@15.0.7(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923)(types-react@19.0.0-rc.0)': dependencies: '@babel/runtime': 7.22.5 '@testing-library/dom': 10.1.0 '@types/react-dom': types-react-dom@19.0.0-rc.0 - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919) + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) optionalDependencies: '@types/react': types-react@19.0.0-rc.0 @@ -24009,7 +24009,7 @@ snapshots: hoist-non-react-statics@3.3.2: dependencies: - react-is: 19.0.0-rc-e4953922-20240919 + react-is: 19.0.0-rc-5d19e1c8-20240923 homedir-polyfill@1.0.3: dependencies: @@ -28333,25 +28333,25 @@ snapshots: '@jest/types': 24.9.0 ansi-regex: 4.1.0 ansi-styles: 3.2.1 - react-is: 19.0.0-rc-e4953922-20240919 + react-is: 19.0.0-rc-5d19e1c8-20240923 pretty-format@27.5.1: dependencies: ansi-regex: 5.0.1 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-e4953922-20240919 + react-is: 19.0.0-rc-5d19e1c8-20240923 pretty-format@29.5.0: dependencies: '@jest/schemas': 29.4.3 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-e4953922-20240919 + react-is: 19.0.0-rc-5d19e1c8-20240923 pretty-format@29.7.0: dependencies: '@jest/schemas': 29.6.3 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-e4953922-20240919 + react-is: 19.0.0-rc-5d19e1c8-20240923 pretty-ms@7.0.0: dependencies: @@ -28408,7 +28408,7 @@ snapshots: dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react-is: 19.0.0-rc-e4953922-20240919 + react-is: 19.0.0-rc-5d19e1c8-20240923 property-information@5.6.0: dependencies: @@ -28580,29 +28580,29 @@ snapshots: minimist: 1.2.8 strip-json-comments: 2.0.1 - react-dom@0.0.0-experimental-e4953922-20240919(react@19.0.0-rc-e4953922-20240919): + react-dom@0.0.0-experimental-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923): dependencies: - react: 19.0.0-rc-e4953922-20240919 - scheduler: 0.25.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + scheduler: 0.25.0-rc-5d19e1c8-20240923 - react-dom@17.0.2(react@19.0.0-rc-e4953922-20240919): + react-dom@17.0.2(react@19.0.0-rc-5d19e1c8-20240923): dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react: 19.0.0-rc-e4953922-20240919 - scheduler: 0.25.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + scheduler: 0.25.0-rc-5d19e1c8-20240923 - react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919): + react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923): dependencies: - react: 19.0.0-rc-e4953922-20240919 - scheduler: 0.25.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + scheduler: 0.25.0-rc-5d19e1c8-20240923 react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827): dependencies: react: 19.0.0-rc-f90a6bcc-20240827 - scheduler: 0.25.0-rc-e4953922-20240919 + scheduler: 0.25.0-rc-5d19e1c8-20240923 - react-is@19.0.0-rc-e4953922-20240919: {} + react-is@19.0.0-rc-5d19e1c8-20240923: {} react-is@19.0.0-rc-f90a6bcc-20240827: {} @@ -28635,48 +28635,48 @@ snapshots: optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - react-server-dom-turbopack@0.0.0-experimental-e4953922-20240919(react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919))(react@19.0.0-rc-e4953922-20240919): + react-server-dom-turbopack@0.0.0-experimental-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919) + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) - react-server-dom-turbopack@19.0.0-rc-e4953922-20240919(react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919))(react@19.0.0-rc-e4953922-20240919): + react-server-dom-turbopack@19.0.0-rc-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919) + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) - react-server-dom-webpack@0.0.0-experimental-e4953922-20240919(react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919))(react@19.0.0-rc-e4953922-20240919)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))): + react-server-dom-webpack@0.0.0-experimental-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919) + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) webpack: 5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13)) webpack-sources: 3.2.3(patch_hash=jbynf5dc46ambamq3wuyho6hkq) - react-server-dom-webpack@19.0.0-rc-e4953922-20240919(react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919))(react@19.0.0-rc-e4953922-20240919)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))): + react-server-dom-webpack@19.0.0-rc-5d19e1c8-20240923(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919) + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) webpack: 5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13)) webpack-sources: 3.2.3(patch_hash=jbynf5dc46ambamq3wuyho6hkq) - react-shallow-renderer@16.15.0(react@19.0.0-rc-e4953922-20240919): + react-shallow-renderer@16.15.0(react@19.0.0-rc-5d19e1c8-20240923): dependencies: object-assign: 4.1.1 - react: 19.0.0-rc-e4953922-20240919 - react-is: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-is: 19.0.0-rc-5d19e1c8-20240923 - react-ssr-prepass@1.0.8(react-is@19.0.0-rc-f90a6bcc-20240827)(react@19.0.0-rc-e4953922-20240919): + react-ssr-prepass@1.0.8(react-is@19.0.0-rc-f90a6bcc-20240827)(react@19.0.0-rc-5d19e1c8-20240923): dependencies: object-is: 1.0.2 - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 react-is: 19.0.0-rc-f90a6bcc-20240827 react-style-singleton@2.2.1(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0): @@ -28688,12 +28688,12 @@ snapshots: optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - react-test-renderer@18.2.0(react@19.0.0-rc-e4953922-20240919): + react-test-renderer@18.2.0(react@19.0.0-rc-5d19e1c8-20240923): dependencies: - react: 19.0.0-rc-e4953922-20240919 - react-is: 19.0.0-rc-e4953922-20240919 - react-shallow-renderer: 16.15.0(react@19.0.0-rc-e4953922-20240919) - scheduler: 0.25.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 + react-is: 19.0.0-rc-5d19e1c8-20240923 + react-shallow-renderer: 16.15.0(react@19.0.0-rc-5d19e1c8-20240923) + scheduler: 0.25.0-rc-5d19e1c8-20240923 react-textarea-autosize@8.5.3(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0): dependencies: @@ -28704,25 +28704,25 @@ snapshots: transitivePeerDependencies: - '@types/react' - react-virtualized@9.22.3(react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919))(react@19.0.0-rc-e4953922-20240919): + react-virtualized@9.22.3(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923): dependencies: '@babel/runtime': 7.22.5 clsx: 1.1.1 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919) + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) react-lifecycles-compat: 3.0.4 - react@0.0.0-experimental-e4953922-20240919: {} + react@0.0.0-experimental-5d19e1c8-20240923: {} react@17.0.2: dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react@19.0.0-rc-e4953922-20240919: {} + react@19.0.0-rc-5d19e1c8-20240923: {} react@19.0.0-rc-f90a6bcc-20240827: {} @@ -29405,9 +29405,9 @@ snapshots: dependencies: xmlchars: 2.2.0 - scheduler@0.0.0-experimental-e4953922-20240919: {} + scheduler@0.0.0-experimental-5d19e1c8-20240923: {} - scheduler@0.25.0-rc-e4953922-20240919: {} + scheduler@0.25.0-rc-5d19e1c8-20240923: {} schema-utils@2.7.1: dependencies: @@ -30009,7 +30009,7 @@ snapshots: dependencies: inline-style-parser: 0.1.1 - styled-components@6.0.0-rc.3(react-dom@19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919))(react@19.0.0-rc-e4953922-20240919): + styled-components@6.0.0-rc.3(react-dom@19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923))(react@19.0.0-rc-5d19e1c8-20240923): dependencies: '@babel/cli': 7.21.5(@babel/core@7.22.5) '@babel/core': 7.22.5 @@ -30024,8 +30024,8 @@ snapshots: '@emotion/unitless': 0.8.1 css-to-react-native: 3.2.0 postcss: 8.4.31 - react: 19.0.0-rc-e4953922-20240919 - react-dom: 19.0.0-rc-e4953922-20240919(react@19.0.0-rc-e4953922-20240919) + react: 19.0.0-rc-5d19e1c8-20240923 + react-dom: 19.0.0-rc-5d19e1c8-20240923(react@19.0.0-rc-5d19e1c8-20240923) shallowequal: 1.1.0 stylis: 4.2.0 tslib: 2.5.3 @@ -30037,10 +30037,10 @@ snapshots: postcss: 7.0.32 postcss-load-plugins: 2.3.0 - styled-jsx@5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-e4953922-20240919): + styled-jsx@5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-5d19e1c8-20240923): dependencies: client-only: 0.0.1 - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 optionalDependencies: '@babel/core': 7.22.5 babel-plugin-macros: 3.1.0 @@ -30130,11 +30130,11 @@ snapshots: picocolors: 1.0.1 stable: 0.1.8 - swr@2.2.4(react@19.0.0-rc-e4953922-20240919): + swr@2.2.4(react@19.0.0-rc-5d19e1c8-20240923): dependencies: client-only: 0.0.1 - react: 19.0.0-rc-e4953922-20240919 - use-sync-external-store: 1.2.0(react@19.0.0-rc-e4953922-20240919) + react: 19.0.0-rc-5d19e1c8-20240923 + use-sync-external-store: 1.2.0(react@19.0.0-rc-5d19e1c8-20240923) symbol-observable@1.0.1: {} @@ -30799,9 +30799,9 @@ snapshots: unist-util-is: 5.2.0 unist-util-visit-parents: 5.1.3 - unistore@3.4.1(react@19.0.0-rc-e4953922-20240919): + unistore@3.4.1(react@19.0.0-rc-5d19e1c8-20240923): optionalDependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 universal-github-app-jwt@1.1.1: dependencies: @@ -30919,9 +30919,9 @@ snapshots: optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - use-sync-external-store@1.2.0(react@19.0.0-rc-e4953922-20240919): + use-sync-external-store@1.2.0(react@19.0.0-rc-5d19e1c8-20240923): dependencies: - react: 19.0.0-rc-e4953922-20240919 + react: 19.0.0-rc-5d19e1c8-20240923 util-deprecate@1.0.2: {} From 952c3a89159e327e394565e20252e69af01acfd6 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Tue, 24 Sep 2024 13:03:30 +0200 Subject: [PATCH 5/5] ncc-compiled --- .../cjs/react-dom-client.development.js | 642 +++++++++++------- .../cjs/react-dom-client.production.js | 84 ++- .../cjs/react-dom-profiling.development.js | 642 +++++++++++------- .../cjs/react-dom-profiling.profiling.js | 385 +++++++---- ...t-dom-server-legacy.browser.development.js | 60 +- ...ct-dom-server-legacy.browser.production.js | 119 ++-- ...eact-dom-server-legacy.node.development.js | 60 +- ...react-dom-server-legacy.node.production.js | 119 ++-- .../react-dom-server.browser.development.js | 64 +- .../react-dom-server.browser.production.js | 83 +-- .../cjs/react-dom-server.bun.production.js | 89 +-- .../cjs/react-dom-server.edge.development.js | 64 +- .../cjs/react-dom-server.edge.production.js | 83 +-- .../cjs/react-dom-server.node.development.js | 64 +- .../cjs/react-dom-server.node.production.js | 83 +-- .../react-dom-unstable_testing.development.js | 642 +++++++++++------- .../react-dom-unstable_testing.production.js | 84 ++- .../cjs/react-dom.development.js | 2 +- .../cjs/react-dom.production.js | 2 +- .../cjs/react-dom.react-server.development.js | 2 +- .../cjs/react-dom.react-server.production.js | 2 +- .../react-dom-experimental/package.json | 4 +- .../cjs/react-dom-client.development.js | 96 +-- .../cjs/react-dom-client.production.js | 84 ++- .../cjs/react-dom-profiling.development.js | 96 +-- .../cjs/react-dom-profiling.profiling.js | 86 ++- ...t-dom-server-legacy.browser.development.js | 32 +- ...ct-dom-server-legacy.browser.production.js | 80 +-- ...eact-dom-server-legacy.node.development.js | 32 +- ...react-dom-server-legacy.node.production.js | 80 +-- .../react-dom-server.browser.development.js | 36 +- .../react-dom-server.browser.production.js | 50 +- .../cjs/react-dom-server.bun.production.js | 50 +- .../cjs/react-dom-server.edge.development.js | 36 +- .../cjs/react-dom-server.edge.production.js | 50 +- .../cjs/react-dom-server.node.development.js | 36 +- .../cjs/react-dom-server.node.production.js | 50 +- .../react-dom/cjs/react-dom.development.js | 2 +- .../react-dom/cjs/react-dom.production.js | 2 +- .../cjs/react-dom.react-server.development.js | 2 +- .../cjs/react-dom.react-server.production.js | 2 +- .../next/src/compiled/react-dom/package.json | 4 +- .../cjs/react.development.js | 2 +- .../cjs/react.production.js | 2 +- .../cjs/react.react-server.development.js | 2 +- .../cjs/react.react-server.production.js | 2 +- .../next/src/compiled/react-is/package.json | 2 +- ...om-turbopack-client.browser.development.js | 4 +- .../package.json | 4 +- ...om-turbopack-client.browser.development.js | 4 +- .../react-server-dom-turbopack/package.json | 4 +- ...-dom-webpack-client.browser.development.js | 4 +- .../package.json | 4 +- ...-dom-webpack-client.browser.development.js | 4 +- .../react-server-dom-webpack/package.json | 4 +- .../compiled/react/cjs/react.development.js | 2 +- .../compiled/react/cjs/react.production.js | 2 +- .../cjs/react.react-server.development.js | 2 +- .../cjs/react.react-server.production.js | 2 +- .../next/src/compiled/unistore/unistore.js | 2 +- 60 files changed, 2492 insertions(+), 1845 deletions(-) diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js index 41b28c3e15576..9fc79fa112425 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js @@ -3758,6 +3758,22 @@ topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]); } + function logComponentEffect(fiber, startTime, endTime, selfTime) { + fiber = getComponentNameFromFiber(fiber); + null !== fiber && + supportsUserTiming && + ((reusableComponentDevToolDetails.color = + 1 > selfTime + ? "secondary-light" + : 100 > selfTime + ? "secondary" + : 500 > selfTime + ? "secondary-dark" + : "error"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure(fiber, reusableComponentOptions)); + } function finishQueueingConcurrentUpdates() { for ( var endIndex = concurrentQueuesIndex, @@ -3962,6 +3978,22 @@ staleFamilies ); } + function startUpdateTimerByLane(lane) { + var JSCompiler_temp; + (JSCompiler_temp = 0 !== (lane & 3)) || + (JSCompiler_temp = 0 !== (lane & 60)); + JSCompiler_temp + ? 0 > blockingUpdateTime && + ((blockingUpdateTime = now()), + (blockingEventTime = resolveEventTimeStamp()), + (blockingEventType = resolveEventType())) + : 0 !== (lane & 4194176) && + 0 > transitionUpdateTime && + ((transitionUpdateTime = now()), + 0 > transitionStartTime && + ((transitionEventTime = resolveEventTimeStamp()), + (transitionEventType = resolveEventType()))); + } function pushNestedEffectDurations() { var prevEffectDuration = profilerEffectDuration; profilerEffectDuration = 0; @@ -4030,22 +4062,6 @@ for (var child = fiber.child; child; ) (fiber.actualDuration += child.actualDuration), (child = child.sibling); } - function logComponentEffect(fiber, startTime, endTime, selfTime) { - fiber = getComponentNameFromFiber(fiber); - null !== fiber && - supportsUserTiming && - ((reusableComponentDevToolDetails.color = - 1 > selfTime - ? "secondary-light" - : 100 > selfTime - ? "secondary" - : 500 > selfTime - ? "secondary-dark" - : "error"), - (reusableComponentOptions.start = startTime), - (reusableComponentOptions.end = endTime), - performance.measure(fiber, reusableComponentOptions)); - } function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var stack = CapturedStacks.get(value); @@ -5696,8 +5712,9 @@ } function pingEngtangledActionScope() { if ( - null !== currentEntangledListeners && - 0 === --currentEntangledPendingCount + 0 === --currentEntangledPendingCount && + (-1 < transitionUpdateTime || (transitionStartTime = -1.1), + null !== currentEntangledListeners) ) { null !== currentEntangledActionThenable && (currentEntangledActionThenable.status = "fulfilled"); @@ -7065,14 +7082,26 @@ returnValue, finishedState ); - dispatchSetState(fiber, queue, thenableForFinishedState); - } else dispatchSetState(fiber, queue, finishedState); + dispatchSetStateInternal( + fiber, + queue, + thenableForFinishedState, + requestUpdateLane(fiber) + ); + } else + dispatchSetStateInternal( + fiber, + queue, + finishedState, + requestUpdateLane(fiber) + ); } catch (error) { - dispatchSetState(fiber, queue, { - then: function () {}, - status: "rejected", - reason: error - }); + dispatchSetStateInternal( + fiber, + queue, + { then: function () {}, status: "rejected", reason: error }, + requestUpdateLane(fiber) + ); } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition), @@ -7146,7 +7175,12 @@ "requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition." ); var resetStateQueue = ensureFormComponentIsStateful(formFiber).next.queue; - dispatchSetState(formFiber, resetStateQueue, {}); + dispatchSetStateInternal( + formFiber, + resetStateQueue, + {}, + requestUpdateLane(formFiber) + ); } function mountTransition() { var stateHook = mountStateImpl(!1); @@ -7218,7 +7252,8 @@ fiber = createUpdate(lane); var root = enqueueUpdate(provider, fiber, lane); null !== root && - (scheduleUpdateOnFiber(root, provider, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(root, provider, lane), entangleTransitions(root, provider, lane)); provider = createCache(); null !== seedKey && @@ -7259,7 +7294,8 @@ JSCompiler_OptimizeArgumentsArray_p0 )), null !== action && - (scheduleUpdateOnFiber( + (startUpdateTimerByLane(JSCompiler_OptimizeArgumentsArray_p0), + scheduleUpdateOnFiber( action, fiber, JSCompiler_OptimizeArgumentsArray_p0 @@ -7281,8 +7317,16 @@ "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()." ); JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber); + dispatchSetStateInternal( + fiber, + queue, + action, + JSCompiler_OptimizeArgumentsArray_p1 + ) && startUpdateTimerByLane(JSCompiler_OptimizeArgumentsArray_p1); + } + function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { - lane: JSCompiler_OptimizeArgumentsArray_p1, + lane: lane, revertLane: 0, action: action, hasEagerState: !1, @@ -7304,34 +7348,27 @@ eagerState = alternate(currentState, action); update.hasEagerState = !0; update.eagerState = eagerState; - if (objectIs(eagerState, currentState)) { - enqueueUpdate$1(fiber, queue, update, 0); - null === workInProgressRoot && finishQueueingConcurrentUpdates(); - return; - } + if (objectIs(eagerState, currentState)) + return ( + enqueueUpdate$1(fiber, queue, update, 0), + null === workInProgressRoot && + finishQueueingConcurrentUpdates(), + !1 + ); } catch (error) { } finally { ReactSharedInternals.H = prevDispatcher; } } - action = enqueueConcurrentHookUpdate( - fiber, - queue, - update, - JSCompiler_OptimizeArgumentsArray_p1 - ); - null !== action && - (scheduleUpdateOnFiber( - action, - fiber, - JSCompiler_OptimizeArgumentsArray_p1 - ), - entangleTransitionUpdate( - action, - queue, - JSCompiler_OptimizeArgumentsArray_p1 - )); + action = enqueueConcurrentHookUpdate(fiber, queue, update, lane); + if (null !== action) + return ( + scheduleUpdateOnFiber(action, fiber, lane), + entangleTransitionUpdate(action, queue, lane), + !0 + ); } + return !1; } function dispatchOptimisticSetState( fiber, @@ -7364,7 +7401,8 @@ 2 )), null !== throwIfDuringRender && - scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); + (startUpdateTimerByLane(2), + scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2)); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; @@ -8814,33 +8852,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2238; - var JSCompiler_object_inline_stack_2237 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2262; + var JSCompiler_object_inline_stack_2261 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2235 = !1; + var JSCompiler_object_inline_message_2259 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2238 = didSuspend) || - (JSCompiler_object_inline_componentStack_2238 = + (JSCompiler_object_inline_componentStack_2262 = didSuspend) || + (JSCompiler_object_inline_componentStack_2262 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2238 && - ((JSCompiler_object_inline_message_2235 = !0), + JSCompiler_object_inline_componentStack_2262 && + ((JSCompiler_object_inline_message_2259 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2238 = + JSCompiler_object_inline_componentStack_2262 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2235 + JSCompiler_object_inline_message_2259 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2236 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2260 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2236)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2260)) { c: { - var instance = JSCompiler_object_inline_digest_2236; + var instance = JSCompiler_object_inline_digest_2260; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8881,19 +8919,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2236 + JSCompiler_object_inline_digest_2260 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2236 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2260 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2236 && - ((JSCompiler_object_inline_digest_2236 = - JSCompiler_object_inline_digest_2236.dehydrated), - null !== JSCompiler_object_inline_digest_2236) + null !== JSCompiler_object_inline_digest_2260 && + ((JSCompiler_object_inline_digest_2260 = + JSCompiler_object_inline_digest_2260.dehydrated), + null !== JSCompiler_object_inline_digest_2260) ) return ( - JSCompiler_object_inline_digest_2236.data === + JSCompiler_object_inline_digest_2260.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8901,68 +8939,68 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2236 = - JSCompiler_object_inline_stack_2237.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2237.fallback; - if (JSCompiler_object_inline_message_2235) + JSCompiler_object_inline_digest_2260 = + JSCompiler_object_inline_stack_2261.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2261.fallback; + if (JSCompiler_object_inline_message_2259) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2237 = + (JSCompiler_object_inline_stack_2261 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2236, + JSCompiler_object_inline_digest_2260, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2235 = workInProgress.child), - (JSCompiler_object_inline_message_2235.memoizedState = + (JSCompiler_object_inline_message_2259 = workInProgress.child), + (JSCompiler_object_inline_message_2259.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2235.childLanes = + (JSCompiler_object_inline_message_2259.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2238, + JSCompiler_object_inline_componentStack_2262, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2237 + JSCompiler_object_inline_stack_2261 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2237.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2261.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2237 = + (JSCompiler_object_inline_stack_2261 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2236, + JSCompiler_object_inline_digest_2260, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2235 = workInProgress.child), - (JSCompiler_object_inline_message_2235.memoizedState = + (JSCompiler_object_inline_message_2259 = workInProgress.child), + (JSCompiler_object_inline_message_2259.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2235.childLanes = + (JSCompiler_object_inline_message_2259.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2238, + JSCompiler_object_inline_componentStack_2262, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2237 + JSCompiler_object_inline_stack_2261 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2236 + JSCompiler_object_inline_digest_2260 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2236 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2236) + ((JSCompiler_object_inline_digest_2260 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2260) ) { if (didSuspend) workInProgress.flags & 256 @@ -8979,94 +9017,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2235 = - JSCompiler_object_inline_stack_2237.fallback), - (JSCompiler_object_inline_digest_2236 = workInProgress.mode), - (JSCompiler_object_inline_stack_2237 = + (JSCompiler_object_inline_message_2259 = + JSCompiler_object_inline_stack_2261.fallback), + (JSCompiler_object_inline_digest_2260 = workInProgress.mode), + (JSCompiler_object_inline_stack_2261 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2237.children + children: JSCompiler_object_inline_stack_2261.children }, - JSCompiler_object_inline_digest_2236 + JSCompiler_object_inline_digest_2260 )), - (JSCompiler_object_inline_message_2235 = + (JSCompiler_object_inline_message_2259 = createFiberFromFragment( - JSCompiler_object_inline_message_2235, - JSCompiler_object_inline_digest_2236, + JSCompiler_object_inline_message_2259, + JSCompiler_object_inline_digest_2260, renderLanes, null )), - (JSCompiler_object_inline_message_2235.flags |= 2), - (JSCompiler_object_inline_stack_2237.return = workInProgress), - (JSCompiler_object_inline_message_2235.return = workInProgress), - (JSCompiler_object_inline_stack_2237.sibling = - JSCompiler_object_inline_message_2235), - (workInProgress.child = JSCompiler_object_inline_stack_2237), + (JSCompiler_object_inline_message_2259.flags |= 2), + (JSCompiler_object_inline_stack_2261.return = workInProgress), + (JSCompiler_object_inline_message_2259.return = workInProgress), + (JSCompiler_object_inline_stack_2261.sibling = + JSCompiler_object_inline_message_2259), + (workInProgress.child = JSCompiler_object_inline_stack_2261), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2237 = workInProgress.child), - (JSCompiler_object_inline_stack_2237.memoizedState = + (JSCompiler_object_inline_stack_2261 = workInProgress.child), + (JSCompiler_object_inline_stack_2261.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2237.childLanes = + (JSCompiler_object_inline_stack_2261.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2238, + JSCompiler_object_inline_componentStack_2262, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2235)); + (workInProgress = JSCompiler_object_inline_message_2259)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_digest_2236.data === + JSCompiler_object_inline_digest_2260.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_componentStack_2238 = - JSCompiler_object_inline_digest_2236.nextSibling && - JSCompiler_object_inline_digest_2236.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2238) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2238.dgst; - var message = JSCompiler_object_inline_componentStack_2238.msg; - instance = JSCompiler_object_inline_componentStack_2238.stck; + JSCompiler_object_inline_componentStack_2262 = + JSCompiler_object_inline_digest_2260.nextSibling && + JSCompiler_object_inline_digest_2260.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2262) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2262.dgst; + var message = JSCompiler_object_inline_componentStack_2262.msg; + instance = JSCompiler_object_inline_componentStack_2262.stck; var componentStack = - JSCompiler_object_inline_componentStack_2238.cstck; + JSCompiler_object_inline_componentStack_2262.cstck; } - JSCompiler_object_inline_message_2235 = message; - JSCompiler_object_inline_digest_2236 = JSCompiler_temp; - JSCompiler_object_inline_stack_2237 = instance; - JSCompiler_object_inline_componentStack_2238 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2236 && - ((JSCompiler_object_inline_message_2235 = - JSCompiler_object_inline_message_2235 - ? Error(JSCompiler_object_inline_message_2235) + JSCompiler_object_inline_message_2259 = message; + JSCompiler_object_inline_digest_2260 = JSCompiler_temp; + JSCompiler_object_inline_stack_2261 = instance; + JSCompiler_object_inline_componentStack_2262 = componentStack; + "POSTPONE" !== JSCompiler_object_inline_digest_2260 && + ((JSCompiler_object_inline_message_2259 = + JSCompiler_object_inline_message_2259 + ? Error(JSCompiler_object_inline_message_2259) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_message_2235.stack = - JSCompiler_object_inline_stack_2237 || ""), - (JSCompiler_object_inline_message_2235.digest = - JSCompiler_object_inline_digest_2236), - (JSCompiler_object_inline_componentStack_2238 = - void 0 === JSCompiler_object_inline_componentStack_2238 + (JSCompiler_object_inline_message_2259.stack = + JSCompiler_object_inline_stack_2261 || ""), + (JSCompiler_object_inline_message_2259.digest = + JSCompiler_object_inline_digest_2260), + (JSCompiler_object_inline_componentStack_2262 = + void 0 === JSCompiler_object_inline_componentStack_2262 ? null - : JSCompiler_object_inline_componentStack_2238), - "string" === typeof JSCompiler_object_inline_componentStack_2238 && + : JSCompiler_object_inline_componentStack_2262), + "string" === typeof JSCompiler_object_inline_componentStack_2262 && CapturedStacks.set( - JSCompiler_object_inline_message_2235, - JSCompiler_object_inline_componentStack_2238 + JSCompiler_object_inline_message_2259, + JSCompiler_object_inline_componentStack_2262 ), queueHydrationError({ - value: JSCompiler_object_inline_message_2235, + value: JSCompiler_object_inline_message_2259, source: null, - stack: JSCompiler_object_inline_componentStack_2238 + stack: JSCompiler_object_inline_componentStack_2262 })); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9081,25 +9119,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2238 = + (JSCompiler_object_inline_componentStack_2262 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2238) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2262) ) { - JSCompiler_object_inline_componentStack_2238 = workInProgressRoot; - if (null !== JSCompiler_object_inline_componentStack_2238) { - JSCompiler_object_inline_stack_2237 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2237 & 42)) - JSCompiler_object_inline_stack_2237 = 1; + JSCompiler_object_inline_componentStack_2262 = workInProgressRoot; + if (null !== JSCompiler_object_inline_componentStack_2262) { + JSCompiler_object_inline_stack_2261 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2261 & 42)) + JSCompiler_object_inline_stack_2261 = 1; else - switch (JSCompiler_object_inline_stack_2237) { + switch (JSCompiler_object_inline_stack_2261) { case 2: - JSCompiler_object_inline_stack_2237 = 1; + JSCompiler_object_inline_stack_2261 = 1; break; case 8: - JSCompiler_object_inline_stack_2237 = 4; + JSCompiler_object_inline_stack_2261 = 4; break; case 32: - JSCompiler_object_inline_stack_2237 = 16; + JSCompiler_object_inline_stack_2261 = 16; break; case 128: case 256: @@ -9120,40 +9158,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2237 = 64; + JSCompiler_object_inline_stack_2261 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2237 = 134217728; + JSCompiler_object_inline_stack_2261 = 134217728; break; default: - JSCompiler_object_inline_stack_2237 = 0; + JSCompiler_object_inline_stack_2261 = 0; } - JSCompiler_object_inline_stack_2237 = + JSCompiler_object_inline_stack_2261 = 0 !== - (JSCompiler_object_inline_stack_2237 & - (JSCompiler_object_inline_componentStack_2238.suspendedLanes | + (JSCompiler_object_inline_stack_2261 & + (JSCompiler_object_inline_componentStack_2262.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2237; + : JSCompiler_object_inline_stack_2261; if ( - 0 !== JSCompiler_object_inline_stack_2237 && - JSCompiler_object_inline_stack_2237 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2261 && + JSCompiler_object_inline_stack_2261 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2237), + ((prevState.retryLane = JSCompiler_object_inline_stack_2261), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2237 + JSCompiler_object_inline_stack_2261 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2238, + JSCompiler_object_inline_componentStack_2262, current, - JSCompiler_object_inline_stack_2237 + JSCompiler_object_inline_stack_2261 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_digest_2236.data === + JSCompiler_object_inline_digest_2260.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9161,7 +9199,7 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2236.data === + JSCompiler_object_inline_digest_2260.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9169,12 +9207,12 @@ null, current )), - (JSCompiler_object_inline_digest_2236._reactRetry = + (JSCompiler_object_inline_digest_2260._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2236.nextSibling + JSCompiler_object_inline_digest_2260.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9192,54 +9230,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2237.children + JSCompiler_object_inline_stack_2261.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2235) + if (JSCompiler_object_inline_message_2259) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2235 = - JSCompiler_object_inline_stack_2237.fallback), - (JSCompiler_object_inline_digest_2236 = workInProgress.mode), + (JSCompiler_object_inline_message_2259 = + JSCompiler_object_inline_stack_2261.fallback), + (JSCompiler_object_inline_digest_2260 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2237 = createWorkInProgress( + (JSCompiler_object_inline_stack_2261 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2237.children + children: JSCompiler_object_inline_stack_2261.children } )), - (JSCompiler_object_inline_stack_2237.subtreeFlags = + (JSCompiler_object_inline_stack_2261.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_message_2235 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2259 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2235 + JSCompiler_object_inline_message_2259 )) - : ((JSCompiler_object_inline_message_2235 = createFiberFromFragment( - JSCompiler_object_inline_message_2235, - JSCompiler_object_inline_digest_2236, + : ((JSCompiler_object_inline_message_2259 = createFiberFromFragment( + JSCompiler_object_inline_message_2259, + JSCompiler_object_inline_digest_2260, renderLanes, null )), - (JSCompiler_object_inline_message_2235.flags |= 2)), - (JSCompiler_object_inline_message_2235.return = workInProgress), - (JSCompiler_object_inline_stack_2237.return = workInProgress), - (JSCompiler_object_inline_stack_2237.sibling = - JSCompiler_object_inline_message_2235), - (workInProgress.child = JSCompiler_object_inline_stack_2237), - (JSCompiler_object_inline_stack_2237 = - JSCompiler_object_inline_message_2235), - (JSCompiler_object_inline_message_2235 = workInProgress.child), - (JSCompiler_object_inline_digest_2236 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2236 - ? (JSCompiler_object_inline_digest_2236 = + (JSCompiler_object_inline_message_2259.flags |= 2)), + (JSCompiler_object_inline_message_2259.return = workInProgress), + (JSCompiler_object_inline_stack_2261.return = workInProgress), + (JSCompiler_object_inline_stack_2261.sibling = + JSCompiler_object_inline_message_2259), + (workInProgress.child = JSCompiler_object_inline_stack_2261), + (JSCompiler_object_inline_stack_2261 = + JSCompiler_object_inline_message_2259), + (JSCompiler_object_inline_message_2259 = workInProgress.child), + (JSCompiler_object_inline_digest_2260 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2260 + ? (JSCompiler_object_inline_digest_2260 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2236.cachePool), + JSCompiler_object_inline_digest_2260.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9247,38 +9285,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2236 = { + (JSCompiler_object_inline_digest_2260 = { baseLanes: - JSCompiler_object_inline_digest_2236.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2260.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2235.memoizedState = - JSCompiler_object_inline_digest_2236), - (JSCompiler_object_inline_message_2235.childLanes = + (JSCompiler_object_inline_message_2259.memoizedState = + JSCompiler_object_inline_digest_2260), + (JSCompiler_object_inline_message_2259.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2238, + JSCompiler_object_inline_componentStack_2262, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2237 + JSCompiler_object_inline_stack_2261 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2237.children + children: JSCompiler_object_inline_stack_2261.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2238 = + ((JSCompiler_object_inline_componentStack_2262 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2238 + null === JSCompiler_object_inline_componentStack_2262 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2238.push(current)); + : JSCompiler_object_inline_componentStack_2262.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -14927,18 +14965,94 @@ workInProgress = null; } } + function finalizeRender(lanes, finalizationTime) { + if (0 !== (lanes & 3) || 0 !== (lanes & 60)) + 0 <= blockingUpdateTime && + blockingUpdateTime < finalizationTime && + (blockingUpdateTime = finalizationTime), + 0 <= blockingEventTime && + blockingEventTime < finalizationTime && + (blockingEventTime = finalizationTime); + 0 !== (lanes & 4194176) && + (0 <= transitionStartTime && + transitionStartTime < finalizationTime && + (transitionStartTime = finalizationTime), + 0 <= transitionUpdateTime && + transitionUpdateTime < finalizationTime && + (transitionUpdateTime = finalizationTime), + 0 <= transitionEventTime && + transitionEventTime < finalizationTime && + (transitionEventTime = finalizationTime)); + } function prepareFreshStack(root, lanes) { + renderStartTime = now(); + finalizeRender(workInProgressRootRenderLanes, renderStartTime); + if (0 !== (lanes & 3) || 0 !== (lanes & 60)) { + var updateTime = blockingUpdateTime, + eventTime = blockingEventTime, + eventType = blockingEventType, + renderStartTime$jscomp$0 = renderStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.track = "Blocking"), + 0 < eventTime && + null !== eventType && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = eventTime), + (reusableComponentOptions.end = + 0 < updateTime ? updateTime : renderStartTime$jscomp$0), + performance.measure(eventType, reusableComponentOptions)), + 0 < updateTime && + ((reusableComponentDevToolDetails.color = "primary-light"), + (reusableComponentOptions.start = updateTime), + (reusableComponentOptions.end = renderStartTime$jscomp$0), + performance.measure("Blocked", reusableComponentOptions))); + blockingUpdateTime = -1.1; + } + if (0 !== (lanes & 4194176)) { + updateTime = transitionStartTime; + eventTime = transitionUpdateTime; + eventType = transitionEventTime; + renderStartTime$jscomp$0 = transitionEventType; + var renderStartTime$jscomp$1 = renderStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.track = "Transition"), + 0 < eventType && + null !== renderStartTime$jscomp$0 && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = eventType), + (reusableComponentOptions.end = + 0 < updateTime + ? updateTime + : 0 < eventTime + ? eventTime + : renderStartTime$jscomp$1), + performance.measure( + renderStartTime$jscomp$0, + reusableComponentOptions + )), + 0 < updateTime && + ((reusableComponentDevToolDetails.color = "primary-dark"), + (reusableComponentOptions.start = updateTime), + (reusableComponentOptions.end = + 0 < eventTime ? eventTime : renderStartTime$jscomp$1), + performance.measure("Action", reusableComponentOptions)), + 0 < eventTime && + ((reusableComponentDevToolDetails.color = "primary-light"), + (reusableComponentOptions.start = eventTime), + (reusableComponentOptions.end = renderStartTime$jscomp$1), + performance.measure("Blocked", reusableComponentOptions))); + transitionUpdateTime = transitionStartTime = -1.1; + } root.finishedWork = null; root.finishedLanes = 0; - var timeoutHandle = root.timeoutHandle; - timeoutHandle !== noTimeout && - ((root.timeoutHandle = noTimeout), cancelTimeout(timeoutHandle)); - timeoutHandle = root.cancelPendingCommit; - null !== timeoutHandle && - ((root.cancelPendingCommit = null), timeoutHandle()); + updateTime = root.timeoutHandle; + updateTime !== noTimeout && + ((root.timeoutHandle = noTimeout), cancelTimeout(updateTime)); + updateTime = root.cancelPendingCommit; + null !== updateTime && ((root.cancelPendingCommit = null), updateTime()); resetWorkInProgressStack(); workInProgressRoot = root; - workInProgress = timeoutHandle = createWorkInProgress(root.current, null); + workInProgress = updateTime = createWorkInProgress(root.current, null); workInProgressRootRenderLanes = lanes; workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; @@ -14955,22 +15069,17 @@ null; workInProgressRootDidIncludeRecursiveRenderUpdate = !1; 0 !== (lanes & 8) && (lanes |= lanes & 32); - var allEntangledLanes = root.entangledLanes; - if (0 !== allEntangledLanes) - for ( - root = root.entanglements, allEntangledLanes &= lanes; - 0 < allEntangledLanes; - - ) { - var index = 31 - clz32(allEntangledLanes), - lane = 1 << index; - lanes |= root[index]; - allEntangledLanes &= ~lane; - } + eventTime = root.entangledLanes; + if (0 !== eventTime) + for (root = root.entanglements, eventTime &= lanes; 0 < eventTime; ) + (eventType = 31 - clz32(eventTime)), + (renderStartTime$jscomp$0 = 1 << eventType), + (lanes |= root[eventType]), + (eventTime &= ~renderStartTime$jscomp$0); entangledRenderLanes = lanes; finishQueueingConcurrentUpdates(); ReactStrictModeWarnings.discardPendingWarnings(); - return timeoutHandle; + return updateTime; } function handleThrow(root, thrownValue) { currentlyRenderingFiber$1 = null; @@ -15581,12 +15690,12 @@ finishedWork++ ) (remainingLanes = recoverableErrors[finishedWork]), - (transitions = makeErrorInfo(remainingLanes.stack)), + (spawnedLane = makeErrorInfo(remainingLanes.stack)), runWithFiberInDEV( remainingLanes.source, renderPriorityLevel, remainingLanes.value, - transitions + spawnedLane ); 0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects(); remainingLanes = root.pendingLanes; @@ -15598,6 +15707,7 @@ ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); + transitions || finalizeRender(lanes, now$1()); flushSyncWorkAcrossRoots_impl(0, !1); return null; } @@ -15677,6 +15787,7 @@ ); commitDoubleInvokeEffectsInDEV(root$jscomp$0); executionContext = prevExecutionContext; + finalizeRender(lanes, now$1()); flushSyncWorkAcrossRoots_impl(0, !1); didScheduleUpdateDuringPassiveEffects ? root$jscomp$0 === rootWithPassiveNestedUpdates @@ -19248,6 +19359,14 @@ currentPopstateTransitionEvent = null; return !1; } + function resolveEventType() { + var event = window.event; + return event ? event.type : null; + } + function resolveEventTimeStamp() { + var event = window.event; + return event ? event.timeStamp : -1.1; + } function handleErrorInNextTick(error) { setTimeout(function () { throw error; @@ -20451,7 +20570,8 @@ (container.callback = callback)); element = enqueueUpdate(rootFiber, container, lane); null !== element && - (scheduleUpdateOnFiber(element, rootFiber, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(element, rootFiber, lane), entangleTransitions(element, rootFiber, lane)); } function markRetryLaneImpl(fiber, retryLane) { @@ -22337,6 +22457,20 @@ "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split( " " ), + supportsUserTiming = + "undefined" !== typeof performance && + "function" === typeof performance.measure, + reusableComponentDevToolDetails = { + dataType: "track-entry", + color: "primary", + track: "Blocking", + trackGroup: "Components \u269b" + }, + reusableComponentOptions = { + start: -0, + end: -0, + detail: { devtools: reusableComponentDevToolDetails } + }, OffscreenVisible = 1, OffscreenDetached = 2, OffscreenPassiveEffectsConnected = 4, @@ -22354,6 +22488,7 @@ StrictEffectsMode = 16, NoStrictPassiveEffectsMode = 64, now = Scheduler.unstable_now, + renderStartTime = -0, completeTime = -0, commitTime = -0, profilerStartTime = -1.1, @@ -22361,22 +22496,15 @@ componentEffectDuration = -0, componentEffectStartTime = -1.1, componentEffectEndTime = -1.1, + blockingUpdateTime = -1.1, + blockingEventTime = -1.1, + blockingEventType = null, + transitionStartTime = -1.1, + transitionUpdateTime = -1.1, + transitionEventTime = -1.1, + transitionEventType = null, currentUpdateIsNested = !1, nestedUpdateScheduled = !1, - supportsUserTiming = - "undefined" !== typeof performance && - "function" === typeof performance.measure, - reusableComponentDevToolDetails = { - dataType: "track-entry", - color: "primary", - track: "Blocking", - trackGroup: "Components \u269b" - }, - reusableComponentOptions = { - start: -0, - end: -0, - detail: { devtools: reusableComponentDevToolDetails } - }, ReactStrictModeWarnings = { recordUnsafeLifecycleWarnings: function () {}, flushPendingUnsafeLifecycleWarnings: function () {}, @@ -22832,7 +22960,12 @@ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && - entangleAsyncAction(transition, returnValue); + (0 > transitionStartTime && + 0 > transitionUpdateTime && + ((transitionStartTime = now()), + (transitionEventTime = resolveEventTimeStamp()), + (transitionEventType = resolveEventType())), + entangleAsyncAction(transition, returnValue)); null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue); }; @@ -23997,7 +24130,8 @@ (warnOnInvalidCallback(callback), (update.callback = callback)); payload = enqueueUpdate(inst, update, lane); null !== payload && - (scheduleUpdateOnFiber(payload, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueReplaceState: function (inst, payload, callback) { @@ -24011,7 +24145,8 @@ (warnOnInvalidCallback(callback), (update.callback = callback)); payload = enqueueUpdate(inst, update, lane); null !== payload && - (scheduleUpdateOnFiber(payload, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueForceUpdate: function (inst, callback) { @@ -24024,7 +24159,8 @@ (warnOnInvalidCallback(callback), (update.callback = callback)); callback = enqueueUpdate(inst, update, lane); null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); } }, @@ -24738,11 +24874,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-e4953922-20240919" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-e4953922-20240919\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24779,11 +24915,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-e4953922-20240919", + version: "19.0.0-experimental-5d19e1c8-20240923", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-e4953922-20240919" + reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -24925,7 +25061,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.0.0-experimental-e4953922-20240919"; + exports.version = "19.0.0-experimental-5d19e1c8-20240923"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js index 3206ea3c6bf8a..36aabe44a73cf 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js @@ -3602,8 +3602,8 @@ function entangleAsyncAction(transition, thenable) { } function pingEngtangledActionScope() { if ( - null !== currentEntangledListeners && - 0 === --currentEntangledPendingCount + 0 === --currentEntangledPendingCount && + null !== currentEntangledListeners ) { null !== currentEntangledActionThenable && (currentEntangledActionThenable.status = "fulfilled"); @@ -4555,14 +4555,26 @@ function startTransition(fiber, queue, pendingState, finishedState, callback) { returnValue, finishedState ); - dispatchSetState(fiber, queue, thenableForFinishedState); - } else dispatchSetState(fiber, queue, finishedState); + dispatchSetStateInternal( + fiber, + queue, + thenableForFinishedState, + requestUpdateLane(fiber) + ); + } else + dispatchSetStateInternal( + fiber, + queue, + finishedState, + requestUpdateLane(fiber) + ); } catch (error) { - dispatchSetState(fiber, queue, { - then: function () {}, - status: "rejected", - reason: error - }); + dispatchSetStateInternal( + fiber, + queue, + { then: function () {}, status: "rejected", reason: error }, + requestUpdateLane() + ); } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition); @@ -4622,7 +4634,7 @@ function ensureFormComponentIsStateful(formFiber) { } function requestFormReset$1(formFiber) { var resetStateQueue = ensureFormComponentIsStateful(formFiber).next.queue; - dispatchSetState(formFiber, resetStateQueue, {}); + dispatchSetStateInternal(formFiber, resetStateQueue, {}, requestUpdateLane()); } function useHostTransitionStatus() { return readContext(HostTransitionContext); @@ -4673,15 +4685,18 @@ function dispatchReducerAction(fiber, queue, action) { entangleTransitionUpdate(action, queue, lane))); } function dispatchSetState(fiber, queue, action) { - var lane = requestUpdateLane(), - update = { - lane: lane, - revertLane: 0, - action: action, - hasEagerState: !1, - eagerState: null, - next: null - }; + var lane = requestUpdateLane(); + dispatchSetStateInternal(fiber, queue, action, lane); +} +function dispatchSetStateInternal(fiber, queue, action, lane) { + var update = { + lane: lane, + revertLane: 0, + action: action, + hasEagerState: !1, + eagerState: null, + next: null + }; if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update); else { var alternate = fiber.alternate; @@ -4695,19 +4710,24 @@ function dispatchSetState(fiber, queue, action) { eagerState = alternate(currentState, action); update.hasEagerState = !0; update.eagerState = eagerState; - if (objectIs(eagerState, currentState)) { - enqueueUpdate$1(fiber, queue, update, 0); - null === workInProgressRoot && finishQueueingConcurrentUpdates(); - return; - } + if (objectIs(eagerState, currentState)) + return ( + enqueueUpdate$1(fiber, queue, update, 0), + null === workInProgressRoot && finishQueueingConcurrentUpdates(), + !1 + ); } catch (error) { } finally { } action = enqueueConcurrentHookUpdate(fiber, queue, update, lane); - null !== action && - (scheduleUpdateOnFiber(action, fiber, lane), - entangleTransitionUpdate(action, queue, lane)); + if (null !== action) + return ( + scheduleUpdateOnFiber(action, fiber, lane), + entangleTransitionUpdate(action, queue, lane), + !0 + ); } + return !1; } function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) { action = { @@ -15171,14 +15191,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1651 = React.version; if ( - "19.0.0-experimental-e4953922-20240919" !== + "19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion$jscomp$inline_1651 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1651, - "19.0.0-experimental-e4953922-20240919" + "19.0.0-experimental-5d19e1c8-20240923" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15200,11 +15220,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2111 = { bundleType: 0, - version: "19.0.0-experimental-e4953922-20240919", + version: "19.0.0-experimental-5d19e1c8-20240923", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-e4953922-20240919" + reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2112 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -15308,4 +15328,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.0.0-experimental-e4953922-20240919"; +exports.version = "19.0.0-experimental-5d19e1c8-20240923"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js index 8a5bae54b9870..31949e978046b 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js @@ -3766,6 +3766,22 @@ topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]); } + function logComponentEffect(fiber, startTime, endTime, selfTime) { + fiber = getComponentNameFromFiber(fiber); + null !== fiber && + supportsUserTiming && + ((reusableComponentDevToolDetails.color = + 1 > selfTime + ? "secondary-light" + : 100 > selfTime + ? "secondary" + : 500 > selfTime + ? "secondary-dark" + : "error"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure(fiber, reusableComponentOptions)); + } function finishQueueingConcurrentUpdates() { for ( var endIndex = concurrentQueuesIndex, @@ -3970,6 +3986,22 @@ staleFamilies ); } + function startUpdateTimerByLane(lane) { + var JSCompiler_temp; + (JSCompiler_temp = 0 !== (lane & 3)) || + (JSCompiler_temp = 0 !== (lane & 60)); + JSCompiler_temp + ? 0 > blockingUpdateTime && + ((blockingUpdateTime = now()), + (blockingEventTime = resolveEventTimeStamp()), + (blockingEventType = resolveEventType())) + : 0 !== (lane & 4194176) && + 0 > transitionUpdateTime && + ((transitionUpdateTime = now()), + 0 > transitionStartTime && + ((transitionEventTime = resolveEventTimeStamp()), + (transitionEventType = resolveEventType()))); + } function pushNestedEffectDurations() { var prevEffectDuration = profilerEffectDuration; profilerEffectDuration = 0; @@ -4038,22 +4070,6 @@ for (var child = fiber.child; child; ) (fiber.actualDuration += child.actualDuration), (child = child.sibling); } - function logComponentEffect(fiber, startTime, endTime, selfTime) { - fiber = getComponentNameFromFiber(fiber); - null !== fiber && - supportsUserTiming && - ((reusableComponentDevToolDetails.color = - 1 > selfTime - ? "secondary-light" - : 100 > selfTime - ? "secondary" - : 500 > selfTime - ? "secondary-dark" - : "error"), - (reusableComponentOptions.start = startTime), - (reusableComponentOptions.end = endTime), - performance.measure(fiber, reusableComponentOptions)); - } function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var stack = CapturedStacks.get(value); @@ -5704,8 +5720,9 @@ } function pingEngtangledActionScope() { if ( - null !== currentEntangledListeners && - 0 === --currentEntangledPendingCount + 0 === --currentEntangledPendingCount && + (-1 < transitionUpdateTime || (transitionStartTime = -1.1), + null !== currentEntangledListeners) ) { null !== currentEntangledActionThenable && (currentEntangledActionThenable.status = "fulfilled"); @@ -7073,14 +7090,26 @@ returnValue, finishedState ); - dispatchSetState(fiber, queue, thenableForFinishedState); - } else dispatchSetState(fiber, queue, finishedState); + dispatchSetStateInternal( + fiber, + queue, + thenableForFinishedState, + requestUpdateLane(fiber) + ); + } else + dispatchSetStateInternal( + fiber, + queue, + finishedState, + requestUpdateLane(fiber) + ); } catch (error) { - dispatchSetState(fiber, queue, { - then: function () {}, - status: "rejected", - reason: error - }); + dispatchSetStateInternal( + fiber, + queue, + { then: function () {}, status: "rejected", reason: error }, + requestUpdateLane(fiber) + ); } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition), @@ -7154,7 +7183,12 @@ "requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition." ); var resetStateQueue = ensureFormComponentIsStateful(formFiber).next.queue; - dispatchSetState(formFiber, resetStateQueue, {}); + dispatchSetStateInternal( + formFiber, + resetStateQueue, + {}, + requestUpdateLane(formFiber) + ); } function mountTransition() { var stateHook = mountStateImpl(!1); @@ -7226,7 +7260,8 @@ fiber = createUpdate(lane); var root = enqueueUpdate(provider, fiber, lane); null !== root && - (scheduleUpdateOnFiber(root, provider, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(root, provider, lane), entangleTransitions(root, provider, lane)); provider = createCache(); null !== seedKey && @@ -7267,7 +7302,8 @@ JSCompiler_OptimizeArgumentsArray_p0 )), null !== action && - (scheduleUpdateOnFiber( + (startUpdateTimerByLane(JSCompiler_OptimizeArgumentsArray_p0), + scheduleUpdateOnFiber( action, fiber, JSCompiler_OptimizeArgumentsArray_p0 @@ -7289,8 +7325,16 @@ "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()." ); JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber); + dispatchSetStateInternal( + fiber, + queue, + action, + JSCompiler_OptimizeArgumentsArray_p1 + ) && startUpdateTimerByLane(JSCompiler_OptimizeArgumentsArray_p1); + } + function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { - lane: JSCompiler_OptimizeArgumentsArray_p1, + lane: lane, revertLane: 0, action: action, hasEagerState: !1, @@ -7312,34 +7356,27 @@ eagerState = alternate(currentState, action); update.hasEagerState = !0; update.eagerState = eagerState; - if (objectIs(eagerState, currentState)) { - enqueueUpdate$1(fiber, queue, update, 0); - null === workInProgressRoot && finishQueueingConcurrentUpdates(); - return; - } + if (objectIs(eagerState, currentState)) + return ( + enqueueUpdate$1(fiber, queue, update, 0), + null === workInProgressRoot && + finishQueueingConcurrentUpdates(), + !1 + ); } catch (error) { } finally { ReactSharedInternals.H = prevDispatcher; } } - action = enqueueConcurrentHookUpdate( - fiber, - queue, - update, - JSCompiler_OptimizeArgumentsArray_p1 - ); - null !== action && - (scheduleUpdateOnFiber( - action, - fiber, - JSCompiler_OptimizeArgumentsArray_p1 - ), - entangleTransitionUpdate( - action, - queue, - JSCompiler_OptimizeArgumentsArray_p1 - )); + action = enqueueConcurrentHookUpdate(fiber, queue, update, lane); + if (null !== action) + return ( + scheduleUpdateOnFiber(action, fiber, lane), + entangleTransitionUpdate(action, queue, lane), + !0 + ); } + return !1; } function dispatchOptimisticSetState( fiber, @@ -7372,7 +7409,8 @@ 2 )), null !== throwIfDuringRender && - scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); + (startUpdateTimerByLane(2), + scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2)); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; @@ -8822,33 +8860,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2243; - var JSCompiler_object_inline_stack_2242 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2267; + var JSCompiler_object_inline_stack_2266 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2240 = !1; + var JSCompiler_object_inline_message_2264 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2243 = didSuspend) || - (JSCompiler_object_inline_componentStack_2243 = + (JSCompiler_object_inline_componentStack_2267 = didSuspend) || + (JSCompiler_object_inline_componentStack_2267 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2243 && - ((JSCompiler_object_inline_message_2240 = !0), + JSCompiler_object_inline_componentStack_2267 && + ((JSCompiler_object_inline_message_2264 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2243 = + JSCompiler_object_inline_componentStack_2267 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2240 + JSCompiler_object_inline_message_2264 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2241 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2265 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2241)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2265)) { c: { - var instance = JSCompiler_object_inline_digest_2241; + var instance = JSCompiler_object_inline_digest_2265; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8889,19 +8927,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2241 + JSCompiler_object_inline_digest_2265 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2241 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2265 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2241 && - ((JSCompiler_object_inline_digest_2241 = - JSCompiler_object_inline_digest_2241.dehydrated), - null !== JSCompiler_object_inline_digest_2241) + null !== JSCompiler_object_inline_digest_2265 && + ((JSCompiler_object_inline_digest_2265 = + JSCompiler_object_inline_digest_2265.dehydrated), + null !== JSCompiler_object_inline_digest_2265) ) return ( - JSCompiler_object_inline_digest_2241.data === + JSCompiler_object_inline_digest_2265.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8909,68 +8947,68 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2241 = - JSCompiler_object_inline_stack_2242.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2242.fallback; - if (JSCompiler_object_inline_message_2240) + JSCompiler_object_inline_digest_2265 = + JSCompiler_object_inline_stack_2266.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2266.fallback; + if (JSCompiler_object_inline_message_2264) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2242 = + (JSCompiler_object_inline_stack_2266 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2241, + JSCompiler_object_inline_digest_2265, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2240 = workInProgress.child), - (JSCompiler_object_inline_message_2240.memoizedState = + (JSCompiler_object_inline_message_2264 = workInProgress.child), + (JSCompiler_object_inline_message_2264.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2240.childLanes = + (JSCompiler_object_inline_message_2264.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2243, + JSCompiler_object_inline_componentStack_2267, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2242 + JSCompiler_object_inline_stack_2266 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2242.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2266.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2242 = + (JSCompiler_object_inline_stack_2266 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2241, + JSCompiler_object_inline_digest_2265, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2240 = workInProgress.child), - (JSCompiler_object_inline_message_2240.memoizedState = + (JSCompiler_object_inline_message_2264 = workInProgress.child), + (JSCompiler_object_inline_message_2264.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2240.childLanes = + (JSCompiler_object_inline_message_2264.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2243, + JSCompiler_object_inline_componentStack_2267, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2242 + JSCompiler_object_inline_stack_2266 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2241 + JSCompiler_object_inline_digest_2265 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2241 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2241) + ((JSCompiler_object_inline_digest_2265 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2265) ) { if (didSuspend) workInProgress.flags & 256 @@ -8987,94 +9025,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2240 = - JSCompiler_object_inline_stack_2242.fallback), - (JSCompiler_object_inline_digest_2241 = workInProgress.mode), - (JSCompiler_object_inline_stack_2242 = + (JSCompiler_object_inline_message_2264 = + JSCompiler_object_inline_stack_2266.fallback), + (JSCompiler_object_inline_digest_2265 = workInProgress.mode), + (JSCompiler_object_inline_stack_2266 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2242.children + children: JSCompiler_object_inline_stack_2266.children }, - JSCompiler_object_inline_digest_2241 + JSCompiler_object_inline_digest_2265 )), - (JSCompiler_object_inline_message_2240 = + (JSCompiler_object_inline_message_2264 = createFiberFromFragment( - JSCompiler_object_inline_message_2240, - JSCompiler_object_inline_digest_2241, + JSCompiler_object_inline_message_2264, + JSCompiler_object_inline_digest_2265, renderLanes, null )), - (JSCompiler_object_inline_message_2240.flags |= 2), - (JSCompiler_object_inline_stack_2242.return = workInProgress), - (JSCompiler_object_inline_message_2240.return = workInProgress), - (JSCompiler_object_inline_stack_2242.sibling = - JSCompiler_object_inline_message_2240), - (workInProgress.child = JSCompiler_object_inline_stack_2242), + (JSCompiler_object_inline_message_2264.flags |= 2), + (JSCompiler_object_inline_stack_2266.return = workInProgress), + (JSCompiler_object_inline_message_2264.return = workInProgress), + (JSCompiler_object_inline_stack_2266.sibling = + JSCompiler_object_inline_message_2264), + (workInProgress.child = JSCompiler_object_inline_stack_2266), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2242 = workInProgress.child), - (JSCompiler_object_inline_stack_2242.memoizedState = + (JSCompiler_object_inline_stack_2266 = workInProgress.child), + (JSCompiler_object_inline_stack_2266.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2242.childLanes = + (JSCompiler_object_inline_stack_2266.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2243, + JSCompiler_object_inline_componentStack_2267, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2240)); + (workInProgress = JSCompiler_object_inline_message_2264)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_digest_2241.data === + JSCompiler_object_inline_digest_2265.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_componentStack_2243 = - JSCompiler_object_inline_digest_2241.nextSibling && - JSCompiler_object_inline_digest_2241.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2243) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2243.dgst; - var message = JSCompiler_object_inline_componentStack_2243.msg; - instance = JSCompiler_object_inline_componentStack_2243.stck; + JSCompiler_object_inline_componentStack_2267 = + JSCompiler_object_inline_digest_2265.nextSibling && + JSCompiler_object_inline_digest_2265.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2267) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2267.dgst; + var message = JSCompiler_object_inline_componentStack_2267.msg; + instance = JSCompiler_object_inline_componentStack_2267.stck; var componentStack = - JSCompiler_object_inline_componentStack_2243.cstck; + JSCompiler_object_inline_componentStack_2267.cstck; } - JSCompiler_object_inline_message_2240 = message; - JSCompiler_object_inline_digest_2241 = JSCompiler_temp; - JSCompiler_object_inline_stack_2242 = instance; - JSCompiler_object_inline_componentStack_2243 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2241 && - ((JSCompiler_object_inline_message_2240 = - JSCompiler_object_inline_message_2240 - ? Error(JSCompiler_object_inline_message_2240) + JSCompiler_object_inline_message_2264 = message; + JSCompiler_object_inline_digest_2265 = JSCompiler_temp; + JSCompiler_object_inline_stack_2266 = instance; + JSCompiler_object_inline_componentStack_2267 = componentStack; + "POSTPONE" !== JSCompiler_object_inline_digest_2265 && + ((JSCompiler_object_inline_message_2264 = + JSCompiler_object_inline_message_2264 + ? Error(JSCompiler_object_inline_message_2264) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_message_2240.stack = - JSCompiler_object_inline_stack_2242 || ""), - (JSCompiler_object_inline_message_2240.digest = - JSCompiler_object_inline_digest_2241), - (JSCompiler_object_inline_componentStack_2243 = - void 0 === JSCompiler_object_inline_componentStack_2243 + (JSCompiler_object_inline_message_2264.stack = + JSCompiler_object_inline_stack_2266 || ""), + (JSCompiler_object_inline_message_2264.digest = + JSCompiler_object_inline_digest_2265), + (JSCompiler_object_inline_componentStack_2267 = + void 0 === JSCompiler_object_inline_componentStack_2267 ? null - : JSCompiler_object_inline_componentStack_2243), - "string" === typeof JSCompiler_object_inline_componentStack_2243 && + : JSCompiler_object_inline_componentStack_2267), + "string" === typeof JSCompiler_object_inline_componentStack_2267 && CapturedStacks.set( - JSCompiler_object_inline_message_2240, - JSCompiler_object_inline_componentStack_2243 + JSCompiler_object_inline_message_2264, + JSCompiler_object_inline_componentStack_2267 ), queueHydrationError({ - value: JSCompiler_object_inline_message_2240, + value: JSCompiler_object_inline_message_2264, source: null, - stack: JSCompiler_object_inline_componentStack_2243 + stack: JSCompiler_object_inline_componentStack_2267 })); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9089,25 +9127,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2243 = + (JSCompiler_object_inline_componentStack_2267 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2243) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2267) ) { - JSCompiler_object_inline_componentStack_2243 = workInProgressRoot; - if (null !== JSCompiler_object_inline_componentStack_2243) { - JSCompiler_object_inline_stack_2242 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2242 & 42)) - JSCompiler_object_inline_stack_2242 = 1; + JSCompiler_object_inline_componentStack_2267 = workInProgressRoot; + if (null !== JSCompiler_object_inline_componentStack_2267) { + JSCompiler_object_inline_stack_2266 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2266 & 42)) + JSCompiler_object_inline_stack_2266 = 1; else - switch (JSCompiler_object_inline_stack_2242) { + switch (JSCompiler_object_inline_stack_2266) { case 2: - JSCompiler_object_inline_stack_2242 = 1; + JSCompiler_object_inline_stack_2266 = 1; break; case 8: - JSCompiler_object_inline_stack_2242 = 4; + JSCompiler_object_inline_stack_2266 = 4; break; case 32: - JSCompiler_object_inline_stack_2242 = 16; + JSCompiler_object_inline_stack_2266 = 16; break; case 128: case 256: @@ -9128,40 +9166,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2242 = 64; + JSCompiler_object_inline_stack_2266 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2242 = 134217728; + JSCompiler_object_inline_stack_2266 = 134217728; break; default: - JSCompiler_object_inline_stack_2242 = 0; + JSCompiler_object_inline_stack_2266 = 0; } - JSCompiler_object_inline_stack_2242 = + JSCompiler_object_inline_stack_2266 = 0 !== - (JSCompiler_object_inline_stack_2242 & - (JSCompiler_object_inline_componentStack_2243.suspendedLanes | + (JSCompiler_object_inline_stack_2266 & + (JSCompiler_object_inline_componentStack_2267.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2242; + : JSCompiler_object_inline_stack_2266; if ( - 0 !== JSCompiler_object_inline_stack_2242 && - JSCompiler_object_inline_stack_2242 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2266 && + JSCompiler_object_inline_stack_2266 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2242), + ((prevState.retryLane = JSCompiler_object_inline_stack_2266), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2242 + JSCompiler_object_inline_stack_2266 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2243, + JSCompiler_object_inline_componentStack_2267, current, - JSCompiler_object_inline_stack_2242 + JSCompiler_object_inline_stack_2266 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_digest_2241.data === + JSCompiler_object_inline_digest_2265.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9169,7 +9207,7 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2241.data === + JSCompiler_object_inline_digest_2265.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9177,12 +9215,12 @@ null, current )), - (JSCompiler_object_inline_digest_2241._reactRetry = + (JSCompiler_object_inline_digest_2265._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2241.nextSibling + JSCompiler_object_inline_digest_2265.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9200,54 +9238,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2242.children + JSCompiler_object_inline_stack_2266.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2240) + if (JSCompiler_object_inline_message_2264) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2240 = - JSCompiler_object_inline_stack_2242.fallback), - (JSCompiler_object_inline_digest_2241 = workInProgress.mode), + (JSCompiler_object_inline_message_2264 = + JSCompiler_object_inline_stack_2266.fallback), + (JSCompiler_object_inline_digest_2265 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2242 = createWorkInProgress( + (JSCompiler_object_inline_stack_2266 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2242.children + children: JSCompiler_object_inline_stack_2266.children } )), - (JSCompiler_object_inline_stack_2242.subtreeFlags = + (JSCompiler_object_inline_stack_2266.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_message_2240 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2264 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2240 + JSCompiler_object_inline_message_2264 )) - : ((JSCompiler_object_inline_message_2240 = createFiberFromFragment( - JSCompiler_object_inline_message_2240, - JSCompiler_object_inline_digest_2241, + : ((JSCompiler_object_inline_message_2264 = createFiberFromFragment( + JSCompiler_object_inline_message_2264, + JSCompiler_object_inline_digest_2265, renderLanes, null )), - (JSCompiler_object_inline_message_2240.flags |= 2)), - (JSCompiler_object_inline_message_2240.return = workInProgress), - (JSCompiler_object_inline_stack_2242.return = workInProgress), - (JSCompiler_object_inline_stack_2242.sibling = - JSCompiler_object_inline_message_2240), - (workInProgress.child = JSCompiler_object_inline_stack_2242), - (JSCompiler_object_inline_stack_2242 = - JSCompiler_object_inline_message_2240), - (JSCompiler_object_inline_message_2240 = workInProgress.child), - (JSCompiler_object_inline_digest_2241 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2241 - ? (JSCompiler_object_inline_digest_2241 = + (JSCompiler_object_inline_message_2264.flags |= 2)), + (JSCompiler_object_inline_message_2264.return = workInProgress), + (JSCompiler_object_inline_stack_2266.return = workInProgress), + (JSCompiler_object_inline_stack_2266.sibling = + JSCompiler_object_inline_message_2264), + (workInProgress.child = JSCompiler_object_inline_stack_2266), + (JSCompiler_object_inline_stack_2266 = + JSCompiler_object_inline_message_2264), + (JSCompiler_object_inline_message_2264 = workInProgress.child), + (JSCompiler_object_inline_digest_2265 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2265 + ? (JSCompiler_object_inline_digest_2265 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2241.cachePool), + JSCompiler_object_inline_digest_2265.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9255,38 +9293,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2241 = { + (JSCompiler_object_inline_digest_2265 = { baseLanes: - JSCompiler_object_inline_digest_2241.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2265.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2240.memoizedState = - JSCompiler_object_inline_digest_2241), - (JSCompiler_object_inline_message_2240.childLanes = + (JSCompiler_object_inline_message_2264.memoizedState = + JSCompiler_object_inline_digest_2265), + (JSCompiler_object_inline_message_2264.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2243, + JSCompiler_object_inline_componentStack_2267, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2242 + JSCompiler_object_inline_stack_2266 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2242.children + children: JSCompiler_object_inline_stack_2266.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2243 = + ((JSCompiler_object_inline_componentStack_2267 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2243 + null === JSCompiler_object_inline_componentStack_2267 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2243.push(current)); + : JSCompiler_object_inline_componentStack_2267.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -14939,18 +14977,94 @@ workInProgress = null; } } + function finalizeRender(lanes, finalizationTime) { + if (0 !== (lanes & 3) || 0 !== (lanes & 60)) + 0 <= blockingUpdateTime && + blockingUpdateTime < finalizationTime && + (blockingUpdateTime = finalizationTime), + 0 <= blockingEventTime && + blockingEventTime < finalizationTime && + (blockingEventTime = finalizationTime); + 0 !== (lanes & 4194176) && + (0 <= transitionStartTime && + transitionStartTime < finalizationTime && + (transitionStartTime = finalizationTime), + 0 <= transitionUpdateTime && + transitionUpdateTime < finalizationTime && + (transitionUpdateTime = finalizationTime), + 0 <= transitionEventTime && + transitionEventTime < finalizationTime && + (transitionEventTime = finalizationTime)); + } function prepareFreshStack(root, lanes) { + renderStartTime = now(); + finalizeRender(workInProgressRootRenderLanes, renderStartTime); + if (0 !== (lanes & 3) || 0 !== (lanes & 60)) { + var updateTime = blockingUpdateTime, + eventTime = blockingEventTime, + eventType = blockingEventType, + renderStartTime$jscomp$0 = renderStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.track = "Blocking"), + 0 < eventTime && + null !== eventType && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = eventTime), + (reusableComponentOptions.end = + 0 < updateTime ? updateTime : renderStartTime$jscomp$0), + performance.measure(eventType, reusableComponentOptions)), + 0 < updateTime && + ((reusableComponentDevToolDetails.color = "primary-light"), + (reusableComponentOptions.start = updateTime), + (reusableComponentOptions.end = renderStartTime$jscomp$0), + performance.measure("Blocked", reusableComponentOptions))); + blockingUpdateTime = -1.1; + } + if (0 !== (lanes & 4194176)) { + updateTime = transitionStartTime; + eventTime = transitionUpdateTime; + eventType = transitionEventTime; + renderStartTime$jscomp$0 = transitionEventType; + var renderStartTime$jscomp$1 = renderStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.track = "Transition"), + 0 < eventType && + null !== renderStartTime$jscomp$0 && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = eventType), + (reusableComponentOptions.end = + 0 < updateTime + ? updateTime + : 0 < eventTime + ? eventTime + : renderStartTime$jscomp$1), + performance.measure( + renderStartTime$jscomp$0, + reusableComponentOptions + )), + 0 < updateTime && + ((reusableComponentDevToolDetails.color = "primary-dark"), + (reusableComponentOptions.start = updateTime), + (reusableComponentOptions.end = + 0 < eventTime ? eventTime : renderStartTime$jscomp$1), + performance.measure("Action", reusableComponentOptions)), + 0 < eventTime && + ((reusableComponentDevToolDetails.color = "primary-light"), + (reusableComponentOptions.start = eventTime), + (reusableComponentOptions.end = renderStartTime$jscomp$1), + performance.measure("Blocked", reusableComponentOptions))); + transitionUpdateTime = transitionStartTime = -1.1; + } root.finishedWork = null; root.finishedLanes = 0; - var timeoutHandle = root.timeoutHandle; - timeoutHandle !== noTimeout && - ((root.timeoutHandle = noTimeout), cancelTimeout(timeoutHandle)); - timeoutHandle = root.cancelPendingCommit; - null !== timeoutHandle && - ((root.cancelPendingCommit = null), timeoutHandle()); + updateTime = root.timeoutHandle; + updateTime !== noTimeout && + ((root.timeoutHandle = noTimeout), cancelTimeout(updateTime)); + updateTime = root.cancelPendingCommit; + null !== updateTime && ((root.cancelPendingCommit = null), updateTime()); resetWorkInProgressStack(); workInProgressRoot = root; - workInProgress = timeoutHandle = createWorkInProgress(root.current, null); + workInProgress = updateTime = createWorkInProgress(root.current, null); workInProgressRootRenderLanes = lanes; workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; @@ -14967,22 +15081,17 @@ null; workInProgressRootDidIncludeRecursiveRenderUpdate = !1; 0 !== (lanes & 8) && (lanes |= lanes & 32); - var allEntangledLanes = root.entangledLanes; - if (0 !== allEntangledLanes) - for ( - root = root.entanglements, allEntangledLanes &= lanes; - 0 < allEntangledLanes; - - ) { - var index = 31 - clz32(allEntangledLanes), - lane = 1 << index; - lanes |= root[index]; - allEntangledLanes &= ~lane; - } + eventTime = root.entangledLanes; + if (0 !== eventTime) + for (root = root.entanglements, eventTime &= lanes; 0 < eventTime; ) + (eventType = 31 - clz32(eventTime)), + (renderStartTime$jscomp$0 = 1 << eventType), + (lanes |= root[eventType]), + (eventTime &= ~renderStartTime$jscomp$0); entangledRenderLanes = lanes; finishQueueingConcurrentUpdates(); ReactStrictModeWarnings.discardPendingWarnings(); - return timeoutHandle; + return updateTime; } function handleThrow(root, thrownValue) { currentlyRenderingFiber$1 = null; @@ -15593,12 +15702,12 @@ finishedWork++ ) (remainingLanes = recoverableErrors[finishedWork]), - (transitions = makeErrorInfo(remainingLanes.stack)), + (spawnedLane = makeErrorInfo(remainingLanes.stack)), runWithFiberInDEV( remainingLanes.source, renderPriorityLevel, remainingLanes.value, - transitions + spawnedLane ); 0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects(); remainingLanes = root.pendingLanes; @@ -15610,6 +15719,7 @@ ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); + transitions || finalizeRender(lanes, now$1()); flushSyncWorkAcrossRoots_impl(0, !1); return null; } @@ -15689,6 +15799,7 @@ ); commitDoubleInvokeEffectsInDEV(root$jscomp$0); executionContext = prevExecutionContext; + finalizeRender(lanes, now$1()); flushSyncWorkAcrossRoots_impl(0, !1); didScheduleUpdateDuringPassiveEffects ? root$jscomp$0 === rootWithPassiveNestedUpdates @@ -19260,6 +19371,14 @@ currentPopstateTransitionEvent = null; return !1; } + function resolveEventType() { + var event = window.event; + return event ? event.type : null; + } + function resolveEventTimeStamp() { + var event = window.event; + return event ? event.timeStamp : -1.1; + } function handleErrorInNextTick(error) { setTimeout(function () { throw error; @@ -20480,7 +20599,8 @@ (container.callback = callback)); element = enqueueUpdate(rootFiber, container, lane); null !== element && - (scheduleUpdateOnFiber(element, rootFiber, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(element, rootFiber, lane), entangleTransitions(element, rootFiber, lane)); } function markRetryLaneImpl(fiber, retryLane) { @@ -22394,6 +22514,20 @@ "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split( " " ), + supportsUserTiming = + "undefined" !== typeof performance && + "function" === typeof performance.measure, + reusableComponentDevToolDetails = { + dataType: "track-entry", + color: "primary", + track: "Blocking", + trackGroup: "Components \u269b" + }, + reusableComponentOptions = { + start: -0, + end: -0, + detail: { devtools: reusableComponentDevToolDetails } + }, OffscreenVisible = 1, OffscreenDetached = 2, OffscreenPassiveEffectsConnected = 4, @@ -22411,6 +22545,7 @@ StrictEffectsMode = 16, NoStrictPassiveEffectsMode = 64, now = Scheduler.unstable_now, + renderStartTime = -0, completeTime = -0, commitTime = -0, profilerStartTime = -1.1, @@ -22418,22 +22553,15 @@ componentEffectDuration = -0, componentEffectStartTime = -1.1, componentEffectEndTime = -1.1, + blockingUpdateTime = -1.1, + blockingEventTime = -1.1, + blockingEventType = null, + transitionStartTime = -1.1, + transitionUpdateTime = -1.1, + transitionEventTime = -1.1, + transitionEventType = null, currentUpdateIsNested = !1, nestedUpdateScheduled = !1, - supportsUserTiming = - "undefined" !== typeof performance && - "function" === typeof performance.measure, - reusableComponentDevToolDetails = { - dataType: "track-entry", - color: "primary", - track: "Blocking", - trackGroup: "Components \u269b" - }, - reusableComponentOptions = { - start: -0, - end: -0, - detail: { devtools: reusableComponentDevToolDetails } - }, ReactStrictModeWarnings = { recordUnsafeLifecycleWarnings: function () {}, flushPendingUnsafeLifecycleWarnings: function () {}, @@ -22889,7 +23017,12 @@ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && - entangleAsyncAction(transition, returnValue); + (0 > transitionStartTime && + 0 > transitionUpdateTime && + ((transitionStartTime = now()), + (transitionEventTime = resolveEventTimeStamp()), + (transitionEventType = resolveEventType())), + entangleAsyncAction(transition, returnValue)); null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue); }; @@ -24054,7 +24187,8 @@ (warnOnInvalidCallback(callback), (update.callback = callback)); payload = enqueueUpdate(inst, update, lane); null !== payload && - (scheduleUpdateOnFiber(payload, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueReplaceState: function (inst, payload, callback) { @@ -24068,7 +24202,8 @@ (warnOnInvalidCallback(callback), (update.callback = callback)); payload = enqueueUpdate(inst, update, lane); null !== payload && - (scheduleUpdateOnFiber(payload, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueForceUpdate: function (inst, callback) { @@ -24081,7 +24216,8 @@ (warnOnInvalidCallback(callback), (update.callback = callback)); callback = enqueueUpdate(inst, update, lane); null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); } }, @@ -24795,11 +24931,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-e4953922-20240919" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-e4953922-20240919\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24836,11 +24972,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-e4953922-20240919", + version: "19.0.0-experimental-5d19e1c8-20240923", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-e4953922-20240919" + reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25312,7 +25448,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-experimental-e4953922-20240919"; + exports.version = "19.0.0-experimental-5d19e1c8-20240923"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js index e2b4cafb03874..a502438334dff 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js @@ -2089,19 +2089,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) { } var isInputEventSupported = !1; if (canUseDOM) { - var JSCompiler_inline_result$jscomp$296; + var JSCompiler_inline_result$jscomp$297; if (canUseDOM) { - var isSupported$jscomp$inline_432 = "oninput" in document; - if (!isSupported$jscomp$inline_432) { - var element$jscomp$inline_433 = document.createElement("div"); - element$jscomp$inline_433.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_432 = - "function" === typeof element$jscomp$inline_433.oninput; + var isSupported$jscomp$inline_433 = "oninput" in document; + if (!isSupported$jscomp$inline_433) { + var element$jscomp$inline_434 = document.createElement("div"); + element$jscomp$inline_434.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_433 = + "function" === typeof element$jscomp$inline_434.oninput; } - JSCompiler_inline_result$jscomp$296 = isSupported$jscomp$inline_432; - } else JSCompiler_inline_result$jscomp$296 = !1; + JSCompiler_inline_result$jscomp$297 = isSupported$jscomp$inline_433; + } else JSCompiler_inline_result$jscomp$297 = !1; isInputEventSupported = - JSCompiler_inline_result$jscomp$296 && + JSCompiler_inline_result$jscomp$297 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { @@ -2439,6 +2439,36 @@ function registerSimpleEvent(domEventName, reactName) { topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]); } +var supportsUserTiming = + "undefined" !== typeof performance && + "function" === typeof performance.measure, + reusableComponentDevToolDetails = { + dataType: "track-entry", + color: "primary", + track: "Blocking", + trackGroup: "Components \u269b" + }, + reusableComponentOptions = { + start: -0, + end: -0, + detail: { devtools: reusableComponentDevToolDetails } + }; +function logComponentEffect(fiber, startTime, endTime, selfTime) { + fiber = getComponentNameFromFiber(fiber); + null !== fiber && + supportsUserTiming && + ((reusableComponentDevToolDetails.color = + 1 > selfTime + ? "secondary-light" + : 100 > selfTime + ? "secondary" + : 500 > selfTime + ? "secondary-dark" + : "error"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure(fiber, reusableComponentOptions)); +} var concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0; @@ -2518,13 +2548,36 @@ function getRootForUpdatedFiber(sourceFiber) { } var emptyContextObject = {}, now = Scheduler.unstable_now, + renderStartTime = -0, completeTime = -0, commitTime = -0, profilerStartTime = -1.1, profilerEffectDuration = -0, componentEffectDuration = -0, componentEffectStartTime = -1.1, - componentEffectEndTime = -1.1; + componentEffectEndTime = -1.1, + blockingUpdateTime = -1.1, + blockingEventTime = -1.1, + blockingEventType = null, + transitionStartTime = -1.1, + transitionUpdateTime = -1.1, + transitionEventTime = -1.1, + transitionEventType = null; +function startUpdateTimerByLane(lane) { + var JSCompiler_temp; + (JSCompiler_temp = 0 !== (lane & 3)) || (JSCompiler_temp = 0 !== (lane & 60)); + JSCompiler_temp + ? 0 > blockingUpdateTime && + ((blockingUpdateTime = now()), + (blockingEventTime = resolveEventTimeStamp()), + (blockingEventType = resolveEventType())) + : 0 !== (lane & 4194176) && + 0 > transitionUpdateTime && + ((transitionUpdateTime = now()), + 0 > transitionStartTime && + ((transitionEventTime = resolveEventTimeStamp()), + (transitionEventType = resolveEventType()))); +} function pushNestedEffectDurations() { var prevEffectDuration = profilerEffectDuration; profilerEffectDuration = 0; @@ -2593,36 +2646,6 @@ function transferActualDuration(fiber) { for (var child = fiber.child; child; ) (fiber.actualDuration += child.actualDuration), (child = child.sibling); } -var supportsUserTiming = - "undefined" !== typeof performance && - "function" === typeof performance.measure, - reusableComponentDevToolDetails = { - dataType: "track-entry", - color: "primary", - track: "Blocking", - trackGroup: "Components \u269b" - }, - reusableComponentOptions = { - start: -0, - end: -0, - detail: { devtools: reusableComponentDevToolDetails } - }; -function logComponentEffect(fiber, startTime, endTime, selfTime) { - fiber = getComponentNameFromFiber(fiber); - null !== fiber && - supportsUserTiming && - ((reusableComponentDevToolDetails.color = - 1 > selfTime - ? "secondary-light" - : 100 > selfTime - ? "secondary" - : 500 > selfTime - ? "secondary-dark" - : "error"), - (reusableComponentOptions.start = startTime), - (reusableComponentOptions.end = endTime), - performance.measure(fiber, reusableComponentOptions)); -} var CapturedStacks = new WeakMap(); function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { @@ -3816,8 +3839,9 @@ function entangleAsyncAction(transition, thenable) { } function pingEngtangledActionScope() { if ( - null !== currentEntangledListeners && - 0 === --currentEntangledPendingCount + 0 === --currentEntangledPendingCount && + (-1 < transitionUpdateTime || (transitionStartTime = -1.1), + null !== currentEntangledListeners) ) { null !== currentEntangledActionThenable && (currentEntangledActionThenable.status = "fulfilled"); @@ -3858,7 +3882,12 @@ ReactSharedInternals.S = function (transition, returnValue) { "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && - entangleAsyncAction(transition, returnValue); + (0 > transitionStartTime && + 0 > transitionUpdateTime && + ((transitionStartTime = now()), + (transitionEventTime = resolveEventTimeStamp()), + (transitionEventType = resolveEventType())), + entangleAsyncAction(transition, returnValue)); null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue); }; @@ -4769,14 +4798,26 @@ function startTransition(fiber, queue, pendingState, finishedState, callback) { returnValue, finishedState ); - dispatchSetState(fiber, queue, thenableForFinishedState); - } else dispatchSetState(fiber, queue, finishedState); + dispatchSetStateInternal( + fiber, + queue, + thenableForFinishedState, + requestUpdateLane(fiber) + ); + } else + dispatchSetStateInternal( + fiber, + queue, + finishedState, + requestUpdateLane(fiber) + ); } catch (error) { - dispatchSetState(fiber, queue, { - then: function () {}, - status: "rejected", - reason: error - }); + dispatchSetStateInternal( + fiber, + queue, + { then: function () {}, status: "rejected", reason: error }, + requestUpdateLane() + ); } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition); @@ -4836,7 +4877,7 @@ function ensureFormComponentIsStateful(formFiber) { } function requestFormReset$2(formFiber) { var resetStateQueue = ensureFormComponentIsStateful(formFiber).next.queue; - dispatchSetState(formFiber, resetStateQueue, {}); + dispatchSetStateInternal(formFiber, resetStateQueue, {}, requestUpdateLane()); } function useHostTransitionStatus() { return readContext(HostTransitionContext); @@ -4856,7 +4897,8 @@ function refreshCache(fiber, seedKey, seedValue) { fiber = createUpdate(lane); var root$66 = enqueueUpdate(provider, fiber, lane); null !== root$66 && - (scheduleUpdateOnFiber(root$66, provider, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(root$66, provider, lane), entangleTransitions(root$66, provider, lane)); provider = createCache(); null !== seedKey && @@ -4883,19 +4925,24 @@ function dispatchReducerAction(fiber, queue, action) { ? enqueueRenderPhaseUpdate(queue, action) : ((action = enqueueConcurrentHookUpdate(fiber, queue, action, lane)), null !== action && - (scheduleUpdateOnFiber(action, fiber, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(action, fiber, lane), entangleTransitionUpdate(action, queue, lane))); } function dispatchSetState(fiber, queue, action) { - var lane = requestUpdateLane(), - update = { - lane: lane, - revertLane: 0, - action: action, - hasEagerState: !1, - eagerState: null, - next: null - }; + var lane = requestUpdateLane(); + dispatchSetStateInternal(fiber, queue, action, lane) && + startUpdateTimerByLane(lane); +} +function dispatchSetStateInternal(fiber, queue, action, lane) { + var update = { + lane: lane, + revertLane: 0, + action: action, + hasEagerState: !1, + eagerState: null, + next: null + }; if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update); else { var alternate = fiber.alternate; @@ -4909,19 +4956,24 @@ function dispatchSetState(fiber, queue, action) { eagerState = alternate(currentState, action); update.hasEagerState = !0; update.eagerState = eagerState; - if (objectIs(eagerState, currentState)) { - enqueueUpdate$1(fiber, queue, update, 0); - null === workInProgressRoot && finishQueueingConcurrentUpdates(); - return; - } + if (objectIs(eagerState, currentState)) + return ( + enqueueUpdate$1(fiber, queue, update, 0), + null === workInProgressRoot && finishQueueingConcurrentUpdates(), + !1 + ); } catch (error) { } finally { } action = enqueueConcurrentHookUpdate(fiber, queue, update, lane); - null !== action && - (scheduleUpdateOnFiber(action, fiber, lane), - entangleTransitionUpdate(action, queue, lane)); + if (null !== action) + return ( + scheduleUpdateOnFiber(action, fiber, lane), + entangleTransitionUpdate(action, queue, lane), + !0 + ); } + return !1; } function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) { action = { @@ -4942,7 +4994,8 @@ function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) { 2 )), null !== throwIfDuringRender && - scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); + (startUpdateTimerByLane(2), + scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2)); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; @@ -5318,7 +5371,8 @@ var classComponentUpdater = { void 0 !== callback && null !== callback && (update.callback = callback); payload = enqueueUpdate(inst, update, lane); null !== payload && - (scheduleUpdateOnFiber(payload, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueReplaceState: function (inst, payload, callback) { @@ -5330,7 +5384,8 @@ var classComponentUpdater = { void 0 !== callback && null !== callback && (update.callback = callback); payload = enqueueUpdate(inst, update, lane); null !== payload && - (scheduleUpdateOnFiber(payload, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueForceUpdate: function (inst, callback) { @@ -5341,7 +5396,8 @@ var classComponentUpdater = { void 0 !== callback && null !== callback && (update.callback = callback); callback = enqueueUpdate(inst, update, lane); null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); } }; @@ -11347,18 +11403,93 @@ function resetWorkInProgressStack() { workInProgress = null; } } +function finalizeRender(lanes, finalizationTime) { + if (0 !== (lanes & 3) || 0 !== (lanes & 60)) + 0 <= blockingUpdateTime && + blockingUpdateTime < finalizationTime && + (blockingUpdateTime = finalizationTime), + 0 <= blockingEventTime && + blockingEventTime < finalizationTime && + (blockingEventTime = finalizationTime); + 0 !== (lanes & 4194176) && + (0 <= transitionStartTime && + transitionStartTime < finalizationTime && + (transitionStartTime = finalizationTime), + 0 <= transitionUpdateTime && + transitionUpdateTime < finalizationTime && + (transitionUpdateTime = finalizationTime), + 0 <= transitionEventTime && + transitionEventTime < finalizationTime && + (transitionEventTime = finalizationTime)); +} function prepareFreshStack(root, lanes) { + renderStartTime = now(); + finalizeRender(workInProgressRootRenderLanes, renderStartTime); + if (0 !== (lanes & 3) || 0 !== (lanes & 60)) { + var updateTime = blockingUpdateTime, + eventTime = blockingEventTime, + eventType = blockingEventType, + renderStartTime$jscomp$0 = renderStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.track = "Blocking"), + 0 < eventTime && + null !== eventType && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = eventTime), + (reusableComponentOptions.end = + 0 < updateTime ? updateTime : renderStartTime$jscomp$0), + performance.measure(eventType, reusableComponentOptions)), + 0 < updateTime && + ((reusableComponentDevToolDetails.color = "primary-light"), + (reusableComponentOptions.start = updateTime), + (reusableComponentOptions.end = renderStartTime$jscomp$0), + performance.measure("Blocked", reusableComponentOptions))); + blockingUpdateTime = -1.1; + } + if (0 !== (lanes & 4194176)) { + updateTime = transitionStartTime; + eventTime = transitionUpdateTime; + eventType = transitionEventTime; + renderStartTime$jscomp$0 = transitionEventType; + var renderStartTime$jscomp$1 = renderStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.track = "Transition"), + 0 < eventType && + null !== renderStartTime$jscomp$0 && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = eventType), + (reusableComponentOptions.end = + 0 < updateTime + ? updateTime + : 0 < eventTime + ? eventTime + : renderStartTime$jscomp$1), + performance.measure( + renderStartTime$jscomp$0, + reusableComponentOptions + )), + 0 < updateTime && + ((reusableComponentDevToolDetails.color = "primary-dark"), + (reusableComponentOptions.start = updateTime), + (reusableComponentOptions.end = + 0 < eventTime ? eventTime : renderStartTime$jscomp$1), + performance.measure("Action", reusableComponentOptions)), + 0 < eventTime && + ((reusableComponentDevToolDetails.color = "primary-light"), + (reusableComponentOptions.start = eventTime), + (reusableComponentOptions.end = renderStartTime$jscomp$1), + performance.measure("Blocked", reusableComponentOptions))); + transitionUpdateTime = transitionStartTime = -1.1; + } root.finishedWork = null; root.finishedLanes = 0; - var timeoutHandle = root.timeoutHandle; - -1 !== timeoutHandle && - ((root.timeoutHandle = -1), cancelTimeout(timeoutHandle)); - timeoutHandle = root.cancelPendingCommit; - null !== timeoutHandle && - ((root.cancelPendingCommit = null), timeoutHandle()); + updateTime = root.timeoutHandle; + -1 !== updateTime && ((root.timeoutHandle = -1), cancelTimeout(updateTime)); + updateTime = root.cancelPendingCommit; + null !== updateTime && ((root.cancelPendingCommit = null), updateTime()); resetWorkInProgressStack(); workInProgressRoot = root; - workInProgress = timeoutHandle = createWorkInProgress(root.current, null); + workInProgress = updateTime = createWorkInProgress(root.current, null); workInProgressRootRenderLanes = lanes; workInProgressSuspendedReason = 0; workInProgressThrownValue = null; @@ -11375,21 +11506,16 @@ function prepareFreshStack(root, lanes) { null; workInProgressRootDidIncludeRecursiveRenderUpdate = !1; 0 !== (lanes & 8) && (lanes |= lanes & 32); - var allEntangledLanes = root.entangledLanes; - if (0 !== allEntangledLanes) - for ( - root = root.entanglements, allEntangledLanes &= lanes; - 0 < allEntangledLanes; - - ) { - var index$4 = 31 - clz32(allEntangledLanes), - lane = 1 << index$4; - lanes |= root[index$4]; - allEntangledLanes &= ~lane; - } + eventTime = root.entangledLanes; + if (0 !== eventTime) + for (root = root.entanglements, eventTime &= lanes; 0 < eventTime; ) + (eventType = 31 - clz32(eventTime)), + (renderStartTime$jscomp$0 = 1 << eventType), + (lanes |= root[eventType]), + (eventTime &= ~renderStartTime$jscomp$0); entangledRenderLanes = lanes; finishQueueingConcurrentUpdates(); - return timeoutHandle; + return updateTime; } function handleThrow(root, thrownValue) { currentlyRenderingFiber$1 = null; @@ -11891,7 +12017,7 @@ function commitRootImpl( (ReactDOMSharedInternals.p = spawnedLane), (ReactSharedInternals.T = transitions)) : ((root.current = finishedWork), (commitTime = now())); - rootDoesHavePassiveEffects + (transitions = rootDoesHavePassiveEffects) ? ((rootDoesHavePassiveEffects = !1), (rootWithPendingPassiveEffects = root), (pendingPassiveEffectsLanes = lanes)) @@ -11921,6 +12047,7 @@ function commitRootImpl( ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); + transitions || finalizeRender(lanes, now$1()); flushSyncWorkAcrossRoots_impl(0, !1); return null; } @@ -11977,6 +12104,7 @@ function flushPassiveEffects() { completeTime ); executionContext = prevExecutionContext; + finalizeRender(lanes, now$1()); flushSyncWorkAcrossRoots_impl(0, !1); if ( injectedHook && @@ -12401,20 +12529,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1452 = 0; - i$jscomp$inline_1452 < simpleEventPluginEvents.length; - i$jscomp$inline_1452++ + var i$jscomp$inline_1476 = 0; + i$jscomp$inline_1476 < simpleEventPluginEvents.length; + i$jscomp$inline_1476++ ) { - var eventName$jscomp$inline_1453 = - simpleEventPluginEvents[i$jscomp$inline_1452], - domEventName$jscomp$inline_1454 = - eventName$jscomp$inline_1453.toLowerCase(), - capitalizedEvent$jscomp$inline_1455 = - eventName$jscomp$inline_1453[0].toUpperCase() + - eventName$jscomp$inline_1453.slice(1); + var eventName$jscomp$inline_1477 = + simpleEventPluginEvents[i$jscomp$inline_1476], + domEventName$jscomp$inline_1478 = + eventName$jscomp$inline_1477.toLowerCase(), + capitalizedEvent$jscomp$inline_1479 = + eventName$jscomp$inline_1477[0].toUpperCase() + + eventName$jscomp$inline_1477.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1454, - "on" + capitalizedEvent$jscomp$inline_1455 + domEventName$jscomp$inline_1478, + "on" + capitalizedEvent$jscomp$inline_1479 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -14165,6 +14293,14 @@ function shouldAttemptEagerTransition() { currentPopstateTransitionEvent = null; return !1; } +function resolveEventType() { + var event = window.event; + return event ? event.type : null; +} +function resolveEventTimeStamp() { + var event = window.event; + return event ? event.timeStamp : -1.1; +} var scheduleTimeout = "function" === typeof setTimeout ? setTimeout : void 0, cancelTimeout = "function" === typeof clearTimeout ? clearTimeout : void 0, localPromise = "function" === typeof Promise ? Promise : void 0, @@ -15250,7 +15386,8 @@ function updateContainerImpl( null !== callback && (container.callback = callback); element = enqueueUpdate(rootFiber, container, lane); null !== element && - (scheduleUpdateOnFiber(element, rootFiber, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(element, rootFiber, lane), entangleTransitions(element, rootFiber, lane)); } function markRetryLaneImpl(fiber, retryLane) { @@ -15871,16 +16008,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1699 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1723 = React.version; if ( - "19.0.0-experimental-e4953922-20240919" !== - isomorphicReactPackageVersion$jscomp$inline_1699 + "19.0.0-experimental-5d19e1c8-20240923" !== + isomorphicReactPackageVersion$jscomp$inline_1723 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1699, - "19.0.0-experimental-e4953922-20240919" + isomorphicReactPackageVersion$jscomp$inline_1723, + "19.0.0-experimental-5d19e1c8-20240923" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15900,25 +16037,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2124 = { +var internals$jscomp$inline_2148 = { bundleType: 0, - version: "19.0.0-experimental-e4953922-20240919", + version: "19.0.0-experimental-5d19e1c8-20240923", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-e4953922-20240919" + reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2125 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2149 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2125.isDisabled && - hook$jscomp$inline_2125.supportsFiber + !hook$jscomp$inline_2149.isDisabled && + hook$jscomp$inline_2149.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2125.inject( - internals$jscomp$inline_2124 + (rendererID = hook$jscomp$inline_2149.inject( + internals$jscomp$inline_2148 )), - (injectedHook = hook$jscomp$inline_2125); + (injectedHook = hook$jscomp$inline_2149); } catch (err) {} } function noop() {} @@ -16171,7 +16308,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-experimental-e4953922-20240919"; +exports.version = "19.0.0-experimental-5d19e1c8-20240923"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && 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 392a950251e01..c0b38c953bd05 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 @@ -6598,52 +6598,51 @@ if (6 === segment.status) return; segment.status = 3; } + var errorInfo = getThrownInfo(task.componentStack); if (null === boundary) { - if ( - ((boundary = {}), 2 !== request.status && request.status !== CLOSED) - ) { - var replay = task.replay; - if (null === replay) { + if (2 !== request.status && request.status !== CLOSED) { + boundary = task.replay; + if (null === boundary) { "object" === typeof error && null !== error && error.$$typeof === REACT_POSTPONE_TYPE - ? ((replay = request.trackedPostpones), - null !== replay && null !== segment - ? (logPostpone(request, error.message, boundary, null), - trackPostpone(request, replay, task, segment), + ? ((boundary = request.trackedPostpones), + null !== boundary && null !== segment + ? (logPostpone(request, error.message, errorInfo, null), + trackPostpone(request, boundary, task, segment), finishedTask(request, null, segment)) : ((task = Error( "The render was aborted with postpone when the shell is incomplete. Reason: " + error.message )), - logRecoverableError(request, task, boundary, null), - fatalError(request, task, boundary, null))) + logRecoverableError(request, task, errorInfo, null), + fatalError(request, task, errorInfo, null))) : null !== request.trackedPostpones && null !== segment - ? ((replay = request.trackedPostpones), - logRecoverableError(request, error, boundary, null), - trackPostpone(request, replay, task, segment), + ? ((boundary = request.trackedPostpones), + logRecoverableError(request, error, errorInfo, null), + trackPostpone(request, boundary, task, segment), finishedTask(request, null, segment)) - : (logRecoverableError(request, error, boundary, null), - fatalError(request, error, boundary, null)); + : (logRecoverableError(request, error, errorInfo, null), + fatalError(request, error, errorInfo, null)); return; } - replay.pendingTasks--; - 0 === replay.pendingTasks && - 0 < replay.nodes.length && + boundary.pendingTasks--; + 0 === boundary.pendingTasks && + 0 < boundary.nodes.length && ("object" === typeof error && null !== error && error.$$typeof === REACT_POSTPONE_TYPE - ? (logPostpone(request, error.message, boundary, null), + ? (logPostpone(request, error.message, errorInfo, null), (task = "POSTPONE")) - : (task = logRecoverableError(request, error, boundary, null)), + : (task = logRecoverableError(request, error, errorInfo, null)), abortRemainingReplayNodes( request, null, - replay.nodes, - replay.slots, + boundary.nodes, + boundary.slots, error, task, - boundary, + errorInfo, !0 )); request.pendingRootTasks--; @@ -6651,7 +6650,6 @@ } } else { boundary.pendingTasks--; - replay = getThrownInfo(task.componentStack); var _trackedPostpones2 = request.trackedPostpones; if (boundary.status !== CLIENT_RENDERED) { if (null !== _trackedPostpones2 && null !== segment) @@ -6659,8 +6657,8 @@ "object" === typeof error && null !== error && error.$$typeof === REACT_POSTPONE_TYPE - ? logPostpone(request, error.message, replay, null) - : logRecoverableError(request, error, replay, null), + ? logPostpone(request, error.message, errorInfo, null) + : logRecoverableError(request, error, errorInfo, null), trackPostpone(request, _trackedPostpones2, task, segment), boundary.fallbackAbortableTasks.forEach(function (fallbackTask) { return abortTask(fallbackTask, request, error); @@ -6674,7 +6672,7 @@ null !== error && error.$$typeof === REACT_POSTPONE_TYPE ) { - logPostpone(request, error.message, replay, null); + logPostpone(request, error.message, errorInfo, null); if (null !== request.trackedPostpones && null !== segment) { trackPostpone(request, request.trackedPostpones, task, segment); finishedTask(request, task.blockedBoundary, segment); @@ -6685,9 +6683,9 @@ return; } task = "POSTPONE"; - } else task = logRecoverableError(request, error, replay, null); + } else task = logRecoverableError(request, error, errorInfo, null); boundary.status = CLIENT_RENDERED; - encodeErrorForBoundary(boundary, task, error, replay, !0); + encodeErrorForBoundary(boundary, task, error, errorInfo, !0); untrackBoundary(request, boundary); boundary.parentFlushed && request.clientRenderedBoundaries.push(boundary); @@ -9290,5 +9288,5 @@ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-experimental-e4953922-20240919"; + exports.version = "19.0.0-experimental-5d19e1c8-20240923"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js index ceb6b4f50f79e..bb2264c70d295 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js @@ -2668,16 +2668,16 @@ function createRenderState(resumableState, generateStaticMarkup) { "\x3c/script>" ); bootstrapScriptContent = idPrefix + "P:"; - var JSCompiler_object_inline_segmentPrefix_1647 = idPrefix + "S:"; + var JSCompiler_object_inline_segmentPrefix_1646 = idPrefix + "S:"; idPrefix += "B:"; - var JSCompiler_object_inline_preconnects_1661 = new Set(), - JSCompiler_object_inline_fontPreloads_1662 = new Set(), - JSCompiler_object_inline_highImagePreloads_1663 = new Set(), - JSCompiler_object_inline_styles_1664 = new Map(), - JSCompiler_object_inline_bootstrapScripts_1665 = new Set(), - JSCompiler_object_inline_scripts_1666 = new Set(), - JSCompiler_object_inline_bulkPreloads_1667 = new Set(), - JSCompiler_object_inline_preloads_1668 = { + var JSCompiler_object_inline_preconnects_1660 = new Set(), + JSCompiler_object_inline_fontPreloads_1661 = new Set(), + JSCompiler_object_inline_highImagePreloads_1662 = new Set(), + JSCompiler_object_inline_styles_1663 = new Map(), + JSCompiler_object_inline_bootstrapScripts_1664 = new Set(), + JSCompiler_object_inline_scripts_1665 = new Set(), + JSCompiler_object_inline_bulkPreloads_1666 = new Set(), + JSCompiler_object_inline_preloads_1667 = { images: new Map(), stylesheets: new Map(), scripts: new Map(), @@ -2714,7 +2714,7 @@ function createRenderState(resumableState, generateStaticMarkup) { scriptConfig.moduleScriptResources[href] = null; scriptConfig = []; pushLinkImpl(scriptConfig, props); - JSCompiler_object_inline_bootstrapScripts_1665.add(scriptConfig); + JSCompiler_object_inline_bootstrapScripts_1664.add(scriptConfig); bootstrapChunks.push('