Skip to content

Commit

Permalink
⬆️ Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Mar 14, 2023
1 parent 9ca17e4 commit ff09814
Show file tree
Hide file tree
Showing 18 changed files with 1,566 additions and 1,139 deletions.
74 changes: 37 additions & 37 deletions apps/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,89 +22,89 @@
"@dnd-kit/utilities": "3.2.1",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"@faire/mjml-react": "3.1.1",
"@faire/mjml-react": "3.1.2",
"@giphy/js-fetch-api": "4.7.1",
"@giphy/js-types": "4.4.0",
"@giphy/react-components": "6.5.2",
"@googleapis/drive": "4.0.2",
"@giphy/react-components": "6.6.0",
"@googleapis/drive": "5.0.0",
"@lezer/css": "^1.1.1",
"@paralleldrive/cuid2": "2.2.0",
"@sentry/nextjs": "7.38.0",
"@stripe/stripe-js": "1.47.0",
"@tanstack/react-query": "^4.24.10",
"@sentry/nextjs": "7.43.0",
"@stripe/stripe-js": "1.49.0",
"@tanstack/react-query": "^4.26.1",
"@tanstack/react-table": "8.7.9",
"@trpc/client": "10.12.0",
"@trpc/next": "10.12.0",
"@trpc/react-query": "10.12.0",
"@trpc/server": "10.12.0",
"@trpc/client": "10.16.0",
"@trpc/next": "10.16.0",
"@trpc/react-query": "10.16.0",
"@trpc/server": "10.16.0",
"@typebot.io/js": "workspace:*",
"@typebot.io/react": "workspace:*",
"@udecode/plate-basic-marks": "19.2.0",
"@udecode/plate-common": "^7.0.2",
"@udecode/plate-core": "19.2.0",
"@udecode/plate-link": "19.2.0",
"@udecode/plate-serializer-html": "19.2.0",
"@udecode/plate-ui-link": "19.2.0",
"@udecode/plate-ui-toolbar": "19.2.0",
"@udecode/plate-basic-marks": "20.0.0",
"@udecode/plate-common": "^20.0.0",
"@udecode/plate-core": "20.0.0",
"@udecode/plate-link": "20.0.0",
"@udecode/plate-serializer-html": "20.0.0",
"@udecode/plate-ui-link": "20.0.0",
"@udecode/plate-ui-toolbar": "20.0.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.1321.0",
"browser-image-compression": "2.0.0",
"aws-sdk": "2.1334.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",
"emails": "workspace:*",
"emojilib": "3.0.8",
"focus-visible": "5.2.0",
"framer-motion": "9.0.7",
"framer-motion": "10.3.0",
"google-auth-library": "8.7.0",
"google-spreadsheet": "3.3.0",
"got": "12.5.3",
"got": "12.6.0",
"htmlparser2": "8.0.1",
"immer": "9.0.19",
"js-video-url-parser": "0.5.1",
"jsonwebtoken": "9.0.0",
"micro": "10.0.1",
"micro-cors": "0.1.1",
"minio": "7.0.32",
"next": "13.1.6",
"next-auth": "4.19.2",
"@typebot.io/next-international": "^0.3.8",
"next": "13.2.4",
"next-auth": "4.20.1",
"@typebot.io/next-international": "0.3.8",
"nextjs-cors": "^2.1.2",
"nodemailer": "6.9.1",
"nprogress": "0.2.0",
"papaparse": "5.3.2",
"posthog-node": "^2.5.4",
"papaparse": "5.4.0",
"posthog-node": "2.5.4",
"prettier": "2.8.4",
"qs": "6.11.0",
"qs": "6.11.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"slate": "0.91.3",
"slate": "0.91.4",
"slate-history": "0.86.0",
"slate-hyperscript": "0.77.0",
"slate-react": "0.91.3",
"stripe": "11.11.0",
"styled-components": "5.3.6",
"slate-react": "0.91.10",
"stripe": "11.14.0",
"styled-components": "5.3.9",
"svg-round-corners": "0.4.1",
"swr": "2.0.3",
"swr": "2.1.0",
"tinycolor2": "1.6.0",
"trpc-openapi": "1.1.2",
"use-debounce": "9.0.3"
},
"devDependencies": {
"@babel/core": "7.21.0",
"@chakra-ui/styled-system": "2.6.1",
"@playwright/test": "1.31.1",
"@playwright/test": "1.31.2",
"@types/canvas-confetti": "1.6.0",
"@types/google-spreadsheet": "3.3.1",
"@types/jsonwebtoken": "9.0.1",
"@types/micro-cors": "0.1.3",
"@types/minio": "7.0.15",
"@types/node": "18.14.0",
"@types/minio": "7.0.17",
"@types/node": "18.15.3",
"@types/nodemailer": "6.4.7",
"@types/nprogress": "0.2.0",
"@types/papaparse": "5.3.7",
Expand All @@ -114,14 +114,14 @@
"@types/tinycolor2": "1.4.3",
"db": "workspace:*",
"dotenv": "16.0.3",
"eslint": "8.34.0",
"eslint": "8.36.0",
"eslint-config-custom": "workspace:*",
"models": "workspace:*",
"next-transpile-modules": "10.0.0",
"superjson": "^1.12.2",
"tsconfig": "workspace:*",
"typescript": "4.9.5",
"utils": "workspace:*",
"zod": "3.20.6"
"zod": "3.21.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@ import {
useEventListener,
} from '@chakra-ui/react'
import React, { useEffect, useRef, useState } from 'react'
import {
Plate,
PlateProvider,
selectEditor,
TElement,
usePlateEditorRef,
} from '@udecode/plate-core'
import { Plate, PlateProvider, usePlateEditorRef } from '@udecode/plate-core'
import { editorStyle, platePlugins } from '@/lib/plate'
import { BaseEditor, BaseSelection, Transforms } from 'slate'
import { ToolBar } from './ToolBar'
Expand All @@ -22,6 +16,7 @@ import { parseHtmlStringToPlainText } from '../../utils'
import { VariableSearchInput } from '@/components/inputs/VariableSearchInput'
import { colors } from '@/lib/theme'
import { useOutsideClick } from '@/hooks/useOutsideClick'
import { selectEditor, TElement } from '@udecode/plate-common'

type TextBubbleEditorContentProps = {
id: string
Expand Down
3 changes: 1 addition & 2 deletions apps/builder/src/features/editor/hooks/useUndo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { isDefined } from '@udecode/plate-core'
import { dequal } from 'dequal'
import { useCallback, useRef, useState } from 'react'
import { isDefined } from 'utils'

export interface Actions<T extends { updatedAt: Date }> {
set: (newPresent: T | ((current: T) => T) | undefined) => void
Expand Down Expand Up @@ -80,7 +80,6 @@ export const useUndo = <T extends { updatedAt: Date }>(
) {
return
}

if (newPresent === undefined) {
presentRef.current = null
setHistory(initialState)
Expand Down
Loading

0 comments on commit ff09814

Please sign in to comment.