⬆️ Upgrade dependencies
This commit is contained in:
@@ -14,45 +14,44 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@chakra-ui/anatomy": "^2.1.1",
|
||||
"@chakra-ui/react": "2.6.0",
|
||||
"@chakra-ui/react": "2.6.1",
|
||||
"@chakra-ui/theme-tools": "^2.0.16",
|
||||
"@dnd-kit/core": "6.0.8",
|
||||
"@dnd-kit/sortable": "7.0.2",
|
||||
"@dnd-kit/utilities": "3.2.1",
|
||||
"@emotion/react": "11.10.8",
|
||||
"@emotion/styled": "11.10.8",
|
||||
"@faire/mjml-react": "3.2.0",
|
||||
"@giphy/js-fetch-api": "4.9.0",
|
||||
"@emotion/react": "11.11.0",
|
||||
"@emotion/styled": "11.11.0",
|
||||
"@faire/mjml-react": "3.3.0",
|
||||
"@giphy/js-fetch-api": "4.9.1",
|
||||
"@giphy/js-types": "4.4.0",
|
||||
"@giphy/react-components": "6.9.0",
|
||||
"@googleapis/drive": "5.0.2",
|
||||
"@lezer/css": "^1.1.1",
|
||||
"@giphy/react-components": "6.9.3",
|
||||
"@googleapis/drive": "5.1.0",
|
||||
"@paralleldrive/cuid2": "2.2.0",
|
||||
"@sentry/nextjs": "7.50.0",
|
||||
"@stripe/stripe-js": "1.52.1",
|
||||
"@tanstack/react-query": "^4.29.5",
|
||||
"@tanstack/react-table": "8.9.0",
|
||||
"@trpc/client": "10.23.0",
|
||||
"@trpc/next": "10.23.0",
|
||||
"@trpc/react-query": "10.23.0",
|
||||
"@trpc/server": "10.23.0",
|
||||
"@sentry/nextjs": "7.53.1",
|
||||
"@stripe/stripe-js": "1.53.0",
|
||||
"@tanstack/react-query": "^4.29.7",
|
||||
"@tanstack/react-table": "8.9.1",
|
||||
"@trpc/client": "10.27.3",
|
||||
"@trpc/next": "10.27.3",
|
||||
"@trpc/react-query": "10.27.3",
|
||||
"@trpc/server": "10.27.3",
|
||||
"@typebot.io/emails": "workspace:*",
|
||||
"@typebot.io/js": "workspace:*",
|
||||
"@typebot.io/next-international": "0.3.8",
|
||||
"@typebot.io/react": "workspace:*",
|
||||
"@udecode/plate-basic-marks": "21.0.0",
|
||||
"@udecode/plate-common": "^21.0.0",
|
||||
"@udecode/plate-core": "21.0.0",
|
||||
"@udecode/plate-link": "21.0.0",
|
||||
"@udecode/plate-serializer-html": "21.0.0",
|
||||
"@udecode/plate-ui-link": "21.0.0",
|
||||
"@udecode/plate-ui-toolbar": "21.0.0",
|
||||
"@uiw/codemirror-extensions-langs": "^4.19.16",
|
||||
"@uiw/codemirror-theme-github": "^4.19.16",
|
||||
"@uiw/codemirror-theme-tokyo-night": "^4.19.16",
|
||||
"@uiw/react-codemirror": "^4.19.16",
|
||||
"@use-gesture/react": "^10.2.26",
|
||||
"aws-sdk": "2.1369.0",
|
||||
"@udecode/plate-basic-marks": "21.1.5",
|
||||
"@udecode/plate-common": "^21.1.5",
|
||||
"@udecode/plate-core": "21.1.5",
|
||||
"@udecode/plate-link": "21.2.0",
|
||||
"@udecode/plate-serializer-html": "21.1.5",
|
||||
"@udecode/plate-ui-link": "21.2.0",
|
||||
"@udecode/plate-ui-toolbar": "21.1.5",
|
||||
"@uiw/codemirror-extensions-langs": "^4.20.2",
|
||||
"@uiw/codemirror-theme-github": "^4.20.2",
|
||||
"@uiw/codemirror-theme-tokyo-night": "^4.20.2",
|
||||
"@uiw/react-codemirror": "^4.20.2",
|
||||
"@use-gesture/react": "^10.2.27",
|
||||
"aws-sdk": "2.1384.0",
|
||||
"browser-image-compression": "2.0.2",
|
||||
"canvas-confetti": "1.6.0",
|
||||
"codemirror": "6.0.1",
|
||||
@@ -64,59 +63,58 @@
|
||||
"google-auth-library": "8.8.0",
|
||||
"google-spreadsheet": "3.3.0",
|
||||
"got": "12.6.0",
|
||||
"htmlparser2": "8.0.2",
|
||||
"immer": "10.0.1",
|
||||
"immer": "10.0.2",
|
||||
"js-video-url-parser": "0.5.1",
|
||||
"jsonwebtoken": "9.0.0",
|
||||
"micro": "10.0.1",
|
||||
"micro-cors": "0.1.1",
|
||||
"minio": "7.1.0",
|
||||
"next": "13.3.4",
|
||||
"minio": "7.1.1",
|
||||
"next": "13.4.3",
|
||||
"next-auth": "4.22.1",
|
||||
"nextjs-cors": "^2.1.2",
|
||||
"nodemailer": "6.9.1",
|
||||
"nodemailer": "6.9.2",
|
||||
"nprogress": "0.2.0",
|
||||
"papaparse": "5.4.1",
|
||||
"posthog-node": "3.1.1",
|
||||
"prettier": "2.8.8",
|
||||
"qs": "6.11.1",
|
||||
"qs": "6.11.2",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"slate": "0.94.0",
|
||||
"slate": "0.94.1",
|
||||
"slate-history": "0.93.0",
|
||||
"slate-hyperscript": "0.77.0",
|
||||
"slate-react": "0.94.0",
|
||||
"stripe": "12.3.0",
|
||||
"slate-react": "0.94.2",
|
||||
"stripe": "12.6.0",
|
||||
"styled-components": "5.3.10",
|
||||
"svg-round-corners": "0.4.1",
|
||||
"swr": "2.1.5",
|
||||
"tinycolor2": "1.6.0",
|
||||
"trpc-openapi": "1.1.2",
|
||||
"unsplash-js": "^7.0.15",
|
||||
"trpc-openapi": "1.2.0",
|
||||
"unsplash-js": "^7.0.18",
|
||||
"use-debounce": "9.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@chakra-ui/styled-system": "2.9.0",
|
||||
"@playwright/test": "1.33.0",
|
||||
"@playwright/test": "1.34.3",
|
||||
"@typebot.io/lib": "workspace:*",
|
||||
"@typebot.io/prisma": "workspace:*",
|
||||
"@typebot.io/schemas": "workspace:*",
|
||||
"@typebot.io/tsconfig": "workspace:*",
|
||||
"@types/canvas-confetti": "1.6.0",
|
||||
"@types/google-spreadsheet": "3.3.1",
|
||||
"@types/google-spreadsheet": "3.3.2",
|
||||
"@types/jsonwebtoken": "9.0.2",
|
||||
"@types/micro-cors": "0.1.3",
|
||||
"@types/minio": "7.0.18",
|
||||
"@types/node": "18.16.3",
|
||||
"@types/nodemailer": "6.4.7",
|
||||
"@types/minio": "7.1.0",
|
||||
"@types/node": "20.2.3",
|
||||
"@types/nodemailer": "6.4.8",
|
||||
"@types/nprogress": "0.2.0",
|
||||
"@types/papaparse": "5.3.7",
|
||||
"@types/prettier": "2.7.2",
|
||||
"@types/qs": "6.9.7",
|
||||
"@types/react": "18.2.0",
|
||||
"@types/react": "18.2.7",
|
||||
"@types/tinycolor2": "1.4.3",
|
||||
"dotenv": "16.0.3",
|
||||
"eslint": "8.39.0",
|
||||
"eslint": "8.41.0",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
"superjson": "^1.12.3",
|
||||
"typescript": "5.0.4",
|
||||
|
||||
@@ -20,7 +20,6 @@ import { useTypebot } from '../providers/TypebotProvider'
|
||||
import { useUser } from '@/features/account/hooks/useUser'
|
||||
import { useRouter } from 'next/router'
|
||||
import React, { useEffect, useState } from 'react'
|
||||
import { isNotDefined } from '@typebot.io/lib'
|
||||
import { EditorSettingsModal } from './EditorSettingsModal'
|
||||
import { parseDefaultPublicId } from '@/features/publish/helpers/parseDefaultPublicId'
|
||||
|
||||
@@ -32,9 +31,8 @@ export const BoardMenuButton = (props: FlexProps) => {
|
||||
const { isOpen, onOpen, onClose } = useDisclosure()
|
||||
|
||||
useEffect(() => {
|
||||
if (isNotDefined(user?.graphNavigation) && isNotDefined(query.isFirstBot))
|
||||
onOpen()
|
||||
}, [onOpen, query.isFirstBot, user?.graphNavigation])
|
||||
if (user && !user.graphNavigation && !query.isFirstBot) onOpen()
|
||||
}, [onOpen, query.isFirstBot, user, user?.graphNavigation])
|
||||
|
||||
const downloadFlow = () => {
|
||||
assert(typebot)
|
||||
|
||||
Reference in New Issue
Block a user