From 663fa9cb295730b5adfce8f968593f3838228d16 Mon Sep 17 00:00:00 2001 From: Hendrik Liebau Date: Wed, 11 Dec 2024 14:06:15 +0100 Subject: [PATCH] Fix SWC and React versions for `14-2-1` branch (#73791) - installs React v18 instead of latest in tests - removes Next.js v15 references from lockfile - installs "current" native SWC binaries instead of latest --- pnpm-lock.yaml | 475 +++--------------- run-tests.js | 2 +- scripts/install-native.mjs | 20 +- test/.stats-app/package.json | 4 +- .../acceptance-app/ReactRefresh.test.ts | 4 +- .../ReactRefreshLogBox-builtins.test.ts | 4 +- .../ReactRefreshLogBox-scss.test.ts | 4 +- .../acceptance-app/ReactRefreshLogBox.test.ts | 4 +- .../ReactRefreshLogBoxMisc.test.ts | 4 +- .../acceptance-app/ReactRefreshModule.test.ts | 4 +- .../ReactRefreshRegression.test.ts | 4 +- .../ReactRefreshRequire.test.ts | 4 +- .../acceptance-app/component-stack.test.ts | 4 +- .../acceptance-app/editor-links.test.ts | 4 +- .../acceptance-app/error-message-url.test.ts | 4 +- .../acceptance-app/error-recovery.test.ts | 4 +- .../acceptance-app/hydration-error.test.ts | 4 +- .../acceptance-app/invalid-imports.test.ts | 4 +- .../acceptance-app/rsc-build-errors.test.ts | 4 +- .../acceptance-app/server-components.test.ts | 4 +- .../acceptance/hydration-error.test.ts | 4 +- ...component-compiler-errors-in-pages.test.ts | 4 +- .../define-class-fields.test.ts | 2 +- .../correct-tsconfig-defaults/index.test.ts | 2 +- .../jsconfig-path-reloading/index.test.ts | 2 +- .../next-font/deprecated-package.test.ts | 4 +- .../tsconfig-path-reloading/index.test.ts | 2 +- .../app-action-allowed-origins.test.ts | 4 +- .../app-action-disallowed-origins.test.ts | 4 +- .../app-dir/actions/app-action-export.test.ts | 4 +- .../actions/app-action-form-state.test.ts | 4 +- ...app-action-progressive-enhancement.test.ts | 4 +- .../app-action-size-limit-invalid.test.ts | 4 +- test/e2e/app-dir/actions/app-action.test.ts | 4 +- .../app-css-pageextensions/index.test.ts | 4 +- test/e2e/app-dir/app-css/index.test.ts | 4 +- .../create-root-layout.test.ts | 12 +- .../navigation.test.ts | 6 +- .../rewrites-redirects.test.ts | 6 +- .../child-a-tag-error.test.ts | 4 +- .../e2e/new-link-behavior/material-ui.test.ts | 4 +- test/e2e/new-link-behavior/stitches.test.ts | 4 +- test/e2e/next-font/with-proxy.test.ts | 4 +- test/e2e/next-script/index.test.ts | 24 +- test/e2e/switchable-runtime/index.test.ts | 4 +- test/e2e/transpile-packages/index.test.ts | 4 +- test/lib/next-modes/base.ts | 2 +- .../eslint-plugin-deps/index.test.ts | 4 +- .../jest/transpile-packages.test.ts | 2 +- ...supports-moduleresolution-nodenext.test.ts | 2 +- .../production/typescript-basic/index.test.ts | 4 +- 51 files changed, 189 insertions(+), 518 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 86afaebd836fc..a5c88e96ac995 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -794,7 +794,7 @@ importers: dependencies: next: specifier: '*' - version: 15.0.1(@babel/core@7.22.5)(@opentelemetry/api@1.4.1)(@playwright/test@1.19.2)(react-dom@18.2.0)(react@18.2.0)(sass@1.54.0) + version: link:../next devDependencies: '@types/fontkit': specifier: 2.0.0 @@ -1681,6 +1681,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/highlight': 7.22.20 + dev: true /@babel/code-frame@7.22.13: resolution: {integrity: sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==} @@ -2135,6 +2136,7 @@ packages: '@babel/core': 7.22.5 '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.22.5) '@babel/helper-plugin-utils': 7.22.5 + dev: true /@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.22.5): resolution: {integrity: sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==} @@ -2159,6 +2161,7 @@ packages: '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.22.5) + dev: true /@babel/plugin-proposal-export-namespace-from@7.16.7(@babel/core@7.22.5): resolution: {integrity: sha512-ZxdtqDXLRGBL64ocZcs7ovt71L3jhC1RGSyR996svrCi3PYqHNkb3SwPJCs8RIzD86s+WPpt2S73+EHCGO+NUA==} @@ -2170,6 +2173,7 @@ packages: '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.22.5) + dev: true /@babel/plugin-proposal-export-namespace-from@7.18.9(@babel/core@7.22.5): resolution: {integrity: sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==} @@ -2193,6 +2197,7 @@ packages: '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.22.5) + dev: true /@babel/plugin-proposal-nullish-coalescing-operator@7.16.7(@babel/core@7.22.5): resolution: {integrity: sha512-aUOrYU3EVtjf62jQrCj63pYZ7k6vns2h/DQvHPWGmsJRYzWXZ6/AsfgpiRy6XiuIDADhJzP2Q9MwSMKauBQ+UQ==} @@ -2215,6 +2220,7 @@ packages: '@babel/core': 7.22.5 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.22.5) + dev: true /@babel/plugin-proposal-numeric-separator@7.18.6(@babel/core@7.22.5): resolution: {integrity: sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==} @@ -2265,6 +2271,7 @@ packages: '@babel/core': 7.22.5 '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.22.5) '@babel/helper-plugin-utils': 7.22.5 + dev: true /@babel/plugin-proposal-private-property-in-object@7.16.7(@babel/core@7.22.5): resolution: {integrity: sha512-rMQkjcOFbm+ufe3bTZLyOfsOUOxyvLXZJCTARhJr+8UMSoZmqTe1K1BgkFcrW37rAchWg57yI69ORxiWvUINuQ==} @@ -2278,6 +2285,7 @@ packages: '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.22.5) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.22.5) + dev: true /@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.22.5): resolution: {integrity: sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==} @@ -2751,6 +2759,7 @@ packages: '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-simple-access': 7.22.5 babel-plugin-dynamic-import-node: 2.3.3 + dev: true /@babel/plugin-transform-modules-commonjs@7.22.5(@babel/core@7.22.5): resolution: {integrity: sha512-B4pzOXj+ONRmuaQTg05b3y/4DuFz3WcCNAXPLb2Q0GT0TrGKGxNKV4jwsXts+StaM0LQczZbOpj8o1DLPDJIiA==} @@ -2974,6 +2983,7 @@ packages: '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.22.5) '@babel/types': 7.22.5 + dev: true /@babel/plugin-transform-react-jsx@7.22.15(@babel/core@7.22.5): resolution: {integrity: sha512-oKckg2eZFa8771O/5vi7XeTvmM6+O9cxZu+kanTU7tD4sin5nO/G8jGJhq8Hvt2Z0kUoEDRayuZLaUlYl8QuGA==} @@ -3294,6 +3304,7 @@ packages: '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-validator-option': 7.22.15 '@babel/plugin-transform-typescript': 7.22.15(@babel/core@7.22.5) + dev: true /@babel/preset-typescript@7.22.5(@babel/core@7.22.5): resolution: {integrity: sha512-YbPaal9LxztSGhmndR46FmAbkJ/1fAsw293tSU+I5E5h+cnJ3d4GTwyUgGYmOXJYdGA+uNePle4qbaRzj2NISQ==} @@ -3564,14 +3575,6 @@ packages: '@edge-runtime/primitives': 5.0.0 dev: true - /@emnapi/runtime@1.3.1: - resolution: {integrity: sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==} - requiresBuild: true - dependencies: - tslib: 2.6.2 - dev: false - optional: true - /@emotion/babel-plugin@11.11.0: resolution: {integrity: sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==} dependencies: @@ -4111,186 +4114,6 @@ packages: resolution: {integrity: sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==} dev: true - /@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] - requiresBuild: true - optionalDependencies: - '@img/sharp-libvips-darwin-arm64': 1.0.4 - dev: false - optional: true - - /@img/sharp-darwin-x64@0.33.5: - resolution: {integrity: sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [x64] - os: [darwin] - requiresBuild: true - optionalDependencies: - '@img/sharp-libvips-darwin-x64': 1.0.4 - dev: false - optional: true - - /@img/sharp-libvips-darwin-arm64@1.0.4: - resolution: {integrity: sha512-XblONe153h0O2zuFfTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k6dFEcOL72O01QxQsWi761svJ/ev9xEDg==} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: false - optional: true - - /@img/sharp-libvips-darwin-x64@1.0.4: - resolution: {integrity: sha512-xnGR8YuZYfJGmWPvmlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6xqCQvUTKKiLddarLaxpzNe+b1hjeWHAQ==} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: false - optional: true - - /@img/sharp-libvips-linux-arm64@1.0.4: - resolution: {integrity: sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA==} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@img/sharp-libvips-linux-arm@1.0.5: - resolution: {integrity: sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g==} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@img/sharp-libvips-linux-s390x@1.0.4: - resolution: {integrity: sha512-u7Wz6ntiSSgGSGcjZ55im6uvTrOxSIS8/dgoVMoiGE9I6JAfU50yH5BoDlYA1tcuGS7g/QNtetJnxA6QEsCVTA==} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@img/sharp-libvips-linux-x64@1.0.4: - resolution: {integrity: sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw==} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@img/sharp-libvips-linuxmusl-arm64@1.0.4: - resolution: {integrity: sha512-9Ti+BbTYDcsbp4wfYib8Ctm1ilkugkA/uscUn6UXK1ldpC1JjiXbLfFZtRlBhjPZ5o1NCLiDbg8fhUPKStHoTA==} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@img/sharp-libvips-linuxmusl-x64@1.0.4: - resolution: {integrity: sha512-viYN1KX9m+/hGkJtvYYp+CCLgnJXwiQB39damAO7WMdKWlIhmYTfHjwSbQeUK/20vY154mwezd9HflVFM1wVSw==} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@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] - os: [linux] - requiresBuild: true - optionalDependencies: - '@img/sharp-libvips-linux-arm64': 1.0.4 - dev: false - optional: true - - /@img/sharp-linux-arm@0.33.5: - resolution: {integrity: sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [arm] - os: [linux] - requiresBuild: true - optionalDependencies: - '@img/sharp-libvips-linux-arm': 1.0.5 - dev: false - optional: true - - /@img/sharp-linux-s390x@0.33.5: - resolution: {integrity: sha512-y/5PCd+mP4CA/sPDKl2961b+C9d+vPAveS33s6Z3zfASk2j5upL6fXVPZi7ztePZ5CuH+1kW8JtvxgbuXHRa4Q==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [s390x] - os: [linux] - requiresBuild: true - optionalDependencies: - '@img/sharp-libvips-linux-s390x': 1.0.4 - dev: false - optional: true - - /@img/sharp-linux-x64@0.33.5: - resolution: {integrity: sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [x64] - os: [linux] - requiresBuild: true - optionalDependencies: - '@img/sharp-libvips-linux-x64': 1.0.4 - dev: false - optional: true - - /@img/sharp-linuxmusl-arm64@0.33.5: - resolution: {integrity: sha512-XrHMZwGQGvJg2V/oRSUfSAfjfPxO+4DkiRh6p2AFjLQztWUuY/o8Mq0eMQVIY7HJ1CDQUJlxGGZRw1a5bqmd1g==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [arm64] - os: [linux] - requiresBuild: true - optionalDependencies: - '@img/sharp-libvips-linuxmusl-arm64': 1.0.4 - dev: false - optional: true - - /@img/sharp-linuxmusl-x64@0.33.5: - resolution: {integrity: sha512-WT+d/cgqKkkKySYmqoZ8y3pxx7lx9vVejxW/W4DOFMYVSkErR+w7mf2u8m/y4+xHe7yY9DAXQMWQhpnMuFfScw==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [x64] - os: [linux] - requiresBuild: true - optionalDependencies: - '@img/sharp-libvips-linuxmusl-x64': 1.0.4 - dev: false - optional: true - - /@img/sharp-wasm32@0.33.5: - resolution: {integrity: sha512-ykUW4LVGaMcU9lu9thv85CbRMAwfeadCJHRsg2GmeRa/cJxsVY9Rbd57JcMxBkKHag5U/x7TSBpScF4U8ElVzg==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [wasm32] - requiresBuild: true - dependencies: - '@emnapi/runtime': 1.3.1 - dev: false - optional: true - - /@img/sharp-win32-ia32@0.33.5: - resolution: {integrity: sha512-T36PblLaTwuVJ/zw/LaH0PdZkRz5rd3SmMHX8GSmR7vtNSP5Z6bQkExdSK7xGWyxLw4sUknBuugTelgw2faBbQ==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: false - optional: true - - /@img/sharp-win32-x64@0.33.5: - resolution: {integrity: sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoGmdT7GfggGIU4kygOMSbYnOrAbg==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: false - optional: true - /@isaacs/cliui@8.0.2: resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} @@ -4666,6 +4489,7 @@ packages: '@types/node': 20.2.5 '@types/yargs': 16.0.9 chalk: 4.1.2 + dev: true /@jest/types@29.5.0: resolution: {integrity: sha512-qbu7kN6czmVRc3xWFQcAN03RAUamgppVUdXrvl1Wr3jlNF93o9mJbGcDWrwGB6ht44u7efB1qCFgVQmca24Uog==} @@ -5542,82 +5366,6 @@ packages: resolution: {integrity: sha512-HAPjR3bnCsdXBsATpDIP5WCrw0JcACwhhrwIAQhiR46n+jm+a2F8kBsfseAuWtSyQ+H3Yebt2k43B5dy+04yMA==} dev: true - /@next/env@15.0.1: - resolution: {integrity: sha512-lc4HeDUKO9gxxlM5G2knTRifqhsY6yYpwuHspBZdboZe0Gp+rZHBNNSIjmQKDJIdRXiXGyVnSD6gafrbQPvILQ==} - dev: false - - /@next/swc-darwin-arm64@15.0.1: - resolution: {integrity: sha512-C9k/Xv4sxkQRTA37Z6MzNq3Yb1BJMmSqjmwowoWEpbXTkAdfOwnoKOpAb71ItSzoA26yUTIo6ZhN8rKGu4ExQw==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: false - optional: true - - /@next/swc-darwin-x64@15.0.1: - resolution: {integrity: sha512-uHl13HXOuq1G7ovWFxCACDJHTSDVbn/sbLv8V1p+7KIvTrYQ5HNoSmKBdYeEKRRCbEmd+OohOgg9YOp8Ux3MBg==} - engines: {node: '>= 10'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: false - optional: true - - /@next/swc-linux-arm64-gnu@15.0.1: - resolution: {integrity: sha512-LvyhvxHOihFTEIbb35KxOc3q8w8G4xAAAH/AQnsYDEnOvwawjL2eawsB59AX02ki6LJdgDaHoTEnC54Gw+82xw==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@next/swc-linux-arm64-musl@15.0.1: - resolution: {integrity: sha512-vFmCGUFNyk/A5/BYcQNhAQqPIw01RJaK6dRO+ZEhz0DncoW+hJW1kZ8aH2UvTX27zPq3m85zN5waMSbZEmANcQ==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@next/swc-linux-x64-gnu@15.0.1: - resolution: {integrity: sha512-5by7IYq0NCF8rouz6Qg9T97jYU68kaClHPfGpQG2lCZpSYHtSPQF1kjnqBTd34RIqPKMbCa4DqCufirgr8HM5w==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@next/swc-linux-x64-musl@15.0.1: - resolution: {integrity: sha512-lmYr6H3JyDNBJLzklGXLfbehU3ay78a+b6UmBGlHls4xhDXBNZfgb0aI67sflrX+cGBnv1LgmWzFlYrAYxS1Qw==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@next/swc-win32-arm64-msvc@15.0.1: - resolution: {integrity: sha512-DS8wQtl6diAj0eZTdH0sefykm4iXMbHT4MOvLwqZiIkeezKpkgPFcEdFlz3vKvXa2R/2UEgMh48z1nEpNhjeOQ==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: false - optional: true - - /@next/swc-win32-x64-msvc@15.0.1: - resolution: {integrity: sha512-4Ho2ggvDdMKlZ/0e9HNdZ9ngeaBwtc+2VS5oCeqrbXqOgutX6I4U2X/42VBw0o+M5evn4/7v3zKgGHo+9v/VjA==} - engines: {node: '>= 10'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: false - optional: true - /@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3: resolution: {integrity: sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==} requiresBuild: true @@ -6103,6 +5851,7 @@ packages: /@opentelemetry/api@1.4.1: resolution: {integrity: sha512-O2yRJce1GOc6PAy3QxFM4NzFiWzvScDC1/5ihYBL6BUEVdq0XMWN01sppE+H6bBXbaFYipjwFLEWLg5PaSOThA==} engines: {node: '>=8.0.0'} + dev: true /@opentelemetry/api@1.6.0: resolution: {integrity: sha512-OWlrQAnWn9577PhVgqjUvMr1pg57Bc4jv0iL4w0PRuOSRvq67rvHW9Ie/dZVMvCzhSCB+UxhcY/PmCmFj33Q+g==} @@ -6195,6 +5944,7 @@ packages: - bufferutil - supports-color - utf-8-validate + dev: true /@playwright/test@1.41.2: resolution: {integrity: sha512-qQB9h7KbibJzrDpkXkYvsmiDJK14FULCCZgEcoe2AvFAS64oCirWTwzTlAYEbKaRxWs5TFesE1Na6izMv3HfGg==} @@ -6763,12 +6513,6 @@ packages: tslib: 2.6.2 dev: true - /@swc/helpers@0.5.13: - resolution: {integrity: sha512-UoKGxQ3r5kYI9dALKJapMmuK+1zWM/H17Z1+iwnNmzcJRnfFuevZs375TA5rW31pu4BS4NoSy1fRsexDXfWn5w==} - dependencies: - tslib: 2.6.2 - dev: false - /@swc/helpers@0.5.5: resolution: {integrity: sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==} dependencies: @@ -7133,11 +6877,13 @@ packages: /@types/istanbul-lib-coverage@2.0.4: resolution: {integrity: sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==} + dev: true /@types/istanbul-lib-report@3.0.0: resolution: {integrity: sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==} dependencies: '@types/istanbul-lib-coverage': 2.0.4 + dev: true /@types/istanbul-reports@3.0.0: resolution: {integrity: sha512-nwKNbvnwJ2/mndE9ItP/zc2TCzw6uuodnF4EHYWD+gCQDVBuRQL5UzbZD0/ezy1iKsFU2ZQiDqg4M9dN4+wZgA==} @@ -7149,6 +6895,7 @@ packages: resolution: {integrity: sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==} dependencies: '@types/istanbul-lib-report': 3.0.0 + dev: true /@types/jest@29.5.5: resolution: {integrity: sha512-ebylz2hnsWR9mYvmBFbXJXr+33UPc4+ZdxyDXh5w0FlPBTfCVN3wPL+kuOiQt3xvrK419v7XWeAs+AeOksafXg==} @@ -7398,6 +7145,7 @@ packages: /@types/stack-utils@2.0.1: resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==} + dev: true /@types/string-hash@1.1.1: resolution: {integrity: sha512-ijt3zdHi2DmZxQpQTmozXszzDo78V4R3EdvX0jFMfnMH2ZzQSmCbaWOMPGXFUYSzSIdStv78HDjg32m5dxc+tA==} @@ -7459,11 +7207,13 @@ packages: /@types/yargs-parser@21.0.0: resolution: {integrity: sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==} + dev: true /@types/yargs@16.0.9: resolution: {integrity: sha512-tHhzvkFXZQeTECenFoRljLBYPZJ7jAVxqqtEI0qTLOmuultnFp4I9yKE17vTuhf7BkhCu7I4XuemPgikDVuYqA==} dependencies: '@types/yargs-parser': 21.0.0 + dev: true /@types/yargs@17.0.10: resolution: {integrity: sha512-gmEaFwpj/7f/ROdtIlci1R1VYU1J4j95m8T+Tj3iBgiBFKg1foE/PSl93bBd5T9LDXNPo8UlNN6W0qwD8O5OaA==} @@ -7476,6 +7226,7 @@ packages: requiresBuild: true dependencies: '@types/node': 20.2.5 + dev: true optional: true /@typescript-eslint/eslint-plugin@6.14.0(@typescript-eslint/parser@6.14.0)(eslint@8.31.0)(typescript@4.8.2): @@ -8116,6 +7867,7 @@ packages: debug: 4.1.1 transitivePeerDependencies: - supports-color + dev: true /agentkeepalive@3.4.1: resolution: {integrity: sha512-MPIwsZU9PP9kOrZpyu2042kYA8Fdt/AedQYkYXucHgF9QoD9dXVp0ypuGnHXSR0hTstBxdt85Xkh4JolYfK5wg==} @@ -8292,6 +8044,7 @@ packages: /ansi-styles@5.2.0: resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} engines: {node: '>=10'} + dev: true /ansi-styles@6.2.1: resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} @@ -8757,6 +8510,7 @@ packages: resolution: {integrity: sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==} dependencies: object.assign: 4.1.4 + dev: true /babel-plugin-istanbul@6.1.1: resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} @@ -8808,6 +8562,7 @@ packages: pkg-up: 3.1.0 reselect: 4.1.8 resolve: 1.22.4 + dev: true /babel-plugin-polyfill-corejs2@0.4.3(@babel/core@7.22.5): resolution: {integrity: sha512-bM3gHc337Dta490gg+/AseNB9L4YLHxq1nGKZZSHbhXv4aTYU2MD2cjza1Ru4S6975YLTaL1K8uJf6ukJhhmtw==} @@ -9168,6 +8923,7 @@ packages: /buffer-crc32@0.2.13: resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} + dev: true /buffer-equal-constant-time@1.0.1: resolution: {integrity: sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==} @@ -9828,15 +9584,6 @@ packages: simple-swizzle: 0.2.2 dev: true - /color-string@1.9.1: - resolution: {integrity: sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==} - requiresBuild: true - dependencies: - color-name: 1.1.4 - simple-swizzle: 0.2.2 - dev: false - optional: true - /color@3.1.3: resolution: {integrity: sha512-xgXAcTHa2HeFCGLE9Xs/R82hujGtu9Jd9x4NW3T34+OMs7VoPsjwzRczKHvTAHeJwWFwX5j15+MgAppE8ztObQ==} dependencies: @@ -9844,16 +9591,6 @@ packages: color-string: 1.5.4 dev: true - /color@4.2.3: - resolution: {integrity: sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==} - engines: {node: '>=12.5.0'} - requiresBuild: true - dependencies: - color-convert: 2.0.1 - color-string: 1.9.1 - dev: false - optional: true - /colord@2.9.3: resolution: {integrity: sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==} dev: true @@ -9869,6 +9606,7 @@ packages: /colors@1.4.0: resolution: {integrity: sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==} engines: {node: '>=0.1.90'} + dev: true /columnify@1.5.4: resolution: {integrity: sha512-rFl+iXVT1nhLQPfGDw+3WcS8rmm7XsLKUmhsGE3ihzzpIikeGrTaZPIRKYWeLsLBypsHzjXIvYEltVUZS84XxQ==} @@ -9916,6 +9654,7 @@ packages: /commander@8.3.0: resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==} engines: {node: '>= 12'} + dev: true /comment-json@3.0.3: resolution: {integrity: sha512-P7XwYkC3qjIK45EAa9c5Y3lR7SMXhJqwFdWg3niAIAcbk3zlpKDdajV8Hyz/Y3sGNn3l+YNMl8A2N/OubSArHg==} @@ -10959,6 +10698,7 @@ packages: optional: true dependencies: ms: 2.1.2 + dev: true /debug@4.3.4: resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} @@ -11184,13 +10924,6 @@ packages: hasBin: true dev: true - /detect-libc@2.0.3: - resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==} - engines: {node: '>=8'} - requiresBuild: true - dev: false - optional: true - /detect-newline@3.1.0: resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} engines: {node: '>=8'} @@ -11233,6 +10966,7 @@ packages: /diff-sequences@27.5.1: resolution: {integrity: sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + dev: true /diff-sequences@29.6.3: resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} @@ -11806,6 +11540,7 @@ packages: /escape-string-regexp@2.0.0: resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} engines: {node: '>=8'} + dev: true /escape-string-regexp@4.0.0: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} @@ -12615,6 +12350,7 @@ packages: jest-matcher-utils: 27.5.1 jest-message-util: 27.5.1 jest-regex-util: 27.5.1 + dev: true /expect@27.5.1: resolution: {integrity: sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==} @@ -12743,6 +12479,7 @@ packages: '@types/yauzl': 2.10.3 transitivePeerDependencies: - supports-color + dev: true /extsprintf@1.3.0: resolution: {integrity: sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==} @@ -12835,6 +12572,7 @@ packages: resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==} dependencies: pend: 1.2.0 + dev: true /fflate@0.7.4: resolution: {integrity: sha512-5u2V/CDW15QM1XbbgS+0DfPxVB+jUKhWEKuuFuHncbk3tEEqzmoXL+2KyOFuKGqOnmdIy0/davWF1CkuwtibCw==} @@ -12930,6 +12668,7 @@ packages: dependencies: json5: 0.5.1 path-exists: 3.0.0 + dev: true /find-cache-dir@2.1.0: resolution: {integrity: sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==} @@ -14294,6 +14033,7 @@ packages: debug: 4.1.1 transitivePeerDependencies: - supports-color + dev: true /https-proxy-agent@5.0.1: resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} @@ -14643,6 +14383,7 @@ packages: /ip@2.0.0: resolution: {integrity: sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==} + dev: true /ipaddr.js@1.9.0: resolution: {integrity: sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA==} @@ -14717,6 +14458,7 @@ packages: /is-arrayish@0.3.2: resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==} requiresBuild: true + dev: true /is-async-function@2.0.0: resolution: {integrity: sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==} @@ -15555,6 +15297,7 @@ packages: diff-sequences: 27.5.1 jest-get-type: 27.5.1 pretty-format: 27.5.1 + dev: true /jest-diff@29.7.0: resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==} @@ -15659,6 +15402,7 @@ packages: /jest-get-type@27.5.1: resolution: {integrity: sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + dev: true /jest-get-type@29.6.3: resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==} @@ -15749,6 +15493,7 @@ packages: jest-diff: 27.5.1 jest-get-type: 27.5.1 pretty-format: 27.5.1 + dev: true /jest-matcher-utils@27.5.1: resolution: {integrity: sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==} @@ -15758,6 +15503,7 @@ packages: jest-diff: 27.5.1 jest-get-type: 27.5.1 pretty-format: 27.5.1 + dev: true /jest-matcher-utils@29.7.0: resolution: {integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==} @@ -15782,6 +15528,7 @@ packages: pretty-format: 27.5.1 slash: 3.0.0 stack-utils: 2.0.6 + dev: true /jest-message-util@29.7.0: resolution: {integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==} @@ -15851,6 +15598,7 @@ packages: /jest-regex-util@27.5.1: resolution: {integrity: sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + dev: true /jest-regex-util@29.4.3: resolution: {integrity: sha512-O4FglZaMmWXbGHSQInfXewIsd1LMn9p3ZXB/6r4FOkyhX2/iP/soMG98jGvk/A3HAN78+5VWcBGO0BJAPRh4kg==} @@ -16192,6 +15940,7 @@ packages: /jpeg-js@0.4.3: resolution: {integrity: sha512-ru1HWKek8octvUHFHvE5ZzQ1yAsJmIvRdGWvSoKV52XKyuyYA437QWDttXT8eZXDSbuMpHlLzPDZUPd6idIz+Q==} + dev: true /js-base64@2.5.1: resolution: {integrity: sha512-M7kLczedRMYX4L8Mdh4MzyAMM9O5osx+4FcOQuTvr3A9F2D9S5JXheN0ewNbrvK2UatkTRhL5ejGmGSjNMiZuw==} @@ -16360,6 +16109,7 @@ packages: /json5@0.5.1: resolution: {integrity: sha512-4xrs1aW+6N5DalkqSVA8fxh458CXvR99WU8WLKmq4v8eWAL86Xo3BVqyd3SkA9wEVjCMqyvvRRkshAdOnBp5rw==} hasBin: true + dev: true /json5@1.0.2: resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==} @@ -16373,6 +16123,7 @@ packages: hasBin: true dependencies: minimist: 1.2.6 + dev: true /json5@2.2.3: resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} @@ -17938,6 +17689,7 @@ packages: resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} engines: {node: '>=10.0.0'} hasBin: true + dev: true /mimic-fn@1.2.0: resolution: {integrity: sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==} @@ -18313,54 +18065,6 @@ packages: resolution: {integrity: sha1-yobR/ogoFpsBICCOPchCS524NCw=} dev: true - /next@15.0.1(@babel/core@7.22.5)(@opentelemetry/api@1.4.1)(@playwright/test@1.19.2)(react-dom@18.2.0)(react@18.2.0)(sass@1.54.0): - resolution: {integrity: sha512-PSkFkr/w7UnFWm+EP8y/QpHrJXMqpZzAXpergB/EqLPOh4SGPJXv1wj4mslr2hUZBAS9pX7/9YLIdxTv6fwytw==} - engines: {node: '>=18.18.0'} - hasBin: true - peerDependencies: - '@opentelemetry/api': ^1.1.0 - '@playwright/test': ^1.41.2 - babel-plugin-react-compiler: '*' - react: ^18.2.0 || 19.0.0-rc-69d4b800-20241021 - react-dom: ^18.2.0 || 19.0.0-rc-69d4b800-20241021 - sass: ^1.3.0 - peerDependenciesMeta: - '@opentelemetry/api': - optional: true - '@playwright/test': - optional: true - babel-plugin-react-compiler: - optional: true - sass: - optional: true - dependencies: - '@next/env': 15.0.1 - '@opentelemetry/api': 1.4.1 - '@playwright/test': 1.19.2 - '@swc/counter': 0.1.3 - '@swc/helpers': 0.5.13 - busboy: 1.6.0 - caniuse-lite: 1.0.30001579 - postcss: 8.4.31 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - sass: 1.54.0 - styled-jsx: 5.1.6(@babel/core@7.22.5)(react@18.2.0) - optionalDependencies: - '@next/swc-darwin-arm64': 15.0.1 - '@next/swc-darwin-x64': 15.0.1 - '@next/swc-linux-arm64-gnu': 15.0.1 - '@next/swc-linux-arm64-musl': 15.0.1 - '@next/swc-linux-x64-gnu': 15.0.1 - '@next/swc-linux-x64-musl': 15.0.1 - '@next/swc-win32-arm64-msvc': 15.0.1 - '@next/swc-win32-x64-msvc': 15.0.1 - sharp: 0.33.5 - transitivePeerDependencies: - - '@babel/core' - - babel-plugin-macros - dev: false - /nice-try@1.0.5: resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==} dev: true @@ -19544,6 +19248,7 @@ packages: /pend@1.2.0: resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==} + dev: true /performance-now@2.1.0: resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==} @@ -19609,6 +19314,7 @@ packages: /pirates@4.0.4: resolution: {integrity: sha512-ZIrVPH+A52Dw84R0L3/VS9Op04PuQ2SEoJL6bkshmiTic/HldyW9Tf7oH5mhJZBK7NmDx27vSMrYEXPXclpDKw==} engines: {node: '>= 6'} + dev: true /pirates@4.0.5: resolution: {integrity: sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==} @@ -19619,6 +19325,7 @@ packages: hasBin: true dependencies: pngjs: 4.0.1 + dev: true /pixrem@5.0.0: resolution: {integrity: sha512-ugJ4Imy92u55zeznaN/5d7iqOBIZjZ7q10/T+dcd0IuFtbLlsGDvAUabFu1cafER+G9f0T1WtTqvzm4KAdcDgQ==} @@ -19648,6 +19355,7 @@ packages: engines: {node: '>=8'} dependencies: find-up: 3.0.0 + dev: true /platform@1.3.6: resolution: {integrity: sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg==} @@ -19687,6 +19395,7 @@ packages: - bufferutil - supports-color - utf-8-validate + dev: true /playwright-core@1.41.2: resolution: {integrity: sha512-VaTvwCA4Y8kxEe+kfm2+uUUw5Lubf38RxF7FpBxLPmGe5sdNkSg5e3ChEigaGrX7qdqT3pt2m/98LiyvU2x6CA==} @@ -19718,10 +19427,12 @@ packages: /pngjs@4.0.1: resolution: {integrity: sha512-rf5+2/ioHeQxR6IxuYNYGFytUyG3lma/WW1nsmjeHlWwtb2aByla6dkVc8pmJ9nplzkTA0q2xx7mMWrOTqT4Gg==} engines: {node: '>=8.0.0'} + dev: true /pngjs@6.0.0: resolution: {integrity: sha512-TRzzuFRRmEoSW/p1KVAmiOgPco2Irlah+bGFCeNfJXxxYGwSw7YwAOAcd7X28K/m5bjBWKsC29KyoMfHbypayg==} engines: {node: '>=12.13.0'} + dev: true /posix-character-classes@0.1.1: resolution: {integrity: sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==} @@ -20960,6 +20671,7 @@ packages: ansi-regex: 5.0.1 ansi-styles: 5.2.0 react-is: 17.0.2 + dev: true /pretty-format@29.5.0: resolution: {integrity: sha512-V2mGkI31qdttvTFX7Mt4efOqHXqJWMu4/r66Xh3Z3BwZaPfPJgp6/gbwoujRpPUtfEF6AUUWx3Jim3GCw5g/Qw==} @@ -21009,6 +20721,7 @@ packages: /progress@2.0.3: resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} engines: {node: '>=0.4.0'} + dev: true /promise-inflight@1.0.1: resolution: {integrity: sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==} @@ -21086,6 +20799,7 @@ packages: graceful-fs: 4.2.11 retry: 0.12.0 signal-exit: 3.0.7 + dev: true /property-information@5.6.0: resolution: {integrity: sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA==} @@ -21153,6 +20867,7 @@ packages: /proxy-from-env@1.1.0: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} + dev: true /prr@1.0.1: resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==} @@ -21409,6 +21124,7 @@ packages: /react-is@17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} + dev: true /react-is@18.2.0: resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} @@ -22098,6 +21814,7 @@ packages: /reselect@4.1.8: resolution: {integrity: sha512-ab9EmR80F/zQTMNeneUr4cv+jSwPJgIlvEmVwLerwrWVbpLlBuls9XHzIeTFy4cegU2NHBp3va0LKOzU5qFEYQ==} + dev: true /resolve-cwd@3.0.0: resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==} @@ -22253,6 +21970,7 @@ packages: /retry@0.12.0: resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} engines: {node: '>= 4'} + dev: true /retry@0.13.1: resolution: {integrity: sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==} @@ -22656,14 +22374,6 @@ packages: hasBin: true requiresBuild: true - /semver@7.6.3: - resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} - engines: {node: '>=10'} - hasBin: true - requiresBuild: true - dev: false - optional: true - /send@0.17.1: resolution: {integrity: sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==} engines: {node: '>= 0.8.0'} @@ -22770,37 +22480,6 @@ packages: resolution: {integrity: sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==} dev: true - /sharp@0.33.5: - resolution: {integrity: sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==} - engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} - requiresBuild: true - 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 - dev: false - optional: true - /shebang-command@1.2.0: resolution: {integrity: sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=} engines: {node: '>=0.10.0'} @@ -22859,6 +22538,7 @@ packages: resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==} dependencies: is-arrayish: 0.3.2 + dev: true /sirv@1.0.10: resolution: {integrity: sha512-H5EZCoZaggEUQy8ocKsF7WAToGuZhjJlLvM3XOef46CbdIgbNeQ1p32N1PCuCjkVYwrAVOSMacN6CXXgIzuspg==} @@ -22932,6 +22612,7 @@ packages: /smart-buffer@4.2.0: resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} + dev: true /snake-case@3.0.4: resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==} @@ -22994,6 +22675,7 @@ packages: socks: 2.7.1 transitivePeerDependencies: - supports-color + dev: true /socks@2.7.1: resolution: {integrity: sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==} @@ -23001,6 +22683,7 @@ packages: dependencies: ip: 2.0.0 smart-buffer: 4.2.0 + dev: true /sort-keys@2.0.0: resolution: {integrity: sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg=} @@ -23048,6 +22731,7 @@ packages: resolution: {integrity: sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==} dependencies: source-map: 0.5.7 + dev: true /source-map-support@0.5.13: resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==} @@ -23212,12 +22896,14 @@ packages: engines: {node: '>=10'} dependencies: escape-string-regexp: 2.0.0 + dev: true /stack-utils@2.0.6: resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} engines: {node: '>=10'} dependencies: escape-string-regexp: 2.0.0 + dev: true /stacktrace-parser@0.1.10: resolution: {integrity: sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg==} @@ -23639,24 +23325,6 @@ packages: client-only: 0.0.1 react: 18.2.0 - /styled-jsx@5.1.6(@babel/core@7.22.5)(react@18.2.0): - resolution: {integrity: sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==} - engines: {node: '>= 12.0.0'} - peerDependencies: - '@babel/core': '*' - babel-plugin-macros: '*' - react: '>= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0' - peerDependenciesMeta: - '@babel/core': - optional: true - babel-plugin-macros: - optional: true - dependencies: - '@babel/core': 7.22.5 - client-only: 0.0.1 - react: 18.2.0 - dev: false - /stylehacks@4.0.3: resolution: {integrity: sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==} engines: {node: '>=6.9.0'} @@ -25728,6 +25396,7 @@ packages: optional: true utf-8-validate: optional: true + dev: true /xdg-basedir@3.0.0: resolution: {integrity: sha512-1Dly4xqlulvPD3fZUQJLY+FUIeqN3N2MM3uqe4rCJftAvOjFa3jFGfctOgluGx4ahPbUCsZkmJILiP0Vi4T6lQ==} @@ -25861,11 +25530,13 @@ packages: dependencies: buffer-crc32: 0.2.13 fd-slicer: 1.1.0 + dev: true /yazl@2.5.1: resolution: {integrity: sha512-phENi2PLiHnHb6QBVot+dJnaAZ0xosj7p3fWl+znIjBDlnMI2PsZCJZ306BPTFOaHf5qdDEI8x5qFrSOBN5vrw==} dependencies: buffer-crc32: 0.2.13 + dev: true /yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} diff --git a/run-tests.js b/run-tests.js index 82af76c3e4707..215361636a0a8 100644 --- a/run-tests.js +++ b/run-tests.js @@ -389,7 +389,7 @@ ${ENDGROUP}`) // a starter Next.js install to re-use to speed up tests // to avoid having to run yarn each time console.log(`${GROUP}Creating Next.js install for isolated tests`) - const reactVersion = process.env.NEXT_TEST_REACT_VERSION || 'latest' + const reactVersion = process.env.NEXT_TEST_REACT_VERSION || '^18.2.0' const { installDir, pkgPaths, tmpRepoDir } = await createNextInstall({ parentSpan: mockSpan(), dependencies: { diff --git a/scripts/install-native.mjs b/scripts/install-native.mjs index 28c881b681b02..7cd85206ff929 100644 --- a/scripts/install-native.mjs +++ b/scripts/install-native.mjs @@ -43,22 +43,22 @@ import fsp from 'fs/promises' name: 'dummy-package', version: '1.0.0', optionalDependencies: { - '@next/swc-darwin-arm64': 'canary', - '@next/swc-darwin-x64': 'canary', - '@next/swc-linux-arm64-gnu': 'canary', - '@next/swc-linux-arm64-musl': 'canary', - '@next/swc-linux-x64-gnu': 'canary', - '@next/swc-linux-x64-musl': 'canary', - '@next/swc-win32-arm64-msvc': 'canary', - '@next/swc-win32-ia32-msvc': 'canary', - '@next/swc-win32-x64-msvc': 'canary', + '@next/swc-darwin-arm64': nextVersion, + '@next/swc-darwin-x64': nextVersion, + '@next/swc-linux-arm64-gnu': nextVersion, + '@next/swc-linux-arm64-musl': nextVersion, + '@next/swc-linux-x64-gnu': nextVersion, + '@next/swc-linux-x64-musl': nextVersion, + '@next/swc-win32-arm64-msvc': nextVersion, + '@next/swc-win32-ia32-msvc': nextVersion, + '@next/swc-win32-x64-msvc': nextVersion, }, packageManager, } fs.writeFileSync(path.join(tmpdir, 'package.json'), JSON.stringify(pkgJson)) fs.writeFileSync(path.join(tmpdir, '.npmrc'), 'node-linker=hoisted') - let { stdout } = await execa('pnpm', ['add', 'next@canary'], { + let { stdout } = await execa('pnpm', ['add', `next@${nextVersion}`], { cwd: tmpdir, }) console.log(stdout) diff --git a/test/.stats-app/package.json b/test/.stats-app/package.json index 6df5695a60378..cda6b30da54b2 100644 --- a/test/.stats-app/package.json +++ b/test/.stats-app/package.json @@ -4,8 +4,8 @@ "license": "MIT", "dependencies": { "next": "latest", - "react": "latest", - "react-dom": "latest" + "react": "^18.2.0", + "react-dom": "^18.2.0" }, "engines": { "node": ">=18.17.0", diff --git a/test/development/acceptance-app/ReactRefresh.test.ts b/test/development/acceptance-app/ReactRefresh.test.ts index cad69548c4f64..ab1c8aa5822ae 100644 --- a/test/development/acceptance-app/ReactRefresh.test.ts +++ b/test/development/acceptance-app/ReactRefresh.test.ts @@ -8,8 +8,8 @@ describe('ReactRefresh app', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts b/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts index e22624e77b709..e91b618e71d56 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts @@ -9,8 +9,8 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox app %s', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance-app/ReactRefreshLogBox-scss.test.ts b/test/development/acceptance-app/ReactRefreshLogBox-scss.test.ts index 19a3bdef58716..b8f7f52532931 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox-scss.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox-scss.test.ts @@ -11,8 +11,8 @@ describe.skip('ReactRefreshLogBox scss app', () => { files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { sass: 'latest', - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance-app/ReactRefreshLogBox.test.ts b/test/development/acceptance-app/ReactRefreshLogBox.test.ts index ddcbff4a3bec8..4a65fbd18ff8d 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox.test.ts @@ -15,8 +15,8 @@ describe.each(['default', 'turbo'])('ReactRefreshLogBox app %s', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts b/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts index 9f3beffddfadf..9c65030102d94 100644 --- a/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts @@ -9,8 +9,8 @@ describe.skip('ReactRefreshLogBox app', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance-app/ReactRefreshModule.test.ts b/test/development/acceptance-app/ReactRefreshModule.test.ts index 2d036a6157f6a..9d9ee701fa2a1 100644 --- a/test/development/acceptance-app/ReactRefreshModule.test.ts +++ b/test/development/acceptance-app/ReactRefreshModule.test.ts @@ -7,8 +7,8 @@ describe('ReactRefreshModule app', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance-app/ReactRefreshRegression.test.ts b/test/development/acceptance-app/ReactRefreshRegression.test.ts index ecafe5dc3c1d0..b98810c3f71f6 100644 --- a/test/development/acceptance-app/ReactRefreshRegression.test.ts +++ b/test/development/acceptance-app/ReactRefreshRegression.test.ts @@ -12,8 +12,8 @@ describe('ReactRefreshRegression app', () => { 'styled-components': '5.1.0', '@next/mdx': 'canary', '@mdx-js/loader': '0.18.0', - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance-app/ReactRefreshRequire.test.ts b/test/development/acceptance-app/ReactRefreshRequire.test.ts index adc38b72d156c..0814c5deb08fd 100644 --- a/test/development/acceptance-app/ReactRefreshRequire.test.ts +++ b/test/development/acceptance-app/ReactRefreshRequire.test.ts @@ -8,8 +8,8 @@ describe('ReactRefreshRequire app', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance-app/component-stack.test.ts b/test/development/acceptance-app/component-stack.test.ts index d9af8a0109a0d..ff73464ac8321 100644 --- a/test/development/acceptance-app/component-stack.test.ts +++ b/test/development/acceptance-app/component-stack.test.ts @@ -7,8 +7,8 @@ describe('Component Stack in error overlay', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'component-stack')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance-app/editor-links.test.ts b/test/development/acceptance-app/editor-links.test.ts index f6c2f910ae529..b2641c9f52411 100644 --- a/test/development/acceptance-app/editor-links.test.ts +++ b/test/development/acceptance-app/editor-links.test.ts @@ -29,8 +29,8 @@ describe('Error overlay - editor links', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance-app/error-message-url.test.ts b/test/development/acceptance-app/error-message-url.test.ts index 4e4d23a372fef..13e1b39c05c47 100644 --- a/test/development/acceptance-app/error-message-url.test.ts +++ b/test/development/acceptance-app/error-message-url.test.ts @@ -7,8 +7,8 @@ describe('Error overlay - error message urls', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance-app/error-recovery.test.ts b/test/development/acceptance-app/error-recovery.test.ts index 58ab9704a6196..6890b28e3ffc9 100644 --- a/test/development/acceptance-app/error-recovery.test.ts +++ b/test/development/acceptance-app/error-recovery.test.ts @@ -9,8 +9,8 @@ describe.each(['default', 'turbo'])('Error recovery app %s', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance-app/hydration-error.test.ts b/test/development/acceptance-app/hydration-error.test.ts index 42d4291fced62..4aecee8ab3d03 100644 --- a/test/development/acceptance-app/hydration-error.test.ts +++ b/test/development/acceptance-app/hydration-error.test.ts @@ -11,8 +11,8 @@ describe('Error overlay for hydration errors', () => { const { next, isTurbopack } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance-app/invalid-imports.test.ts b/test/development/acceptance-app/invalid-imports.test.ts index b87d238dbf239..0fd9389d09666 100644 --- a/test/development/acceptance-app/invalid-imports.test.ts +++ b/test/development/acceptance-app/invalid-imports.test.ts @@ -8,8 +8,8 @@ describe('Error Overlay invalid imports', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', 'server-only': 'latest', 'client-only': 'latest', }, diff --git a/test/development/acceptance-app/rsc-build-errors.test.ts b/test/development/acceptance-app/rsc-build-errors.test.ts index 1a248cba912df..1527aefb50742 100644 --- a/test/development/acceptance-app/rsc-build-errors.test.ts +++ b/test/development/acceptance-app/rsc-build-errors.test.ts @@ -8,8 +8,8 @@ describe('Error overlay - RSC build errors', () => { const { next, isTurbopack } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'rsc-build-errors')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance-app/server-components.test.ts b/test/development/acceptance-app/server-components.test.ts index 0b3aa6ce83d33..641534e94424a 100644 --- a/test/development/acceptance-app/server-components.test.ts +++ b/test/development/acceptance-app/server-components.test.ts @@ -9,8 +9,8 @@ describe('Error Overlay for server components', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance/hydration-error.test.ts b/test/development/acceptance/hydration-error.test.ts index 5a173860525ec..acab9446862ad 100644 --- a/test/development/acceptance/hydration-error.test.ts +++ b/test/development/acceptance/hydration-error.test.ts @@ -8,8 +8,8 @@ describe('Error overlay for hydration errors', () => { const { next } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/acceptance/server-component-compiler-errors-in-pages.test.ts b/test/development/acceptance/server-component-compiler-errors-in-pages.test.ts index 6719b877d1996..4c63bae8083c2 100644 --- a/test/development/acceptance/server-component-compiler-errors-in-pages.test.ts +++ b/test/development/acceptance/server-component-compiler-errors-in-pages.test.ts @@ -28,8 +28,8 @@ describe('Error Overlay for server components compiler errors in pages', () => { const { next } = nextTestSetup({ files: {}, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, skipStart: true, }) diff --git a/test/development/basic/define-class-fields/define-class-fields.test.ts b/test/development/basic/define-class-fields/define-class-fields.test.ts index 9b8f78bb4f389..df2bd4c441c6f 100644 --- a/test/development/basic/define-class-fields/define-class-fields.test.ts +++ b/test/development/basic/define-class-fields/define-class-fields.test.ts @@ -10,7 +10,7 @@ createNextDescribe( dependencies: { mobx: '6.3.7', typescript: 'latest', - '@types/react': 'latest', + '@types/react': '^18.2.0', '@types/node': 'latest', 'mobx-react': '7.2.1', }, diff --git a/test/development/correct-tsconfig-defaults/index.test.ts b/test/development/correct-tsconfig-defaults/index.test.ts index 0c4e250fd2cbe..9f73eae59c449 100644 --- a/test/development/correct-tsconfig-defaults/index.test.ts +++ b/test/development/correct-tsconfig-defaults/index.test.ts @@ -13,7 +13,7 @@ describe('correct tsconfig.json defaults', () => { skipStart: true, dependencies: { typescript: 'latest', - '@types/react': 'latest', + '@types/react': '^18.2.0', '@types/node': 'latest', }, }) diff --git a/test/development/jsconfig-path-reloading/index.test.ts b/test/development/jsconfig-path-reloading/index.test.ts index 70a39854be71a..ff40cca9d28be 100644 --- a/test/development/jsconfig-path-reloading/index.test.ts +++ b/test/development/jsconfig-path-reloading/index.test.ts @@ -36,7 +36,7 @@ describe('jsconfig-path-reloading', () => { }, dependencies: { typescript: 'latest', - '@types/react': 'latest', + '@types/react': '^18.2.0', '@types/node': 'latest', }, }) diff --git a/test/development/next-font/deprecated-package.test.ts b/test/development/next-font/deprecated-package.test.ts index 7b9b3fdb3fe37..56211cb3714ca 100644 --- a/test/development/next-font/deprecated-package.test.ts +++ b/test/development/next-font/deprecated-package.test.ts @@ -9,8 +9,8 @@ createNextDescribe( 'pages/index.js': '', }, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', '@next/font': 'canary', }, skipStart: true, diff --git a/test/development/tsconfig-path-reloading/index.test.ts b/test/development/tsconfig-path-reloading/index.test.ts index dab32fabe3f38..1936dcd99a991 100644 --- a/test/development/tsconfig-path-reloading/index.test.ts +++ b/test/development/tsconfig-path-reloading/index.test.ts @@ -36,7 +36,7 @@ describe('tsconfig-path-reloading', () => { }, dependencies: { typescript: 'latest', - '@types/react': 'latest', + '@types/react': '^18.2.0', '@types/node': 'latest', }, }) diff --git a/test/e2e/app-dir/actions-allowed-origins/app-action-allowed-origins.test.ts b/test/e2e/app-dir/actions-allowed-origins/app-action-allowed-origins.test.ts index e360c003d0dae..c4db9571dbe8a 100644 --- a/test/e2e/app-dir/actions-allowed-origins/app-action-allowed-origins.test.ts +++ b/test/e2e/app-dir/actions-allowed-origins/app-action-allowed-origins.test.ts @@ -8,8 +8,8 @@ createNextDescribe( files: join(__dirname, 'safe-origins'), skipDeployment: true, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', 'server-only': 'latest', }, // An arbitrary & random port. diff --git a/test/e2e/app-dir/actions-allowed-origins/app-action-disallowed-origins.test.ts b/test/e2e/app-dir/actions-allowed-origins/app-action-disallowed-origins.test.ts index 5a4145d0be118..6e569e574a807 100644 --- a/test/e2e/app-dir/actions-allowed-origins/app-action-disallowed-origins.test.ts +++ b/test/e2e/app-dir/actions-allowed-origins/app-action-disallowed-origins.test.ts @@ -8,8 +8,8 @@ createNextDescribe( files: join(__dirname, 'unsafe-origins'), skipDeployment: true, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', 'server-only': 'latest', }, }, diff --git a/test/e2e/app-dir/actions/app-action-export.test.ts b/test/e2e/app-dir/actions/app-action-export.test.ts index 565efac0a945d..5d1bd81ee850a 100644 --- a/test/e2e/app-dir/actions/app-action-export.test.ts +++ b/test/e2e/app-dir/actions/app-action-export.test.ts @@ -7,8 +7,8 @@ createNextDescribe( skipStart: true, skipDeployment: true, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', 'server-only': 'latest', }, }, diff --git a/test/e2e/app-dir/actions/app-action-form-state.test.ts b/test/e2e/app-dir/actions/app-action-form-state.test.ts index 400a47eef33f1..97aa41ca0ea75 100644 --- a/test/e2e/app-dir/actions/app-action-form-state.test.ts +++ b/test/e2e/app-dir/actions/app-action-form-state.test.ts @@ -7,8 +7,8 @@ createNextDescribe( { files: __dirname, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, }, ({ next }) => { diff --git a/test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts b/test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts index d07b0b5a9d684..73d45f6f2397f 100644 --- a/test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts +++ b/test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts @@ -8,9 +8,9 @@ createNextDescribe( { files: __dirname, dependencies: { - react: 'latest', + react: '^18.2.0', nanoid: 'latest', - 'react-dom': 'latest', + 'react-dom': '^18.2.0', 'server-only': 'latest', }, }, diff --git a/test/e2e/app-dir/actions/app-action-size-limit-invalid.test.ts b/test/e2e/app-dir/actions/app-action-size-limit-invalid.test.ts index 9614d3beb8132..8299e04702857 100644 --- a/test/e2e/app-dir/actions/app-action-size-limit-invalid.test.ts +++ b/test/e2e/app-dir/actions/app-action-size-limit-invalid.test.ts @@ -10,8 +10,8 @@ createNextDescribe( files: __dirname, skipDeployment: true, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', 'server-only': 'latest', }, }, diff --git a/test/e2e/app-dir/actions/app-action.test.ts b/test/e2e/app-dir/actions/app-action.test.ts index 603f44931a0e4..9771269069283 100644 --- a/test/e2e/app-dir/actions/app-action.test.ts +++ b/test/e2e/app-dir/actions/app-action.test.ts @@ -19,9 +19,9 @@ createNextDescribe( { files: __dirname, dependencies: { - react: 'latest', + react: '^18.2.0', nanoid: 'latest', - 'react-dom': 'latest', + 'react-dom': '^18.2.0', 'server-only': 'latest', }, }, diff --git a/test/e2e/app-dir/app-css-pageextensions/index.test.ts b/test/e2e/app-dir/app-css-pageextensions/index.test.ts index a2cb488426ae8..d5796d92e0861 100644 --- a/test/e2e/app-dir/app-css-pageextensions/index.test.ts +++ b/test/e2e/app-dir/app-css-pageextensions/index.test.ts @@ -7,8 +7,8 @@ createNextDescribe( skipDeployment: true, dependencies: { '@picocss/pico': '1.5.7', - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', sass: 'latest', }, }, diff --git a/test/e2e/app-dir/app-css/index.test.ts b/test/e2e/app-dir/app-css/index.test.ts index 1e65901051977..f1d018c28be88 100644 --- a/test/e2e/app-dir/app-css/index.test.ts +++ b/test/e2e/app-dir/app-css/index.test.ts @@ -8,8 +8,8 @@ createNextDescribe( skipDeployment: true, dependencies: { '@picocss/pico': '1.5.7', - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', sass: 'latest', '@next/mdx': 'canary', }, diff --git a/test/e2e/app-dir/create-root-layout/create-root-layout.test.ts b/test/e2e/app-dir/create-root-layout/create-root-layout.test.ts index e0ee6bd77f959..3777f6b14fb58 100644 --- a/test/e2e/app-dir/create-root-layout/create-root-layout.test.ts +++ b/test/e2e/app-dir/create-root-layout/create-root-layout.test.ts @@ -74,8 +74,8 @@ import stripAnsi from 'strip-ansi' ), }, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, }) }) @@ -128,8 +128,8 @@ import stripAnsi from 'strip-ansi' ), }, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, }) }) @@ -237,8 +237,8 @@ import stripAnsi from 'strip-ansi' ), }, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, }) diff --git a/test/e2e/app-dir/interoperability-with-pages/navigation.test.ts b/test/e2e/app-dir/interoperability-with-pages/navigation.test.ts index b693a60d35fd6..af91de557ce6d 100644 --- a/test/e2e/app-dir/interoperability-with-pages/navigation.test.ts +++ b/test/e2e/app-dir/interoperability-with-pages/navigation.test.ts @@ -9,10 +9,10 @@ describe('navigation between pages and app dir', () => { next = await createNext({ files: new FileRef(__dirname), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', typescript: 'latest', - '@types/react': 'latest', + '@types/react': '^18.2.0', '@types/node': 'latest', }, }) diff --git a/test/e2e/app-dir/rewrites-redirects/rewrites-redirects.test.ts b/test/e2e/app-dir/rewrites-redirects/rewrites-redirects.test.ts index 93ae8da0e302e..eef708db97c7f 100644 --- a/test/e2e/app-dir/rewrites-redirects/rewrites-redirects.test.ts +++ b/test/e2e/app-dir/rewrites-redirects/rewrites-redirects.test.ts @@ -5,10 +5,10 @@ createNextDescribe( { files: __dirname, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', typescript: 'latest', - '@types/react': 'latest', + '@types/react': '^18.2.0', '@types/node': 'latest', }, }, diff --git a/test/e2e/new-link-behavior/child-a-tag-error.test.ts b/test/e2e/new-link-behavior/child-a-tag-error.test.ts index efd13c1a92d39..90c788aea0d5a 100644 --- a/test/e2e/new-link-behavior/child-a-tag-error.test.ts +++ b/test/e2e/new-link-behavior/child-a-tag-error.test.ts @@ -17,8 +17,8 @@ describe('New Link Behavior with child', () => { }, dependencies: { next: 'latest', - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, }) }) diff --git a/test/e2e/new-link-behavior/material-ui.test.ts b/test/e2e/new-link-behavior/material-ui.test.ts index d3d6b9d328f27..c344ab1a1d7ef 100644 --- a/test/e2e/new-link-behavior/material-ui.test.ts +++ b/test/e2e/new-link-behavior/material-ui.test.ts @@ -24,8 +24,8 @@ describe('New Link Behavior with material-ui', () => { '@mui/material': 'latest', next: 'latest', 'prop-types': 'latest', - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', // Use minimum peer dep version instead of v9 of eslint to avoid breaking changes eslint: '8.56.0', 'eslint-config-next': 'latest', diff --git a/test/e2e/new-link-behavior/stitches.test.ts b/test/e2e/new-link-behavior/stitches.test.ts index 063a9dde3bb1f..74cee1645daa7 100644 --- a/test/e2e/new-link-behavior/stitches.test.ts +++ b/test/e2e/new-link-behavior/stitches.test.ts @@ -21,8 +21,8 @@ describe('New Link Behavior with stitches', () => { dependencies: { '@stitches/react': '^1.2.6', next: 'latest', - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, }) }) diff --git a/test/e2e/next-font/with-proxy.test.ts b/test/e2e/next-font/with-proxy.test.ts index 5305c39d42a10..f222df2bfbe2e 100644 --- a/test/e2e/next-font/with-proxy.test.ts +++ b/test/e2e/next-font/with-proxy.test.ts @@ -30,8 +30,8 @@ describe('next/font/google with proxy', () => { next = await createNext({ files: new FileRef(join(__dirname, 'with-proxy')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, env: { http_proxy: 'http://localhost:' + PROXY_PORT, diff --git a/test/e2e/next-script/index.test.ts b/test/e2e/next-script/index.test.ts index 8e92e7a7d3ca3..7c0e022e1945c 100644 --- a/test/e2e/next-script/index.test.ts +++ b/test/e2e/next-script/index.test.ts @@ -41,8 +41,8 @@ describe('beforeInteractive in document Head', () => { `, }, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, }) }) @@ -101,8 +101,8 @@ describe('beforeInteractive in document body', () => { `, }, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, }) }) @@ -150,8 +150,8 @@ describe('beforeInteractive in document body', () => { }, // TODO: @housseindjirdeh: verify React 18 functionality dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, }) }) @@ -201,8 +201,8 @@ describe('beforeInteractive in document body', () => { `, }, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', '@builder.io/partytown': '0.4.2', }, }) @@ -290,8 +290,8 @@ describe('beforeInteractive in document body', () => { `, }, dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', '@builder.io/partytown': '0.4.2', }, }) @@ -406,8 +406,8 @@ describe('beforeInteractive in document body', () => { }, dependencies: { '@builder.io/partytown': '0.4.2', - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, }) }) diff --git a/test/e2e/switchable-runtime/index.test.ts b/test/e2e/switchable-runtime/index.test.ts index c54d12e9b0296..cb9a11d62c94f 100644 --- a/test/e2e/switchable-runtime/index.test.ts +++ b/test/e2e/switchable-runtime/index.test.ts @@ -44,8 +44,8 @@ describe('Switchable runtime', () => { next = await createNext({ files: new FileRef(__dirname), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', }, }) context = { diff --git a/test/e2e/transpile-packages/index.test.ts b/test/e2e/transpile-packages/index.test.ts index b1e20473f3432..9d0f1067fd84e 100644 --- a/test/e2e/transpile-packages/index.test.ts +++ b/test/e2e/transpile-packages/index.test.ts @@ -16,8 +16,8 @@ describe('transpile packages', () => { next = await createNext({ files: new FileRef(path.join(__dirname, './npm')), dependencies: { - react: 'latest', - 'react-dom': 'latest', + react: '^18.2.0', + 'react-dom': '^18.2.0', sass: 'latest', }, packageJson: { diff --git a/test/lib/next-modes/base.ts b/test/lib/next-modes/base.ts index 9d1cc63f379d3..3789562ce8664 100644 --- a/test/lib/next-modes/base.ts +++ b/test/lib/next-modes/base.ts @@ -158,7 +158,7 @@ export class NextInstance { }` ) - const reactVersion = process.env.NEXT_TEST_REACT_VERSION || 'latest' + const reactVersion = process.env.NEXT_TEST_REACT_VERSION || '^18.2.0' const finalDependencies = { react: reactVersion, 'react-dom': reactVersion, diff --git a/test/production/eslint-plugin-deps/index.test.ts b/test/production/eslint-plugin-deps/index.test.ts index 029e46a7781de..b64120dc3d234 100644 --- a/test/production/eslint-plugin-deps/index.test.ts +++ b/test/production/eslint-plugin-deps/index.test.ts @@ -93,8 +93,8 @@ describe('eslint plugin deps', () => { 'eslint-plugin-import': 'latest', 'eslint-plugin-react': 'latest', '@types/node': 'latest', - '@types/react': 'latest', - '@types/react-dom': 'latest', + '@types/react': '^18.2.0', + '@types/react-dom': '^18.2.0', // Use minimum peer dep version instead of v9 of eslint to avoid breaking changes eslint: '8.56.0', 'eslint-config-next': 'latest', diff --git a/test/production/jest/transpile-packages.test.ts b/test/production/jest/transpile-packages.test.ts index 6b52ccbfd8ec5..1bf31536513d1 100644 --- a/test/production/jest/transpile-packages.test.ts +++ b/test/production/jest/transpile-packages.test.ts @@ -30,7 +30,7 @@ describe('next/jest', () => { buildCommand: `pnpm build`, dependencies: { '@hashicorp/platform-util': '0.2.0', - '@types/react': 'latest', + '@types/react': '^18.2.0', jest: '27.4.7', }, }) diff --git a/test/production/supports-module-resolution-nodenext/supports-moduleresolution-nodenext.test.ts b/test/production/supports-module-resolution-nodenext/supports-moduleresolution-nodenext.test.ts index 8a669dcafd8db..f73aee52537ba 100644 --- a/test/production/supports-module-resolution-nodenext/supports-moduleresolution-nodenext.test.ts +++ b/test/production/supports-module-resolution-nodenext/supports-moduleresolution-nodenext.test.ts @@ -13,7 +13,7 @@ createNextDescribe( }, dependencies: { typescript: 'latest', - '@types/react': 'latest', + '@types/react': '^18.2.0', '@types/node': 'latest', pkg: './pkg', }, diff --git a/test/production/typescript-basic/index.test.ts b/test/production/typescript-basic/index.test.ts index 9059e78ce39ac..b1ede892c7aa8 100644 --- a/test/production/typescript-basic/index.test.ts +++ b/test/production/typescript-basic/index.test.ts @@ -13,8 +13,8 @@ describe('TypeScript basic', () => { '@next/bundle-analyzer': 'canary', typescript: 'latest', '@types/node': 'latest', - '@types/react': 'latest', - '@types/react-dom': 'latest', + '@types/react': '^18.2.0', + '@types/react-dom': '^18.2.0', }, }) })