Repository: vercel/next.js
Pull request: [test] Activity has types and supports react-server

Backport of https://github.com/vercel/next.js/pull/78066 to 15.3.x

Changed files:
filename: package.json
patch: @@ -131,8 +131,8 @@
     "@types/jest": "29.5.5",
     "@types/node": "20.17.6",
     "@types/node-fetch": "2.6.1",
-    "@types/react": "19.0.8",
-    "@types/react-dom": "19.0.3",
+    "@types/react": "19.1.1",
+    "@types/react-dom": "19.1.2",
     "@types/relay-runtime": "14.1.13",
     "@types/string-hash": "1.1.1",
     "@types/trusted-types": "2.0.3",
@@ -288,8 +288,8 @@
       "@babel/parser": "7.22.5",
       "@babel/types": "7.22.5",
       "@babel/traverse": "7.22.5",
-      "@types/react": "19.0.8",
-      "@types/react-dom": "19.0.3",
+      "@types/react": "^19.1.1",
+      "@types/react-dom": "19.1.2",
       "jest-snapshot": "30.0.0-alpha.6",
       "react": "19.2.0-canary-3fbfb9ba-20250409",
       "react-dom": "19.2.0-canary-3fbfb9ba-20250409",

filename: pnpm-lock.yaml
patch: @@ -13,8 +13,8 @@ overrides:
   '@babel/parser': 7.22.5
   '@babel/types': 7.22.5
   '@babel/traverse': 7.22.5
-  '@types/react': 19.0.8
-  '@types/react-dom': 19.0.3
+  '@types/react': ^19.1.1
+  '@types/react-dom': 19.1.2
   jest-snapshot: 30.0.0-alpha.6
   react: 19.2.0-canary-3fbfb9ba-20250409
   react-dom: 19.2.0-canary-3fbfb9ba-20250409
@@ -71,7 +71,7 @@ importers:
         version: 11.11.0
       '@emotion/react':
         specifier: 11.11.1
-        version: 11.11.1(@types/react@19.0.8)(react@19.2.0-canary-3fbfb9ba-20250409)
+        version: 11.11.1(@types/react@19.1.1)(react@19.2.0-canary-3fbfb9ba-20250409)
       '@fullhuman/postcss-purgecss':
         specifier: 1.3.0
         version: 1.3.0
@@ -149,7 +149,7 @@ importers:
         version: 6.1.2(@jest/globals@29.7.0)(@types/jest@29.5.5)(jest@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0))(vitest@3.0.4(@types/node@20.17.6)(sass@1.54.0)(tsx@4.19.2))
       '@testing-library/react':
         specifier: ^15.0.5
-        version: 15.0.7(@types/react@19.0.8)(react-dom@19.2.0-canary-3fbfb9ba-20250409(react@19.2.0-canary-3fbfb9ba-20250409))(react@19.2.0-canary-3fbfb9ba-20250409)
+        version: 15.0.7(@types/react@19.1.1)(react-dom@19.2.0-canary-3fbfb9ba-20250409(react@19.2.0-canary-3fbfb9ba-20250409))(react@19.2.0-canary-3fbfb9ba-20250409)
       '@types/busboy':
         specifier: 1.5.3
         version: 1.5.3
@@ -184,11 +184,11 @@ importers:
         specifier: 2.6.1
         version: 2.6.1
       '@types/react':
-        specifier: 19.0.8
-        version: 19.0.8
+        specifier: ^19.1.1
+        version: 19.1.1
       '@types/react-dom':
-        specifier: 19.0.3
-        version: 19.0.3(@types/react@19.0.8)
+        specifier: 19.1.2
+        version: 19.1.2(@types/react@19.1.1)
       '@types/relay-runtime':
         specifier: 14.1.13
         version: 14.1.13
@@ -641,7 +641,7 @@ importers:
     dependencies:
       '@mantine/core':
         specifier: ^7.10.1
-        version: 7.10.1(@mantine/hooks@7.11.2(react@19.2.0-canary-63779030-20250328))(@types/react@19.0.8)(react-dom@19.2.0-canary-63779030-20250328(react@19.2.0-canary-63779030-20250328))(react@19.2.0-canary-63779030-20250328)
+        version: 7.10.1(@mantine/hooks@7.11.2(react@19.2.0-canary-63779030-20250328))(@types/react@19.1.1)(react-dom@19.2.0-canary-63779030-20250328(react@19.2.0-canary-63779030-20250328))(react@19.2.0-canary-63779030-20250328)
       lodash-es:
         specifier: ^4.17.21
         version: 4.17.21
@@ -1043,7 +1043,7 @@ importers:
         version: 8.6.0(storybook@8.6.0(prettier@3.3.3))
       '@storybook/addon-essentials':
         specifier: 8.6.0
-        version: 8.6.0(@types/react@19.0.8)(storybook@8.6.0(prettier@3.3.3))
+        version: 8.6.0(@types/react@19.1.1)(storybook@8.6.0(prettier@3.3.3))
       '@storybook/addon-interactions':
         specifier: 8.6.0
         version: 8.6.0(storybook@8.6.0(prettier@3.3.3))
@@ -1147,11 +1147,11 @@ importers:
         specifier: 1.3.4
         version: 1.3.4
       '@types/react':
-        specifier: 19.0.8
-        version: 19.0.8
+        specifier: ^19.1.1
+        version: 19.1.1
       '@types/react-dom':
-        specifier: 19.0.3
-        version: 19.0.3(@types/react@19.0.8)
+        specifier: 19.1.2
+        version: 19.1.2(@types/react@19.1.1)
       '@types/react-is':
         specifier: 18.2.4
         version: 18.2.4
@@ -4926,7 +4926,7 @@ packages:
   '@mdx-js/react@3.1.0':
     resolution: {integrity: sha512-QjHtSaoameoalGnKDT3FoIl4+9RwyTmo9ZJGBdLOks/YOiWHoRDI3PUwEzOE7kEmGcV3AFcp9K6dYu9rEuKLAQ==}
     peerDependencies:
-      '@types/react': 19.0.8
+      '@types/react': ^19.1.1
       react: 19.2.0-canary-3fbfb9ba-20250409
 
   '@module-federation/error-codes@0.11.2':
@@ -5962,7 +5962,7 @@ packages:
     resolution: {integrity: sha512-cg0RvEdD1TIhhkm1IeYMQxrzy0MtUNfa3minv4MjbgcYzJAZ7yD0i0lwoPOTPr+INtiXFezt2o8xMSnyHhEn2Q==}
     engines: {node: '>=18'}
     peerDependencies:
-      '@types/react': 19.0.8
+      '@types/react': ^19.1.1
       react: 19.2.0-canary-3fbfb9ba-20250409
       react-dom: 19.2.0-canary-3fbfb9ba-20250409
     peerDependenciesMeta:
@@ -6298,16 +6298,16 @@ packages:
   '@types/range-parser@1.2.3':
     resolution: {integrity: sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==}
 
-  '@types/react-dom@19.0.3':
-    resolution: {integrity: sha512-0Knk+HJiMP/qOZgMyNFamlIjw9OFCsyC2ZbigmEEyXXixgre6IQpm/4V+r3qH4GC1JPvRJKInw+on2rV6YZLeA==}
+  '@types/react-dom@19.1.2':
+    resolution: {integrity: sha512-XGJkWF41Qq305SKWEILa1O8vzhb3aOo3ogBlSmiqNko/WmRb6QIaweuZCXjKygVDXpzXb5wyxKTSOsmkuqj+Qw==}
     peerDependencies:
-      '@types/react': 19.0.8
+      '@types/react': ^19.1.1
 
   '@types/react-is@18.2.4':
     resolution: {integrity: sha512-wBc7HgmbCcrvw0fZjxbgz/xrrlZKzEqmABBMeSvpTvdm25u6KI6xdIi9pRE2G0C1Lw5ETFdcn4UbYZ4/rpqUYw==}
 
-  '@types/react@19.0.8':
-    resolution: {integrity: sha512-9P/o1IGdfmQxrujGbIMDyYaaCykhLKc0NGCtYcECNUr9UAaDe4gwvV9bR6tvd5Br1SG0j+PBpbKr2UYY8CwqSw==}
+  '@types/react@19.1.1':
+    resolution: {integrity: sha512-ePapxDL7qrgqSF67s0h9m412d9DbXyC1n59O2st+9rjuuamWsZuD2w55rqY12CbzsZ7uVXb5Nw0gEp9Z8MMutQ==}
 
   '@types/relay-runtime@14.1.13':
     resolution: {integrity: sha512-NODqEnGjERJr02M0YQclUnXWCldmerNUkpFfuO317h/od1uXuwAW5131vpeiROE11BizPC/Qhup5VrwKsENazw==}
@@ -14618,7 +14618,7 @@ packages:
     resolution: {integrity: sha512-DtSYaao4mBmX+HDo5YWYdBWQwYIQQshUV/dVxFxK+KM26Wjwp1gZ6rv6OC3oujI6Bfu6Xyg3TwK533AQutsn/g==}
     engines: {node: '>=10'}
     peerDependencies:
-      '@types/react': 19.0.8
+      '@types/react': ^19.1.1
       react: 19.2.0-canary-3fbfb9ba-20250409
     peerDependenciesMeta:
       '@types/react':
@@ -14628,7 +14628,7 @@ packages:
     resolution: {integrity: sha512-m3zvBRANPBw3qxVVjEIPEQinkcwlFZ4qyomuWVpNJdv4c6MvHfXV0C3L9Jx5rr3HeBHKNRX+1jreB5QloDIJjA==}
     engines: {node: '>=10'}
     peerDependencies:
-      '@types/react': 19.0.8
+      '@types/react': ^19.1.1
       react: 19.2.0-canary-3fbfb9ba-20250409
     peerDependenciesMeta:
       '@types/react':
@@ -14679,7 +14679,7 @@ packages:
     resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==}
     engines: {node: '>=10'}
     peerDependencies:
-      '@types/react': 19.0.8
+      '@types/react': ^19.1.1
       react: 19.2.0-canary-3fbfb9ba-20250409
     peerDependenciesMeta:
       '@types/react':
@@ -16812,7 +16812,7 @@ packages:
     resolution: {integrity: sha512-elOQwe6Q8gqZgDA8mrh44qRTQqpIHDcZ3hXTLjBe1i4ph8XpNJnO+aQf3NaG+lriLopI4HMx9VjQLfPQ6vhnoA==}
     engines: {node: '>=10'}
     peerDependencies:
-      '@types/react': 19.0.8
+      '@types/react': ^19.1.1
       react: 19.2.0-canary-3fbfb9ba-20250409
     peerDependenciesMeta:
       '@types/react':
@@ -16845,7 +16845,7 @@ packages:
     resolution: {integrity: sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==}
     engines: {node: '>=10'}
     peerDependencies:
-      '@types/react': 19.0.8
+      '@types/react': ^19.1.1
       react: 19.2.0-canary-3fbfb9ba-20250409
     peerDependenciesMeta:
       '@types/react':
@@ -19666,7 +19666,7 @@ snapshots:
 
   '@emotion/memoize@0.8.1': {}
 
-  '@emotion/react@11.11.1(@types/react@19.0.8)(react@19.2.0-canary-3fbfb9ba-20250409)':
+  '@emotion/react@11.11.1(@types/react@19.1.1)(react@19.2.0-canary-3fbfb9ba-20250409)':
     dependencies:
       '@babel/runtime': 7.22.5
       '@emotion/babel-plugin': 11.11.0
@@ -19678,7 +19678,7 @@ snapshots:
       hoist-non-react-statics: 3.3.2
       react: 19.2.0-canary-3fbfb9ba-20250409
     optionalDependencies:
-      '@types/react': 19.0.8
+      '@types/react': 19.1.1
     transitivePeerDependencies:
       - supports-color
 
@@ -21261,16 +21261,16 @@ snapshots:
     dependencies:
       call-bind: 1.0.7
 
-  '@mantine/core@7.10.1(@mantine/hooks@7.11.2(react@19.2.0-canary-63779030-20250328))(@types/react@19.0.8)(react-dom@19.2.0-canary-63779030-20250328(react@19.2.0-canary-63779030-20250328))(react@19.2.0-canary-63779030-20250328)':
+  '@mantine/core@7.10.1(@mantine/hooks@7.11.2(react@19.2.0-canary-63779030-20250328))(@types/react@19.1.1)(react-dom@19.2.0-canary-63779030-20250328(react@19.2.0-canary-63779030-20250328))(react@19.2.0-canary-63779030-20250328)':
     dependencies:
       '@floating-ui/react': 0.26.16(react-dom@19.2.0-canary-63779030-20250328(react@19.2.0-canary-63779030-20250328))(react@19.2.0-canary-63779030-20250328)
       '@mantine/hooks': 7.11.2(react@19.2.0-canary-63779030-20250328)
       clsx: 2.1.1
       react: 19.2.0-canary-63779030-20250328
       react-dom: 19.2.0-canary-63779030-20250328(react@19.2.0-canary-63779030-20250328)
       react-number-format: 5.4.0(react-dom@19.2.0-canary-63779030-20250328(react@19.2.0-canary-63779030-20250328))(react@19.2.0-canary-63779030-20250328)
-      react-remove-scroll: 2.5.10(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328)
-      react-textarea-autosize: 8.5.3(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328)
+      react-remove-scroll: 2.5.10(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328)
+      react-textarea-autosize: 8.5.3(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328)
       type-fest: 4.18.3
     transitivePeerDependencies:
       - '@types/react'
@@ -21327,19 +21327,19 @@ snapshots:
   '@mdx-js/react@2.2.1(react@19.2.0-canary-3fbfb9ba-20250409)':
     dependencies:
       '@types/mdx': 2.0.3
-      '@types/react': 19.0.8
+      '@types/react': 19.1.1
       react: 19.2.0-canary-3fbfb9ba-20250409
 
   '@mdx-js/react@2.2.1(react@19.2.0-canary-63779030-20250328)':
     dependencies:
       '@types/mdx': 2.0.3
-      '@types/react': 19.0.8
+      '@types/react': 19.1.1
       react: 19.2.0-canary-63779030-20250328
 
-  '@mdx-js/react@3.1.0(@types/react@19.0.8)(react@19.2.0-canary-3fbfb9ba-20250409)':
+  '@mdx-js/react@3.1.0(@types/react@19.1.1)(react@19.2.0-canary-3fbfb9ba-20250409)':
     dependencies:
       '@types/mdx': 2.0.3
-      '@types/react': 19.0.8
+      '@types/react': 19.1.1
       react: 19.2.0-canary-3fbfb9ba-20250409
 
   '@module-federation/error-codes@0.11.2': {}
@@ -22066,9 +22066,9 @@ snapshots:
       storybook: 8.6.0(prettier@3.3.3)
       ts-dedent: 2.2.0
 
-  '@storybook/addon-docs@8.6.0(@types/react@19.0.8)(storybook@8.6.0(prettier@3.3.3))':
+  '@storybook/addon-docs@8.6.0(@types/react@19.1.1)(storybook@8.6.0(prettier@3.3.3))':
     dependencies:
-      '@mdx-js/react': 3.1.0(@types/react@19.0.8)(react@19.2.0-canary-3fbfb9ba-20250409)
+      '@mdx-js/react': 3.1.0(@types/react@19.1.1)(react@19.2.0-canary-3fbfb9ba-20250409)
       '@storybook/blocks': 8.6.0(react-dom@19.2.0-canary-3fbfb9ba-20250409(react@19.2.0-canary-3fbfb9ba-20250409))(react@19.2.0-canary-3fbfb9ba-20250409)(storybook@8.6.0(prettier@3.3.3))
       '@storybook/csf-plugin': 8.6.0(storybook@8.6.0(prettier@3.3.3))
       '@storybook/react-dom-shim': 8.6.0(react-dom@19.2.0-canary-3fbfb9ba-20250409(react@19.2.0-canary-3fbfb9ba-20250409))(react@19.2.0-canary-3fbfb9ba-20250409)(storybook@8.6.0(prettier@3.3.3))
@@ -22079,12 +22079,12 @@ snapshots:
     transitivePeerDependencies:
       - '@types/react'
 
-  '@storybook/addon-essentials@8.6.0(@types/react@19.0.8)(storybook@8.6.0(prettier@3.3.3))':
+  '@storybook/addon-essentials@8.6.0(@types/react@19.1.1)(storybook@8.6.0(prettier@3.3.3))':
     dependencies:
       '@storybook/addon-actions': 8.6.0(storybook@8.6.0(prettier@3.3.3))
       '@storybook/addon-backgrounds': 8.6.0(storybook@8.6.0(prettier@3.3.3))
       '@storybook/addon-controls': 8.6.0(storybook@8.6.0(prettier@3.3.3))
-      '@storybook/addon-docs': 8.6.0(@types/react@19.0.8)(storybook@8.6.0(prettier@3.3.3))
+      '@storybook/addon-docs': 8.6.0(@types/react@19.1.1)(storybook@8.6.0(prettier@3.3.3))
       '@storybook/addon-highlight': 8.6.0(storybook@8.6.0(prettier@3.3.3))
       '@storybook/addon-measure': 8.6.0(storybook@8.6.0(prettier@3.3.3))
       '@storybook/addon-outline': 8.6.0(storybook@8.6.0(prettier@3.3.3))
@@ -22591,15 +22591,15 @@ snapshots:
       lodash: 4.17.21
       redent: 3.0.0
 
-  '@testing-library/react@15.0.7(@types/react@19.0.8)(react-dom@19.2.0-canary-3fbfb9ba-20250409(react@19.2.0-canary-3fbfb9ba-20250409))(react@19.2.0-canary-3fbfb9ba-20250409)':
+  '@testing-library/react@15.0.7(@types/react@19.1.1)(react-dom@19.2.0-canary-3fbfb9ba-20250409(react@19.2.0-canary-3fbfb9ba-20250409))(react@19.2.0-canary-3fbfb9ba-20250409)':
     dependencies:
       '@babel/runtime': 7.22.5
       '@testing-library/dom': 10.1.0
-      '@types/react-dom': 19.0.3(@types/react@19.0.8)
+      '@types/react-dom': 19.1.2(@types/react@19.1.1)
       react: 19.2.0-canary-3fbfb9ba-20250409
       react-dom: 19.2.0-canary-3fbfb9ba-20250409(react@19.2.0-canary-3fbfb9ba-20250409)
     optionalDependencies:
-      '@types/react': 19.0.8
+      '@types/react': 19.1.1
 
   '@testing-library/user-event@14.5.2(@testing-library/dom@10.4.0)':
     dependencies:
@@ -22964,15 +22964,15 @@ snapshots:
 
   '@types/range-parser@1.2.3': {}
 
-  '@types/react-dom@19.0.3(@types/react@19.0.8)':
+  '@types/react-dom@19.1.2(@types/react@19.1.1)':
     dependencies:
-      '@types/react': 19.0.8
+      '@types/react': 19.1.1
 
   '@types/react-is@18.2.4':
     dependencies:
-      '@types/react': 19.0.8
+      '@types/react': 19.1.1
 
-  '@types/react@19.0.8':
+  '@types/react@19.1.1':
     dependencies:
       csstype: 3.1.2
 
@@ -33579,24 +33579,24 @@ snapshots:
 
   react-refresh@0.12.0: {}
 
-  react-remove-scroll-bar@2.3.6(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328):
+  react-remove-scroll-bar@2.3.6(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328):
     dependencies:
       react: 19.2.0-canary-63779030-20250328
-      react-style-singleton: 2.2.1(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328)
+      react-style-singleton: 2.2.1(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328)
       tslib: 2.8.1
     optionalDependencies:
-      '@types/react': 19.0.8
+      '@types/react': 19.1.1
 
-  react-remove-scroll@2.5.10(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328):
+  react-remove-scroll@2.5.10(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328):
     dependencies:
       react: 19.2.0-canary-63779030-20250328
-      react-remove-scroll-bar: 2.3.6(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328)
-      react-style-singleton: 2.2.1(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328)
+      react-remove-scroll-bar: 2.3.6(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328)
+      react-style-singleton: 2.2.1(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328)
       tslib: 2.8.1
-      use-callback-ref: 1.3.2(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328)
-      use-sidecar: 1.1.2(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328)
+      use-callback-ref: 1.3.2(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328)
+      use-sidecar: 1.1.2(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328)
     optionalDependencies:
-      '@types/react': 19.0.8
+      '@types/react': 19.1.1
 
   react-server-dom-turbopack@0.0.0-experimental-3fbfb9ba-20250409(react-dom@19.2.0-canary-3fbfb9ba-20250409(react@19.2.0-canary-3fbfb9ba-20250409))(react@19.2.0-canary-3fbfb9ba-20250409):
     dependencies:
@@ -33642,14 +33642,14 @@ snapshots:
       react: 19.2.0-canary-3fbfb9ba-20250409
       react-is: 19.2.0-canary-63779030-20250328
 
-  react-style-singleton@2.2.1(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328):
+  react-style-singleton@2.2.1(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328):
     dependencies:
       get-nonce: 1.0.1
       invariant: 2.2.4
       react: 19.2.0-canary-63779030-20250328
       tslib: 2.8.1
     optionalDependencies:
-      '@types/react': 19.0.8
+      '@types/react': 19.1.1
 
   react-test-renderer@18.2.0(react@19.2.0-canary-3fbfb9ba-20250409):
     dependencies:
@@ -33658,12 +33658,12 @@ snapshots:
       react-shallow-renderer: 16.15.0(react@19.2.0-canary-3fbfb9ba-20250409)
       scheduler: 0.27.0-canary-3fbfb9ba-20250409
 
-  react-textarea-autosize@8.5.3(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328):
+  react-textarea-autosize@8.5.3(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328):
     dependencies:
       '@babel/runtime': 7.22.5
       react: 19.2.0-canary-63779030-20250328
       use-composed-ref: 1.3.0(react@19.2.0-canary-63779030-20250328)
-      use-latest: 1.2.1(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328)
+      use-latest: 1.2.1(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328)
     transitivePeerDependencies:
       - '@types/react'
 
@@ -36242,37 +36242,37 @@ snapshots:
       punycode: 1.4.1
       qs: 6.13.1
 
-  use-callback-ref@1.3.2(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328):
+  use-callback-ref@1.3.2(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328):
     dependencies:
       react: 19.2.0-canary-63779030-20250328
       tslib: 2.8.1
     optionalDependencies:
-      '@types/react': 19.0.8
+      '@types/react': 19.1.1
 
   use-composed-ref@1.3.0(react@19.2.0-canary-63779030-20250328):
     dependencies:
       react: 19.2.0-canary-63779030-20250328
 
-  use-isomorphic-layout-effect@1.1.2(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328):
+  use-isomorphic-layout-effect@1.1.2(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328):
     dependencies:
       react: 19.2.0-canary-63779030-20250328
     optionalDependencies:
-      '@types/react': 19.0.8
+      '@types/react': 19.1.1
 
-  use-latest@1.2.1(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328):
+  use-latest@1.2.1(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328):
     dependencies:
       react: 19.2.0-canary-63779030-20250328
-      use-isomorphic-layout-effect: 1.1.2(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328)
+      use-isomorphic-layout-effect: 1.1.2(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328)
     optionalDependencies:
-      '@types/react': 19.0.8
+      '@types/react': 19.1.1
 
-  use-sidecar@1.1.2(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328):
+  use-sidecar@1.1.2(@types/react@19.1.1)(react@19.2.0-canary-63779030-20250328):
     dependencies:
       detect-node-es: 1.1.0
       react: 19.2.0-canary-63779030-20250328
       tslib: 2.8.1
     optionalDependencies:
-      '@types/react': 19.0.8
+      '@types/react': 19.1.1
 
   use-sync-external-store@1.2.0(react@19.2.0-canary-3fbfb9ba-20250409):
     dependencies:

filename: test/e2e/app-dir/back-forward-cache/app/page.tsx
patch: @@ -1,9 +1,5 @@
 'use client'
 
-// TODO: "use client" is required in this module because Activity is not
-// exported from the server entrypoint of React
-
-// @ts-expect-error: Not yet part of the TypeScript types
 import { unstable_Activity as Activity } from 'react'
 
 export default function Page() {

filename: test/lib/next-modes/base.ts
patch: @@ -207,8 +207,8 @@ export class NextInstance {
         const finalDependencies = {
           react: reactVersion,
           'react-dom': reactVersion,
-          '@types/react': 'latest',
-          '@types/react-dom': 'latest',
+          '@types/react': '^19.1.1',
+          '@types/react-dom': '^19.1.2',
           typescript: 'latest',
           '@types/node': 'latest',
           ...this.dependencies,