Skip to content

Commit

Permalink
update packages version
Browse files Browse the repository at this point in the history
  • Loading branch information
Lendemor committed Oct 4, 2024
1 parent 2d1c588 commit 427f6db
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 12 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/check_outdated_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion reflex/components/core/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class UploadFilesProvider(Component):
class Upload(MemoizationLeaf):
"""A file upload component."""

library = "[email protected].3"
library = "[email protected].9"

tag = "ReactDropzone"

Expand Down
4 changes: 2 additions & 2 deletions reflex/components/datadisplay/dataeditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]

Expand Down
4 changes: 2 additions & 2 deletions reflex/components/gridjs/datatable.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
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):
Expand Down
10 changes: 5 additions & 5 deletions reflex/components/markdown/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -157,19 +157,19 @@ def add_imports(self) -> ImportDict | list[ImportDict]:
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
),
"[email protected]": 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
),
},
Expand Down
2 changes: 1 addition & 1 deletion reflex/components/radix/primitives/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
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):
Expand Down
2 changes: 1 addition & 1 deletion reflex/components/react_player/react_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 427f6db

Please sign in to comment.