Corrected variable name typo and updated library dependencies

An incorrect variable name in account-invitations-table.tsx was fixed, correcting `iRenewingInvite` to `isRenewingInvite`. Additionally, several dependencies across the project were updated, including `zod`, `supabase`, and `stripe`, among others. These updates ensure the project is using the most recent and secure versions of the libraries.
This commit is contained in:
giancarlo
2024-05-03 16:33:44 +07:00
parent 549097efa6
commit e159c52d41
23 changed files with 110 additions and 87 deletions

View File

@@ -22,7 +22,7 @@
"@kit/tailwind-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"eslintConfig": {
"root": true,

View File

@@ -35,7 +35,7 @@
"react": "18.3.1",
"react-hook-form": "^7.51.3",
"react-i18next": "^14.1.1",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"eslintConfig": {
"root": true,

View File

@@ -28,7 +28,7 @@
"@types/react": "^18.3.1",
"next": "14.2.3",
"react": "18.3.1",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"eslintConfig": {
"root": true,

View File

@@ -17,7 +17,7 @@
"dependencies": {
"@stripe/react-stripe-js": "^2.7.0",
"@stripe/stripe-js": "^3.3.0",
"stripe": "^15.4.0"
"stripe": "^15.5.0"
},
"devDependencies": {
"@kit/billing": "workspace:^",
@@ -32,7 +32,7 @@
"date-fns": "^3.6.0",
"next": "14.2.3",
"react": "18.3.1",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"eslintConfig": {
"root": true,

View File

@@ -25,7 +25,7 @@
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:^",
"@types/node": "^20.12.7",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"eslintConfig": {
"root": true,

View File

@@ -24,7 +24,7 @@
"@kit/team-accounts": "workspace:^",
"@kit/tsconfig": "workspace:*",
"@supabase/supabase-js": "^2.43.0",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"eslintConfig": {
"root": true,

View File

@@ -45,7 +45,7 @@
"react-hook-form": "^7.51.3",
"react-i18next": "^14.1.1",
"sonner": "^1.4.41",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"prettier": "@kit/prettier-config",
"eslintConfig": {

View File

@@ -29,7 +29,7 @@
"react": "18.3.1",
"react-dom": "18.3.1",
"react-hook-form": "^7.51.3",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"exports": {
".": "./src/index.ts",

View File

@@ -36,7 +36,7 @@
"react-hook-form": "^7.51.3",
"react-i18next": "^14.1.1",
"sonner": "^1.4.41",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"prettier": "@kit/prettier-config",
"eslintConfig": {

View File

@@ -45,7 +45,7 @@
"react-hook-form": "^7.51.3",
"react-i18next": "^14.1.1",
"sonner": "^1.4.41",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"prettier": "@kit/prettier-config",
"eslintConfig": {

View File

@@ -160,7 +160,7 @@ function ActionsDropdown({
}) {
const [isDeletingInvite, setIsDeletingInvite] = useState(false);
const [isUpdatingRole, setIsUpdatingRole] = useState(false);
const [iRenewingInvite, setIsRenewingInvite] = useState(false);
const [isRenewingInvite, setIsRenewingInvite] = useState(false);
if (!permissions.canUpdateInvitation && !permissions.canRemoveInvitation) {
return null;
@@ -223,7 +223,7 @@ function ActionsDropdown({
/>
</If>
<If condition={iRenewingInvite}>
<If condition={isRenewingInvite}>
<RenewInvitationDialog
isOpen
setIsOpen={setIsRenewingInvite}

View File

@@ -22,7 +22,7 @@
"@kit/tailwind-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@types/nodemailer": "6.4.14",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"eslintConfig": {
"root": true,

View File

@@ -27,7 +27,7 @@
"@kit/tsconfig": "workspace:*",
"@types/react": "^18.3.1",
"react": "18.3.1",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"eslintConfig": {
"root": true,

View File

@@ -23,7 +23,7 @@
"@opentelemetry/sdk-node": "0.51.0",
"@opentelemetry/semantic-conventions": "^1.24.0",
"@sentry/nextjs": "^7.112.2",
"@sentry/opentelemetry-node": "^7.112.2"
"@sentry/opentelemetry-node": "^7.113.0"
},
"devDependencies": {
"@kit/eslint-config": "workspace:*",

View File

@@ -23,7 +23,7 @@
"@kit/tsconfig": "workspace:*",
"@supabase/supabase-js": "^2.43.0",
"next": "14.2.3",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"eslintConfig": {
"root": true,

View File

@@ -32,7 +32,7 @@
"@types/react": "^18.3.1",
"next": "14.2.3",
"react": "18.3.1",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"eslintConfig": {
"root": true,

View File

@@ -57,7 +57,7 @@
"tailwindcss": "3.4.3",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.4.5",
"zod": "^3.23.5"
"zod": "^3.23.6"
},
"eslintConfig": {
"root": true,