chore: upgrade next-auth
This commit is contained in:
parent
11ef898222
commit
09645780b2
3 changed files with 11 additions and 29 deletions
1
auth.ts
1
auth.ts
|
|
@ -15,7 +15,6 @@ export const {
|
||||||
auth,
|
auth,
|
||||||
CSRF_experimental
|
CSRF_experimental
|
||||||
} = NextAuth({
|
} = NextAuth({
|
||||||
// @ts-expect-error
|
|
||||||
providers: [GitHub],
|
providers: [GitHub],
|
||||||
callbacks: {
|
callbacks: {
|
||||||
jwt: async ({ token, profile }) => {
|
jwt: async ({ token, profile }) => {
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
"focus-trap-react": "^10.1.1",
|
"focus-trap-react": "^10.1.1",
|
||||||
"nanoid": "^4.0.2",
|
"nanoid": "^4.0.2",
|
||||||
"next": "13.4.7-canary.1",
|
"next": "13.4.7-canary.1",
|
||||||
"next-auth": "0.0.0-manual.f414f2f5",
|
"next-auth": "0.0.0-manual.e65faa1c",
|
||||||
"next-themes": "^0.2.1",
|
"next-themes": "^0.2.1",
|
||||||
"openai-edge": "^0.5.1",
|
"openai-edge": "^0.5.1",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
|
|
|
||||||
37
pnpm-lock.yaml
generated
37
pnpm-lock.yaml
generated
|
|
@ -63,8 +63,8 @@ dependencies:
|
||||||
specifier: 13.4.7-canary.1
|
specifier: 13.4.7-canary.1
|
||||||
version: 13.4.7-canary.1(react-dom@18.2.0)(react@18.2.0)
|
version: 13.4.7-canary.1(react-dom@18.2.0)(react@18.2.0)
|
||||||
next-auth:
|
next-auth:
|
||||||
specifier: 0.0.0-manual.f414f2f5
|
specifier: 0.0.0-manual.e65faa1c
|
||||||
version: 0.0.0-manual.f414f2f5(next@13.4.7-canary.1)(react-dom@18.2.0)(react@18.2.0)
|
version: 0.0.0-manual.e65faa1c(next@13.4.7-canary.1)(react-dom@18.2.0)(react@18.2.0)
|
||||||
next-themes:
|
next-themes:
|
||||||
specifier: ^0.2.1
|
specifier: ^0.2.1
|
||||||
version: 0.2.1(next@13.4.7-canary.1)(react-dom@18.2.0)(react@18.2.0)
|
version: 0.2.1(next@13.4.7-canary.1)(react-dom@18.2.0)(react@18.2.0)
|
||||||
|
|
@ -165,8 +165,8 @@ packages:
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@auth/core@0.0.0-manual.527fff6c:
|
/@auth/core@0.0.0-manual.8fcd46b0:
|
||||||
resolution: {integrity: sha512-NYWuH+6VAAMV05juyarbMm6rCDUGvS5vPFsE+V13NIfbvbwbEZPj3JfcHVv7vMDrUrPtJ4EhTh00Svejp1Moqg==}
|
resolution: {integrity: sha512-KuhvZ0hHz6NvMAgAi+su0dJOD0YAiOWGaLswyfGK5RsG/cdhqyyiII9HOTaZbWZAKir0UGYb8SlN+owhV30JXg==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
nodemailer: ^6.8.0
|
nodemailer: ^6.8.0
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
|
|
@ -181,29 +181,13 @@ packages:
|
||||||
preact-render-to-string: 5.2.3(preact@10.11.3)
|
preact-render-to-string: 5.2.3(preact@10.11.3)
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@auth/core@0.8.2:
|
/@auth/nextjs@0.0.0-manual.b53ca00b(next@13.4.7-canary.1)(react@18.2.0):
|
||||||
resolution: {integrity: sha512-swqJ7tKFlqiYIl1znFGrrawUv1F6rwL+/f3DoeWDaZLnr2phiHFaZsvNvLK7WBJhnJbel78Vd3GznuR31AnFUw==}
|
resolution: {integrity: sha512-g0XvlP+3MSXPX512K6Hu0mGOkb1QPCkXkaA0Zr9i+bmTEDU9TtYTTNmX2EyvLeTfmrEEU/CMS92aWTmiki1KVA==}
|
||||||
peerDependencies:
|
|
||||||
nodemailer: ^6.8.0
|
|
||||||
peerDependenciesMeta:
|
|
||||||
nodemailer:
|
|
||||||
optional: true
|
|
||||||
dependencies:
|
|
||||||
'@panva/hkdf': 1.1.1
|
|
||||||
cookie: 0.5.0
|
|
||||||
jose: 4.14.4
|
|
||||||
oauth4webapi: 2.3.0
|
|
||||||
preact: 10.11.3
|
|
||||||
preact-render-to-string: 5.2.3(preact@10.11.3)
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/@auth/nextjs@0.0.0-manual.de744368(next@13.4.7-canary.1)(react@18.2.0):
|
|
||||||
resolution: {integrity: sha512-jLjKasLTKH5YLiK2i0NQWbsQS1pMveidyFT/ibwZ6c5UAcqDsC6ZGvvVxOaiAmiA6iFA1WMqNBVEcy+NhGgXVQ==}
|
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
next: ^13.4.6
|
next: ^13.4.6
|
||||||
react: ^18.2.0
|
react: ^18.2.0
|
||||||
dependencies:
|
dependencies:
|
||||||
'@auth/core': 0.8.2
|
'@auth/core': 0.0.0-manual.8fcd46b0
|
||||||
next: 13.4.7-canary.1(react-dom@18.2.0)(react@18.2.0)
|
next: 13.4.7-canary.1(react-dom@18.2.0)(react@18.2.0)
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
|
|
@ -4033,8 +4017,8 @@ packages:
|
||||||
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
|
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/next-auth@0.0.0-manual.f414f2f5(next@13.4.7-canary.1)(react-dom@18.2.0)(react@18.2.0):
|
/next-auth@0.0.0-manual.e65faa1c(next@13.4.7-canary.1)(react-dom@18.2.0)(react@18.2.0):
|
||||||
resolution: {integrity: sha512-qJmSX4QUV8V2JOQavl0fQyJymt0fte7eDQsMGTpx8ZRU2Qvx8uh+xrvXlHt3dXf603OB3QkWaj77ipIEt62Hfg==}
|
resolution: {integrity: sha512-I51GvhZhZEf/gzhiTKivYPAIyZ74sCF3YXAMMuZ/bjahybeehPEu7opcPEA+H0Uxrvmo2G8/BQ7mT+TiFdM9IQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
next: ^13.4.5
|
next: ^13.4.5
|
||||||
nodemailer: ^6.6.5
|
nodemailer: ^6.6.5
|
||||||
|
|
@ -4044,8 +4028,7 @@ packages:
|
||||||
nodemailer:
|
nodemailer:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@auth/core': 0.0.0-manual.527fff6c
|
'@auth/nextjs': 0.0.0-manual.b53ca00b(next@13.4.7-canary.1)(react@18.2.0)
|
||||||
'@auth/nextjs': 0.0.0-manual.de744368(next@13.4.7-canary.1)(react@18.2.0)
|
|
||||||
next: 13.4.7-canary.1(react-dom@18.2.0)(react@18.2.0)
|
next: 13.4.7-canary.1(react-dom@18.2.0)(react@18.2.0)
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
react-dom: 18.2.0(react@18.2.0)
|
react-dom: 18.2.0(react@18.2.0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue