fix(streamdown): update to latest fixes mermaid error (#1146)

This commit is contained in:
josh 2025-09-01 11:11:12 +01:00 committed by GitHub
parent dff2191611
commit 932432c851
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 13 deletions

View file

@ -13,13 +13,6 @@ export const Response = memo(
'size-full [&>*:first-child]:mt-0 [&>*:last-child]:mb-0',
className,
)}
components={{
code: ({ children, className, ...props }) => (
<code className={className} {...props}>
{children}
</code>
),
}}
{...props}
/>
),

View file

@ -91,7 +91,7 @@
"server-only": "^0.0.1",
"shiki": "^3.12.0",
"sonner": "^1.5.0",
"streamdown": "^1.1.4",
"streamdown": "^1.1.6",
"swr": "^2.2.5",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",

10
pnpm-lock.yaml generated
View file

@ -225,8 +225,8 @@ importers:
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)
streamdown:
specifier: ^1.1.4
version: 1.1.4(@types/react@18.3.18)(react@19.0.0-rc-45804af1-20241021)
specifier: ^1.1.6
version: 1.1.6(@types/react@18.3.18)(react@19.0.0-rc-45804af1-20241021)
swr:
specifier: ^2.2.5
version: 2.3.3(react@19.0.0-rc-45804af1-20241021)
@ -4527,8 +4527,8 @@ packages:
stable-hash@0.0.4:
resolution: {integrity: sha512-LjdcbuBeLcdETCrPn9i8AYAZ1eCtu4ECAWtP7UleOiZ9LzVxRzzUZEoZ8zB24nhkQnDWyET0I+3sWokSDS3E7g==}
streamdown@1.1.4:
resolution: {integrity: sha512-GBp+slOLS67nNFMdfObhaSJjl4+aNKWOtDQEEGCfFz2R3E2VhxrynC6dL//nutT2Vg9N34uotQt4iUCv9IjorA==}
streamdown@1.1.6:
resolution: {integrity: sha512-uv9AvZmZGC02DvC7FgUhYGmLGhVpMmVMTEBWiMrqEZj/Pj8D4VuPbnoD+pxHkxQOs36gT9gdnGA/j3b5nXWVKQ==}
peerDependencies:
react: ^18.0.0 || ^19.0.0
@ -9487,7 +9487,7 @@ snapshots:
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:
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)