diff --git a/package.json b/package.json index 7ee2294..4b92c0a 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "resumable-stream": "^2.2.5", "shiki": "^3.13.0", "sonner": "^2.0.7", - "streamdown": "^1.3.0", + "streamdown": "^1.4.0", "swr": "^2.3.6", "tailwind-merge": "^3.3.1", "usehooks-ts": "^3.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d0464c1..9bf5073 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -150,8 +150,8 @@ importers: specifier: ^2.0.7 version: 2.0.7(react-dom@19.2.0(react@19.2.0))(react@19.2.0) streamdown: - specifier: ^1.3.0 - version: 1.3.0(@types/react@19.2.2)(react@19.2.0) + specifier: ^1.4.0 + version: 1.4.0(@types/react@19.2.2)(react@19.2.0) swr: specifier: ^2.3.6 version: 2.3.6(react@19.2.0) @@ -3217,12 +3217,6 @@ packages: hachure-fill@0.5.2: resolution: {integrity: sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==} - harden-react-markdown@1.1.2: - resolution: {integrity: sha512-4VRzZUz/2oV07ugbEhQHG8elHhqqqiYHjaU4Y5Y3pf7+0kzVDJhcdAS/3SdAOKsAscT+YoPhiEMmTUnVktjDrw==} - peerDependencies: - react: '>=16.8.0' - react-markdown: '>=9.0.0' - has-bigints@1.1.0: resolution: {integrity: sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==} engines: {node: '>= 0.4'} @@ -3518,8 +3512,8 @@ packages: resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==} engines: {node: '>=4.0'} - katex@0.16.23: - resolution: {integrity: sha512-7VlC1hsEEolL9xNO05v9VjrvWZePkCVBJqj8ruICxYjZfHaHbaU53AlP+PODyFIXEnaEIEWi3wJy7FPZ95JAVg==} + katex@0.16.25: + resolution: {integrity: sha512-woHRUZ/iF23GBP1dkDQMh1QBad9dmr8/PAwNA54VrSOVYgI12MAcE14TqnDdQOdzyEonGzMepYnqBMYdsoAr8Q==} hasBin: true keyv@4.5.4: @@ -4238,8 +4232,8 @@ packages: resolution: {integrity: sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==} engines: {node: '>= 0.4'} - rehype-harden@1.1.2: - resolution: {integrity: sha512-58RSgd3BAYW/hULy6qvrLBIRe8qe5PElwEpRjrLilvhJ3N+Y6ptKAmy1CLIIyoMz7CMI30GqENhNXksJd5hGDg==} + rehype-harden@1.1.5: + resolution: {integrity: sha512-JrtBj5BVd/5vf3H3/blyJatXJbzQfRT9pJBmjafbTaPouQCAKxHwRyCc7dle9BXQKxv4z1OzZylz/tNamoiG3A==} rehype-katex@7.0.1: resolution: {integrity: sha512-OiM2wrZ/wuhKkigASodFoo8wimG3H12LWQaH8qSPVJn9apWKFSH3YOCtbKpBorTVw/eI7cuT21XBbvwEswbIOA==} @@ -4416,8 +4410,8 @@ packages: resolution: {integrity: sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==} engines: {node: '>= 0.4'} - streamdown@1.3.0: - resolution: {integrity: sha512-vFZdoWKUeagzKwGGOcEqkV1fcgXOJOQqrNBor5/hbaAE/e/ULxZoIHHJJd5KEuaSddCM9KuYtIuZi3WSttXTEA==} + streamdown@1.4.0: + resolution: {integrity: sha512-ylhDSQ4HpK5/nAH9v7OgIIdGJxlJB2HoYrYkJNGrO8lMpnWuKUcrz/A8xAMwA6eILA27469vIavcOTjmxctrKg==} peerDependencies: react: ^18.0.0 || ^19.0.0 @@ -7851,12 +7845,6 @@ snapshots: hachure-fill@0.5.2: {} - harden-react-markdown@1.1.2(react-markdown@10.1.0(@types/react@19.2.2)(react@19.2.0))(react@19.2.0): - dependencies: - react: 19.2.0 - react-markdown: 10.1.0(@types/react@19.2.2)(react@19.2.0) - rehype-harden: 1.1.2 - has-bigints@1.1.0: {} has-flag@4.0.0: {} @@ -8217,7 +8205,7 @@ snapshots: object.assign: 4.1.7 object.values: 1.2.1 - katex@0.16.23: + katex@0.16.25: dependencies: commander: 8.3.0 @@ -8531,7 +8519,7 @@ snapshots: dagre-d3-es: 7.0.11 dayjs: 1.11.18 dompurify: 3.2.7 - katex: 0.16.23 + katex: 0.16.25 khroma: 2.1.0 lodash-es: 4.17.21 marked: 16.4.0 @@ -8623,7 +8611,7 @@ snapshots: dependencies: '@types/katex': 0.16.7 devlop: 1.1.0 - katex: 0.16.23 + katex: 0.16.25 micromark-factory-space: 2.0.1 micromark-util-character: 2.1.1 micromark-util-symbol: 2.0.1 @@ -9257,7 +9245,7 @@ snapshots: gopd: 1.2.0 set-function-name: 2.0.2 - rehype-harden@1.1.2: {} + rehype-harden@1.1.5: {} rehype-katex@7.0.1: dependencies: @@ -9265,7 +9253,7 @@ snapshots: '@types/katex': 0.16.7 hast-util-from-html-isomorphic: 2.0.0 hast-util-to-text: 4.0.2 - katex: 0.16.23 + katex: 0.16.25 unist-util-visit-parents: 6.0.1 vfile: 6.0.3 @@ -9527,16 +9515,16 @@ snapshots: es-errors: 1.3.0 internal-slot: 1.1.0 - streamdown@1.3.0(@types/react@19.2.2)(react@19.2.0): + streamdown@1.4.0(@types/react@19.2.2)(react@19.2.0): dependencies: clsx: 2.1.1 - harden-react-markdown: 1.1.2(react-markdown@10.1.0(@types/react@19.2.2)(react@19.2.0))(react@19.2.0) - katex: 0.16.23 + katex: 0.16.25 lucide-react: 0.542.0(react@19.2.0) marked: 16.4.0 mermaid: 11.12.0 react: 19.2.0 react-markdown: 10.1.0(@types/react@19.2.2)(react@19.2.0) + rehype-harden: 1.1.5 rehype-katex: 7.0.1 rehype-raw: 7.0.0 remark-gfm: 4.0.1