mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
fix: use stable unist types
This commit is contained in:
parent
1d66831395
commit
97ebceb11f
@ -3,7 +3,7 @@ import remarkGfm from 'remark-gfm';
|
||||
import type { PluggableList, Plugin } from 'unified';
|
||||
import rehypeSanitize, { defaultSchema, type Options as RehypeSanitizeOptions } from 'rehype-sanitize';
|
||||
import { SKIP, visit } from 'unist-util-visit';
|
||||
import type { UnistNode, UnistParent } from 'node_modules/unist-util-visit/lib';
|
||||
import type { Node as UnistNode, Parent as UnistParent } from 'unist';
|
||||
|
||||
export const allowedHTMLElements = [
|
||||
'a',
|
||||
|
Loading…
Reference in New Issue
Block a user