fix(streamdown): update to latest fixes mermaid error (#1146)
This commit is contained in:
parent
dff2191611
commit
932432c851
3 changed files with 6 additions and 13 deletions
|
|
@ -13,13 +13,6 @@ export const Response = memo(
|
||||||
'size-full [&>*:first-child]:mt-0 [&>*:last-child]:mb-0',
|
'size-full [&>*:first-child]:mt-0 [&>*:last-child]:mb-0',
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
components={{
|
|
||||||
code: ({ children, className, ...props }) => (
|
|
||||||
<code className={className} {...props}>
|
|
||||||
{children}
|
|
||||||
</code>
|
|
||||||
),
|
|
||||||
}}
|
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@
|
||||||
"server-only": "^0.0.1",
|
"server-only": "^0.0.1",
|
||||||
"shiki": "^3.12.0",
|
"shiki": "^3.12.0",
|
||||||
"sonner": "^1.5.0",
|
"sonner": "^1.5.0",
|
||||||
"streamdown": "^1.1.4",
|
"streamdown": "^1.1.6",
|
||||||
"swr": "^2.2.5",
|
"swr": "^2.2.5",
|
||||||
"tailwind-merge": "^2.5.2",
|
"tailwind-merge": "^2.5.2",
|
||||||
"tailwindcss-animate": "^1.0.7",
|
"tailwindcss-animate": "^1.0.7",
|
||||||
|
|
|
||||||
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
|
|
@ -225,8 +225,8 @@ importers:
|
||||||
specifier: ^1.5.0
|
specifier: ^1.5.0
|
||||||
version: 1.7.4(react-dom@19.0.0-rc-45804af1-20241021(react@19.0.0-rc-45804af1-20241021))(react@19.0.0-rc-45804af1-20241021)
|
version: 1.7.4(react-dom@19.0.0-rc-45804af1-20241021(react@19.0.0-rc-45804af1-20241021))(react@19.0.0-rc-45804af1-20241021)
|
||||||
streamdown:
|
streamdown:
|
||||||
specifier: ^1.1.4
|
specifier: ^1.1.6
|
||||||
version: 1.1.4(@types/react@18.3.18)(react@19.0.0-rc-45804af1-20241021)
|
version: 1.1.6(@types/react@18.3.18)(react@19.0.0-rc-45804af1-20241021)
|
||||||
swr:
|
swr:
|
||||||
specifier: ^2.2.5
|
specifier: ^2.2.5
|
||||||
version: 2.3.3(react@19.0.0-rc-45804af1-20241021)
|
version: 2.3.3(react@19.0.0-rc-45804af1-20241021)
|
||||||
|
|
@ -4527,8 +4527,8 @@ packages:
|
||||||
stable-hash@0.0.4:
|
stable-hash@0.0.4:
|
||||||
resolution: {integrity: sha512-LjdcbuBeLcdETCrPn9i8AYAZ1eCtu4ECAWtP7UleOiZ9LzVxRzzUZEoZ8zB24nhkQnDWyET0I+3sWokSDS3E7g==}
|
resolution: {integrity: sha512-LjdcbuBeLcdETCrPn9i8AYAZ1eCtu4ECAWtP7UleOiZ9LzVxRzzUZEoZ8zB24nhkQnDWyET0I+3sWokSDS3E7g==}
|
||||||
|
|
||||||
streamdown@1.1.4:
|
streamdown@1.1.6:
|
||||||
resolution: {integrity: sha512-GBp+slOLS67nNFMdfObhaSJjl4+aNKWOtDQEEGCfFz2R3E2VhxrynC6dL//nutT2Vg9N34uotQt4iUCv9IjorA==}
|
resolution: {integrity: sha512-uv9AvZmZGC02DvC7FgUhYGmLGhVpMmVMTEBWiMrqEZj/Pj8D4VuPbnoD+pxHkxQOs36gT9gdnGA/j3b5nXWVKQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: ^18.0.0 || ^19.0.0
|
react: ^18.0.0 || ^19.0.0
|
||||||
|
|
||||||
|
|
@ -9487,7 +9487,7 @@ snapshots:
|
||||||
|
|
||||||
stable-hash@0.0.4: {}
|
stable-hash@0.0.4: {}
|
||||||
|
|
||||||
streamdown@1.1.4(@types/react@18.3.18)(react@19.0.0-rc-45804af1-20241021):
|
streamdown@1.1.6(@types/react@18.3.18)(react@19.0.0-rc-45804af1-20241021):
|
||||||
dependencies:
|
dependencies:
|
||||||
clsx: 2.1.1
|
clsx: 2.1.1
|
||||||
harden-react-markdown: 1.0.4(react-markdown@10.1.0(@types/react@18.3.18)(react@19.0.0-rc-45804af1-20241021))(react@19.0.0-rc-45804af1-20241021)
|
harden-react-markdown: 1.0.4(react-markdown@10.1.0(@types/react@18.3.18)(react@19.0.0-rc-45804af1-20241021))(react@19.0.0-rc-45804af1-20241021)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue