diff --git a/packages/jaen-fields-mdx/package.json b/packages/jaen-fields-mdx/package.json index 5799ae7c..ab183dc8 100644 --- a/packages/jaen-fields-mdx/package.json +++ b/packages/jaen-fields-mdx/package.json @@ -31,6 +31,7 @@ "@uiw/react-codemirror": "^4.21.12", "ahooks": "^3.7.8", "deepmerge": "^4.3.1", + "hast-util-sanitize": "^5.0.1", "mdast-util-directive": "^3.0.0", "mdast-util-frontmatter": "^2.0.0", "mdast-util-gfm": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index dc8d50c3..e6529c9b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9597,7 +9597,7 @@ hast-util-raw@^9.0.0: web-namespaces "^2.0.0" zwitch "^2.0.0" -hast-util-sanitize@^5.0.0: +hast-util-sanitize@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/hast-util-sanitize/-/hast-util-sanitize-5.0.1.tgz#8e90068cd68e651c569960b77a1b25076579b4cf" integrity sha512-IGrgWLuip4O2nq5CugXy4GI2V8kx4sFVy5Hd4vF7AR2gxS0N9s7nEAVUyeMtZKZvzrxVsHt73XdTsno1tClIkQ== @@ -14370,14 +14370,6 @@ rehype-parse@^9.0.0: hast-util-from-html "^2.0.0" unified "^11.0.0" -rehype-sanitize@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/rehype-sanitize/-/rehype-sanitize-6.0.0.tgz#16e95f4a67a69cbf0f79e113c8e0df48203db73c" - integrity sha512-CsnhKNsyI8Tub6L4sm5ZFsme4puGfc6pYylvXo1AeqaGbjOYyzNv3qZPwvs0oMJ39eryyeOdmxwUIo94IpEhqg== - dependencies: - "@types/hast" "^3.0.0" - hast-util-sanitize "^5.0.0" - rehype-slug-custom-id@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/rehype-slug-custom-id/-/rehype-slug-custom-id-1.1.0.tgz#56fe346244da033cbf33efa764b1351c993b6960"