Skip to content

Commit fad67cf

Browse files
authored
upgrade deps again for 0822 (#6022)
* upgrade deps again for 0822 * precommit
1 parent e6b899a commit fad67cf

File tree

9 files changed

+179
-170
lines changed

9 files changed

+179
-170
lines changed

pyi_hashes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"reflex/components/el/elements/tables.pyi": "686eb70ea7d8c4dafb0cc5c284e76184",
4040
"reflex/components/el/elements/typography.pyi": "684e83dde887dba12badd0fb75c87c04",
4141
"reflex/components/gridjs/datatable.pyi": "98a7e1b3f3b60cafcdfcd8879750ee42",
42-
"reflex/components/lucide/icon.pyi": "987866ee6f629249cae85547a4e00151",
42+
"reflex/components/lucide/icon.pyi": "25afd30346ef88fb8aa9397eeddb791d",
4343
"reflex/components/markdown/markdown.pyi": "2f84254a548e908020949564fc289339",
4444
"reflex/components/moment/moment.pyi": "e1952f1c2c82cef85d91e970d1be64ab",
4545
"reflex/components/plotly/plotly.pyi": "4311a0aae2abcc9226abb6a273f96372",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ fail_fast = true
243243

244244
[[tool.pre-commit.repos]]
245245
repo = "https://github.com/astral-sh/ruff-pre-commit"
246-
rev = "v0.14.6"
246+
rev = "v0.14.8"
247247
hooks = [
248248
{ id = "ruff-format", args = [
249249
"reflex",

reflex/compiler/utils.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,12 @@ def validate_imports(import_dict: ParsedImportDict):
7373
ValueError: if a conflict on "tag/alias" is detected for an import.
7474
"""
7575
used_tags = {}
76-
for lib, _imports in import_dict.items():
77-
for _import in _imports:
76+
for lib, imported_items in import_dict.items():
77+
for imported_item in imported_items:
7878
import_name = (
79-
f"{_import.tag}/{_import.alias}" if _import.alias else _import.tag
79+
f"{imported_item.tag}/{imported_item.alias}"
80+
if imported_item.alias
81+
else imported_item.tag
8082
)
8183
if import_name in used_tags:
8284
already_imported = used_tags[import_name]

reflex/components/el/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
_SUBMODULES: set[str] = {"elements"}
1010
_SUBMOD_ATTRS: dict[str, list[str]] = {
1111
# rx.el.a is replaced by React Router's Link.
12-
f"elements.{k}": [_v for _v in v if _v != "a"]
13-
for k, v in elements._MAPPING.items()
12+
f"elements.{k}": [attr for attr in attrs if attr != "a"]
13+
for k, attrs in elements._MAPPING.items()
1414
}
1515
_EXTRA_MAPPINGS: dict[str, str] = {
1616
"a": "reflex.components.react_router.link",

reflex/components/lucide/icon.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from reflex.vars.base import LiteralVar, Var
77
from reflex.vars.sequence import LiteralStringVar, StringVar
88

9-
LUCIDE_LIBRARY = "lucide-react@0.555.0"
9+
LUCIDE_LIBRARY = "lucide-react@0.556.0"
1010

1111

1212
class LucideIconComponent(Component):
@@ -317,6 +317,7 @@ def _get_imports(self):
317317
"book_open_text",
318318
"book_open",
319319
"book_plus",
320+
"book_search",
320321
"book_text",
321322
"book_type",
322323
"book_up_2",
@@ -386,8 +387,8 @@ def _get_imports(self):
386387
"calendar_sync",
387388
"calendar_x_2",
388389
"calendar_x",
389-
"calendars",
390390
"calendar",
391+
"calendars",
391392
"camera_off",
392393
"camera",
393394
"candlestick_chart",
@@ -764,8 +765,8 @@ def _get_imports(self):
764765
"film",
765766
"filter_x",
766767
"filter",
767-
"fingerprint",
768768
"fingerprint_pattern",
769+
"fingerprint",
769770
"fire_extinguisher",
770771
"fish_off",
771772
"fish_symbol",
@@ -1395,6 +1396,7 @@ def _get_imports(self):
13951396
"school",
13961397
"scissors_line_dashed",
13971398
"scissors",
1399+
"scooter",
13981400
"screen_share_off",
13991401
"screen_share",
14001402
"scroll_text",
@@ -1722,6 +1724,7 @@ def _get_imports(self):
17221724
"utensils_crossed",
17231725
"utensils",
17241726
"utility_pole",
1727+
"van",
17251728
"variable",
17261729
"vault",
17271730
"vector_square",
@@ -1760,6 +1763,7 @@ def _get_imports(self):
17601763
"webcam",
17611764
"webhook_off",
17621765
"webhook",
1766+
"weight_tilde",
17631767
"weight",
17641768
"wheat_off",
17651769
"wheat",

reflex/components/markdown/markdown.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,8 @@ def _get_custom_code(self) -> str | None:
494494
hooks = {}
495495
from reflex.compiler.templates import _render_hooks
496496

497-
for _component in self.component_map.values():
498-
comp = _component(_MOCK_ARG)
497+
for component_factory in self.component_map.values():
498+
comp = component_factory(_MOCK_ARG)
499499
hooks.update(comp._get_all_hooks())
500500
formatted_hooks = _render_hooks(hooks)
501501
return f"""

reflex/components/recharts/recharts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class Recharts(Component):
99
"""A component that wraps a recharts lib."""
1010

11-
library = "[email protected].0"
11+
library = "[email protected].1"
1212

1313
def _get_style(self) -> dict:
1414
return {"wrapperStyle": self.style}
@@ -17,7 +17,7 @@ def _get_style(self) -> dict:
1717
class RechartsCharts(NoSSRComponent, MemoizationLeaf):
1818
"""A component that wraps a recharts lib."""
1919

20-
library = "[email protected].0"
20+
library = "[email protected].1"
2121

2222

2323
LiteralAnimationEasing = Literal["ease", "ease-in", "ease-out", "ease-in-out", "linear"]

reflex/constants/installer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Node(SimpleNamespace):
7575

7676

7777
def _determine_react_router_version() -> str:
78-
default_version = "7.9.6"
78+
default_version = "7.10.1"
7979
if (version := os.getenv("REACT_ROUTER_VERSION")) and version != default_version:
8080
from reflex.utils import console
8181

@@ -87,7 +87,7 @@ def _determine_react_router_version() -> str:
8787

8888

8989
def _determine_react_version() -> str:
90-
default_version = "19.2.0"
90+
default_version = "19.2.1"
9191
if (version := os.getenv("REACT_VERSION")) and version != default_version:
9292
from reflex.utils import console
9393

@@ -143,11 +143,11 @@ def DEPENDENCIES(cls) -> dict[str, str]:
143143
"postcss-import": "16.1.1",
144144
"@react-router/dev": _react_router_version,
145145
"@react-router/fs-routes": _react_router_version,
146-
"vite": "npm:[email protected].8",
146+
"vite": "npm:[email protected].10",
147147
}
148148
OVERRIDES = {
149149
# This should always match the `react` version in DEPENDENCIES for recharts compatibility.
150150
"react-is": _react_version,
151151
"cookie": "1.1.1",
152-
"vite": "npm:[email protected].8",
152+
"vite": "npm:[email protected].10",
153153
}

0 commit comments

Comments
 (0)