2
0

⬆️ Upgrade dependencies

This commit is contained in:
Baptiste Arnaud
2022-12-25 09:13:33 +01:00
parent 431ad7c78c
commit b0075fd374
17 changed files with 1088 additions and 1169 deletions

View File

@ -31,16 +31,16 @@
"@giphy/js-fetch-api": "4.7.1",
"@giphy/js-types": "4.4.0",
"@giphy/react-components": "6.5.1",
"@googleapis/drive": "4.0.0",
"@googleapis/drive": "4.0.1",
"@lezer/css": "^1.1.1",
"@sentry/nextjs": "7.27.0",
"@sentry/nextjs": "7.28.1",
"@stripe/stripe-js": "1.46.0",
"@tanstack/react-query": "^4.20.4",
"@tanstack/react-table": "8.7.0",
"@trpc/client": "10.5.0",
"@trpc/next": "10.5.0",
"@trpc/react-query": "10.5.0",
"@trpc/server": "10.5.0",
"@trpc/client": "10.7.0",
"@trpc/next": "10.7.0",
"@trpc/react-query": "10.7.0",
"@trpc/server": "10.7.0",
"@udecode/plate-basic-marks": "18.13.0",
"@udecode/plate-common": "^7.0.2",
"@udecode/plate-core": "18.13.0",
@ -49,7 +49,7 @@
"@udecode/plate-ui-link": "18.13.0",
"@udecode/plate-ui-toolbar": "18.13.0",
"@use-gesture/react": "^10.2.23",
"aws-sdk": "2.1277.0",
"aws-sdk": "2.1282.0",
"bot-engine": "workspace:*",
"browser-image-compression": "2.0.0",
"canvas-confetti": "1.6.0",
@ -61,18 +61,18 @@
"emails": "workspace:*",
"emojilib": "3.0.8",
"focus-visible": "5.2.0",
"framer-motion": "7.10.2",
"framer-motion": "8.0.2",
"google-auth-library": "8.7.0",
"google-spreadsheet": "3.3.0",
"got": "12.5.3",
"htmlparser2": "8.0.1",
"immer": "9.0.16",
"js-video-url-parser": "0.5.1",
"jsonwebtoken": "8.5.1",
"jsonwebtoken": "9.0.0",
"micro": "10.0.1",
"micro-cors": "0.1.1",
"minio": "7.0.32",
"next": "13.0.7",
"next": "13.1.1",
"next-auth": "4.12.3",
"nextjs-cors": "^2.1.2",
"nodemailer": "6.8.0",
@ -85,31 +85,31 @@
"slate": "0.87.0",
"slate-history": "0.86.0",
"slate-hyperscript": "0.77.0",
"slate-react": "0.87.1",
"stripe": "11.4.0",
"slate-react": "0.88.0",
"stripe": "11.5.0",
"styled-components": "5.3.6",
"svg-round-corners": "0.4.1",
"swr": "2.0.0",
"thememirror": "^2.0.1",
"tinycolor2": "1.4.2",
"tinycolor2": "1.5.1",
"trpc-openapi": "1.0.0",
"typebot-js": "workspace:*",
"use-debounce": "9.0.2"
},
"devDependencies": {
"@babel/core": "7.20.5",
"@babel/core": "7.20.7",
"@chakra-ui/styled-system": "2.5.0",
"@playwright/test": "1.29.0",
"@playwright/test": "1.29.1",
"@types/canvas-confetti": "1.6.0",
"@types/google-spreadsheet": "3.3.0",
"@types/jsonwebtoken": "8.5.9",
"@types/jsonwebtoken": "9.0.0",
"@types/micro-cors": "0.1.2",
"@types/minio": "7.0.15",
"@types/node": "18.11.17",
"@types/nodemailer": "6.4.7",
"@types/nprogress": "0.2.0",
"@types/papaparse": "5.3.5",
"@types/prettier": "2.7.1",
"@types/prettier": "2.7.2",
"@types/qs": "6.9.7",
"@types/react": "18.0.26",
"@types/tinycolor2": "1.4.3",
@ -119,7 +119,7 @@
"eslint-config-custom": "workspace:*",
"models": "workspace:*",
"next-transpile-modules": "10.0.0",
"superjson": "^1.12.0",
"superjson": "^1.12.1",
"tsconfig": "workspace:*",
"typescript": "4.9.4",
"utils": "workspace:*",

View File

@ -1145,6 +1145,9 @@
"isEnabled"
],
"additionalProperties": false
},
"isOneClickSubmitEnabled": {
"type": "boolean"
}
},
"required": [

View File

@ -43,7 +43,7 @@
]
},
"devDependencies": {
"@algolia/client-search": "4.14.2",
"@algolia/client-search": "4.14.3",
"@docusaurus/types": "^2.2.0",
"@types/react": "18.0.26",
"tsx": "3.12.1",

View File

@ -19,17 +19,17 @@
"bot-engine": "workspace:*",
"db": "workspace:*",
"focus-visible": "5.2.0",
"framer-motion": "7.10.2",
"framer-motion": "8.0.2",
"models": "workspace:*",
"next": "13.0.7",
"next": "13.1.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"utils": "workspace:*"
},
"devDependencies": {
"@babel/core": "7.20.5",
"@babel/core": "7.20.7",
"@chakra-ui/styled-system": "2.5.0",
"@next/bundle-analyzer": "13.0.7",
"@next/bundle-analyzer": "13.1.1",
"@types/aos": "3.0.4",
"@types/node": "18.11.17",
"@types/react": "18.0.26",

View File

@ -12,30 +12,30 @@
"test:report": "pnpm playwright show-report"
},
"dependencies": {
"@sentry/nextjs": "7.27.0",
"@trpc/server": "10.5.0",
"@sentry/nextjs": "7.28.1",
"@trpc/server": "10.7.0",
"@typebot.io/react": "workspace:*",
"aws-sdk": "2.1277.0",
"aws-sdk": "2.1282.0",
"bot-engine": "workspace:*",
"cors": "2.8.5",
"cuid": "2.1.8",
"db": "workspace:*",
"google-spreadsheet": "3.3.0",
"got": "12.5.3",
"next": "13.0.7",
"next": "13.1.1",
"nextjs-cors": "^2.1.2",
"nodemailer": "6.8.0",
"phone": "^3.1.31",
"phone": "^3.1.32",
"qs": "6.11.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"stripe": "11.4.0",
"stripe": "11.5.0",
"trpc-openapi": "1.0.0"
},
"devDependencies": {
"@babel/preset-env": "7.20.2",
"@faire/mjml-react": "3.0.0",
"@playwright/test": "1.29.0",
"@playwright/test": "1.29.1",
"@types/cors": "2.8.13",
"@types/google-spreadsheet": "3.3.0",
"@types/node": "18.11.17",
@ -54,7 +54,7 @@
"next-transpile-modules": "10.0.0",
"node-fetch": "^3.3.0",
"papaparse": "5.3.2",
"superjson": "^1.12.0",
"superjson": "^1.12.1",
"tsconfig": "workspace:*",
"typescript": "4.9.4",
"utils": "workspace:*",

View File

@ -32,5 +32,5 @@
"path": "node_modules/cz-emoji"
}
},
"packageManager": "pnpm@7.18.0"
"packageManager": "pnpm@7.19.0"
}

View File

@ -15,7 +15,7 @@
"@stripe/stripe-js": "1.46.0",
"prop-types": "15.8.1",
"qs": "6.11.0",
"react-frame-component": "5.2.3",
"react-frame-component": "5.2.4",
"react-phone-number-input": "3.2.13",
"react-scroll": "1.8.9",
"react-transition-group": "4.4.5",
@ -30,7 +30,7 @@
"@types/react-transition-group": "4.4.5",
"autoprefixer": "10.4.13",
"db": "workspace:*",
"esbuild": "^0.16.9",
"esbuild": "^0.16.10",
"eslint": "8.30.0",
"eslint-config-custom": "workspace:*",
"models": "workspace:*",

View File

@ -12,11 +12,11 @@
"create:migration": "prisma migrate dev"
},
"dependencies": {
"@prisma/client": "4.7.1"
"@prisma/client": "4.8.0"
},
"devDependencies": {
"dotenv-cli": "6.0.0",
"prisma": "4.7.1",
"prisma": "4.8.0",
"tsconfig": "workspace:*",
"typescript": "4.9.4"
}

View File

@ -3,12 +3,12 @@
"main": "index.js",
"dependencies": {
"eslint": "8.30.0",
"eslint-config-next": "13.0.7",
"eslint-config-next": "13.1.1",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-react": "7.31.11"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.46.0",
"@typescript-eslint/parser": "^5.46.0"
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0"
}
}

View File

@ -16,27 +16,27 @@
"@power-elements/stripe-elements": "^3.3.0",
"@stripe/stripe-js": "1.46.0",
"models": "workspace:*",
"phone": "^3.1.31",
"phone": "^3.1.32",
"solid-element": "^1.6.3",
"solid-js": "^1.6.5",
"solid-js": "^1.6.6",
"utils": "workspace:*"
},
"devDependencies": {
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-typescript": "^10.0.1",
"@types/react": "^18.0.26",
"autoprefixer": "10.4.13",
"babel-preset-solid": "^1.6.3",
"eslint": "8.29.0",
"babel-preset-solid": "^1.6.6",
"eslint": "8.30.0",
"eslint-config-custom": "workspace:*",
"eslint-plugin-solid": "^0.9.1",
"postcss": "8.4.20",
"react": "^18.2.0",
"rollup": "^3.7.4",
"rollup": "^3.8.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-dts": "^5.0.0",
"rollup-plugin-dts": "^5.1.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript-paths": "^1.4.0",
@ -44,7 +44,7 @@
"tsconfig": "workspace:*",
"tsup": "6.5.0",
"typescript": "^4.9.4",
"vite": "^4.0.1",
"vite": "^4.0.3",
"vite-plugin-solid": "^2.5.0"
}
}

View File

@ -11,7 +11,7 @@
"devDependencies": {
"cuid": "2.1.8",
"db": "workspace:*",
"next": "13.0.7",
"next": "13.1.1",
"tsconfig": "workspace:*",
"typescript": "4.9.4"
},

View File

@ -19,10 +19,10 @@
"got": "12.5.3",
"models": "workspace:*",
"prompts": "^2.4.2",
"stripe": "11.4.0",
"stripe": "11.5.0",
"tsx": "3.12.1",
"typescript": "4.9.4",
"utils": "workspace:*",
"zod": "3.19.1"
"zod": "3.20.2"
}
}

View File

@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-empty-function */
import {
BubbleActions,
BubbleParams,
@ -21,8 +22,7 @@ export const initBubble = (params: BubbleParams): BubbleActions => {
| HTMLDivElement
| undefined
if (existingBubble) existingBubble.remove()
const { bubbleElement, proactiveMessageElement, iframeElement } =
createBubble(params)
const { bubbleElement, proactiveMessageElement } = createBubble(params)
if (
(params.autoOpenDelay || params.autoOpenDelay === 0) &&
!hasBeenClosed()
@ -33,7 +33,7 @@ export const initBubble = (params: BubbleParams): BubbleActions => {
!document.body
? (window.onload = () => document.body.appendChild(bubbleElement))
: document.body.appendChild(bubbleElement)
return getBubbleActions(bubbleElement, iframeElement, proactiveMessageElement)
return getBubbleActions(bubbleElement, proactiveMessageElement)
}
const createBubble = (
@ -75,18 +75,12 @@ const onProactiveMessageClick = (
export const getBubbleActions = (
bubbleElement?: HTMLDivElement,
iframeElement?: HTMLIFrameElement,
proactiveMessageElement?: HTMLDivElement
): BubbleActions => {
const existingBubbleElement =
bubbleElement ??
(document.querySelector('#typebot-bubble') as HTMLDivElement | undefined)
if (!existingBubbleElement) return { close: () => {}, open: () => {} }
const existingIframeElement =
iframeElement ??
(existingBubbleElement.querySelector(
'.typebot-iframe'
) as HTMLIFrameElement)
const existingProactiveMessage =
proactiveMessageElement ??
document.querySelector('#typebot-bubble .proactive-message')

View File

@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-empty-function */
import { createIframe } from '../../iframe'
import { PopupActions, PopupParams } from '../../types'
import './style.css'

View File

@ -6,14 +6,14 @@
"main": "./index.ts",
"types": "./index.ts",
"devDependencies": {
"@playwright/test": "1.29.0",
"@playwright/test": "1.29.1",
"@types/nodemailer": "6.4.7",
"aws-sdk": "2.1277.0",
"aws-sdk": "2.1282.0",
"cuid": "2.1.8",
"db": "workspace:*",
"dotenv": "16.0.3",
"models": "workspace:*",
"next": "13.0.7",
"next": "13.1.1",
"nodemailer": "6.8.0",
"tsconfig": "workspace:*",
"typescript": "4.9.4"

View File

@ -7,7 +7,7 @@
"license": "AGPL-3.0-or-later",
"devDependencies": {
"@prettier/plugin-php": "0.19.2",
"prettier": "2.8.0"
"prettier": "2.8.1"
},
"scripts": {
"deploy": "pnpm copy && pnpm commit",

2133
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff