Skip to content

Commit

Permalink
⬆️ Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Apr 3, 2023
1 parent d32afd8 commit 21b1d74
Show file tree
Hide file tree
Showing 16 changed files with 5,564 additions and 5,041 deletions.
79 changes: 39 additions & 40 deletions apps/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,92 +14,91 @@
},
"dependencies": {
"@chakra-ui/anatomy": "^2.1.1",
"@chakra-ui/css-reset": "2.0.11",
"@chakra-ui/react": "2.5.1",
"@chakra-ui/react": "2.5.5",
"@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.6",
"@emotion/styled": "11.10.6",
"@faire/mjml-react": "3.1.2",
"@giphy/js-fetch-api": "4.7.1",
"@faire/mjml-react": "3.2.0",
"@giphy/js-fetch-api": "4.8.1",
"@giphy/js-types": "4.4.0",
"@giphy/react-components": "6.6.0",
"@googleapis/drive": "5.0.0",
"@giphy/react-components": "6.8.1",
"@googleapis/drive": "5.0.2",
"@lezer/css": "^1.1.1",
"@paralleldrive/cuid2": "2.2.0",
"@sentry/nextjs": "7.44.1",
"@stripe/stripe-js": "1.49.0",
"@tanstack/react-query": "^4.26.1",
"@tanstack/react-table": "8.7.9",
"@trpc/client": "10.16.0",
"@trpc/next": "10.16.0",
"@trpc/react-query": "10.16.0",
"@trpc/server": "10.16.0",
"@sentry/nextjs": "7.46.0",
"@stripe/stripe-js": "1.52.0",
"@tanstack/react-query": "^4.28.0",
"@tanstack/react-table": "8.8.5",
"@trpc/client": "10.18.0",
"@trpc/next": "10.18.0",
"@trpc/react-query": "10.18.0",
"@trpc/server": "10.18.0",
"@typebot.io/emails": "workspace:*",
"@typebot.io/js": "workspace:*",
"@typebot.io/next-international": "0.3.8",
"@typebot.io/react": "workspace:*",
"@udecode/plate-basic-marks": "20.4.0",
"@udecode/plate-common": "^20.4.0",
"@udecode/plate-core": "20.4.0",
"@udecode/plate-link": "20.4.0",
"@udecode/plate-link": "20.4.1",
"@udecode/plate-serializer-html": "20.4.0",
"@udecode/plate-ui-link": "20.4.0",
"@udecode/plate-ui-link": "20.4.1",
"@udecode/plate-ui-toolbar": "20.4.0",
"@uiw/codemirror-extensions-langs": "^4.19.9",
"@uiw/codemirror-theme-github": "^4.19.9",
"@uiw/codemirror-theme-tokyo-night": "^4.19.9",
"@uiw/react-codemirror": "^4.19.9",
"@use-gesture/react": "^10.2.24",
"aws-sdk": "2.1334.0",
"@uiw/codemirror-extensions-langs": "^4.19.11",
"@uiw/codemirror-theme-github": "^4.19.11",
"@uiw/codemirror-theme-tokyo-night": "^4.19.11",
"@uiw/react-codemirror": "^4.19.11",
"@use-gesture/react": "^10.2.25",
"aws-sdk": "2.1348.0",
"browser-image-compression": "2.0.2",
"canvas-confetti": "1.6.0",
"codemirror": "6.0.1",
"deep-object-diff": "1.1.9",
"dequal": "2.0.3",
"emojilib": "3.0.8",
"emojilib": "3.0.10",
"focus-visible": "5.2.0",
"framer-motion": "10.3.0",
"google-auth-library": "8.7.0",
"google-spreadsheet": "3.3.0",
"got": "12.6.0",
"htmlparser2": "8.0.1",
"immer": "9.0.19",
"htmlparser2": "8.0.2",
"immer": "9.0.21",
"js-video-url-parser": "0.5.1",
"jsonwebtoken": "9.0.0",
"micro": "10.0.1",
"micro-cors": "0.1.1",
"minio": "7.0.32",
"minio": "7.0.33",
"next": "13.2.4",
"next-auth": "4.19.2",
"next-auth": "4.21.0",
"nextjs-cors": "^2.1.2",
"nodemailer": "6.9.1",
"nprogress": "0.2.0",
"papaparse": "5.4.0",
"posthog-node": "2.5.4",
"prettier": "2.8.4",
"papaparse": "5.4.1",
"posthog-node": "2.6.0",
"prettier": "2.8.7",
"qs": "6.11.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"slate": "0.91.4",
"slate-history": "0.86.0",
"slate-hyperscript": "0.77.0",
"slate-react": "0.92.0",
"stripe": "11.14.0",
"stripe": "11.17.0",
"styled-components": "5.3.9",
"svg-round-corners": "0.4.1",
"swr": "2.1.0",
"swr": "2.1.2",
"tinycolor2": "1.6.0",
"trpc-openapi": "1.1.2",
"unsplash-js": "^7.0.15",
"use-debounce": "9.0.3"
},
"devDependencies": {
"@babel/core": "7.21.0",
"@chakra-ui/styled-system": "2.6.1",
"@playwright/test": "1.31.2",
"@babel/core": "7.21.4",
"@chakra-ui/styled-system": "2.8.0",
"@playwright/test": "1.32.1",
"@typebot.io/lib": "workspace:*",
"@typebot.io/prisma": "workspace:*",
"@typebot.io/schemas": "workspace:*",
Expand All @@ -108,20 +107,20 @@
"@types/google-spreadsheet": "3.3.1",
"@types/jsonwebtoken": "9.0.1",
"@types/micro-cors": "0.1.3",
"@types/minio": "7.0.17",
"@types/node": "18.15.3",
"@types/minio": "7.0.18",
"@types/node": "18.15.11",
"@types/nodemailer": "6.4.7",
"@types/nprogress": "0.2.0",
"@types/papaparse": "5.3.7",
"@types/prettier": "2.7.2",
"@types/qs": "6.9.7",
"@types/react": "18.0.28",
"@types/react": "18.0.32",
"@types/tinycolor2": "1.4.3",
"dotenv": "16.0.3",
"eslint": "8.36.0",
"eslint": "8.37.0",
"eslint-config-custom": "workspace:*",
"superjson": "^1.12.2",
"typescript": "4.9.5",
"typescript": "5.0.3",
"zod": "3.21.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test.describe('Payment input block', () => {

await page.goto(`/typebots/${typebotId}/edit`)
await page.click('text=Configure...')
await page.click('text=Select an account')
await page.getByRole('button', { name: 'Select an account' }).click()
await page.click('text=Connect new')
await page.fill('[placeholder="Typebot"]', 'My Stripe Account')
await page.fill(
Expand Down
17 changes: 4 additions & 13 deletions apps/builder/src/pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,19 +129,10 @@ if (isNotEmpty(process.env.CUSTOM_OAUTH_WELL_KNOWN_URL)) {
}

const handler = (req: NextApiRequest, res: NextApiResponse) => {
if (
req.method === 'GET' &&
req.url === '/api/auth/session' &&
env('E2E_TEST') === 'true'
) {
res.send({ user: mockedUser })
return
}
if (req.method === 'HEAD') {
res.status(200)
return
}
NextAuth(req, res, {
if (req.url === '/api/auth/session' && env('E2E_TEST') === 'true')
return res.send({ user: mockedUser })
if (req.method === 'HEAD') return res.status(200)
return NextAuth(req, res, {
adapter: CustomAdapter(prisma),
secret: process.env.ENCRYPTION_SECRET,
providers,
Expand Down
18 changes: 9 additions & 9 deletions apps/landing-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@chakra-ui/icon": "3.0.15",
"@chakra-ui/react": "2.5.1",
"@chakra-ui/react": "2.5.5",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"@vercel/analytics": "0.1.11",
Expand All @@ -20,28 +20,28 @@
"aos": "2.3.4",
"@typebot.io/prisma": "workspace:*",
"focus-visible": "5.2.0",
"framer-motion": "10.3.0",
"framer-motion": "10.10.0",
"@typebot.io/schemas": "workspace:*",
"next": "13.2.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"@typebot.io/lib": "workspace:*"
},
"devDependencies": {
"@babel/core": "7.21.0",
"@chakra-ui/styled-system": "2.6.1",
"@babel/core": "7.21.4",
"@chakra-ui/styled-system": "2.8.0",
"@next/bundle-analyzer": "13.2.4",
"@types/aos": "3.0.4",
"@types/node": "18.15.3",
"@types/react": "18.0.28",
"@types/node": "18.15.11",
"@types/react": "18.0.32",
"autoprefixer": "10.4.14",
"cross-env": "7.0.3",
"eslint": "8.36.0",
"eslint": "8.37.0",
"eslint-config-custom": "workspace:*",
"next-transpile-modules": "10.0.0",
"postcss": "8.4.21",
"prettier": "2.8.4",
"prettier": "2.8.7",
"@typebot.io/tsconfig": "workspace:*",
"typescript": "4.9.5"
"typescript": "5.0.3"
}
}
28 changes: 14 additions & 14 deletions apps/viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,51 +13,51 @@
"test:report": "pnpm playwright show-report"
},
"dependencies": {
"@sentry/nextjs": "7.44.1",
"@trpc/server": "10.16.0",
"@sentry/nextjs": "7.46.0",
"@trpc/server": "10.18.0",
"@typebot.io/js": "workspace:*",
"@typebot.io/react": "workspace:*",
"aws-sdk": "2.1334.0",
"aws-sdk": "2.1348.0",
"bot-engine": "workspace:*",
"cors": "2.8.5",
"@typebot.io/prisma": "workspace:*",
"google-spreadsheet": "3.3.0",
"got": "12.6.0",
"libphonenumber-js": "1.10.21",
"libphonenumber-js": "1.10.24",
"next": "13.2.4",
"nextjs-cors": "2.1.2",
"nodemailer": "6.9.1",
"openai": "3.2.1",
"qs": "6.11.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"stripe": "11.14.0",
"stripe": "11.17.0",
"trpc-openapi": "1.1.2"
},
"devDependencies": {
"@babel/preset-env": "7.20.2",
"@faire/mjml-react": "3.1.2",
"@babel/preset-env": "7.21.4",
"@faire/mjml-react": "3.2.0",
"@paralleldrive/cuid2": "2.2.0",
"@playwright/test": "1.31.2",
"@playwright/test": "1.32.1",
"@types/cors": "2.8.13",
"@types/google-spreadsheet": "3.3.1",
"@types/node": "18.15.3",
"@types/node": "18.15.11",
"@types/nodemailer": "6.4.7",
"@types/papaparse": "5.3.7",
"@types/qs": "6.9.7",
"@types/react": "18.0.28",
"@types/sanitize-html": "2.8.1",
"@types/react": "18.0.32",
"@types/sanitize-html": "2.9.0",
"dotenv": "16.0.3",
"@typebot.io/emails": "workspace:*",
"eslint": "8.36.0",
"eslint": "8.37.0",
"eslint-config-custom": "workspace:*",
"google-auth-library": "8.7.0",
"@typebot.io/schemas": "workspace:*",
"node-fetch": "3.3.1",
"papaparse": "5.4.0",
"papaparse": "5.4.1",
"superjson": "1.12.2",
"@typebot.io/tsconfig": "workspace:*",
"typescript": "4.9.5",
"typescript": "5.0.3",
"@typebot.io/lib": "workspace:*",
"zod": "3.21.4"
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
"cross-env": "7.0.3",
"cz-emoji": "1.3.2-canary.2",
"husky": "^8.0.3",
"turbo": "1.8.3"
"turbo": "1.8.8"
},
"config": {
"commitizen": {
"path": "node_modules/cz-emoji"
}
},
"packageManager": "pnpm@7.30.0"
"packageManager": "pnpm@8.1.0"
}
12 changes: 6 additions & 6 deletions packages/emails/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
"author": "Baptiste Arnaud",
"license": "ISC",
"devDependencies": {
"@faire/mjml-react": "3.1.2",
"@types/node": "18.15.3",
"@faire/mjml-react": "3.2.0",
"@types/node": "18.15.11",
"@types/nodemailer": "6.4.7",
"@types/react": "18.0.28",
"concurrently": "7.6.0",
"@types/react": "18.0.32",
"concurrently": "8.0.1",
"http-server": "14.1.1",
"nodemailer": "6.9.1",
"react": "18.2.0",
"tsx": "3.12.5",
"tsx": "3.12.6",
"@typebot.io/lib": "workspace:*",
"eslint": "8.36.0",
"eslint": "8.37.0",
"eslint-config-custom": "workspace:*",
"@typebot.io/tsconfig": "workspace:*"
},
Expand Down
20 changes: 10 additions & 10 deletions packages/embeds/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,30 @@
},
"license": "MIT",
"dependencies": {
"@stripe/stripe-js": "1.49.0",
"solid-element": "1.6.4",
"solid-js": "1.6.14"
"@stripe/stripe-js": "1.52.0",
"solid-element": "1.7.0",
"solid-js": "1.7.1"
},
"devDependencies": {
"@babel/preset-typescript": "7.21.0",
"@babel/preset-typescript": "7.21.4",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-node-resolve": "15.0.1",
"@rollup/plugin-terser": "0.4.0",
"@rollup/plugin-typescript": "11.0.0",
"autoprefixer": "10.4.14",
"babel-preset-solid": "1.6.13",
"eslint": "8.36.0",
"babel-preset-solid": "1.7.1",
"eslint": "8.37.0",
"eslint-config-custom": "workspace:*",
"eslint-plugin-solid": "0.11.0",
"eslint-plugin-solid": "0.12.0",
"@typebot.io/schemas": "workspace:*",
"postcss": "8.4.21",
"react": "18.2.0",
"rollup": "3.19.1",
"rollup": "3.20.2",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-typescript-paths": "1.4.0",
"tailwindcss": "3.2.7",
"tailwindcss": "3.3.1",
"@typebot.io/tsconfig": "workspace:*",
"typescript": "4.9.5",
"typescript": "5.0.3",
"@typebot.io/lib": "workspace:*"
}
}
6 changes: 1 addition & 5 deletions packages/embeds/js/src/components/avatars/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ export const Avatar = (props: { initialAvatarSrc?: string }) => {
})

return (
<Show
when={isNotEmpty(avatarSrc())}
keyed
fallback={() => <DefaultAvatar />}
>
<Show when={isNotEmpty(avatarSrc())} keyed fallback={<DefaultAvatar />}>
<figure
class={
'flex justify-center items-center rounded-full text-white relative animate-fade-in flex-shrink-0 ' +
Expand Down
Loading

0 comments on commit 21b1d74

Please sign in to comment.