diff --git a/dashboard/final-example/app/seed/route.ts b/dashboard/final-example/app/seed/route.ts index c6428b27..3c41d8af 100644 --- a/dashboard/final-example/app/seed/route.ts +++ b/dashboard/final-example/app/seed/route.ts @@ -1,4 +1,4 @@ -import bcrypt from 'bcrypt'; +import bcrypt from 'bcryptjs'; import postgres from 'postgres'; import { invoices, customers, revenue, users } from '../lib/placeholder-data'; diff --git a/dashboard/final-example/auth.ts b/dashboard/final-example/auth.ts index fbb25a90..7dffd4d9 100644 --- a/dashboard/final-example/auth.ts +++ b/dashboard/final-example/auth.ts @@ -1,6 +1,6 @@ import NextAuth from 'next-auth'; import Credentials from 'next-auth/providers/credentials'; -import bcrypt from 'bcrypt'; +import bcrypt from 'bcryptjs'; import postgres from 'postgres'; import { z } from 'zod'; import type { User } from '@/app/lib/definitions'; diff --git a/dashboard/final-example/package.json b/dashboard/final-example/package.json index 3d691784..33fee0a4 100644 --- a/dashboard/final-example/package.json +++ b/dashboard/final-example/package.json @@ -9,7 +9,7 @@ "@heroicons/react": "^2.2.0", "@tailwindcss/forms": "^0.5.10", "autoprefixer": "10.4.20", - "bcrypt": "^5.1.1", + "bcryptjs": "^3.0.2", "clsx": "^2.1.1", "next": "latest", "next-auth": "5.0.0-beta.25", diff --git a/dashboard/starter-example/app/seed/route.ts b/dashboard/starter-example/app/seed/route.ts index c6428b27..3c41d8af 100644 --- a/dashboard/starter-example/app/seed/route.ts +++ b/dashboard/starter-example/app/seed/route.ts @@ -1,4 +1,4 @@ -import bcrypt from 'bcrypt'; +import bcrypt from 'bcryptjs'; import postgres from 'postgres'; import { invoices, customers, revenue, users } from '../lib/placeholder-data'; diff --git a/dashboard/starter-example/package.json b/dashboard/starter-example/package.json index 3d691784..33fee0a4 100644 --- a/dashboard/starter-example/package.json +++ b/dashboard/starter-example/package.json @@ -9,7 +9,7 @@ "@heroicons/react": "^2.2.0", "@tailwindcss/forms": "^0.5.10", "autoprefixer": "10.4.20", - "bcrypt": "^5.1.1", + "bcryptjs": "^3.0.2", "clsx": "^2.1.1", "next": "latest", "next-auth": "5.0.0-beta.25",