diff options
| author | 2026-04-03 15:17:13 +0200 | |
|---|---|---|
| committer | 2026-04-03 15:17:13 +0200 | |
| commit | 1e704530cea02cc5b1b5a9049da432f232f0276f (patch) | |
| tree | 749d19dd3ee0a7777cf28393ec38dbd1c9cb481e /src/components | |
| parent | 06ec1f69e11fc52c0e2c6b5f12c3c89b9ef18436 (diff) | |
| download | client-1e704530cea02cc5b1b5a9049da432f232f0276f.tar.gz client-1e704530cea02cc5b1b5a9049da432f232f0276f.tar.bz2 client-1e704530cea02cc5b1b5a9049da432f232f0276f.zip | |
Upgraded librariesv2.3.0
Python:
- Migrate to uv for dependency management; consolidate setup.cfg and requirements files into pyproject.toml (PEP 621)
- Upgrade websockets 10 → 16; update import to ClientConnection and
remove deprecated WebSocketClientProtocol
- Fix PubSub.history classmethod/property combo removed in Python 3.13
- Set requires-python = ">=3.10" (minimum for match statement)
JavaScript:
- Upgrade React 18 → 19, Vite 5 → 8, TypeScript 5 → 6 and all
other frontend dependencies to latest
- Replace ReactDOM.render with createRoot (removed in React 18)
- Swap react-json-view for @microlink/react-json-view (React 19 support)
CI:
- Switch GitHub Actions build to uv and --frozen-lockfile yarn install
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Content/Content.tsx | 2 | ||||
| -rw-r--r-- | src/components/Frames/Frames.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Content/Content.tsx b/src/components/Content/Content.tsx index 19736fb..312a1e5 100644 --- a/src/components/Content/Content.tsx +++ b/src/components/Content/Content.tsx | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | import * as React from "react"; | 1 | import * as React from "react"; |
| 2 | import { Dispatch, SetStateAction, useContext, useMemo } from "react"; | 2 | import { Dispatch, SetStateAction, useContext, useMemo } from "react"; |
| 3 | import { Headers, RequestPayload, ResponsePayload } from "~hooks/useRequests"; | 3 | import { Headers, RequestPayload, ResponsePayload } from "~hooks/useRequests"; |
| 4 | import ReactJson from "react-json-view"; | 4 | import ReactJson from "@microlink/react-json-view"; |
| 5 | import styles from "~/components/Content/Content.module.scss"; | 5 | import styles from "~/components/Content/Content.module.scss"; |
| 6 | import { Button, Col, Container, Row } from "react-bootstrap"; | 6 | import { Button, Col, Container, Row } from "react-bootstrap"; |
| 7 | import { SettingsContext } from "~/contexts/Settings"; | 7 | import { SettingsContext } from "~/contexts/Settings"; |
diff --git a/src/components/Frames/Frames.tsx b/src/components/Frames/Frames.tsx index 1d31d92..6779a3c 100644 --- a/src/components/Frames/Frames.tsx +++ b/src/components/Frames/Frames.tsx | |||
| @@ -4,7 +4,7 @@ import { Col, ListGroup, Row } from "react-bootstrap"; | |||
| 4 | import classNames from "classnames"; | 4 | import classNames from "classnames"; |
| 5 | import styles from "./Frames.module.scss"; | 5 | import styles from "./Frames.module.scss"; |
| 6 | import dayjs from "dayjs"; | 6 | import dayjs from "dayjs"; |
| 7 | import ReactJson from "react-json-view"; | 7 | import ReactJson from "@microlink/react-json-view"; |
| 8 | import { SettingsContext } from "~/contexts/Settings"; | 8 | import { SettingsContext } from "~/contexts/Settings"; |
| 9 | 9 | ||
| 10 | function isJson(data: any): boolean { | 10 | function isJson(data: any): boolean { |
