update packages version

This commit is contained in:
Lendemor 2024-10-05 01:36:08 +02:00
parent 2d1c58813f
commit 427f6db218
7 changed files with 25 additions and 12 deletions

View File

@ -69,5 +69,18 @@ jobs:
working-directory: ./reflex-web/.web
run: |
outdated=$(/home/runner/.local/share/reflex/bun/bin/bun outdated)
outdated=$(echo "$outdated" | grep -vE '|----------------------------|-' || true)
echo "Outdated:"
echo "$outdated"
# Ignore 3rd party dependencies that are not updated.
filtered_outdated=$(echo "$outdated" | grep -vE '@chakra-ui|lucide-react|@splinetool/runtime|ag-grid-react|framer-motion' || true)
if [ ! -z "$filtered_outdated" ]; then
echo "Outdated dependencies found:"
echo "$filtered_outdated"
exit 1
else
echo "All dependencies are up to date. (lucide-react and @chakra-ui/ are ignored)"
fi

View File

@ -179,7 +179,7 @@ class UploadFilesProvider(Component):
class Upload(MemoizationLeaf):
"""A file upload component."""
library = "react-dropzone@14.2.3"
library = "react-dropzone@14.2.9"
tag = "ReactDropzone"

View File

@ -125,10 +125,10 @@ class DataEditor(NoSSRComponent):
tag = "DataEditor"
is_default = True
library: str = "@glideapps/glide-data-grid@^5.3.0"
library: str = "@glideapps/glide-data-grid@^6.0.3"
lib_dependencies: List[str] = [
"lodash@^4.17.21",
"marked@^4.0.10",
"marked@^14.1.2",
"react-responsive-carousel@^3.2.7",
]

View File

@ -15,9 +15,9 @@ from reflex.vars.base import LiteralVar, Var, is_computed_var
class Gridjs(Component):
"""A component that wraps a nivo bar component."""
library = "gridjs-react@6.0.1"
library = "gridjs-react@6.1.1"
lib_dependencies: List[str] = ["gridjs@6.0.6"]
lib_dependencies: List[str] = ["gridjs@6.2.0"]
class DataTable(Gridjs):

View File

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

View File

@ -17,7 +17,7 @@ from .base import RadixPrimitiveComponentWithClassName
class FormComponent(RadixPrimitiveComponentWithClassName):
"""Base class for all @radix-ui/react-form components."""
library = "@radix-ui/react-form@^0.0.3"
library = "@radix-ui/react-form@^0.1.0"
class FormRoot(FormComponent, HTMLForm):

View File

@ -12,7 +12,7 @@ class ReactPlayer(NoSSRComponent):
reference: https://github.com/cookpete/react-player.
"""
library = "react-player@2.12.0"
library = "react-player@2.16.0"
tag = "ReactPlayer"