From 0902b8a14f0e2ef928087f64f0ed7938e8c03568 Mon Sep 17 00:00:00 2001 From: Nicolas Dorseuil Date: Wed, 16 Jul 2025 09:52:48 +0200 Subject: [PATCH 1/8] move to canary for test --- pnpm-lock.yaml | 461 ++++++++++++++++++++++++-------------------- pnpm-workspace.yaml | 2 +- 2 files changed, 253 insertions(+), 210 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5b8ad7afd..df1f963b4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -22,8 +22,8 @@ catalogs: specifier: 0.25.4 version: 0.25.4 next: - specifier: 15.2.0 - version: 15.2.0 + specifier: 15.4.2-canary.1 + version: 15.4.2-canary.1 postcss: specifier: 8.4.27 version: 8.4.27 @@ -70,7 +70,7 @@ importers: version: link:../../packages/open-next next: specifier: 'catalog:' - version: 15.2.0(@playwright/test@1.49.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + version: 15.4.2-canary.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react: specifier: 'catalog:' version: 19.0.0 @@ -110,7 +110,7 @@ importers: version: link:../../packages/open-next next: specifier: 'catalog:' - version: 15.2.0(@playwright/test@1.49.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + version: 15.4.2-canary.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react: specifier: 'catalog:' version: 19.0.0 @@ -172,7 +172,7 @@ importers: version: link:../shared next: specifier: 'catalog:' - version: 15.2.0(@playwright/test@1.49.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + version: 15.4.2-canary.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react: specifier: 'catalog:' version: 19.0.0 @@ -1040,12 +1040,12 @@ packages: resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} engines: {node: '>=12'} - '@emnapi/runtime@1.3.1': - resolution: {integrity: sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==} - '@emnapi/runtime@1.4.1': resolution: {integrity: sha512-LMshMVP0ZhACNjQNYXiU1iZJ6QCcv0lUdPDPugqGvCGXt5xtRVBPdtA0qU12pEXZzpWAhWlZYptfdAFq10DOVQ==} + '@emnapi/runtime@1.4.4': + resolution: {integrity: sha512-hHyapA4A3gPaDCNfiqyZUStTMqIkKRshqPIuDOXv1hcBnD4U3l8cP0T1HMCfGRxQ6V64TGCcoswChANyOAwbQg==} + '@envelop/core@3.0.6': resolution: {integrity: sha512-06t1xCPXq6QFN7W1JUEf68aCwYN0OUDNAIoJe7bAqhaoa2vn7NCcuX1VHkJ/OWpmElUgCsRO6RiBbIru1in0Ig==} @@ -1657,22 +1657,16 @@ packages: '@httptoolkit/websocket-stream@6.0.1': resolution: {integrity: sha512-A0NOZI+Glp3Xgcz6Na7i7o09+/+xm2m0UCU8gdtM2nIv6/cjLmhMZMqehSpTlgbx9omtLmV8LVqOskPEyWnmZQ==} - '@img/sharp-darwin-arm64@0.33.5': - resolution: {integrity: sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [arm64] - os: [darwin] - '@img/sharp-darwin-arm64@0.34.1': resolution: {integrity: sha512-pn44xgBtgpEbZsu+lWf2KNb6OAf70X68k+yk69Ic2Xz11zHR/w24/U49XT7AeRwJ0Px+mhALhU5LPci1Aymk7A==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm64] os: [darwin] - '@img/sharp-darwin-x64@0.33.5': - resolution: {integrity: sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q==} + '@img/sharp-darwin-arm64@0.34.3': + resolution: {integrity: sha512-ryFMfvxxpQRsgZJqBd4wsttYQbCxsJksrv9Lw/v798JcQ8+w84mBWuXwl+TT0WJ/WrYOLaYpwQXi3sA9nTIaIg==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [x64] + cpu: [arm64] os: [darwin] '@img/sharp-darwin-x64@0.34.1': @@ -1681,9 +1675,10 @@ packages: cpu: [x64] os: [darwin] - '@img/sharp-libvips-darwin-arm64@1.0.4': - resolution: {integrity: sha512-XblONe153h0O2zuFfTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k6dFEcOL72O01QxQsWi761svJ/ev9xEDg==} - cpu: [arm64] + '@img/sharp-darwin-x64@0.34.3': + resolution: {integrity: sha512-yHpJYynROAj12TA6qil58hmPmAwxKKC7reUqtGLzsOHfP7/rniNGTL8tjWX6L3CTV4+5P4ypcS7Pp+7OB+8ihA==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [x64] os: [darwin] '@img/sharp-libvips-darwin-arm64@1.1.0': @@ -1691,9 +1686,9 @@ packages: cpu: [arm64] os: [darwin] - '@img/sharp-libvips-darwin-x64@1.0.4': - resolution: {integrity: sha512-xnGR8YuZYfJGmWPvmlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6xqCQvUTKKiLddarLaxpzNe+b1hjeWHAQ==} - cpu: [x64] + '@img/sharp-libvips-darwin-arm64@1.2.0': + resolution: {integrity: sha512-sBZmpwmxqwlqG9ueWFXtockhsxefaV6O84BMOrhtg/YqbTaRdqDE7hxraVE3y6gVM4eExmfzW4a8el9ArLeEiQ==} + cpu: [arm64] os: [darwin] '@img/sharp-libvips-darwin-x64@1.1.0': @@ -1701,19 +1696,19 @@ packages: cpu: [x64] os: [darwin] - '@img/sharp-libvips-linux-arm64@1.0.4': - resolution: {integrity: sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA==} - cpu: [arm64] - os: [linux] + '@img/sharp-libvips-darwin-x64@1.2.0': + resolution: {integrity: sha512-M64XVuL94OgiNHa5/m2YvEQI5q2cl9d/wk0qFTDVXcYzi43lxuiFTftMR1tOnFQovVXNZJ5TURSDK2pNe9Yzqg==} + cpu: [x64] + os: [darwin] '@img/sharp-libvips-linux-arm64@1.1.0': resolution: {integrity: sha512-IVfGJa7gjChDET1dK9SekxFFdflarnUB8PwW8aGwEoF3oAsSDuNUTYS+SKDOyOJxQyDC1aPFMuRYLoDInyV9Ew==} cpu: [arm64] os: [linux] - '@img/sharp-libvips-linux-arm@1.0.5': - resolution: {integrity: sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g==} - cpu: [arm] + '@img/sharp-libvips-linux-arm64@1.2.0': + resolution: {integrity: sha512-RXwd0CgG+uPRX5YYrkzKyalt2OJYRiJQ8ED/fi1tq9WQW2jsQIn0tqrlR5l5dr/rjqq6AHAxURhj2DVjyQWSOA==} + cpu: [arm64] os: [linux] '@img/sharp-libvips-linux-arm@1.1.0': @@ -1721,14 +1716,19 @@ packages: cpu: [arm] os: [linux] + '@img/sharp-libvips-linux-arm@1.2.0': + resolution: {integrity: sha512-mWd2uWvDtL/nvIzThLq3fr2nnGfyr/XMXlq8ZJ9WMR6PXijHlC3ksp0IpuhK6bougvQrchUAfzRLnbsen0Cqvw==} + cpu: [arm] + os: [linux] + '@img/sharp-libvips-linux-ppc64@1.1.0': resolution: {integrity: sha512-tiXxFZFbhnkWE2LA8oQj7KYR+bWBkiV2nilRldT7bqoEZ4HiDOcePr9wVDAZPi/Id5fT1oY9iGnDq20cwUz8lQ==} cpu: [ppc64] os: [linux] - '@img/sharp-libvips-linux-s390x@1.0.4': - resolution: {integrity: sha512-u7Wz6ntiSSgGSGcjZ55im6uvTrOxSIS8/dgoVMoiGE9I6JAfU50yH5BoDlYA1tcuGS7g/QNtetJnxA6QEsCVTA==} - cpu: [s390x] + '@img/sharp-libvips-linux-ppc64@1.2.0': + resolution: {integrity: sha512-Xod/7KaDDHkYu2phxxfeEPXfVXFKx70EAFZ0qyUdOjCcxbjqyJOEUpDe6RIyaunGxT34Anf9ue/wuWOqBW2WcQ==} + cpu: [ppc64] os: [linux] '@img/sharp-libvips-linux-s390x@1.1.0': @@ -1736,9 +1736,9 @@ packages: cpu: [s390x] os: [linux] - '@img/sharp-libvips-linux-x64@1.0.4': - resolution: {integrity: sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw==} - cpu: [x64] + '@img/sharp-libvips-linux-s390x@1.2.0': + resolution: {integrity: sha512-eMKfzDxLGT8mnmPJTNMcjfO33fLiTDsrMlUVcp6b96ETbnJmd4uvZxVJSKPQfS+odwfVaGifhsB07J1LynFehw==} + cpu: [s390x] os: [linux] '@img/sharp-libvips-linux-x64@1.1.0': @@ -1746,9 +1746,9 @@ packages: cpu: [x64] os: [linux] - '@img/sharp-libvips-linuxmusl-arm64@1.0.4': - resolution: {integrity: sha512-9Ti+BbTYDcsbp4wfYib8Ctm1ilkugkA/uscUn6UXK1ldpC1JjiXbLfFZtRlBhjPZ5o1NCLiDbg8fhUPKStHoTA==} - cpu: [arm64] + '@img/sharp-libvips-linux-x64@1.2.0': + resolution: {integrity: sha512-ZW3FPWIc7K1sH9E3nxIGB3y3dZkpJlMnkk7z5tu1nSkBoCgw2nSRTFHI5pB/3CQaJM0pdzMF3paf9ckKMSE9Tg==} + cpu: [x64] os: [linux] '@img/sharp-libvips-linuxmusl-arm64@1.1.0': @@ -1756,9 +1756,9 @@ packages: cpu: [arm64] os: [linux] - '@img/sharp-libvips-linuxmusl-x64@1.0.4': - resolution: {integrity: sha512-viYN1KX9m+/hGkJtvYYp+CCLgnJXwiQB39damAO7WMdKWlIhmYTfHjwSbQeUK/20vY154mwezd9HflVFM1wVSw==} - cpu: [x64] + '@img/sharp-libvips-linuxmusl-arm64@1.2.0': + resolution: {integrity: sha512-UG+LqQJbf5VJ8NWJ5Z3tdIe/HXjuIdo4JeVNADXBFuG7z9zjoegpzzGIyV5zQKi4zaJjnAd2+g2nna8TZvuW9Q==} + cpu: [arm64] os: [linux] '@img/sharp-libvips-linuxmusl-x64@1.1.0': @@ -1766,10 +1766,9 @@ packages: cpu: [x64] os: [linux] - '@img/sharp-linux-arm64@0.33.5': - resolution: {integrity: sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9VksGX4awWASxqCYLCV4wBZHAYxA==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [arm64] + '@img/sharp-libvips-linuxmusl-x64@1.2.0': + resolution: {integrity: sha512-SRYOLR7CXPgNze8akZwjoGBoN1ThNZoqpOgfnOxmWsklTGVfJiGJoC/Lod7aNMGA1jSsKWM1+HRX43OP6p9+6Q==} + cpu: [x64] os: [linux] '@img/sharp-linux-arm64@0.34.1': @@ -1778,10 +1777,10 @@ packages: cpu: [arm64] os: [linux] - '@img/sharp-linux-arm@0.33.5': - resolution: {integrity: sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ==} + '@img/sharp-linux-arm64@0.34.3': + resolution: {integrity: sha512-QdrKe3EvQrqwkDrtuTIjI0bu6YEJHTgEeqdzI3uWJOH6G1O8Nl1iEeVYRGdj1h5I21CqxSvQp1Yv7xeU3ZewbA==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [arm] + cpu: [arm64] os: [linux] '@img/sharp-linux-arm@0.34.1': @@ -1790,10 +1789,16 @@ packages: cpu: [arm] os: [linux] - '@img/sharp-linux-s390x@0.33.5': - resolution: {integrity: sha512-y/5PCd+mP4CA/sPDKl2961b+C9d+vPAveS33s6Z3zfASk2j5upL6fXVPZi7ztePZ5CuH+1kW8JtvxgbuXHRa4Q==} + '@img/sharp-linux-arm@0.34.3': + resolution: {integrity: sha512-oBK9l+h6KBN0i3dC8rYntLiVfW8D8wH+NPNT3O/WBHeW0OQWCjfWksLUaPidsrDKpJgXp3G3/hkmhptAW0I3+A==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [s390x] + cpu: [arm] + os: [linux] + + '@img/sharp-linux-ppc64@0.34.3': + resolution: {integrity: sha512-GLtbLQMCNC5nxuImPR2+RgrviwKwVql28FWZIW1zWruy6zLgA5/x2ZXk3mxj58X/tszVF69KK0Is83V8YgWhLA==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [ppc64] os: [linux] '@img/sharp-linux-s390x@0.34.1': @@ -1802,10 +1807,10 @@ packages: cpu: [s390x] os: [linux] - '@img/sharp-linux-x64@0.33.5': - resolution: {integrity: sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA==} + '@img/sharp-linux-s390x@0.34.3': + resolution: {integrity: sha512-3gahT+A6c4cdc2edhsLHmIOXMb17ltffJlxR0aC2VPZfwKoTGZec6u5GrFgdR7ciJSsHT27BD3TIuGcuRT0KmQ==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [x64] + cpu: [s390x] os: [linux] '@img/sharp-linux-x64@0.34.1': @@ -1814,10 +1819,10 @@ packages: cpu: [x64] os: [linux] - '@img/sharp-linuxmusl-arm64@0.33.5': - resolution: {integrity: sha512-XrHMZwGQGvJg2V/oRSUfSAfjfPxO+4DkiRh6p2AFjLQztWUuY/o8Mq0eMQVIY7HJ1CDQUJlxGGZRw1a5bqmd1g==} + '@img/sharp-linux-x64@0.34.3': + resolution: {integrity: sha512-8kYso8d806ypnSq3/Ly0QEw90V5ZoHh10yH0HnrzOCr6DKAPI6QVHvwleqMkVQ0m+fc7EH8ah0BB0QPuWY6zJQ==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [arm64] + cpu: [x64] os: [linux] '@img/sharp-linuxmusl-arm64@0.34.1': @@ -1826,10 +1831,10 @@ packages: cpu: [arm64] os: [linux] - '@img/sharp-linuxmusl-x64@0.33.5': - resolution: {integrity: sha512-WT+d/cgqKkkKySYmqoZ8y3pxx7lx9vVejxW/W4DOFMYVSkErR+w7mf2u8m/y4+xHe7yY9DAXQMWQhpnMuFfScw==} + '@img/sharp-linuxmusl-arm64@0.34.3': + resolution: {integrity: sha512-vAjbHDlr4izEiXM1OTggpCcPg9tn4YriK5vAjowJsHwdBIdx0fYRsURkxLG2RLm9gyBq66gwtWI8Gx0/ov+JKQ==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [x64] + cpu: [arm64] os: [linux] '@img/sharp-linuxmusl-x64@0.34.1': @@ -1838,20 +1843,26 @@ packages: cpu: [x64] os: [linux] - '@img/sharp-wasm32@0.33.5': - resolution: {integrity: sha512-ykUW4LVGaMcU9lu9thv85CbRMAwfeadCJHRsg2GmeRa/cJxsVY9Rbd57JcMxBkKHag5U/x7TSBpScF4U8ElVzg==} + '@img/sharp-linuxmusl-x64@0.34.3': + resolution: {integrity: sha512-gCWUn9547K5bwvOn9l5XGAEjVTTRji4aPTqLzGXHvIr6bIDZKNTA34seMPgM0WmSf+RYBH411VavCejp3PkOeQ==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [wasm32] + cpu: [x64] + os: [linux] '@img/sharp-wasm32@0.34.1': resolution: {integrity: sha512-YDybQnYrLQfEpzGOQe7OKcyLUCML4YOXl428gOOzBgN6Gw0rv8dpsJ7PqTHxBnXnwXr8S1mYFSLSa727tpz0xg==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [wasm32] - '@img/sharp-win32-ia32@0.33.5': - resolution: {integrity: sha512-T36PblLaTwuVJ/zw/LaH0PdZkRz5rd3SmMHX8GSmR7vtNSP5Z6bQkExdSK7xGWyxLw4sUknBuugTelgw2faBbQ==} + '@img/sharp-wasm32@0.34.3': + resolution: {integrity: sha512-+CyRcpagHMGteySaWos8IbnXcHgfDn7pO2fiC2slJxvNq9gDipYBN42/RagzctVRKgxATmfqOSulgZv5e1RdMg==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [ia32] + cpu: [wasm32] + + '@img/sharp-win32-arm64@0.34.3': + resolution: {integrity: sha512-MjnHPnbqMXNC2UgeLJtX4XqoVHHlZNd+nPt1kRPmj63wURegwBhZlApELdtxM2OIZDRv/DFtLcNhVbd1z8GYXQ==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [arm64] os: [win32] '@img/sharp-win32-ia32@0.34.1': @@ -1860,10 +1871,10 @@ packages: cpu: [ia32] os: [win32] - '@img/sharp-win32-x64@0.33.5': - resolution: {integrity: sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoGmdT7GfggGIU4kygOMSbYnOrAbg==} + '@img/sharp-win32-ia32@0.34.3': + resolution: {integrity: sha512-xuCdhH44WxuXgOM714hn4amodJMZl3OEvf0GVTm0BEyMeA2to+8HEdRPShH0SLYptJY1uBw+SCFP9WVQi1Q/cw==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [x64] + cpu: [ia32] os: [win32] '@img/sharp-win32-x64@0.34.1': @@ -1872,6 +1883,12 @@ packages: cpu: [x64] os: [win32] + '@img/sharp-win32-x64@0.34.3': + resolution: {integrity: sha512-OWwz05d++TxzLEv4VnsTz5CmZ6mI6S05sfQGEMrNrQcOEERbX46332IvE7pO/EUiw7jUrrS40z/M7kPyjfl04g==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + cpu: [x64] + os: [win32] + '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} @@ -1930,17 +1947,11 @@ packages: '@manypkg/get-packages@1.1.3': resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} - '@next/env@15.2.0': - resolution: {integrity: sha512-eMgJu1RBXxxqqnuRJQh5RozhskoNUDHBFybvi+Z+yK9qzKeG7dadhv/Vp1YooSZmCnegf7JxWuapV77necLZNA==} - '@next/env@15.4.0-canary.14': resolution: {integrity: sha512-ynXM3n0AEcB1mwoOLgar27s/WoFyX0C8kpbfpc6bylq2rfS+q+KNla1WAVX3QdHyV82KyrqdMQAFOIyTZg4K9A==} - '@next/swc-darwin-arm64@15.2.0': - resolution: {integrity: sha512-rlp22GZwNJjFCyL7h5wz9vtpBVuCt3ZYjFWpEPBGzG712/uL1bbSkS675rVAUCRZ4hjoTJ26Q7IKhr5DfJrHDA==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [darwin] + '@next/env@15.4.2-canary.1': + resolution: {integrity: sha512-xGI7gwj0cTPNZWRSgZKsM0UyT8zT1f1VPC36c84YDFGgtG74OhagO4WIF0cE6X3TgVmgCwr6Al4Y8q2gN7pOGw==} '@next/swc-darwin-arm64@15.4.0-canary.14': resolution: {integrity: sha512-p62YaNcigaJlZ6IIubZPT+S4N0CXXkjqdIbC2Otr6LLxWsvdkHRgWaPLHauCxWw0zS7jczKY1w4ZfyX9l26sIQ==} @@ -1948,10 +1959,10 @@ packages: cpu: [arm64] os: [darwin] - '@next/swc-darwin-x64@15.2.0': - resolution: {integrity: sha512-DiU85EqSHogCz80+sgsx90/ecygfCSGl5P3b4XDRVZpgujBm5lp4ts7YaHru7eVTyZMjHInzKr+w0/7+qDrvMA==} + '@next/swc-darwin-arm64@15.4.2-canary.1': + resolution: {integrity: sha512-zTyaGElrLMqwNuH9IXNLfKMlVfgrBMXjcl3HcATNQ11irNK7QogFYNXEwLpCmNoeRsCWPdkMHcI/sq1eZjAjwQ==} engines: {node: '>= 10'} - cpu: [x64] + cpu: [arm64] os: [darwin] '@next/swc-darwin-x64@15.4.0-canary.14': @@ -1960,11 +1971,11 @@ packages: cpu: [x64] os: [darwin] - '@next/swc-linux-arm64-gnu@15.2.0': - resolution: {integrity: sha512-VnpoMaGukiNWVxeqKHwi8MN47yKGyki5q+7ql/7p/3ifuU2341i/gDwGK1rivk0pVYbdv5D8z63uu9yMw0QhpQ==} + '@next/swc-darwin-x64@15.4.2-canary.1': + resolution: {integrity: sha512-De02pG+rpcK4ctSzdFdvTLPFlS8MA1bfLenxh5/w6MDL8A4yhY0F6pP9zAe6ew4eIG5HteUHT93aT+cpPZBPrQ==} engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] + cpu: [x64] + os: [darwin] '@next/swc-linux-arm64-gnu@15.4.0-canary.14': resolution: {integrity: sha512-u/eeGK9okYiJ24aLcrq2jOCyOnjhzOM/MkcOOMkzE4/Rp7EKIepnGUhnIcLeLmcQw4RCDAjh3QZBqt5rQEm4fA==} @@ -1972,8 +1983,8 @@ packages: cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-musl@15.2.0': - resolution: {integrity: sha512-ka97/ssYE5nPH4Qs+8bd8RlYeNeUVBhcnsNUmFM6VWEob4jfN9FTr0NBhXVi1XEJpj3cMfgSRW+LdE3SUZbPrw==} + '@next/swc-linux-arm64-gnu@15.4.2-canary.1': + resolution: {integrity: sha512-yuSu2JodqR8wuQB7C/Qiok8wClpVM19XiF1/PD0WDGay5jPTvGHVda0KjvgFpIrS5uKRvP0Vua+qt37ON6RSPQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -1984,10 +1995,10 @@ packages: cpu: [arm64] os: [linux] - '@next/swc-linux-x64-gnu@15.2.0': - resolution: {integrity: sha512-zY1JduE4B3q0k2ZCE+DAF/1efjTXUsKP+VXRtrt/rJCTgDlUyyryx7aOgYXNc1d8gobys/Lof9P9ze8IyRDn7Q==} + '@next/swc-linux-arm64-musl@15.4.2-canary.1': + resolution: {integrity: sha512-88jl3tATJj2AS4JR5P4yukGSnVNzZas7bCGSShmA8dA331VqLIUIVC3SU5dA0KmHKwSvqD/iYI7DEUjpJvNsTQ==} engines: {node: '>= 10'} - cpu: [x64] + cpu: [arm64] os: [linux] '@next/swc-linux-x64-gnu@15.4.0-canary.14': @@ -1996,8 +2007,8 @@ packages: cpu: [x64] os: [linux] - '@next/swc-linux-x64-musl@15.2.0': - resolution: {integrity: sha512-QqvLZpurBD46RhaVaVBepkVQzh8xtlUN00RlG4Iq1sBheNugamUNPuZEH1r9X1YGQo1KqAe1iiShF0acva3jHQ==} + '@next/swc-linux-x64-gnu@15.4.2-canary.1': + resolution: {integrity: sha512-nk8SL02FHPUH52wCbbnr6FnXACp5w1/JGmiUVT9mY4y2gaAIimal1ic0aA5z9zwbT2E89HdS7SJw0x6VmJTIiA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -2008,11 +2019,11 @@ packages: cpu: [x64] os: [linux] - '@next/swc-win32-arm64-msvc@15.2.0': - resolution: {integrity: sha512-ODZ0r9WMyylTHAN6pLtvUtQlGXBL9voljv6ujSlcsjOxhtXPI1Ag6AhZK0SE8hEpR1374WZZ5w33ChpJd5fsjw==} + '@next/swc-linux-x64-musl@15.4.2-canary.1': + resolution: {integrity: sha512-Qg9JX4xIy81s9kYeDHvjXbzhSZ20E0H1Bfmp8NnUq+YfFa9Q0Jtmv4JaVrGfXwAjf0yJELbn8lW3NewpO9v2DA==} engines: {node: '>= 10'} - cpu: [arm64] - os: [win32] + cpu: [x64] + os: [linux] '@next/swc-win32-arm64-msvc@15.4.0-canary.14': resolution: {integrity: sha512-Kih/2CNMpegubEJT8xoigF+hMihetcFEwWXINfPoO534GQax4o1HU56aai6YgFYCvcrb9fAmW2vVagCQx3GS2g==} @@ -2020,10 +2031,10 @@ packages: cpu: [arm64] os: [win32] - '@next/swc-win32-x64-msvc@15.2.0': - resolution: {integrity: sha512-8+4Z3Z7xa13NdUuUAcpVNA6o76lNPniBd9Xbo02bwXQXnZgFvEopwY2at5+z7yHl47X9qbZpvwatZ2BRo3EdZw==} + '@next/swc-win32-arm64-msvc@15.4.2-canary.1': + resolution: {integrity: sha512-irmCpbqh2cm4lCB+ASTqGWd/vZCgi27HT7dFkVOD+CXsO6eafVWhlLg9qswk8WvPZ3YQ4449Jp+OX2FAxoA4nA==} engines: {node: '>= 10'} - cpu: [x64] + cpu: [arm64] os: [win32] '@next/swc-win32-x64-msvc@15.4.0-canary.14': @@ -2032,6 +2043,12 @@ packages: cpu: [x64] os: [win32] + '@next/swc-win32-x64-msvc@15.4.2-canary.1': + resolution: {integrity: sha512-OvZ69f3PiVHajtLieMnjVGrqXG3Oo4dMJV7YsSdTkdvczJ5JU2BMhQX3IMNuXPVRFAQkkhXZ4xgtVHwjnmzPDg==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + '@node-minify/core@8.0.6': resolution: {integrity: sha512-/vxN46ieWDLU67CmgbArEvOb41zlYFOkOtr9QW9CnTrBLuTyGgkyNWC2y5+khvRw3Br58p2B5ZVSx/PxCTru6g==} engines: {node: '>=16.0.0'} @@ -3438,6 +3455,10 @@ packages: resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==} engines: {node: '>=8'} + detect-libc@2.0.4: + resolution: {integrity: sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==} + engines: {node: '>=8'} + didyoumean@1.2.2: resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} @@ -4457,8 +4478,8 @@ packages: resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==} engines: {node: '>= 0.6'} - next@15.2.0: - resolution: {integrity: sha512-VaiM7sZYX8KIAHBrRGSFytKknkrexNfGb8GlG6e93JqueCspuGte8i4ybn8z4ww1x3f2uzY4YpTaBEW4/hvsoQ==} + next@15.4.0-canary.14: + resolution: {integrity: sha512-4/WNK9Uw/Js1QruZhZfUJWTLrXtL7cvVWLDi1PoCcGdVY91b/1U5jNDOt/Vebr/aJ6Xr5aF+PNHUTtcvBFPInw==} engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0} hasBin: true peerDependencies: @@ -4478,13 +4499,13 @@ packages: sass: optional: true - next@15.4.0-canary.14: - resolution: {integrity: sha512-4/WNK9Uw/Js1QruZhZfUJWTLrXtL7cvVWLDi1PoCcGdVY91b/1U5jNDOt/Vebr/aJ6Xr5aF+PNHUTtcvBFPInw==} + next@15.4.2-canary.1: + resolution: {integrity: sha512-ReLlQcDEb7Zd+hsyWrIrXiP4C6EbqHV3gBm0p7uuq3dPGmA/qG2LAQFxyrvRIak+Ma7/mnyzRhJLj+U4Ap/jXQ==} engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0} hasBin: true peerDependencies: '@opentelemetry/api': ^1.1.0 - '@playwright/test': ^1.41.2 + '@playwright/test': ^1.51.1 babel-plugin-react-compiler: '*' react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0 react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0 @@ -5021,6 +5042,11 @@ packages: engines: {node: '>=10'} hasBin: true + semver@7.7.2: + resolution: {integrity: sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==} + engines: {node: '>=10'} + hasBin: true + send@0.19.0: resolution: {integrity: sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==} engines: {node: '>= 0.8.0'} @@ -5044,14 +5070,14 @@ packages: setprototypeof@1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} - sharp@0.33.5: - resolution: {integrity: sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - sharp@0.34.1: resolution: {integrity: sha512-1j0w61+eVxu7DawFJtnfYcvSv6qPFvfTaqzTQ2BLknVhHTwGS8sc63ZBF4rzkWMBVKybo4S5OBtDdZahh2A1xg==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + sharp@0.34.3: + resolution: {integrity: sha512-eX2IQ6nFohW4DbvHIOLRB3MHFpYqaqvXd3Tp5e/T/dSH83fxaNJQRvDMhASmkNTsNTVF2/OOopzRCt7xokgPfg==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} + shebang-command@1.2.0: resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} engines: {node: '>=0.10.0'} @@ -7602,7 +7628,7 @@ snapshots: outdent: 0.5.0 prettier: 2.8.8 resolve-from: 5.0.0 - semver: 7.6.3 + semver: 7.7.1 '@changesets/assemble-release-plan@6.0.4': dependencies: @@ -7611,7 +7637,7 @@ snapshots: '@changesets/should-skip-package': 0.1.1 '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 - semver: 7.6.3 + semver: 7.7.1 '@changesets/changelog-git@0.2.0': dependencies: @@ -7675,7 +7701,7 @@ snapshots: '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 picocolors: 1.1.1 - semver: 7.6.3 + semver: 7.7.1 '@changesets/get-github-info@0.5.2': dependencies: @@ -7751,12 +7777,12 @@ snapshots: dependencies: '@jridgewell/trace-mapping': 0.3.9 - '@emnapi/runtime@1.3.1': + '@emnapi/runtime@1.4.1': dependencies: tslib: 2.8.0 optional: true - '@emnapi/runtime@1.4.1': + '@emnapi/runtime@1.4.4': dependencies: tslib: 2.8.0 optional: true @@ -8125,19 +8151,14 @@ snapshots: - bufferutil - utf-8-validate - '@img/sharp-darwin-arm64@0.33.5': - optionalDependencies: - '@img/sharp-libvips-darwin-arm64': 1.0.4 - optional: true - '@img/sharp-darwin-arm64@0.34.1': optionalDependencies: '@img/sharp-libvips-darwin-arm64': 1.1.0 optional: true - '@img/sharp-darwin-x64@0.33.5': + '@img/sharp-darwin-arm64@0.34.3': optionalDependencies: - '@img/sharp-libvips-darwin-x64': 1.0.4 + '@img/sharp-libvips-darwin-arm64': 1.2.0 optional: true '@img/sharp-darwin-x64@0.34.1': @@ -8145,60 +8166,63 @@ snapshots: '@img/sharp-libvips-darwin-x64': 1.1.0 optional: true - '@img/sharp-libvips-darwin-arm64@1.0.4': + '@img/sharp-darwin-x64@0.34.3': + optionalDependencies: + '@img/sharp-libvips-darwin-x64': 1.2.0 optional: true '@img/sharp-libvips-darwin-arm64@1.1.0': optional: true - '@img/sharp-libvips-darwin-x64@1.0.4': + '@img/sharp-libvips-darwin-arm64@1.2.0': optional: true '@img/sharp-libvips-darwin-x64@1.1.0': optional: true - '@img/sharp-libvips-linux-arm64@1.0.4': + '@img/sharp-libvips-darwin-x64@1.2.0': optional: true '@img/sharp-libvips-linux-arm64@1.1.0': optional: true - '@img/sharp-libvips-linux-arm@1.0.5': + '@img/sharp-libvips-linux-arm64@1.2.0': optional: true '@img/sharp-libvips-linux-arm@1.1.0': optional: true + '@img/sharp-libvips-linux-arm@1.2.0': + optional: true + '@img/sharp-libvips-linux-ppc64@1.1.0': optional: true - '@img/sharp-libvips-linux-s390x@1.0.4': + '@img/sharp-libvips-linux-ppc64@1.2.0': optional: true '@img/sharp-libvips-linux-s390x@1.1.0': optional: true - '@img/sharp-libvips-linux-x64@1.0.4': + '@img/sharp-libvips-linux-s390x@1.2.0': optional: true '@img/sharp-libvips-linux-x64@1.1.0': optional: true - '@img/sharp-libvips-linuxmusl-arm64@1.0.4': + '@img/sharp-libvips-linux-x64@1.2.0': optional: true '@img/sharp-libvips-linuxmusl-arm64@1.1.0': optional: true - '@img/sharp-libvips-linuxmusl-x64@1.0.4': + '@img/sharp-libvips-linuxmusl-arm64@1.2.0': optional: true '@img/sharp-libvips-linuxmusl-x64@1.1.0': optional: true - '@img/sharp-linux-arm64@0.33.5': - optionalDependencies: - '@img/sharp-libvips-linux-arm64': 1.0.4 + '@img/sharp-libvips-linuxmusl-x64@1.2.0': optional: true '@img/sharp-linux-arm64@0.34.1': @@ -8206,9 +8230,9 @@ snapshots: '@img/sharp-libvips-linux-arm64': 1.1.0 optional: true - '@img/sharp-linux-arm@0.33.5': + '@img/sharp-linux-arm64@0.34.3': optionalDependencies: - '@img/sharp-libvips-linux-arm': 1.0.5 + '@img/sharp-libvips-linux-arm64': 1.2.0 optional: true '@img/sharp-linux-arm@0.34.1': @@ -8216,9 +8240,14 @@ snapshots: '@img/sharp-libvips-linux-arm': 1.1.0 optional: true - '@img/sharp-linux-s390x@0.33.5': + '@img/sharp-linux-arm@0.34.3': optionalDependencies: - '@img/sharp-libvips-linux-s390x': 1.0.4 + '@img/sharp-libvips-linux-arm': 1.2.0 + optional: true + + '@img/sharp-linux-ppc64@0.34.3': + optionalDependencies: + '@img/sharp-libvips-linux-ppc64': 1.2.0 optional: true '@img/sharp-linux-s390x@0.34.1': @@ -8226,9 +8255,9 @@ snapshots: '@img/sharp-libvips-linux-s390x': 1.1.0 optional: true - '@img/sharp-linux-x64@0.33.5': + '@img/sharp-linux-s390x@0.34.3': optionalDependencies: - '@img/sharp-libvips-linux-x64': 1.0.4 + '@img/sharp-libvips-linux-s390x': 1.2.0 optional: true '@img/sharp-linux-x64@0.34.1': @@ -8236,9 +8265,9 @@ snapshots: '@img/sharp-libvips-linux-x64': 1.1.0 optional: true - '@img/sharp-linuxmusl-arm64@0.33.5': + '@img/sharp-linux-x64@0.34.3': optionalDependencies: - '@img/sharp-libvips-linuxmusl-arm64': 1.0.4 + '@img/sharp-libvips-linux-x64': 1.2.0 optional: true '@img/sharp-linuxmusl-arm64@0.34.1': @@ -8246,9 +8275,9 @@ snapshots: '@img/sharp-libvips-linuxmusl-arm64': 1.1.0 optional: true - '@img/sharp-linuxmusl-x64@0.33.5': + '@img/sharp-linuxmusl-arm64@0.34.3': optionalDependencies: - '@img/sharp-libvips-linuxmusl-x64': 1.0.4 + '@img/sharp-libvips-linuxmusl-arm64': 1.2.0 optional: true '@img/sharp-linuxmusl-x64@0.34.1': @@ -8256,9 +8285,9 @@ snapshots: '@img/sharp-libvips-linuxmusl-x64': 1.1.0 optional: true - '@img/sharp-wasm32@0.33.5': - dependencies: - '@emnapi/runtime': 1.3.1 + '@img/sharp-linuxmusl-x64@0.34.3': + optionalDependencies: + '@img/sharp-libvips-linuxmusl-x64': 1.2.0 optional: true '@img/sharp-wasm32@0.34.1': @@ -8266,18 +8295,26 @@ snapshots: '@emnapi/runtime': 1.4.1 optional: true - '@img/sharp-win32-ia32@0.33.5': + '@img/sharp-wasm32@0.34.3': + dependencies: + '@emnapi/runtime': 1.4.4 + optional: true + + '@img/sharp-win32-arm64@0.34.3': optional: true '@img/sharp-win32-ia32@0.34.1': optional: true - '@img/sharp-win32-x64@0.33.5': + '@img/sharp-win32-ia32@0.34.3': optional: true '@img/sharp-win32-x64@0.34.1': optional: true + '@img/sharp-win32-x64@0.34.3': + optional: true + '@isaacs/cliui@8.0.2': dependencies: string-width: 5.1.2 @@ -8358,58 +8395,58 @@ snapshots: globby: 11.1.0 read-yaml-file: 1.1.0 - '@next/env@15.2.0': {} - '@next/env@15.4.0-canary.14': {} - '@next/swc-darwin-arm64@15.2.0': - optional: true + '@next/env@15.4.2-canary.1': {} '@next/swc-darwin-arm64@15.4.0-canary.14': optional: true - '@next/swc-darwin-x64@15.2.0': + '@next/swc-darwin-arm64@15.4.2-canary.1': optional: true '@next/swc-darwin-x64@15.4.0-canary.14': optional: true - '@next/swc-linux-arm64-gnu@15.2.0': + '@next/swc-darwin-x64@15.4.2-canary.1': optional: true '@next/swc-linux-arm64-gnu@15.4.0-canary.14': optional: true - '@next/swc-linux-arm64-musl@15.2.0': + '@next/swc-linux-arm64-gnu@15.4.2-canary.1': optional: true '@next/swc-linux-arm64-musl@15.4.0-canary.14': optional: true - '@next/swc-linux-x64-gnu@15.2.0': + '@next/swc-linux-arm64-musl@15.4.2-canary.1': optional: true '@next/swc-linux-x64-gnu@15.4.0-canary.14': optional: true - '@next/swc-linux-x64-musl@15.2.0': + '@next/swc-linux-x64-gnu@15.4.2-canary.1': optional: true '@next/swc-linux-x64-musl@15.4.0-canary.14': optional: true - '@next/swc-win32-arm64-msvc@15.2.0': + '@next/swc-linux-x64-musl@15.4.2-canary.1': optional: true '@next/swc-win32-arm64-msvc@15.4.0-canary.14': optional: true - '@next/swc-win32-x64-msvc@15.2.0': + '@next/swc-win32-arm64-msvc@15.4.2-canary.1': optional: true '@next/swc-win32-x64-msvc@15.4.0-canary.14': optional: true + '@next/swc-win32-x64-msvc@15.4.2-canary.1': + optional: true + '@node-minify/core@8.0.6': dependencies: '@node-minify/utils': 8.0.6 @@ -10126,6 +10163,9 @@ snapshots: detect-libc@2.0.3: optional: true + detect-libc@2.0.4: + optional: true + didyoumean@1.2.2: {} diff-sequences@29.6.3: {} @@ -11307,36 +11347,34 @@ snapshots: negotiator@1.0.0: {} - next@15.2.0(@playwright/test@1.49.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): + next@15.4.0-canary.14(@playwright/test@1.49.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: - '@next/env': 15.2.0 + '@next/env': 15.4.0-canary.14 '@swc/counter': 0.1.3 '@swc/helpers': 0.5.15 - busboy: 1.6.0 caniuse-lite: 1.0.30001669 postcss: 8.4.31 react: 19.0.0 react-dom: 19.0.0(react@19.0.0) styled-jsx: 5.1.6(react@19.0.0) optionalDependencies: - '@next/swc-darwin-arm64': 15.2.0 - '@next/swc-darwin-x64': 15.2.0 - '@next/swc-linux-arm64-gnu': 15.2.0 - '@next/swc-linux-arm64-musl': 15.2.0 - '@next/swc-linux-x64-gnu': 15.2.0 - '@next/swc-linux-x64-musl': 15.2.0 - '@next/swc-win32-arm64-msvc': 15.2.0 - '@next/swc-win32-x64-msvc': 15.2.0 + '@next/swc-darwin-arm64': 15.4.0-canary.14 + '@next/swc-darwin-x64': 15.4.0-canary.14 + '@next/swc-linux-arm64-gnu': 15.4.0-canary.14 + '@next/swc-linux-arm64-musl': 15.4.0-canary.14 + '@next/swc-linux-x64-gnu': 15.4.0-canary.14 + '@next/swc-linux-x64-musl': 15.4.0-canary.14 + '@next/swc-win32-arm64-msvc': 15.4.0-canary.14 + '@next/swc-win32-x64-msvc': 15.4.0-canary.14 '@playwright/test': 1.49.1 - sharp: 0.33.5 + sharp: 0.34.1 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros - next@15.4.0-canary.14(@playwright/test@1.49.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): + next@15.4.2-canary.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: - '@next/env': 15.4.0-canary.14 - '@swc/counter': 0.1.3 + '@next/env': 15.4.2-canary.1 '@swc/helpers': 0.5.15 caniuse-lite: 1.0.30001669 postcss: 8.4.31 @@ -11344,16 +11382,15 @@ snapshots: react-dom: 19.0.0(react@19.0.0) styled-jsx: 5.1.6(react@19.0.0) optionalDependencies: - '@next/swc-darwin-arm64': 15.4.0-canary.14 - '@next/swc-darwin-x64': 15.4.0-canary.14 - '@next/swc-linux-arm64-gnu': 15.4.0-canary.14 - '@next/swc-linux-arm64-musl': 15.4.0-canary.14 - '@next/swc-linux-x64-gnu': 15.4.0-canary.14 - '@next/swc-linux-x64-musl': 15.4.0-canary.14 - '@next/swc-win32-arm64-msvc': 15.4.0-canary.14 - '@next/swc-win32-x64-msvc': 15.4.0-canary.14 - '@playwright/test': 1.49.1 - sharp: 0.34.1 + '@next/swc-darwin-arm64': 15.4.2-canary.1 + '@next/swc-darwin-x64': 15.4.2-canary.1 + '@next/swc-linux-arm64-gnu': 15.4.2-canary.1 + '@next/swc-linux-arm64-musl': 15.4.2-canary.1 + '@next/swc-linux-x64-gnu': 15.4.2-canary.1 + '@next/swc-linux-x64-musl': 15.4.2-canary.1 + '@next/swc-win32-arm64-msvc': 15.4.2-canary.1 + '@next/swc-win32-x64-msvc': 15.4.2-canary.1 + sharp: 0.34.3 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros @@ -11850,6 +11887,9 @@ snapshots: semver@7.7.1: {} + semver@7.7.2: + optional: true + send@0.19.0: dependencies: debug: 2.6.9 @@ -11914,33 +11954,6 @@ snapshots: setprototypeof@1.2.0: {} - sharp@0.33.5: - dependencies: - color: 4.2.3 - detect-libc: 2.0.3 - semver: 7.6.3 - optionalDependencies: - '@img/sharp-darwin-arm64': 0.33.5 - '@img/sharp-darwin-x64': 0.33.5 - '@img/sharp-libvips-darwin-arm64': 1.0.4 - '@img/sharp-libvips-darwin-x64': 1.0.4 - '@img/sharp-libvips-linux-arm': 1.0.5 - '@img/sharp-libvips-linux-arm64': 1.0.4 - '@img/sharp-libvips-linux-s390x': 1.0.4 - '@img/sharp-libvips-linux-x64': 1.0.4 - '@img/sharp-libvips-linuxmusl-arm64': 1.0.4 - '@img/sharp-libvips-linuxmusl-x64': 1.0.4 - '@img/sharp-linux-arm': 0.33.5 - '@img/sharp-linux-arm64': 0.33.5 - '@img/sharp-linux-s390x': 0.33.5 - '@img/sharp-linux-x64': 0.33.5 - '@img/sharp-linuxmusl-arm64': 0.33.5 - '@img/sharp-linuxmusl-x64': 0.33.5 - '@img/sharp-wasm32': 0.33.5 - '@img/sharp-win32-ia32': 0.33.5 - '@img/sharp-win32-x64': 0.33.5 - optional: true - sharp@0.34.1: dependencies: color: 4.2.3 @@ -11969,6 +11982,36 @@ snapshots: '@img/sharp-win32-x64': 0.34.1 optional: true + sharp@0.34.3: + dependencies: + color: 4.2.3 + detect-libc: 2.0.4 + semver: 7.7.2 + optionalDependencies: + '@img/sharp-darwin-arm64': 0.34.3 + '@img/sharp-darwin-x64': 0.34.3 + '@img/sharp-libvips-darwin-arm64': 1.2.0 + '@img/sharp-libvips-darwin-x64': 1.2.0 + '@img/sharp-libvips-linux-arm': 1.2.0 + '@img/sharp-libvips-linux-arm64': 1.2.0 + '@img/sharp-libvips-linux-ppc64': 1.2.0 + '@img/sharp-libvips-linux-s390x': 1.2.0 + '@img/sharp-libvips-linux-x64': 1.2.0 + '@img/sharp-libvips-linuxmusl-arm64': 1.2.0 + '@img/sharp-libvips-linuxmusl-x64': 1.2.0 + '@img/sharp-linux-arm': 0.34.3 + '@img/sharp-linux-arm64': 0.34.3 + '@img/sharp-linux-ppc64': 0.34.3 + '@img/sharp-linux-s390x': 0.34.3 + '@img/sharp-linux-x64': 0.34.3 + '@img/sharp-linuxmusl-arm64': 0.34.3 + '@img/sharp-linuxmusl-x64': 0.34.3 + '@img/sharp-wasm32': 0.34.3 + '@img/sharp-win32-arm64': 0.34.3 + '@img/sharp-win32-ia32': 0.34.3 + '@img/sharp-win32-x64': 0.34.3 + optional: true + shebang-command@1.2.0: dependencies: shebang-regex: 1.0.0 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 6b10e0787..a90aaba32 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -3,7 +3,7 @@ packages: - "packages/*" catalog: - next: 15.2.0 + next: 15.4.2-canary.1 react: 19.0.0 react-dom: 19.0.0 "@types/node": 20.17.6 From beb682a17c94cc47dd8f71b76efadc6e2568c249 Mon Sep 17 00:00:00 2001 From: Nicolas Dorseuil Date: Wed, 16 Jul 2025 09:53:18 +0200 Subject: [PATCH 2/8] allow to run some examples locally --- examples/app-router/open-next.config.local.ts | 24 +++++++++++++++++++ examples/app-router/package.json | 3 ++- examples/app-router/tsconfig.json | 2 +- .../pages-router/open-next.config.local.ts | 23 ++++++++++++++++++ examples/pages-router/package.json | 1 + 5 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 examples/app-router/open-next.config.local.ts create mode 100644 examples/pages-router/open-next.config.local.ts diff --git a/examples/app-router/open-next.config.local.ts b/examples/app-router/open-next.config.local.ts new file mode 100644 index 000000000..a931cb2d8 --- /dev/null +++ b/examples/app-router/open-next.config.local.ts @@ -0,0 +1,24 @@ +import type { OpenNextConfig } from "@opennextjs/aws/types/open-next.js"; + +export default { + default: { + override: { + wrapper: "express-dev", + converter: "node", + incrementalCache: "fs-dev", + queue: "direct", + tagCache: "dummy", + }, + }, + + imageOptimization: { + override: { + wrapper: "dummy", + converter: "dummy", + }, + loader: "fs-dev", + }, + + // You can override the build command here so that you don't have to rebuild next every time you make a change + //buildCommand: "echo 'No build command'", +} satisfies OpenNextConfig; \ No newline at end of file diff --git a/examples/app-router/package.json b/examples/app-router/package.json index 326122b9c..9fab9a612 100644 --- a/examples/app-router/package.json +++ b/examples/app-router/package.json @@ -3,7 +3,8 @@ "version": "0.1.24", "private": true, "scripts": { - "openbuild": "node ../../packages/open-next/dist/index.js build --streaming --build-command \"npx turbo build\"", + "openbuild": "node ../../packages/open-next/dist/index.js build", + "openbuild:local": "node ../../packages/open-next/dist/index.js build --config-path open-next.config.local.ts", "dev": "next dev --turbopack --port 3001", "build": "next build", "start": "next start --port 3001", diff --git a/examples/app-router/tsconfig.json b/examples/app-router/tsconfig.json index 81f2bef55..896974980 100644 --- a/examples/app-router/tsconfig.json +++ b/examples/app-router/tsconfig.json @@ -24,5 +24,5 @@ } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "open-next.config.ts", "open-next.config.local.ts"] } diff --git a/examples/pages-router/open-next.config.local.ts b/examples/pages-router/open-next.config.local.ts new file mode 100644 index 000000000..64a490be4 --- /dev/null +++ b/examples/pages-router/open-next.config.local.ts @@ -0,0 +1,23 @@ + +export default { + default: { + override: { + wrapper: "express-dev", + converter: "node", + incrementalCache: "fs-dev", + queue: "direct", + tagCache: "dummy", + }, + }, + + imageOptimization: { + override: { + wrapper: "dummy", + converter: "dummy", + }, + loader: "fs-dev", + }, + + // You can override the build command here so that you don't have to rebuild next every time you make a change + //buildCommand: "echo 'No build command'", +}; \ No newline at end of file diff --git a/examples/pages-router/package.json b/examples/pages-router/package.json index 2d4b6e289..d289cd616 100644 --- a/examples/pages-router/package.json +++ b/examples/pages-router/package.json @@ -4,6 +4,7 @@ "private": true, "scripts": { "openbuild": "node ../../packages/open-next/dist/index.js build --build-command \"npx turbo build\"", + "openbuild:local": "node ../../packages/open-next/dist/index.js build --config-path open-next.config.local.ts", "dev": "next dev --turbopack --port 3002", "build": "next build", "start": "next start --port 3002", From 1f00712f6201ea2ea7ab27c38bfe196b458ebcb5 Mon Sep 17 00:00:00 2001 From: Nicolas Dorseuil Date: Wed, 16 Jul 2025 09:53:32 +0200 Subject: [PATCH 3/8] fix page router --- packages/open-next/src/core/requestHandler.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/open-next/src/core/requestHandler.ts b/packages/open-next/src/core/requestHandler.ts index 92b8a934f..b9dc87c86 100644 --- a/packages/open-next/src/core/requestHandler.ts +++ b/packages/open-next/src/core/requestHandler.ts @@ -18,6 +18,7 @@ import { constructNextUrl, convertRes, convertToQuery, + convertToQueryString, createServerResponse, } from "./routing/util"; import routingHandler, { @@ -266,6 +267,12 @@ async function processRequest( //#endOverride // Next Server + // TODO: only enable this on Next 15.4+ + const reqUrl = new URL(routingResult.initialURL); + // We need to set the pathname to the data request path + req.url = reqUrl.pathname + convertToQueryString(routingResult.internalEvent.query); + // We need to set the headers to the request metadata + await requestHandler(requestMetadata)(req, res); } catch (e: any) { // This might fail when using bundled next, importing won't do the trick either From 39dd3a3a084577df1ea3c93081731448056faf41 Mon Sep 17 00:00:00 2001 From: Nicolas Dorseuil Date: Sat, 19 Jul 2025 14:04:30 +0200 Subject: [PATCH 4/8] fix for external middleware and apply only for next 15.4+ --- packages/open-next/src/build/createServerBundle.ts | 7 +++++++ packages/open-next/src/core/requestHandler.ts | 11 +++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/packages/open-next/src/build/createServerBundle.ts b/packages/open-next/src/build/createServerBundle.ts index 7f1fedae2..098128718 100644 --- a/packages/open-next/src/build/createServerBundle.ts +++ b/packages/open-next/src/build/createServerBundle.ts @@ -243,6 +243,12 @@ async function generateBundle( "15.2.0", ); + const isBefore154 = buildHelper.compareSemver( + options.nextVersion, + "<", + "15.4.0", + ); + const disableRouting = isBefore13413 || config.middleware?.external; const updater = new ContentUpdater(options); @@ -260,6 +266,7 @@ async function generateBundle( ...(disableRouting ? ["withRouting"] : []), ...(isAfter142 ? ["patchAsyncStorage"] : []), ...(isAfter141 ? ["appendPrefetch"] : []), + ...(isBefore154 ? ["setInitialURL"] : []), ], }), openNextReplacementPlugin({ diff --git a/packages/open-next/src/core/requestHandler.ts b/packages/open-next/src/core/requestHandler.ts index b9dc87c86..b29165468 100644 --- a/packages/open-next/src/core/requestHandler.ts +++ b/packages/open-next/src/core/requestHandler.ts @@ -239,7 +239,10 @@ async function processRequest( // Here we try to apply as much request metadata as possible // We apply every metadata from `resolve-routes` https://github.com/vercel/next.js/blob/916f105b97211de50f8580f0b39c9e7c60de4886/packages/next/src/server/lib/router-utils/resolve-routes.ts // and `router-server` https://github.com/vercel/next.js/blob/916f105b97211de50f8580f0b39c9e7c60de4886/packages/next/src/server/lib/router-server.ts - const initialURL = new URL(routingResult.initialURL); + const initialURL = new URL( + // We always assume that only the routing layer can set this header. + routingResult.internalEvent.headers[INTERNAL_HEADER_INITIAL_URL] ?? routingResult.initialURL + ); let invokeStatus: number | undefined; if (routingResult.internalEvent.rawPath === "/500") { invokeStatus = 500; @@ -268,10 +271,10 @@ async function processRequest( // Next Server // TODO: only enable this on Next 15.4+ - const reqUrl = new URL(routingResult.initialURL); // We need to set the pathname to the data request path - req.url = reqUrl.pathname + convertToQueryString(routingResult.internalEvent.query); - // We need to set the headers to the request metadata + //#override setInitialURL + req.url = initialURL.pathname + convertToQueryString(routingResult.internalEvent.query); + //#endOverride await requestHandler(requestMetadata)(req, res); } catch (e: any) { From 61700c2285796d5f7b0b40ac56eb6b57aeef7a9f Mon Sep 17 00:00:00 2001 From: Nicolas Dorseuil Date: Sat, 19 Jul 2025 14:10:46 +0200 Subject: [PATCH 5/8] bump to 15.4.2 --- pnpm-lock.yaml | 88 ++++++++++++++++++++++----------------------- pnpm-workspace.yaml | 2 +- 2 files changed, 45 insertions(+), 45 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index df1f963b4..6b84b8347 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -22,8 +22,8 @@ catalogs: specifier: 0.25.4 version: 0.25.4 next: - specifier: 15.4.2-canary.1 - version: 15.4.2-canary.1 + specifier: 15.4.2 + version: 15.4.2 postcss: specifier: 8.4.27 version: 8.4.27 @@ -70,7 +70,7 @@ importers: version: link:../../packages/open-next next: specifier: 'catalog:' - version: 15.4.2-canary.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + version: 15.4.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react: specifier: 'catalog:' version: 19.0.0 @@ -110,7 +110,7 @@ importers: version: link:../../packages/open-next next: specifier: 'catalog:' - version: 15.4.2-canary.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + version: 15.4.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react: specifier: 'catalog:' version: 19.0.0 @@ -172,7 +172,7 @@ importers: version: link:../shared next: specifier: 'catalog:' - version: 15.4.2-canary.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + version: 15.4.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react: specifier: 'catalog:' version: 19.0.0 @@ -1950,8 +1950,8 @@ packages: '@next/env@15.4.0-canary.14': resolution: {integrity: sha512-ynXM3n0AEcB1mwoOLgar27s/WoFyX0C8kpbfpc6bylq2rfS+q+KNla1WAVX3QdHyV82KyrqdMQAFOIyTZg4K9A==} - '@next/env@15.4.2-canary.1': - resolution: {integrity: sha512-xGI7gwj0cTPNZWRSgZKsM0UyT8zT1f1VPC36c84YDFGgtG74OhagO4WIF0cE6X3TgVmgCwr6Al4Y8q2gN7pOGw==} + '@next/env@15.4.2': + resolution: {integrity: sha512-kd7MvW3pAP7tmk1NaiX4yG15xb2l4gNhteKQxt3f+NGR22qwPymn9RBuv26QKfIKmfo6z2NpgU8W2RT0s0jlvg==} '@next/swc-darwin-arm64@15.4.0-canary.14': resolution: {integrity: sha512-p62YaNcigaJlZ6IIubZPT+S4N0CXXkjqdIbC2Otr6LLxWsvdkHRgWaPLHauCxWw0zS7jczKY1w4ZfyX9l26sIQ==} @@ -1959,8 +1959,8 @@ packages: cpu: [arm64] os: [darwin] - '@next/swc-darwin-arm64@15.4.2-canary.1': - resolution: {integrity: sha512-zTyaGElrLMqwNuH9IXNLfKMlVfgrBMXjcl3HcATNQ11irNK7QogFYNXEwLpCmNoeRsCWPdkMHcI/sq1eZjAjwQ==} + '@next/swc-darwin-arm64@15.4.2': + resolution: {integrity: sha512-ovqjR8NjCBdBf1U+R/Gvn0RazTtXS9n6wqs84iFaCS1NHbw9ksVE4dfmsYcLoyUVd9BWE0bjkphOWrrz8uz/uw==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -1971,8 +1971,8 @@ packages: cpu: [x64] os: [darwin] - '@next/swc-darwin-x64@15.4.2-canary.1': - resolution: {integrity: sha512-De02pG+rpcK4ctSzdFdvTLPFlS8MA1bfLenxh5/w6MDL8A4yhY0F6pP9zAe6ew4eIG5HteUHT93aT+cpPZBPrQ==} + '@next/swc-darwin-x64@15.4.2': + resolution: {integrity: sha512-I8d4W7tPqbdbHRI4z1iBfaoJIBrEG4fnWKIe+Rj1vIucNZ5cEinfwkBt3RcDF00bFRZRDpvKuDjgMFD3OyRBnw==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -1983,8 +1983,8 @@ packages: cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-gnu@15.4.2-canary.1': - resolution: {integrity: sha512-yuSu2JodqR8wuQB7C/Qiok8wClpVM19XiF1/PD0WDGay5jPTvGHVda0KjvgFpIrS5uKRvP0Vua+qt37ON6RSPQ==} + '@next/swc-linux-arm64-gnu@15.4.2': + resolution: {integrity: sha512-lvhz02dU3Ec5thzfQ2RCUeOFADjNkS/px1W7MBt7HMhf0/amMfT8Z/aXOwEA+cVWN7HSDRSUc8hHILoHmvajsg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -1995,8 +1995,8 @@ packages: cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-musl@15.4.2-canary.1': - resolution: {integrity: sha512-88jl3tATJj2AS4JR5P4yukGSnVNzZas7bCGSShmA8dA331VqLIUIVC3SU5dA0KmHKwSvqD/iYI7DEUjpJvNsTQ==} + '@next/swc-linux-arm64-musl@15.4.2': + resolution: {integrity: sha512-v+5PPfL8UP+KKHS3Mox7QMoeFdMlaV0zeNMIF7eLC4qTiVSO0RPNnK0nkBZSD5BEkkf//c+vI9s/iHxddCZchA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -2007,8 +2007,8 @@ packages: cpu: [x64] os: [linux] - '@next/swc-linux-x64-gnu@15.4.2-canary.1': - resolution: {integrity: sha512-nk8SL02FHPUH52wCbbnr6FnXACp5w1/JGmiUVT9mY4y2gaAIimal1ic0aA5z9zwbT2E89HdS7SJw0x6VmJTIiA==} + '@next/swc-linux-x64-gnu@15.4.2': + resolution: {integrity: sha512-PHLYOC9W2cu6I/JEKo77+LW4uPNvyEQiSkVRUQPsOIsf01PRr8PtPhwtz3XNnC9At8CrzPkzqQ9/kYDg4R4Inw==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -2019,8 +2019,8 @@ packages: cpu: [x64] os: [linux] - '@next/swc-linux-x64-musl@15.4.2-canary.1': - resolution: {integrity: sha512-Qg9JX4xIy81s9kYeDHvjXbzhSZ20E0H1Bfmp8NnUq+YfFa9Q0Jtmv4JaVrGfXwAjf0yJELbn8lW3NewpO9v2DA==} + '@next/swc-linux-x64-musl@15.4.2': + resolution: {integrity: sha512-lpmUF9FfLFns4JbTu+5aJGA8aR9dXaA12eoNe9CJbVkGib0FDiPa4kBGTwy0xDxKNGlv3bLDViyx1U+qafmuJQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -2031,8 +2031,8 @@ packages: cpu: [arm64] os: [win32] - '@next/swc-win32-arm64-msvc@15.4.2-canary.1': - resolution: {integrity: sha512-irmCpbqh2cm4lCB+ASTqGWd/vZCgi27HT7dFkVOD+CXsO6eafVWhlLg9qswk8WvPZ3YQ4449Jp+OX2FAxoA4nA==} + '@next/swc-win32-arm64-msvc@15.4.2': + resolution: {integrity: sha512-aMjogoGnRepas0LQ/PBPsvvUzj+IoXw2IoDSEShEtrsu2toBiaxEWzOQuPZ8nie8+1iF7TA63S7rlp3YWAjNEg==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -2043,8 +2043,8 @@ packages: cpu: [x64] os: [win32] - '@next/swc-win32-x64-msvc@15.4.2-canary.1': - resolution: {integrity: sha512-OvZ69f3PiVHajtLieMnjVGrqXG3Oo4dMJV7YsSdTkdvczJ5JU2BMhQX3IMNuXPVRFAQkkhXZ4xgtVHwjnmzPDg==} + '@next/swc-win32-x64-msvc@15.4.2': + resolution: {integrity: sha512-FxwauyexSFu78wEqR/+NB9MnqXVj6SxJKwcVs2CRjeSX/jBagDCgtR2W36PZUYm0WPgY1pQ3C1+nn7zSnwROuw==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -4499,8 +4499,8 @@ packages: sass: optional: true - next@15.4.2-canary.1: - resolution: {integrity: sha512-ReLlQcDEb7Zd+hsyWrIrXiP4C6EbqHV3gBm0p7uuq3dPGmA/qG2LAQFxyrvRIak+Ma7/mnyzRhJLj+U4Ap/jXQ==} + next@15.4.2: + resolution: {integrity: sha512-oH1rmFso+84NIkocfuxaGKcXIjMUTmnzV2x0m8qsYtB4gD6iflLMESXt5XJ8cFgWMBei4v88rNr/j+peNg72XA==} engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0} hasBin: true peerDependencies: @@ -8397,54 +8397,54 @@ snapshots: '@next/env@15.4.0-canary.14': {} - '@next/env@15.4.2-canary.1': {} + '@next/env@15.4.2': {} '@next/swc-darwin-arm64@15.4.0-canary.14': optional: true - '@next/swc-darwin-arm64@15.4.2-canary.1': + '@next/swc-darwin-arm64@15.4.2': optional: true '@next/swc-darwin-x64@15.4.0-canary.14': optional: true - '@next/swc-darwin-x64@15.4.2-canary.1': + '@next/swc-darwin-x64@15.4.2': optional: true '@next/swc-linux-arm64-gnu@15.4.0-canary.14': optional: true - '@next/swc-linux-arm64-gnu@15.4.2-canary.1': + '@next/swc-linux-arm64-gnu@15.4.2': optional: true '@next/swc-linux-arm64-musl@15.4.0-canary.14': optional: true - '@next/swc-linux-arm64-musl@15.4.2-canary.1': + '@next/swc-linux-arm64-musl@15.4.2': optional: true '@next/swc-linux-x64-gnu@15.4.0-canary.14': optional: true - '@next/swc-linux-x64-gnu@15.4.2-canary.1': + '@next/swc-linux-x64-gnu@15.4.2': optional: true '@next/swc-linux-x64-musl@15.4.0-canary.14': optional: true - '@next/swc-linux-x64-musl@15.4.2-canary.1': + '@next/swc-linux-x64-musl@15.4.2': optional: true '@next/swc-win32-arm64-msvc@15.4.0-canary.14': optional: true - '@next/swc-win32-arm64-msvc@15.4.2-canary.1': + '@next/swc-win32-arm64-msvc@15.4.2': optional: true '@next/swc-win32-x64-msvc@15.4.0-canary.14': optional: true - '@next/swc-win32-x64-msvc@15.4.2-canary.1': + '@next/swc-win32-x64-msvc@15.4.2': optional: true '@node-minify/core@8.0.6': @@ -11372,9 +11372,9 @@ snapshots: - '@babel/core' - babel-plugin-macros - next@15.4.2-canary.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0): + next@15.4.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: - '@next/env': 15.4.2-canary.1 + '@next/env': 15.4.2 '@swc/helpers': 0.5.15 caniuse-lite: 1.0.30001669 postcss: 8.4.31 @@ -11382,14 +11382,14 @@ snapshots: react-dom: 19.0.0(react@19.0.0) styled-jsx: 5.1.6(react@19.0.0) optionalDependencies: - '@next/swc-darwin-arm64': 15.4.2-canary.1 - '@next/swc-darwin-x64': 15.4.2-canary.1 - '@next/swc-linux-arm64-gnu': 15.4.2-canary.1 - '@next/swc-linux-arm64-musl': 15.4.2-canary.1 - '@next/swc-linux-x64-gnu': 15.4.2-canary.1 - '@next/swc-linux-x64-musl': 15.4.2-canary.1 - '@next/swc-win32-arm64-msvc': 15.4.2-canary.1 - '@next/swc-win32-x64-msvc': 15.4.2-canary.1 + '@next/swc-darwin-arm64': 15.4.2 + '@next/swc-darwin-x64': 15.4.2 + '@next/swc-linux-arm64-gnu': 15.4.2 + '@next/swc-linux-arm64-musl': 15.4.2 + '@next/swc-linux-x64-gnu': 15.4.2 + '@next/swc-linux-x64-musl': 15.4.2 + '@next/swc-win32-arm64-msvc': 15.4.2 + '@next/swc-win32-x64-msvc': 15.4.2 sharp: 0.34.3 transitivePeerDependencies: - '@babel/core' diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index a90aaba32..850c98d0c 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -3,7 +3,7 @@ packages: - "packages/*" catalog: - next: 15.4.2-canary.1 + next: 15.4.2 react: 19.0.0 react-dom: 19.0.0 "@types/node": 20.17.6 From ae36cf0b3ea559de9d9613851d3b584139a2761d Mon Sep 17 00:00:00 2001 From: Nicolas Dorseuil Date: Sat, 19 Jul 2025 14:21:51 +0200 Subject: [PATCH 6/8] linting --- examples/app-router/open-next.config.local.ts | 8 ++++---- examples/app-router/tsconfig.json | 6 +++++- examples/pages-router/open-next.config.local.ts | 7 +++---- packages/open-next/src/core/requestHandler.ts | 9 ++++++--- 4 files changed, 18 insertions(+), 12 deletions(-) diff --git a/examples/app-router/open-next.config.local.ts b/examples/app-router/open-next.config.local.ts index a931cb2d8..b651dde59 100644 --- a/examples/app-router/open-next.config.local.ts +++ b/examples/app-router/open-next.config.local.ts @@ -1,5 +1,5 @@ import type { OpenNextConfig } from "@opennextjs/aws/types/open-next.js"; - + export default { default: { override: { @@ -10,7 +10,7 @@ export default { tagCache: "dummy", }, }, - + imageOptimization: { override: { wrapper: "dummy", @@ -18,7 +18,7 @@ export default { }, loader: "fs-dev", }, - + // You can override the build command here so that you don't have to rebuild next every time you make a change //buildCommand: "echo 'No build command'", -} satisfies OpenNextConfig; \ No newline at end of file +} satisfies OpenNextConfig; diff --git a/examples/app-router/tsconfig.json b/examples/app-router/tsconfig.json index 896974980..d94673cf6 100644 --- a/examples/app-router/tsconfig.json +++ b/examples/app-router/tsconfig.json @@ -24,5 +24,9 @@ } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules", "open-next.config.ts", "open-next.config.local.ts"] + "exclude": [ + "node_modules", + "open-next.config.ts", + "open-next.config.local.ts" + ] } diff --git a/examples/pages-router/open-next.config.local.ts b/examples/pages-router/open-next.config.local.ts index 64a490be4..1f7be4d3c 100644 --- a/examples/pages-router/open-next.config.local.ts +++ b/examples/pages-router/open-next.config.local.ts @@ -1,4 +1,3 @@ - export default { default: { override: { @@ -9,7 +8,7 @@ export default { tagCache: "dummy", }, }, - + imageOptimization: { override: { wrapper: "dummy", @@ -17,7 +16,7 @@ export default { }, loader: "fs-dev", }, - + // You can override the build command here so that you don't have to rebuild next every time you make a change //buildCommand: "echo 'No build command'", -}; \ No newline at end of file +}; diff --git a/packages/open-next/src/core/requestHandler.ts b/packages/open-next/src/core/requestHandler.ts index b29165468..43067e812 100644 --- a/packages/open-next/src/core/requestHandler.ts +++ b/packages/open-next/src/core/requestHandler.ts @@ -241,7 +241,8 @@ async function processRequest( // and `router-server` https://github.com/vercel/next.js/blob/916f105b97211de50f8580f0b39c9e7c60de4886/packages/next/src/server/lib/router-server.ts const initialURL = new URL( // We always assume that only the routing layer can set this header. - routingResult.internalEvent.headers[INTERNAL_HEADER_INITIAL_URL] ?? routingResult.initialURL + routingResult.internalEvent.headers[INTERNAL_HEADER_INITIAL_URL] ?? + routingResult.initialURL, ); let invokeStatus: number | undefined; if (routingResult.internalEvent.rawPath === "/500") { @@ -273,9 +274,11 @@ async function processRequest( // TODO: only enable this on Next 15.4+ // We need to set the pathname to the data request path //#override setInitialURL - req.url = initialURL.pathname + convertToQueryString(routingResult.internalEvent.query); + req.url = + initialURL.pathname + + convertToQueryString(routingResult.internalEvent.query); //#endOverride - + await requestHandler(requestMetadata)(req, res); } catch (e: any) { // This might fail when using bundled next, importing won't do the trick either From 9f11d8b62623d9caa1e0bccd60600defe8ff6dbd Mon Sep 17 00:00:00 2001 From: conico974 Date: Sat, 19 Jul 2025 15:59:53 +0200 Subject: [PATCH 7/8] Create tricky-pans-cross.md --- .changeset/tricky-pans-cross.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/tricky-pans-cross.md diff --git a/.changeset/tricky-pans-cross.md b/.changeset/tricky-pans-cross.md new file mode 100644 index 000000000..75f87e986 --- /dev/null +++ b/.changeset/tricky-pans-cross.md @@ -0,0 +1,5 @@ +--- +"@opennextjs/aws": patch +--- + +Fix for Next 15.4+ From 4b40c7479b577e21706e5609bd037350d449f97c Mon Sep 17 00:00:00 2001 From: Nicolas Dorseuil Date: Mon, 21 Jul 2025 21:44:09 +0200 Subject: [PATCH 8/8] review --- packages/open-next/src/build/createServerBundle.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/open-next/src/build/createServerBundle.ts b/packages/open-next/src/build/createServerBundle.ts index 098128718..ec71501c7 100644 --- a/packages/open-next/src/build/createServerBundle.ts +++ b/packages/open-next/src/build/createServerBundle.ts @@ -243,9 +243,9 @@ async function generateBundle( "15.2.0", ); - const isBefore154 = buildHelper.compareSemver( + const isAfter154 = buildHelper.compareSemver( options.nextVersion, - "<", + ">=", "15.4.0", ); @@ -266,7 +266,7 @@ async function generateBundle( ...(disableRouting ? ["withRouting"] : []), ...(isAfter142 ? ["patchAsyncStorage"] : []), ...(isAfter141 ? ["appendPrefetch"] : []), - ...(isBefore154 ? ["setInitialURL"] : []), + ...(isAfter154 ? [] : ["setInitialURL"]), ], }), openNextReplacementPlugin({