From 9734bb36cae80632a081c4952475e41e479baa00 Mon Sep 17 00:00:00 2001 From: Thomas Large Date: Tue, 20 Sep 2022 14:40:23 +0100 Subject: [PATCH 1/2] feat: GH-5274: Upgrade nextJs to 12 --- packages/next-auth/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/next-auth/package.json b/packages/next-auth/package.json index 65ad00f57b..89aaa25a54 100644 --- a/packages/next-auth/package.json +++ b/packages/next-auth/package.json @@ -78,6 +78,7 @@ "uuid": "^8.3.2" }, "peerDependencies": { + "next": "12.2.5", "nodemailer": "^6.6.5", "react": "^17.0.2 || ^18", "react-dom": "^17.0.2 || ^18" @@ -118,7 +119,7 @@ "jest-environment-jsdom": "^28.1.1", "jest-watch-typeahead": "^1.1.0", "msw": "^0.42.3", - "next": "12.2.0", + "next": "12.2.5", "postcss": "^8.4.14", "postcss-cli": "^9.1.0", "postcss-nested": "^5.0.6", From 20b6bbfef6bc4cd8a47404e3ee553710ca2d63aa Mon Sep 17 00:00:00 2001 From: Thomas Large Date: Fri, 23 Sep 2022 18:31:07 +0100 Subject: [PATCH 2/2] chore: Update lock file --- pnpm-lock.yaml | 216 +++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 184 insertions(+), 32 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a2c6915b10..a8575400d9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -435,7 +435,7 @@ importers: jest-watch-typeahead: ^1.1.0 jose: ^4.3.7 msw: ^0.42.3 - next: 12.2.0 + next: 12.2.5 oauth: ^0.9.15 openid-client: ^5.1.0 postcss: ^8.4.14 @@ -488,7 +488,7 @@ importers: jest-environment-jsdom: 28.1.1 jest-watch-typeahead: 1.1.0_jest@28.1.1 msw: 0.42.3 - next: 12.2.0_4cc5zw5azim2bix77d63le72su + next: 12.2.5_4cc5zw5azim2bix77d63le72su postcss: 8.4.14 postcss-cli: 9.1.0_postcss@8.4.14 postcss-nested: 5.0.6_postcss@8.4.14 @@ -5948,6 +5948,11 @@ packages: /@next/env/12.2.0: resolution: {integrity: sha512-/FCkDpL/8SodJEXvx/DYNlOD5ijTtkozf4PPulYPtkPOJaMPpBSOkzmsta4fnrnbdH6eZjbwbiXFdr6gSQCV4w==} + dev: false + + /@next/env/12.2.5: + resolution: {integrity: sha512-vLPLV3cpPGjUPT3PjgRj7e3nio9t6USkuew3JE/jMeon/9Mvp1WyR18v3iwnCuX7eUAm1HmAbJHHLAbcu/EJcw==} + dev: true /@next/swc-android-arm-eabi/12.2.0: resolution: {integrity: sha512-hbneH8DNRB2x0Nf5fPCYoL8a0osvdTCe4pvOc9Rv5CpDsoOlf8BWBs2OWpeP0U2BktGvIsuUhmISmdYYGyrvTw==} @@ -5955,6 +5960,16 @@ packages: cpu: [arm] os: [android] requiresBuild: true + dev: false + optional: true + + /@next/swc-android-arm-eabi/12.2.5: + resolution: {integrity: sha512-cPWClKxGhgn2dLWnspW+7psl3MoLQUcNqJqOHk2BhNcou9ARDtC0IjQkKe5qcn9qg7I7U83Gp1yh2aesZfZJMA==} + engines: {node: '>= 10'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true optional: true /@next/swc-android-arm64/12.2.0: @@ -5963,6 +5978,16 @@ packages: cpu: [arm64] os: [android] requiresBuild: true + dev: false + optional: true + + /@next/swc-android-arm64/12.2.5: + resolution: {integrity: sha512-vMj0efliXmC5b7p+wfcQCX0AfU8IypjkzT64GiKJD9PgiA3IILNiGJr1fw2lyUDHkjeWx/5HMlMEpLnTsQslwg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true optional: true /@next/swc-darwin-arm64/12.2.0: @@ -5971,6 +5996,16 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true + dev: false + optional: true + + /@next/swc-darwin-arm64/12.2.5: + resolution: {integrity: sha512-VOPWbO5EFr6snla/WcxUKtvzGVShfs302TEMOtzYyWni6f9zuOetijJvVh9CCTzInnXAZMtHyNhefijA4HMYLg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true optional: true /@next/swc-darwin-x64/12.2.0: @@ -5979,6 +6014,16 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true + dev: false + optional: true + + /@next/swc-darwin-x64/12.2.5: + resolution: {integrity: sha512-5o8bTCgAmtYOgauO/Xd27vW52G2/m3i5PX7MUYePquxXAnX73AAtqA3WgPXBRitEB60plSKZgOTkcpqrsh546A==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true optional: true /@next/swc-freebsd-x64/12.2.0: @@ -5987,6 +6032,16 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true + dev: false + optional: true + + /@next/swc-freebsd-x64/12.2.5: + resolution: {integrity: sha512-yYUbyup1JnznMtEBRkK4LT56N0lfK5qNTzr6/DEyDw5TbFVwnuy2hhLBzwCBkScFVjpFdfiC6SQAX3FrAZzuuw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true optional: true /@next/swc-linux-arm-gnueabihf/12.2.0: @@ -5995,6 +6050,16 @@ packages: cpu: [arm] os: [linux] requiresBuild: true + dev: false + optional: true + + /@next/swc-linux-arm-gnueabihf/12.2.5: + resolution: {integrity: sha512-2ZE2/G921Acks7UopJZVMgKLdm4vN4U0yuzvAMJ6KBavPzqESA2yHJlm85TV/K9gIjKhSk5BVtauIUntFRP8cg==} + engines: {node: '>= 10'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true optional: true /@next/swc-linux-arm64-gnu/12.2.0: @@ -6003,6 +6068,16 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true + dev: false + optional: true + + /@next/swc-linux-arm64-gnu/12.2.5: + resolution: {integrity: sha512-/I6+PWVlz2wkTdWqhlSYYJ1pWWgUVva6SgX353oqTh8njNQp1SdFQuWDqk8LnM6ulheVfSsgkDzxrDaAQZnzjQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true optional: true /@next/swc-linux-arm64-musl/12.2.0: @@ -6011,6 +6086,16 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true + dev: false + optional: true + + /@next/swc-linux-arm64-musl/12.2.5: + resolution: {integrity: sha512-LPQRelfX6asXyVr59p5sTpx5l+0yh2Vjp/R8Wi4X9pnqcayqT4CUJLiHqCvZuLin3IsFdisJL0rKHMoaZLRfmg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true optional: true /@next/swc-linux-x64-gnu/12.2.0: @@ -6019,6 +6104,16 @@ packages: cpu: [x64] os: [linux] requiresBuild: true + dev: false + optional: true + + /@next/swc-linux-x64-gnu/12.2.5: + resolution: {integrity: sha512-0szyAo8jMCClkjNK0hknjhmAngUppoRekW6OAezbEYwHXN/VNtsXbfzgYOqjKWxEx3OoAzrT3jLwAF0HdX2MEw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true optional: true /@next/swc-linux-x64-musl/12.2.0: @@ -6027,6 +6122,16 @@ packages: cpu: [x64] os: [linux] requiresBuild: true + dev: false + optional: true + + /@next/swc-linux-x64-musl/12.2.5: + resolution: {integrity: sha512-zg/Y6oBar1yVnW6Il1I/08/2ukWtOG6s3acdJdEyIdsCzyQi4RLxbbhkD/EGQyhqBvd3QrC6ZXQEXighQUAZ0g==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true optional: true /@next/swc-win32-arm64-msvc/12.2.0: @@ -6035,6 +6140,16 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true + dev: false + optional: true + + /@next/swc-win32-arm64-msvc/12.2.5: + resolution: {integrity: sha512-3/90DRNSqeeSRMMEhj4gHHQlLhhKg5SCCoYfE3kBjGpE63EfnblYUqsszGGZ9ekpKL/R4/SGB40iCQr8tR5Jiw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true optional: true /@next/swc-win32-ia32-msvc/12.2.0: @@ -6043,6 +6158,16 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true + dev: false + optional: true + + /@next/swc-win32-ia32-msvc/12.2.5: + resolution: {integrity: sha512-hGLc0ZRAwnaPL4ulwpp4D2RxmkHQLuI8CFOEEHdzZpS63/hMVzv81g8jzYA0UXbb9pus/iTc3VRbVbAM03SRrw==} + engines: {node: '>= 10'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true optional: true /@next/swc-win32-x64-msvc/12.2.0: @@ -6051,6 +6176,16 @@ packages: cpu: [x64] os: [win32] requiresBuild: true + dev: false + optional: true + + /@next/swc-win32-x64-msvc/12.2.5: + resolution: {integrity: sha512-7h5/ahY7NeaO2xygqVrSG/Y8Vs4cdjxIjowTZ5W6CKoTKn7tmnuxlUc2h74x06FKmbhAd9agOjr/AOKyxYYm9Q==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true optional: true /@nicolo-ribaudo/chokidar-2/2.1.8-no-fsevents.3: @@ -6568,6 +6703,13 @@ packages: resolution: {integrity: sha512-556Az0VX7WR6UdoTn4htt/l3zPQ7bsQWK+HqdG4swV7beUCxo/BqmvbOpUkTIm/9ih86LIf1qsUnywNL3obGHw==} dependencies: tslib: 2.4.0 + dev: false + + /@swc/helpers/0.4.3: + resolution: {integrity: sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA==} + dependencies: + tslib: 2.4.0 + dev: true /@swc/jest/0.2.21_@swc+core@1.2.204: resolution: {integrity: sha512-/+NcExiZbxXANNhNPnIdFuGq62CeumulLS1bngwqIXd8H7d96LFUfrYzdt8tlTwLMel8tFtQ5aRjzVkyOTyPDw==} @@ -16763,7 +16905,7 @@ packages: resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==} dev: true - /next/12.2.0_4cc5zw5azim2bix77d63le72su: + /next/12.2.0_biqbaboplfbrettd7655fr4n2y: resolution: {integrity: sha512-B4j7D3SHYopLYx6/Ark0fenwIar9tEaZZFAaxmKjgcMMexhVJzB3jt7X+6wcdXPPMeUD6r09weUtnDpjox/vIA==} engines: {node: '>=12.22.0'} hasBin: true @@ -16787,7 +16929,7 @@ packages: postcss: 8.4.5 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 - styled-jsx: 5.0.2_5wvcx74lvxq2lfpc5x4ihgp2jm + styled-jsx: 5.0.2_react@18.2.0 use-sync-external-store: 1.1.0_react@18.2.0 optionalDependencies: '@next/swc-android-arm-eabi': 12.2.0 @@ -16806,10 +16948,10 @@ packages: transitivePeerDependencies: - '@babel/core' - babel-plugin-macros - dev: true + dev: false - /next/12.2.0_biqbaboplfbrettd7655fr4n2y: - resolution: {integrity: sha512-B4j7D3SHYopLYx6/Ark0fenwIar9tEaZZFAaxmKjgcMMexhVJzB3jt7X+6wcdXPPMeUD6r09weUtnDpjox/vIA==} + /next/12.2.5_4cc5zw5azim2bix77d63le72su: + resolution: {integrity: sha512-tBdjqX5XC/oFs/6gxrZhjmiq90YWizUYU6qOWAfat7zJwrwapJ+BYgX2PmiacunXMaRpeVT4vz5MSPSLgNkrpA==} engines: {node: '>=12.22.0'} hasBin: true peerDependencies: @@ -16826,32 +16968,32 @@ packages: sass: optional: true dependencies: - '@next/env': 12.2.0 - '@swc/helpers': 0.4.2 + '@next/env': 12.2.5 + '@swc/helpers': 0.4.3 caniuse-lite: 1.0.30001358 - postcss: 8.4.5 + postcss: 8.4.14 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 - styled-jsx: 5.0.2_react@18.2.0 - use-sync-external-store: 1.1.0_react@18.2.0 + styled-jsx: 5.0.4_5wvcx74lvxq2lfpc5x4ihgp2jm + use-sync-external-store: 1.2.0_react@18.2.0 optionalDependencies: - '@next/swc-android-arm-eabi': 12.2.0 - '@next/swc-android-arm64': 12.2.0 - '@next/swc-darwin-arm64': 12.2.0 - '@next/swc-darwin-x64': 12.2.0 - '@next/swc-freebsd-x64': 12.2.0 - '@next/swc-linux-arm-gnueabihf': 12.2.0 - '@next/swc-linux-arm64-gnu': 12.2.0 - '@next/swc-linux-arm64-musl': 12.2.0 - '@next/swc-linux-x64-gnu': 12.2.0 - '@next/swc-linux-x64-musl': 12.2.0 - '@next/swc-win32-arm64-msvc': 12.2.0 - '@next/swc-win32-ia32-msvc': 12.2.0 - '@next/swc-win32-x64-msvc': 12.2.0 + '@next/swc-android-arm-eabi': 12.2.5 + '@next/swc-android-arm64': 12.2.5 + '@next/swc-darwin-arm64': 12.2.5 + '@next/swc-darwin-x64': 12.2.5 + '@next/swc-freebsd-x64': 12.2.5 + '@next/swc-linux-arm-gnueabihf': 12.2.5 + '@next/swc-linux-arm64-gnu': 12.2.5 + '@next/swc-linux-arm64-musl': 12.2.5 + '@next/swc-linux-x64-gnu': 12.2.5 + '@next/swc-linux-x64-musl': 12.2.5 + '@next/swc-win32-arm64-msvc': 12.2.5 + '@next/swc-win32-ia32-msvc': 12.2.5 + '@next/swc-win32-x64-msvc': 12.2.5 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros - dev: false + dev: true /nice-try/1.0.5: resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==} @@ -18056,6 +18198,7 @@ packages: nanoid: 3.3.4 picocolors: 1.0.0 source-map-js: 1.0.2 + dev: false /postgres-array/2.0.0: resolution: {integrity: sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==} @@ -20283,7 +20426,7 @@ packages: supports-color: 5.5.0 dev: false - /styled-jsx/5.0.2_5wvcx74lvxq2lfpc5x4ihgp2jm: + /styled-jsx/5.0.2_react@18.2.0: resolution: {integrity: sha512-LqPQrbBh3egD57NBcHET4qcgshPks+yblyhPlH2GY8oaDgKs8SK4C3dBh3oSJjgzJ3G5t1SYEZGHkP+QEpX9EQ==} engines: {node: '>= 12.0.0'} peerDependencies: @@ -20296,12 +20439,11 @@ packages: babel-plugin-macros: optional: true dependencies: - '@babel/core': 7.18.5 react: 18.2.0 - dev: true + dev: false - /styled-jsx/5.0.2_react@18.2.0: - resolution: {integrity: sha512-LqPQrbBh3egD57NBcHET4qcgshPks+yblyhPlH2GY8oaDgKs8SK4C3dBh3oSJjgzJ3G5t1SYEZGHkP+QEpX9EQ==} + /styled-jsx/5.0.4_5wvcx74lvxq2lfpc5x4ihgp2jm: + resolution: {integrity: sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ==} engines: {node: '>= 12.0.0'} peerDependencies: '@babel/core': '*' @@ -20313,8 +20455,9 @@ packages: babel-plugin-macros: optional: true dependencies: + '@babel/core': 7.18.5 react: 18.2.0 - dev: false + dev: true /stylehacks/5.1.0_postcss@8.4.14: resolution: {integrity: sha512-SzLmvHQTrIWfSgljkQCw2++C9+Ne91d/6Sp92I8c5uHTcy/PgeHamwITIbBW9wnFTY/3ZfSXR9HIL6Ikqmcu6Q==} @@ -21641,6 +21784,15 @@ packages: react: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: react: 18.2.0 + dev: false + + /use-sync-external-store/1.2.0_react@18.2.0: + resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + dependencies: + react: 18.2.0 + dev: true /util-deprecate/1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}