Revert Markdown-related frontend dep bumps (#4088)

* Revert markdown version bumps

* Ignore markdown related dependencies (these are pinned now)
This commit is contained in:
Masen Furer 2024-10-08 07:16:54 -07:00 committed by GitHub
parent af83161fed
commit 37508676cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -74,7 +74,7 @@ jobs:
echo "$outdated"
# Ignore 3rd party dependencies that are not updated.
filtered_outdated=$(echo "$outdated" | grep -vE 'Package|@chakra-ui|lucide-react|@splinetool/runtime|ag-grid-react|framer-motion' || true)
filtered_outdated=$(echo "$outdated" | grep -vE 'Package|@chakra-ui|lucide-react|@splinetool/runtime|ag-grid-react|framer-motion|react-markdown|remark-math|remark-gfm|rehype-katex|rehype-raw' || true)
no_extra=$(echo "$filtered_outdated" | grep -vE '\|\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-' || true)

View File

@ -75,7 +75,7 @@ def get_base_component_map() -> dict[str, Callable]:
class Markdown(Component):
"""A markdown component."""
library = "react-markdown@9.0.1"
library = "react-markdown@8.0.7"
tag = "ReactMarkdown"
@ -157,19 +157,19 @@ class Markdown(Component):
return [
{
"": "katex/dist/katex.min.css",
"remark-math@6.0.0": ImportVar(
"remark-math@5.1.1": ImportVar(
tag=_REMARK_MATH._js_expr, is_default=True
),
"remark-gfm@4.0.0": ImportVar(
"remark-gfm@3.0.1": ImportVar(
tag=_REMARK_GFM._js_expr, is_default=True
),
"remark-unwrap-images@4.0.0": ImportVar(
tag=_REMARK_UNWRAP_IMAGES._js_expr, is_default=True
),
"rehype-katex@7.0.1": ImportVar(
"rehype-katex@6.0.3": ImportVar(
tag=_REHYPE_KATEX._js_expr, is_default=True
),
"rehype-raw@7.0.0": ImportVar(
"rehype-raw@6.1.1": ImportVar(
tag=_REHYPE_RAW._js_expr, is_default=True
),
},