feat: update to next-auth 4.16.4

This commit is contained in:
shadcn 2022-11-08 08:35:26 +04:00
parent 11dda1eb06
commit a2b35e99b6
6 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
import type { NextApiHandler, NextApiRequest, NextApiResponse } from "next"
import { unstable_getServerSession } from "next-auth"
import { unstable_getServerSession } from "next-auth/next"
import { authOptions } from "@/lib/auth"

View file

@ -1,5 +1,5 @@
import type { NextApiHandler, NextApiRequest, NextApiResponse } from "next"
import { unstable_getServerSession } from "next-auth"
import { unstable_getServerSession } from "next-auth/next"
import * as z from "zod"
import { authOptions } from "@/lib/auth"

View file

@ -1,5 +1,5 @@
import type { NextApiHandler, NextApiRequest, NextApiResponse } from "next"
import { unstable_getServerSession } from "next-auth"
import { unstable_getServerSession } from "next-auth/next"
import * as z from "zod"
import { authOptions } from "@/lib/auth"

View file

@ -1,4 +1,4 @@
import { unstable_getServerSession } from "next-auth"
import { unstable_getServerSession } from "next-auth/next"
import { authOptions } from "@/lib/auth"

View file

@ -38,7 +38,7 @@
"hasha": "^5.2.2",
"lucide-react": "^0.92.0",
"next": "^13.0.3-canary.0",
"next-auth": "^4.16.3",
"next-auth": "^4.16.4",
"next-mdx-remote": "^4.1.0",
"node-cache": "^5.1.2",
"nodemailer": "^6.8.0",

View file

@ -2731,10 +2731,10 @@ natural-compare@^1.4.0:
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
next-auth@^4.16.3:
version "4.16.3"
resolved "https://registry.yarnpkg.com/next-auth/-/next-auth-4.16.3.tgz#896ddeebb16c42899f916722be11acb99ec969fa"
integrity sha512-xDQHQJRpB/pjBDj53r4Br03jvhM1TI73J9OCX0afBTOHZEfpQ6ZrjsBFdSrdx6NeQSEMq6R/ZRny2Y6Nt/XqrA==
next-auth@^4.16.4:
version "4.16.4"
resolved "https://registry.yarnpkg.com/next-auth/-/next-auth-4.16.4.tgz#3ab796a0979ac05a6ebc1fbf343983ef5bc965c9"
integrity sha512-KXW578+ER1u5RcWLwCHMdb/RIBIO6JM8r6xlf9RIPSKzkvDcX9FHiZfJS2vOq/SurHXPJZc4J3OS4IDJpF74Dw==
dependencies:
"@babel/runtime" "^7.16.3"
"@panva/hkdf" "^1.0.1"