diff --git a/apps/sample-next-auth-app/package.json b/apps/sample-next-auth-app/package.json index 4b6e19a2a..59b24b832 100644 --- a/apps/sample-next-auth-app/package.json +++ b/apps/sample-next-auth-app/package.json @@ -19,7 +19,7 @@ "@xata.io/client": "latest", "eslint": "8.57.1", "eslint-config-next": "13.5.7", - "next": "^13.0.7", + "next": "^14.0.0", "next-auth": "^4.18.6", "react": "18.3.1", "react-dom": "18.3.1", diff --git a/apps/sample-next-auth-pages/package.json b/apps/sample-next-auth-pages/package.json index 13a22f8e9..e367cab50 100644 --- a/apps/sample-next-auth-pages/package.json +++ b/apps/sample-next-auth-pages/package.json @@ -19,7 +19,7 @@ "@xata.io/client": "latest", "eslint": "8.57.1", "eslint-config-next": "13.5.7", - "next": "^13.0.7", + "next": "^14.0.0", "next-auth": "^4.18.6", "react": "18.3.1", "react-dom": "18.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d6f937441..f14c22b75 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -307,7 +307,7 @@ importers: dependencies: '@next-auth/xata-adapter': specifier: latest - version: 0.2.2(@xata.io/client@0.30.1(typescript@5.6.3))(next-auth@4.24.10(next@13.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 0.2.2(@xata.io/client@0.30.1(typescript@5.6.3))(next-auth@4.24.10(next@14.2.17(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@next/font': specifier: 13.5.7 version: 13.5.7 @@ -330,11 +330,11 @@ importers: specifier: 13.5.7 version: 13.5.7(eslint@8.57.1)(typescript@5.6.3) next: - specifier: ^13.0.7 - version: 13.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^14.0.0 + version: 14.2.17(react-dom@18.3.1(react@18.3.1))(react@18.3.1) next-auth: specifier: ^4.18.6 - version: 4.24.10(next@13.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 4.24.10(next@14.2.17(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: 18.3.1 version: 18.3.1 @@ -349,7 +349,7 @@ importers: dependencies: '@next-auth/xata-adapter': specifier: latest - version: 0.2.2(@xata.io/client@0.30.1(typescript@5.6.3))(next-auth@4.24.10(next@13.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 0.2.2(@xata.io/client@0.30.1(typescript@5.6.3))(next-auth@4.24.10(next@14.2.17(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@next/font': specifier: 13.5.7 version: 13.5.7 @@ -372,11 +372,11 @@ importers: specifier: 13.5.7 version: 13.5.7(eslint@8.57.1)(typescript@5.6.3) next: - specifier: ^13.0.7 - version: 13.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^14.0.0 + version: 14.2.17(react-dom@18.3.1(react@18.3.1))(react@18.3.1) next-auth: specifier: ^4.18.6 - version: 4.24.10(next@13.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 4.24.10(next@14.2.17(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: 18.3.1 version: 18.3.1 @@ -2065,9 +2065,6 @@ packages: '@xata.io/client': '>=0.13.0' next-auth: ^4 - '@next/env@13.5.7': - resolution: {integrity: sha512-uVuRqoj28Ys/AI/5gVEgRAISd0KWI0HRjOO1CTpNgmX3ZsHb5mdn14Y59yk0IxizXdo7ZjsI2S7qbWnO+GNBcA==} - '@next/env@14.2.17': resolution: {integrity: sha512-MCgO7VHxXo8sYR/0z+sk9fGyJJU636JyRmkjc7ZJY8Hurl8df35qG5hoAh5KMs75FLjhlEo9bb2LGe89Y/scDA==} @@ -2080,108 +2077,54 @@ packages: '@next/font@13.5.7': resolution: {integrity: sha512-uzYv8ZGvVA9Ju2TyzrQ6WWb+XU45whWFdkfSS7tQ+ShggiHWUKIW94wCYUodGwR8oNv11lTwvVFXtcIL7DhKpA==} - '@next/swc-darwin-arm64@13.5.7': - resolution: {integrity: sha512-7SxmxMex45FvKtRoP18eftrDCMyL6WQVYJSEE/s7A1AW/fCkznxjEShKet2iVVzf89gWp8HbXGaL4hCaseux6g==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [darwin] - '@next/swc-darwin-arm64@14.2.17': resolution: {integrity: sha512-WiOf5nElPknrhRMTipXYTJcUz7+8IAjOYw3vXzj3BYRcVY0hRHKWgTgQ5439EvzQyHEko77XK+yN9x9OJ0oOog==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@next/swc-darwin-x64@13.5.7': - resolution: {integrity: sha512-6iENvgyIkGFLFszBL4b1VfEogKC3TDPEB6/P/lgxmgXVXIV09Q4or1MVn+U/tYyYmm7oHMZ3oxGpHAyJ80nA6g==} - engines: {node: '>= 10'} - cpu: [x64] - os: [darwin] - '@next/swc-darwin-x64@14.2.17': resolution: {integrity: sha512-29y425wYnL17cvtxrDQWC3CkXe/oRrdt8ie61S03VrpwpPRI0XsnTvtKO06XCisK4alaMnZlf8riwZIbJTaSHQ==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@next/swc-linux-arm64-gnu@13.5.7': - resolution: {integrity: sha512-P42jDX56wu9zEdVI+Xv4zyTeXB3DpqgE1Gb4bWrc0s2RIiDYr6uKBprnOs1hCGIwfVyByxyTw5Va66QCdFFNUg==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - '@next/swc-linux-arm64-gnu@14.2.17': resolution: {integrity: sha512-SSHLZls3ZwNEHsc+d0ynKS+7Af0Nr8+KTUBAy9pm6xz9SHkJ/TeuEg6W3cbbcMSh6j4ITvrjv3Oi8n27VR+IPw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-musl@13.5.7': - resolution: {integrity: sha512-A06vkj+8X+tLRzSja5REm/nqVOCzR+x5Wkw325Q/BQRyRXWGCoNbQ6A+BR5M86TodigrRfI3lUZEKZKe3QJ9Bg==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - '@next/swc-linux-arm64-musl@14.2.17': resolution: {integrity: sha512-VFge37us5LNPatB4F7iYeuGs9Dprqe4ZkW7lOEJM91r+Wf8EIdViWHLpIwfdDXinvCdLl6b4VyLpEBwpkctJHA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@next/swc-linux-x64-gnu@13.5.7': - resolution: {integrity: sha512-UdHm7AlxIbdRdMsK32cH0EOX4OmzAZ4Xm+UVlS0YdvwLkI3pb7AoBEoVMG5H0Wj6Wpz6GNkrFguHTRLymTy6kw==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - '@next/swc-linux-x64-gnu@14.2.17': resolution: {integrity: sha512-aaQlpxUVb9RZ41adlTYVQ3xvYEfBPUC8+6rDgmQ/0l7SvK8S1YNJzPmDPX6a4t0jLtIoNk7j+nroS/pB4nx7vQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@next/swc-linux-x64-musl@13.5.7': - resolution: {integrity: sha512-c50Y8xBKU16ZGj038H6C13iedRglxvdQHD/1BOtes56gwUrIRDX2Nkzn3mYtpz3Wzax0gfAF9C0Nqljt93IxvA==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - '@next/swc-linux-x64-musl@14.2.17': resolution: {integrity: sha512-HSyEiFaEY3ay5iATDqEup5WAfrhMATNJm8dYx3ZxL+e9eKv10XKZCwtZByDoLST7CyBmyDz+OFJL1wigyXeaoA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@next/swc-win32-arm64-msvc@13.5.7': - resolution: {integrity: sha512-NcUx8cmkA+JEp34WNYcKW6kW2c0JBhzJXIbw+9vKkt9m/zVJ+KfizlqmoKf04uZBtzFN6aqE2Fyv2MOd021WIA==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [win32] - '@next/swc-win32-arm64-msvc@14.2.17': resolution: {integrity: sha512-h5qM9Btqv87eYH8ArrnLoAHLyi79oPTP2vlGNSg4CDvUiXgi7l0+5KuEGp5pJoMhjuv9ChRdm7mRlUUACeBt4w==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@next/swc-win32-ia32-msvc@13.5.7': - resolution: {integrity: sha512-wXp+/3NVcuyJDED6gJiLXs5dqHaWO7moAB6aBtjlKZvsxBDxpcyjsfRbtHPeYtaT20zCkmPs69H0K25lrVZmlA==} - engines: {node: '>= 10'} - cpu: [ia32] - os: [win32] - '@next/swc-win32-ia32-msvc@14.2.17': resolution: {integrity: sha512-BD/G++GKSLexQjdyoEUgyo5nClU7er5rK0sE+HlEqnldJSm96CIr/+YOTT063LVTT/dUOeQsNgp5DXr86/K7/A==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] - '@next/swc-win32-x64-msvc@13.5.7': - resolution: {integrity: sha512-PLyD3Dl6jTTkLG8AoqhPGd5pXtSs8wbqIhWPQt3yEMfnYld/dGYuF2YPs3YHaVFrijCIF9pXY3+QOyvP23Zn7g==} - engines: {node: '>= 10'} - cpu: [x64] - os: [win32] - '@next/swc-win32-x64-msvc@14.2.17': resolution: {integrity: sha512-vkQfN1+4V4KqDibkW2q0sJ6CxQuXq5l2ma3z0BRcfIqkAMZiiW67T9yCpwqJKP68QghBtPEFjPAlaqe38O6frw==} engines: {node: '>= 10'} @@ -2811,9 +2754,6 @@ packages: '@swc/counter@0.1.3': resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} - '@swc/helpers@0.5.2': - resolution: {integrity: sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==} - '@swc/helpers@0.5.5': resolution: {integrity: sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==} @@ -6116,21 +6056,6 @@ packages: nodemailer: optional: true - next@13.5.7: - resolution: {integrity: sha512-W7KIRTE+hPcgGdq89P3mQLDX3m7pJ6nxSyC+YxYaUExE+cS4UledB+Ntk98tKoyhsv6fjb2TRAnD7VDvoqmeFg==} - engines: {node: '>=16.14.0'} - hasBin: true - peerDependencies: - '@opentelemetry/api': ^1.1.0 - react: ^18.2.0 - react-dom: ^18.2.0 - sass: ^1.3.0 - peerDependenciesMeta: - '@opentelemetry/api': - optional: true - sass: - optional: true - next@14.2.17: resolution: {integrity: sha512-hNo/Zy701DDO3nzKkPmsLRlDfNCtb1OJxFUvjGEl04u7SFa3zwC6hqsOUzMajcaEOEV8ey1GjvByvrg0Qr5AiQ==} engines: {node: '>=18.17.0'} @@ -8431,10 +8356,6 @@ packages: engines: {node: '>=10.0.0'} hasBin: true - watchpack@2.4.0: - resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==} - engines: {node: '>=10.13.0'} - wcwidth@1.0.1: resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} @@ -10382,12 +10303,10 @@ snapshots: '@netlify/node-cookies': 0.1.0 urlpattern-polyfill: 8.0.2 - '@next-auth/xata-adapter@0.2.2(@xata.io/client@0.30.1(typescript@5.6.3))(next-auth@4.24.10(next@13.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@next-auth/xata-adapter@0.2.2(@xata.io/client@0.30.1(typescript@5.6.3))(next-auth@4.24.10(next@14.2.17(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: '@xata.io/client': 0.30.1(typescript@5.6.3) - next-auth: 4.24.10(next@13.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - - '@next/env@13.5.7': {} + next-auth: 4.24.10(next@14.2.17(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@next/env@14.2.17': {} @@ -10401,57 +10320,30 @@ snapshots: '@next/font@13.5.7': {} - '@next/swc-darwin-arm64@13.5.7': - optional: true - '@next/swc-darwin-arm64@14.2.17': optional: true - '@next/swc-darwin-x64@13.5.7': - optional: true - '@next/swc-darwin-x64@14.2.17': optional: true - '@next/swc-linux-arm64-gnu@13.5.7': - optional: true - '@next/swc-linux-arm64-gnu@14.2.17': optional: true - '@next/swc-linux-arm64-musl@13.5.7': - optional: true - '@next/swc-linux-arm64-musl@14.2.17': optional: true - '@next/swc-linux-x64-gnu@13.5.7': - optional: true - '@next/swc-linux-x64-gnu@14.2.17': optional: true - '@next/swc-linux-x64-musl@13.5.7': - optional: true - '@next/swc-linux-x64-musl@14.2.17': optional: true - '@next/swc-win32-arm64-msvc@13.5.7': - optional: true - '@next/swc-win32-arm64-msvc@14.2.17': optional: true - '@next/swc-win32-ia32-msvc@13.5.7': - optional: true - '@next/swc-win32-ia32-msvc@14.2.17': optional: true - '@next/swc-win32-x64-msvc@13.5.7': - optional: true - '@next/swc-win32-x64-msvc@14.2.17': optional: true @@ -11361,10 +11253,6 @@ snapshots: '@swc/counter@0.1.3': {} - '@swc/helpers@0.5.2': - dependencies: - tslib: 2.8.1 - '@swc/helpers@0.5.5': dependencies: '@swc/counter': 0.1.3 @@ -15819,13 +15707,13 @@ snapshots: neotraverse@0.6.18: {} - next-auth@4.24.10(next@13.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next-auth@4.24.10(next@14.2.17(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 '@panva/hkdf': 1.2.1 cookie: 0.7.2 jose: 4.15.9 - next: 13.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + next: 14.2.17(react-dom@18.3.1(react@18.3.1))(react@18.3.1) oauth: 0.9.15 openid-client: 5.7.0 preact: 10.24.3 @@ -15834,31 +15722,6 @@ snapshots: react-dom: 18.3.1(react@18.3.1) uuid: 8.3.2 - next@13.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1): - dependencies: - '@next/env': 13.5.7 - '@swc/helpers': 0.5.2 - busboy: 1.6.0 - caniuse-lite: 1.0.30001669 - postcss: 8.4.31 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - styled-jsx: 5.1.1(react@18.3.1) - watchpack: 2.4.0 - optionalDependencies: - '@next/swc-darwin-arm64': 13.5.7 - '@next/swc-darwin-x64': 13.5.7 - '@next/swc-linux-arm64-gnu': 13.5.7 - '@next/swc-linux-arm64-musl': 13.5.7 - '@next/swc-linux-x64-gnu': 13.5.7 - '@next/swc-linux-x64-musl': 13.5.7 - '@next/swc-win32-arm64-msvc': 13.5.7 - '@next/swc-win32-ia32-msvc': 13.5.7 - '@next/swc-win32-x64-msvc': 13.5.7 - transitivePeerDependencies: - - '@babel/core' - - babel-plugin-macros - next@14.2.17(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@next/env': 14.2.17 @@ -18663,11 +18526,6 @@ snapshots: transitivePeerDependencies: - debug - watchpack@2.4.0: - dependencies: - glob-to-regexp: 0.4.1 - graceful-fs: 4.2.11 - wcwidth@1.0.1: dependencies: defaults: 1.0.4