chore: update dependencies

This commit is contained in:
DIYgod 2023-07-07 23:19:44 +01:00
parent a97a584f48
commit b9c15dbe17
No known key found for this signature in database
3 changed files with 428 additions and 177 deletions

View File

@ -50,13 +50,13 @@
"@dqbd/tiktoken": "1.0.7",
"@emoji-mart/data": "1.1.2",
"@emoji-mart/react": "1.1.1",
"@floating-ui/react": "0.24.5",
"@floating-ui/react": "0.24.6",
"@headlessui/react": "1.7.15",
"@heroicons/react": "2.0.18",
"@iconify-json/mingcute": "1.1.7",
"@lezer/highlight": "1.1.6",
"@mantine/core": "6.0.15",
"@mantine/dates": "6.0.15",
"@mantine/core": "6.0.16",
"@mantine/dates": "6.0.16",
"@monaco-editor/react": "4.5.1",
"@popperjs/core": "2.11.8",
"@prisma/client": "4.16.2",
@ -95,7 +95,6 @@
"langchain": "0.0.104",
"lottie-react": "2.4.0",
"mdast-util-to-hast": "12.3.0",
"mdast-util-to-string": "3.2.0",
"mdast-util-toc": "6.1.1",
"medium-zoom": "1.0.8",
"mermaid": "10.2.4",
@ -150,27 +149,27 @@
"tailwind-scrollbar-hide": "1.1.7",
"tailwindcss-animate": "1.0.6",
"unified": "10.1.2",
"unist-builder": "3.0.1",
"unist-util-visit": "4.1.2",
"unist-builder": "4.0.0",
"unist-util-visit": "5.0.0",
"use-onclickoutside": "0.4.1",
"uuid": "9.0.0",
"viem": "1.2.9",
"viem": "1.2.10",
"wagmi": "1.3.8",
"zustand": "4.3.8"
"zustand": "4.3.9"
},
"devDependencies": {
"@ducanh2912/next-pwa": "9.1.4",
"@iconify/tailwind": "0.1.3",
"@next/bundle-analyzer": "13.4.8",
"@next/bundle-analyzer": "13.4.9",
"@trivago/prettier-plugin-sort-imports": "4.1.1",
"@types/async-lock": "1.4.0",
"@types/canvas-confetti": "1.6.0",
"@types/chroma-js": "2.4.0",
"@types/cookie": "0.5.1",
"@types/hast": "2.3.4",
"@types/hast": "3.0.0",
"@types/js-yaml": "4.0.5",
"@types/katex": "0.16.0",
"@types/mdast": "3.0.11",
"@types/mdast": "4.0.0",
"@types/mjml": "4.7.1",
"@types/node": "20.4.0",
"@types/pangu": "4.0.0",
@ -184,7 +183,7 @@
"@types/ua-parser-js": "0.7.36",
"@types/uuid": "9.0.2",
"autoprefixer": "10.4.14",
"babel-loader": "9.1.2",
"babel-loader": "9.1.3",
"cspell": "6.31.1",
"esbuild": "0.18.11",
"esbuild-register": "3.4.2",

File diff suppressed because it is too large Load Diff

View File

@ -38,7 +38,12 @@ export const rehypeAudio: Plugin<Array<{ env: MarkdownEnv }>, Root> = ({
first = false
}
if (parent && parent.type === "element" && i !== null) {
if (
parent &&
parent.type === "element" &&
i !== null &&
i !== undefined
) {
parent.tagName = "div"
parent.children[i] = {
type: "element",