@octanejs/streamdown 0.1.31 → 0.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/chunks/{chunk-HOETYBTH.js → chunk-HTKGPGBF.js} +394 -305
- package/dist/client/chunks/{highlighted-body-X5FGOOXL.js → highlighted-body-PO42OPN2.js} +9 -9
- package/dist/{server/chunks/mermaid-SICAYVAP.js → client/chunks/mermaid-2J5JVDRZ.js} +1 -1
- package/dist/client/index.js +1 -1
- package/dist/server/chunks/{chunk-55X6YY2C.js → chunk-SZ5CVE3Y.js} +783 -411
- package/dist/server/chunks/{highlighted-body-NLELYOBH.js → highlighted-body-7UTJYNOJ.js} +18 -9
- package/dist/{client/chunks/mermaid-RM4TPAM4.js → server/chunks/mermaid-EGA7TDDR.js} +1 -1
- package/dist/server/index.js +1 -1
- package/dist/types/index.d.ts +8 -2
- package/dist/types/lib/code-block/body.d.ts +4 -1
- package/dist/types/lib/code-block/container.d.ts +1 -1
- package/dist/types/lib/code-block/copy-button.d.ts +1 -1
- package/dist/types/lib/code-block/download-button.d.ts +1 -1
- package/dist/types/lib/code-block/header.d.ts +1 -1
- package/dist/types/lib/code-block/highlighted-body.d.ts +1 -1
- package/dist/types/lib/code-block/index.d.ts +1 -1
- package/dist/types/lib/code-block/skeleton.d.ts +1 -1
- package/dist/types/lib/icon-context.d.ts +1 -1
- package/dist/types/lib/icons.d.ts +10 -10
- package/dist/types/lib/image.d.ts +1 -1
- package/dist/types/lib/link-modal.d.ts +1 -1
- package/dist/types/lib/mermaid/download-button.d.ts +1 -1
- package/dist/types/lib/mermaid/fullscreen-button.d.ts +1 -1
- package/dist/types/lib/mermaid/index.d.ts +1 -1
- package/dist/types/lib/mermaid/pan-zoom.d.ts +1 -1
- package/dist/types/lib/table/copy-dropdown.d.ts +1 -1
- package/dist/types/lib/table/download-dropdown.d.ts +2 -2
- package/dist/types/lib/table/fullscreen-button.d.ts +1 -1
- package/dist/types/lib/table/index.d.ts +1 -1
- package/package.json +7 -7
|
@@ -3,18 +3,26 @@ import {
|
|
|
3
3
|
CodeBlockBody,
|
|
4
4
|
StreamdownContext,
|
|
5
5
|
useCodePlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SZ5CVE3Y.js";
|
|
7
7
|
|
|
8
8
|
// src/lib/code-block/highlighted-body.tsrx
|
|
9
|
+
import { createElementFromConfig as _$createElementFromConfig } from "octane/internal/server";
|
|
9
10
|
import {
|
|
10
|
-
createElement as _$createElement,
|
|
11
11
|
createScopedValue as _$createScopedValue,
|
|
12
|
+
hookSlots as _$hookSlots,
|
|
12
13
|
useContext,
|
|
13
14
|
useEffect,
|
|
14
15
|
useMemo,
|
|
15
16
|
useRef,
|
|
16
|
-
useState
|
|
17
|
+
useState,
|
|
18
|
+
withSlot as _$withSlot
|
|
17
19
|
} from "octane/server";
|
|
20
|
+
var _hs$ = /* @__PURE__ */ _$hookSlots(5);
|
|
21
|
+
var _h$0 = /* @__PURE__ */ Symbol(_hs$);
|
|
22
|
+
var _h$1 = /* @__PURE__ */ Symbol(_hs$ + 1);
|
|
23
|
+
var _h$2 = /* @__PURE__ */ Symbol(_hs$ + 2);
|
|
24
|
+
var _h$3 = /* @__PURE__ */ Symbol(_hs$ + 3);
|
|
25
|
+
var _h$4 = /* @__PURE__ */ Symbol(_hs$ + 4);
|
|
18
26
|
var HighlightedCodeBlockBody = ({
|
|
19
27
|
code,
|
|
20
28
|
language,
|
|
@@ -25,10 +33,10 @@ var HighlightedCodeBlockBody = ({
|
|
|
25
33
|
...rest
|
|
26
34
|
}) => {
|
|
27
35
|
const { shikiTheme } = useContext(StreamdownContext);
|
|
28
|
-
const codePlugin = useCodePlugin
|
|
29
|
-
const request = useMemo(() => ({ code, language, plugin: codePlugin, themes: shikiTheme }), [code, language, codePlugin, shikiTheme]);
|
|
30
|
-
const [highlight, setHighlight] = useState({ request, result: raw });
|
|
31
|
-
const requestRef = useRef(request);
|
|
36
|
+
const codePlugin = _$withSlot(_h$0, useCodePlugin);
|
|
37
|
+
const request = useMemo(() => ({ code, language, plugin: codePlugin, themes: shikiTheme }), [code, language, codePlugin, shikiTheme], _h$1);
|
|
38
|
+
const [highlight, setHighlight] = useState({ request, result: raw }, _h$2);
|
|
39
|
+
const requestRef = useRef(request, _h$3);
|
|
32
40
|
requestRef.current = request;
|
|
33
41
|
const result = highlight.request === request ? highlight.result : raw;
|
|
34
42
|
useEffect(
|
|
@@ -51,9 +59,10 @@ var HighlightedCodeBlockBody = ({
|
|
|
51
59
|
);
|
|
52
60
|
if (cachedResult) commit(cachedResult);
|
|
53
61
|
},
|
|
54
|
-
[request, raw]
|
|
62
|
+
[request, raw],
|
|
63
|
+
_h$4
|
|
55
64
|
);
|
|
56
|
-
return _$createScopedValue(() => _$
|
|
65
|
+
return _$createScopedValue(() => _$createElementFromConfig("c:5af9494b", CodeBlockBody, { className, language, lineNumbers, result, startLine, ...rest }));
|
|
57
66
|
};
|
|
58
67
|
export {
|
|
59
68
|
HighlightedCodeBlockBody
|
package/dist/server/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -157,5 +157,11 @@ export type BlockProps = Options & {
|
|
|
157
157
|
/** Animate plugin instance for tracking previous content length */
|
|
158
158
|
animatePlugin?: AnimatePlugin | null;
|
|
159
159
|
};
|
|
160
|
-
export declare const Block:
|
|
161
|
-
|
|
160
|
+
export declare const Block: (({ content, shouldParseIncompleteMarkdown: _, shouldNormalizeHtmlIndentation, index, isIncomplete, dir, animatePlugin: animatePluginProp, ...props }: BlockProps) => import("octane/jsx-runtime").JSX.Element) & {
|
|
161
|
+
readonly type: ({ content, shouldParseIncompleteMarkdown: _, shouldNormalizeHtmlIndentation, index, isIncomplete, dir, animatePlugin: animatePluginProp, ...props }: BlockProps) => import("octane/jsx-runtime").JSX.Element;
|
|
162
|
+
displayName?: string;
|
|
163
|
+
};
|
|
164
|
+
export declare const Streamdown: (({ children, mode, dir, parseIncompleteMarkdown: shouldParseIncompleteMarkdown, normalizeHtmlIndentation: shouldNormalizeHtmlIndentation, components, rehypePlugins, remarkPlugins, className, shikiTheme, mermaid, controls, isAnimating, animated, BlockComponent, parseMarkdownIntoBlocksFn, caret, plugins, remend: remendOptions, linkSafety, lineNumbers, allowedTags, literalTagContent, translations, icons: iconOverrides, prefix, onAnimationStart, onAnimationEnd, ...props }: StreamdownProps) => import("octane/jsx-runtime").JSX.Element) & {
|
|
165
|
+
readonly type: ({ children, mode, dir, parseIncompleteMarkdown: shouldParseIncompleteMarkdown, normalizeHtmlIndentation: shouldNormalizeHtmlIndentation, components, rehypePlugins, remarkPlugins, className, shikiTheme, mermaid, controls, isAnimating, animated, BlockComponent, parseMarkdownIntoBlocksFn, caret, plugins, remend: remendOptions, linkSafety, lineNumbers, allowedTags, literalTagContent, translations, icons: iconOverrides, prefix, onAnimationStart, onAnimationEnd, ...props }: StreamdownProps) => import("octane/jsx-runtime").JSX.Element;
|
|
166
|
+
displayName?: string;
|
|
167
|
+
};
|
|
@@ -8,5 +8,8 @@ type CodeBlockBodyProps = ComponentProps<'div'> & {
|
|
|
8
8
|
/** Show line numbers in code blocks. @default true */
|
|
9
9
|
lineNumbers?: boolean;
|
|
10
10
|
};
|
|
11
|
-
export declare const CodeBlockBody: import("octane").
|
|
11
|
+
export declare const CodeBlockBody: (({ children, result, language, className, startLine, lineNumbers, ...rest }: CodeBlockBodyProps) => import("octane/jsx-runtime").JSX.Element) & {
|
|
12
|
+
readonly type: ({ children, result, language, className, startLine, lineNumbers, ...rest }: CodeBlockBodyProps) => import("octane/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName?: string;
|
|
14
|
+
};
|
|
12
15
|
export {};
|
|
@@ -6,5 +6,5 @@ type CodeBlockContainerProps = Omit<ComponentProps<'div'>, 'style'> & {
|
|
|
6
6
|
/** Whether the code block is still being streamed (incomplete) */
|
|
7
7
|
isIncomplete?: boolean;
|
|
8
8
|
};
|
|
9
|
-
export declare const CodeBlockContainer: ({ className, language, style, isIncomplete, ...props }: CodeBlockContainerProps) => import("octane/jsx-runtime").
|
|
9
|
+
export declare const CodeBlockContainer: ({ className, language, style, isIncomplete, ...props }: CodeBlockContainerProps) => import("octane/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -7,4 +7,4 @@ export type CodeBlockCopyButtonProps = ComponentProps<'button'> & {
|
|
|
7
7
|
};
|
|
8
8
|
export declare const CodeBlockCopyButton: ({ onCopy, onError, timeout, children, className, code: propCode, ...props }: CodeBlockCopyButtonProps & {
|
|
9
9
|
code?: string;
|
|
10
|
-
}) => import("octane/jsx-runtime").
|
|
10
|
+
}) => import("octane/jsx-runtime").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export type CodeBlockDownloadButtonProps = ComponentProps<'button'> & {
|
|
|
7
7
|
export declare const CodeBlockDownloadButton: ({ onDownload, onError, language, children, className, code: propCode, ...props }: CodeBlockDownloadButtonProps & {
|
|
8
8
|
code?: string;
|
|
9
9
|
language?: string;
|
|
10
|
-
}) => import("octane/jsx-runtime").
|
|
10
|
+
}) => import("octane/jsx-runtime").JSX.Element;
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
interface CodeBlockHeaderProps {
|
|
3
3
|
language: string;
|
|
4
4
|
}
|
|
5
|
-
export declare const CodeBlockHeader: ({ language }: CodeBlockHeaderProps) => import("octane/jsx-runtime").
|
|
5
|
+
export declare const CodeBlockHeader: ({ language }: CodeBlockHeaderProps) => import("octane/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -8,5 +8,5 @@ type HighlightedCodeBlockBodyProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
8
8
|
startLine?: number;
|
|
9
9
|
lineNumbers?: boolean;
|
|
10
10
|
};
|
|
11
|
-
export declare const HighlightedCodeBlockBody: ({ code, language, raw, className, startLine, lineNumbers, ...rest }: HighlightedCodeBlockBodyProps) => import("octane/jsx-runtime").
|
|
11
|
+
export declare const HighlightedCodeBlockBody: ({ code, language, raw, className, startLine, lineNumbers, ...rest }: HighlightedCodeBlockBodyProps) => import("octane/jsx-runtime").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -10,5 +10,5 @@ type CodeBlockProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
10
10
|
/** Show line numbers in code blocks. @default true */
|
|
11
11
|
lineNumbers?: boolean;
|
|
12
12
|
};
|
|
13
|
-
export declare const CodeBlock: ({ code, language, className, children, isIncomplete, startLine, lineNumbers, ...rest }: CodeBlockProps) => import("octane/jsx-runtime").
|
|
13
|
+
export declare const CodeBlock: ({ code, language, className, children, isIncomplete, startLine, lineNumbers, ...rest }: CodeBlockProps) => import("octane/jsx-runtime").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by scripts/generate-tsrx-types.mjs for the built package.
|
|
2
|
-
export declare const CodeBlockSkeleton: () => import("octane/jsx-runtime").
|
|
2
|
+
export declare const CodeBlockSkeleton: () => import("octane/jsx-runtime").JSX.Element;
|
|
@@ -21,5 +21,5 @@ export declare const IconContext: import("octane").Context<IconMap>;
|
|
|
21
21
|
export declare const IconProvider: ({ icons, children, }: {
|
|
22
22
|
icons?: Partial<IconMap>;
|
|
23
23
|
children: OctaneNode;
|
|
24
|
-
}) => import("octane/jsx-runtime").
|
|
24
|
+
}) => import("octane/jsx-runtime").JSX.Element;
|
|
25
25
|
export declare const useIcons: () => IconMap;
|
|
@@ -4,14 +4,14 @@ import type { SVGProps } from './types';
|
|
|
4
4
|
type IconProps = SVGProps<SVGSVGElement> & {
|
|
5
5
|
size?: number;
|
|
6
6
|
};
|
|
7
|
-
export declare const CheckIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").
|
|
8
|
-
export declare const CopyIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").
|
|
9
|
-
export declare const DownloadIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").
|
|
10
|
-
export declare const Loader2Icon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").
|
|
11
|
-
export declare const Maximize2Icon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").
|
|
12
|
-
export declare const RotateCcwIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").
|
|
13
|
-
export declare const XIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").
|
|
14
|
-
export declare const ExternalLinkIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").
|
|
15
|
-
export declare const ZoomInIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").
|
|
16
|
-
export declare const ZoomOutIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").
|
|
7
|
+
export declare const CheckIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const CopyIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const DownloadIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const Loader2Icon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const Maximize2Icon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const RotateCcwIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const XIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const ExternalLinkIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const ZoomInIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const ZoomOutIcon: ({ size, ...props }: IconProps) => import("octane/jsx-runtime").JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
import type { ExtraProps } from './markdown.js';
|
|
3
3
|
import type { DetailedHTMLProps, ImgHTMLAttributes } from './types';
|
|
4
4
|
type ImageComponentProps = DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> & ExtraProps;
|
|
5
|
-
export declare const ImageComponent: ({ node, className, src, alt, onLoad: onLoadProp, onError: onErrorProp, ...props }: ImageComponentProps) => import("octane/jsx-runtime").
|
|
5
|
+
export declare const ImageComponent: ({ node, className, src, alt, onLoad: onLoadProp, onError: onErrorProp, ...props }: ImageComponentProps) => import("octane/jsx-runtime").JSX.Element | null;
|
|
6
6
|
export {};
|
|
@@ -5,5 +5,5 @@ interface LinkSafetyModalProps {
|
|
|
5
5
|
onConfirm: () => void;
|
|
6
6
|
url: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const LinkSafetyModal: ({ url, isOpen, onClose, onConfirm }: LinkSafetyModalProps) => import("octane/jsx-runtime").
|
|
8
|
+
export declare const LinkSafetyModal: ({ url, isOpen, onClose, onConfirm }: LinkSafetyModalProps) => import("octane/jsx-runtime").JSX.Element | null;
|
|
9
9
|
export {};
|
|
@@ -9,5 +9,5 @@ interface MermaidDownloadDropdownProps {
|
|
|
9
9
|
onDownload?: (format: 'mmd' | 'png' | 'svg') => void;
|
|
10
10
|
onError?: (error: Error) => void;
|
|
11
11
|
}
|
|
12
|
-
export declare const MermaidDownloadDropdown: ({ chart, children, className, onDownload, config, onError, }: MermaidDownloadDropdownProps) => import("octane/jsx-runtime").
|
|
12
|
+
export declare const MermaidDownloadDropdown: ({ chart, children, className, onDownload, config, onError, }: MermaidDownloadDropdownProps) => import("octane/jsx-runtime").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -7,5 +7,5 @@ type MermaidFullscreenButtonProps = ComponentProps<'button'> & {
|
|
|
7
7
|
onFullscreen?: () => void;
|
|
8
8
|
onExit?: () => void;
|
|
9
9
|
};
|
|
10
|
-
export declare const MermaidFullscreenButton: ({ chart, config, onFullscreen, onExit, className, ...props }: MermaidFullscreenButtonProps) => import("octane/jsx-runtime").
|
|
10
|
+
export declare const MermaidFullscreenButton: ({ chart, config, onFullscreen, onExit, className, ...props }: MermaidFullscreenButtonProps) => import("octane/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -7,5 +7,5 @@ interface MermaidProps {
|
|
|
7
7
|
fullscreen?: boolean;
|
|
8
8
|
showControls?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare const Mermaid: ({ chart, className, config, fullscreen, showControls, }: MermaidProps) => import("octane/jsx-runtime").
|
|
10
|
+
export declare const Mermaid: ({ chart, className, config, fullscreen, showControls, }: MermaidProps) => import("octane/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -10,5 +10,5 @@ interface PanZoomProps {
|
|
|
10
10
|
showControls?: boolean;
|
|
11
11
|
zoomStep?: number;
|
|
12
12
|
}
|
|
13
|
-
export declare const PanZoom: ({ children, className, minZoom, maxZoom, zoomStep, showControls, initialZoom, fullscreen, }: PanZoomProps) => import("octane/jsx-runtime").
|
|
13
|
+
export declare const PanZoom: ({ children, className, minZoom, maxZoom, zoomStep, showControls, initialZoom, fullscreen, }: PanZoomProps) => import("octane/jsx-runtime").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -7,4 +7,4 @@ export interface TableCopyDropdownProps {
|
|
|
7
7
|
onError?: (error: Error) => void;
|
|
8
8
|
timeout?: number;
|
|
9
9
|
}
|
|
10
|
-
export declare const TableCopyDropdown: ({ children, className, onCopy, onError, timeout, }: TableCopyDropdownProps) => import("octane/jsx-runtime").
|
|
10
|
+
export declare const TableCopyDropdown: ({ children, className, onCopy, onError, timeout, }: TableCopyDropdownProps) => import("octane/jsx-runtime").JSX.Element;
|
|
@@ -8,11 +8,11 @@ export interface TableDownloadButtonProps {
|
|
|
8
8
|
onDownload?: () => void;
|
|
9
9
|
onError?: (error: Error) => void;
|
|
10
10
|
}
|
|
11
|
-
export declare const TableDownloadButton: ({ children, className, onDownload, onError, format, filename, }: TableDownloadButtonProps) => import("octane/jsx-runtime").
|
|
11
|
+
export declare const TableDownloadButton: ({ children, className, onDownload, onError, format, filename, }: TableDownloadButtonProps) => import("octane/jsx-runtime").JSX.Element;
|
|
12
12
|
export interface TableDownloadDropdownProps {
|
|
13
13
|
children?: OctaneNode;
|
|
14
14
|
className?: string;
|
|
15
15
|
onDownload?: (format: 'csv' | 'markdown') => void;
|
|
16
16
|
onError?: (error: Error) => void;
|
|
17
17
|
}
|
|
18
|
-
export declare const TableDownloadDropdown: ({ children, className, onDownload, onError, }: TableDownloadDropdownProps) => import("octane/jsx-runtime").
|
|
18
|
+
export declare const TableDownloadDropdown: ({ children, className, onDownload, onError, }: TableDownloadDropdownProps) => import("octane/jsx-runtime").JSX.Element;
|
|
@@ -6,5 +6,5 @@ interface TableFullscreenButtonProps {
|
|
|
6
6
|
showCopy?: boolean;
|
|
7
7
|
showDownload?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare const TableFullscreenButton: ({ children, className, showCopy, showDownload, }: TableFullscreenButtonProps) => import("octane/jsx-runtime").
|
|
9
|
+
export declare const TableFullscreenButton: ({ children, className, showCopy, showDownload, }: TableFullscreenButtonProps) => import("octane/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -6,5 +6,5 @@ type TableProps = ComponentProps<'table'> & {
|
|
|
6
6
|
showDownload?: boolean;
|
|
7
7
|
showFullscreen?: boolean;
|
|
8
8
|
};
|
|
9
|
-
export declare const Table: ({ children, className, showControls, showCopy, showDownload, showFullscreen, ...props }: TableProps) => import("octane/jsx-runtime").
|
|
9
|
+
export declare const Table: ({ children, className, showControls, showCopy, showDownload, showFullscreen, ...props }: TableProps) => import("octane/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/streamdown",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.32",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -92,24 +92,24 @@
|
|
|
92
92
|
"unist-util-visit-parents": "^6.0.0"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
|
-
"octane": "^0.1.51 || ^0.2.0"
|
|
95
|
+
"octane": "^0.1.51 || ^0.2.0 || ^0.3.0"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@testing-library/jest-dom": "^6.9.1",
|
|
99
|
-
"@tsrx/react": "^0.
|
|
99
|
+
"@tsrx/react": "^0.3.0",
|
|
100
100
|
"@types/react": "^19.2.17",
|
|
101
101
|
"@types/react-dom": "^19.2.3",
|
|
102
102
|
"esbuild": "^0.28.1",
|
|
103
|
-
"react": "
|
|
104
|
-
"react-dom": "
|
|
103
|
+
"react": "19.2.7",
|
|
104
|
+
"react-dom": "19.2.7",
|
|
105
105
|
"streamdown": "2.5.0",
|
|
106
106
|
"@streamdown/code": "1.1.1",
|
|
107
107
|
"@streamdown/math": "1.0.2",
|
|
108
108
|
"@streamdown/mermaid": "1.0.2",
|
|
109
109
|
"@streamdown/cjk": "1.0.3",
|
|
110
110
|
"vitest": "^4.1.10",
|
|
111
|
-
"@octanejs/testing-library": "0.1.
|
|
112
|
-
"octane": "0.
|
|
111
|
+
"@octanejs/testing-library": "0.1.52",
|
|
112
|
+
"octane": "0.3.0"
|
|
113
113
|
},
|
|
114
114
|
"scripts": {
|
|
115
115
|
"build": "node scripts/build.mjs",
|