Update dependencies
Upgraded multiple dependencies across the project, including @types/node to ^22.5.1 and @supabase/supabase-js to ^2.45.3. This change also includes updates to react-related types and various other packages to their latest versions to maintain compatibility and leverage new features.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.46.1",
|
||||
"@types/node": "^22.1.0",
|
||||
"@types/node": "^22.5.1",
|
||||
"node-html-parser": "^6.1.13"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"supabase:db:dump:local": "supabase db dump --local --data-only"
|
||||
},
|
||||
"dependencies": {
|
||||
"@edge-csrf/nextjs": "2.3.0-rc1",
|
||||
"@edge-csrf/nextjs": "2.3.0",
|
||||
"@hookform/resolvers": "^3.9.0",
|
||||
"@kit/accounts": "workspace:^",
|
||||
"@kit/admin": "workspace:^",
|
||||
@@ -55,12 +55,12 @@
|
||||
"@makerkit/data-loader-supabase-nextjs": "^1.2.3",
|
||||
"@marsidev/react-turnstile": "^1.0.1",
|
||||
"@radix-ui/react-icons": "^1.3.0",
|
||||
"@supabase/supabase-js": "^2.45.2",
|
||||
"@supabase/supabase-js": "^2.45.3",
|
||||
"@tanstack/react-query": "5.52.2",
|
||||
"@tanstack/react-query-next-experimental": "^5.52.2",
|
||||
"@tanstack/react-query-next-experimental": "^5.53.1",
|
||||
"@tanstack/react-table": "^8.20.5",
|
||||
"date-fns": "^3.6.0",
|
||||
"lucide-react": "^0.436.0",
|
||||
"lucide-react": "^0.437.0",
|
||||
"next": "14.2.7",
|
||||
"next-sitemap": "^4.2.3",
|
||||
"next-themes": "0.3.0",
|
||||
@@ -80,8 +80,8 @@
|
||||
"@kit/tsconfig": "workspace:^",
|
||||
"@next/bundle-analyzer": "14.2.7",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^22.1.0",
|
||||
"@types/react": "^18.3.4",
|
||||
"@types/node": "^22.5.1",
|
||||
"@types/react": "^18.3.5",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"dotenv-cli": "^7.4.2",
|
||||
|
||||
@@ -34,11 +34,11 @@
|
||||
"prettier": "@kit/prettier-config",
|
||||
"dependencies": {
|
||||
"@manypkg/cli": "^0.21.4",
|
||||
"@turbo/gen": "^2.1.0",
|
||||
"@turbo/gen": "^2.1.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"pnpm": "^9.9.0",
|
||||
"prettier": "^3.3.3",
|
||||
"turbo": "2.1.0",
|
||||
"turbo": "2.1.1",
|
||||
"typescript": "^5.5.4"
|
||||
},
|
||||
"pnpm": {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@types/node": "^22.1.0"
|
||||
"@types/node": "^22.5.1"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
|
||||
@@ -27,10 +27,10 @@
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:^",
|
||||
"@supabase/supabase-js": "^2.45.2",
|
||||
"@types/react": "^18.3.4",
|
||||
"@supabase/supabase-js": "^2.45.3",
|
||||
"@types/react": "^18.3.5",
|
||||
"date-fns": "^3.6.0",
|
||||
"lucide-react": "^0.436.0",
|
||||
"lucide-react": "^0.437.0",
|
||||
"next": "14.2.7",
|
||||
"react": "18.3.1",
|
||||
"react-hook-form": "^7.53.0",
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:^",
|
||||
"@types/react": "^18.3.4",
|
||||
"@types/react": "^18.3.5",
|
||||
"next": "14.2.7",
|
||||
"react": "18.3.1",
|
||||
"zod": "^3.23.8"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"dependencies": {
|
||||
"@stripe/react-stripe-js": "^2.8.0",
|
||||
"@stripe/stripe-js": "^4.4.0",
|
||||
"stripe": "^16.8.0"
|
||||
"stripe": "^16.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@kit/billing": "workspace:^",
|
||||
@@ -28,7 +28,7 @@
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:^",
|
||||
"@types/react": "^18.3.4",
|
||||
"@types/react": "^18.3.5",
|
||||
"date-fns": "^3.6.0",
|
||||
"next": "14.2.7",
|
||||
"react": "18.3.1",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"@kit/eslint-config": "workspace:*",
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@types/node": "^22.1.0"
|
||||
"@types/node": "^22.5.1"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:^",
|
||||
"@types/node": "^22.1.0",
|
||||
"@types/react": "^18.3.4",
|
||||
"@types/node": "^22.5.1",
|
||||
"@types/react": "^18.3.5",
|
||||
"react": "18.3.1",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:^",
|
||||
"@types/node": "^22.1.0",
|
||||
"@types/node": "^22.5.1",
|
||||
"wp-types": "^4.66.1"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/team-accounts": "workspace:^",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@supabase/supabase-js": "^2.45.2",
|
||||
"@supabase/supabase-js": "^2.45.3",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-email/components": "0.0.23"
|
||||
"@react-email/components": "0.0.24"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@kit/eslint-config": "workspace:*",
|
||||
|
||||
@@ -34,11 +34,11 @@
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:^",
|
||||
"@radix-ui/react-icons": "^1.3.0",
|
||||
"@supabase/supabase-js": "^2.45.2",
|
||||
"@supabase/supabase-js": "^2.45.3",
|
||||
"@tanstack/react-query": "5.52.2",
|
||||
"@types/react": "^18.3.4",
|
||||
"@types/react": "^18.3.5",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"lucide-react": "^0.436.0",
|
||||
"lucide-react": "^0.437.0",
|
||||
"next": "14.2.7",
|
||||
"next-themes": "0.3.0",
|
||||
"react": "18.3.1",
|
||||
|
||||
@@ -304,8 +304,10 @@ function FactorQrCode({
|
||||
return setError(true);
|
||||
}
|
||||
|
||||
if (data.type === 'totp') {
|
||||
form.setValue('factorName', name);
|
||||
form.setValue('qrCode', data.totp.qr_code);
|
||||
}
|
||||
|
||||
// dispatch event to set factor ID
|
||||
onSetFactorId(data.id);
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
"@kit/ui": "workspace:^",
|
||||
"@makerkit/data-loader-supabase-core": "^0.0.8",
|
||||
"@makerkit/data-loader-supabase-nextjs": "^1.2.3",
|
||||
"@supabase/supabase-js": "^2.45.2",
|
||||
"@supabase/supabase-js": "^2.45.3",
|
||||
"@tanstack/react-query": "5.52.2",
|
||||
"@tanstack/react-table": "^8.20.5",
|
||||
"@types/react": "^18.3.4",
|
||||
"lucide-react": "^0.436.0",
|
||||
"@types/react": "^18.3.5",
|
||||
"lucide-react": "^0.437.0",
|
||||
"next": "14.2.7",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
|
||||
@@ -28,10 +28,10 @@
|
||||
"@kit/ui": "workspace:^",
|
||||
"@marsidev/react-turnstile": "^1.0.1",
|
||||
"@radix-ui/react-icons": "^1.3.0",
|
||||
"@supabase/supabase-js": "^2.45.2",
|
||||
"@supabase/supabase-js": "^2.45.3",
|
||||
"@tanstack/react-query": "5.52.2",
|
||||
"@types/react": "^18.3.4",
|
||||
"lucide-react": "^0.436.0",
|
||||
"@types/react": "^18.3.5",
|
||||
"lucide-react": "^0.437.0",
|
||||
"next": "14.2.7",
|
||||
"react-hook-form": "^7.53.0",
|
||||
"react-i18next": "^15.0.1",
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:*",
|
||||
"@supabase/supabase-js": "^2.45.2",
|
||||
"@supabase/supabase-js": "^2.45.3",
|
||||
"@tanstack/react-query": "5.52.2",
|
||||
"@types/react": "^18.3.4",
|
||||
"lucide-react": "^0.436.0",
|
||||
"@types/react": "^18.3.5",
|
||||
"lucide-react": "^0.437.0",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"react-i18next": "^15.0.1"
|
||||
|
||||
@@ -32,14 +32,14 @@
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:^",
|
||||
"@supabase/supabase-js": "^2.45.2",
|
||||
"@supabase/supabase-js": "^2.45.3",
|
||||
"@tanstack/react-query": "5.52.2",
|
||||
"@tanstack/react-table": "^8.20.5",
|
||||
"@types/react": "^18.3.4",
|
||||
"@types/react": "^18.3.5",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"class-variance-authority": "^0.7.0",
|
||||
"date-fns": "^3.6.0",
|
||||
"lucide-react": "^0.436.0",
|
||||
"lucide-react": "^0.437.0",
|
||||
"next": "14.2.7",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"@kit/sentry": "workspace:*",
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@types/react": "^18.3.4",
|
||||
"@types/react": "^18.3.5",
|
||||
"react": "18.3.1"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@types/react": "^18.3.4",
|
||||
"@types/react": "^18.3.5",
|
||||
"react": "18.3.1",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@types/react": "^18.3.4",
|
||||
"@types/react": "^18.3.5",
|
||||
"react": "18.3.1"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@types/react": "^18.3.4",
|
||||
"@types/react": "^18.3.5",
|
||||
"react": "18.3.1"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"@kit/supabase": "workspace:^",
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@supabase/supabase-js": "^2.45.2",
|
||||
"@supabase/supabase-js": "^2.45.3",
|
||||
"next": "14.2.7",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@types/react": "^18.3.4"
|
||||
"@types/react": "^18.3.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"pino": "^9.3.2"
|
||||
|
||||
@@ -28,11 +28,10 @@
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@supabase/gotrue-js": "2.64.4",
|
||||
"@supabase/ssr": "^0.5.1",
|
||||
"@supabase/supabase-js": "^2.45.2",
|
||||
"@supabase/supabase-js": "^2.45.3",
|
||||
"@tanstack/react-query": "5.52.2",
|
||||
"@types/react": "^18.3.4",
|
||||
"@types/react": "^18.3.5",
|
||||
"next": "14.2.7",
|
||||
"react": "18.3.1",
|
||||
"server-only": "^0.0.1",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { SignInWithPasswordlessCredentials } from '@supabase/gotrue-js';
|
||||
import type { SignInWithPasswordlessCredentials } from '@supabase/supabase-js';
|
||||
|
||||
import { useMutation } from '@tanstack/react-query';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { SignInWithOAuthCredentials } from '@supabase/gotrue-js';
|
||||
import type { SignInWithOAuthCredentials } from '@supabase/supabase-js';
|
||||
|
||||
import { useMutation } from '@tanstack/react-query';
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import { useMemo } from 'react';
|
||||
|
||||
import { getSupabaseBrowserClient } from '../clients/browser-client';
|
||||
import { Database } from '../database.types';
|
||||
|
||||
export function useSupabase() {
|
||||
return useMemo(() => getSupabaseBrowserClient(), []);
|
||||
export function useSupabase<Db = Database>() {
|
||||
return useMemo(() => getSupabaseBrowserClient<Db>(), []);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { UserAttributes } from '@supabase/gotrue-js';
|
||||
import type { UserAttributes } from '@supabase/supabase-js';
|
||||
|
||||
import { useMutation } from '@tanstack/react-query';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { VerifyOtpParams } from '@supabase/gotrue-js';
|
||||
import type { VerifyOtpParams } from '@supabase/supabase-js';
|
||||
|
||||
import { useMutation } from '@tanstack/react-query';
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "1.0.0",
|
||||
"input-otp": "1.2.4",
|
||||
"lucide-react": "^0.436.0",
|
||||
"lucide-react": "^0.437.0",
|
||||
"react-top-loading-bar": "2.3.1",
|
||||
"recharts": "^2.12.7",
|
||||
"tailwind-merge": "^2.5.2"
|
||||
@@ -44,7 +44,7 @@
|
||||
"@radix-ui/react-icons": "^1.3.0",
|
||||
"@tanstack/react-query": "5.52.2",
|
||||
"@tanstack/react-table": "^8.20.5",
|
||||
"@types/react": "^18.3.4",
|
||||
"@types/react": "^18.3.5",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"class-variance-authority": "^0.7.0",
|
||||
"date-fns": "^3.6.0",
|
||||
|
||||
1266
pnpm-lock.yaml
generated
1266
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -19,7 +19,7 @@
|
||||
"@typescript-eslint/eslint-plugin": "^8.3.0",
|
||||
"@typescript-eslint/parser": "^8.3.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-config-turbo": "^2.1.0",
|
||||
"eslint-config-turbo": "^2.1.1",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"eslint-plugin-react": "^7.35.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.2"
|
||||
|
||||
Reference in New Issue
Block a user