Compare commits

...

11 Commits

Author SHA1 Message Date
bfa4a6260f tests: cmd_stats tests no longer hit the network
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint) (push) Waiting to run
Tests / test (push) Waiting to run
Tests / web-coverage (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWxdzckyBH7fEbPywpr
2026-11-02 09:31:10 +01:00
2e66502abc deps: newest stable web pins, node 26.13.0
Clears the dependency-freshness gate that blocked pushes (ci-mirror).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWxdzckyBH7fEbPywpr
2026-11-02 09:21:04 +01:00
babe8cbfd9 Pin earned-time v0.20.0, leisure-watch v0.2.6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWxdzckyBH7fEbPywpr
2026-11-02 09:17:02 +01:00
eba7de8c02 Pin earned-time v0.19.1, leisure-watch v0.2.5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWYcmik6APnHfc9gEVy
2026-11-02 08:47:59 +01:00
73afad98f9 Pin earned-time v0.19.0, leisure-watch v0.2.4
Tests isolate FOCUS_PROJECT_DATA so a live project never leaks in. Also
bumps the freshness gate's stale dev pins and websockets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWYcmik6APnHfc9gEVy
2026-11-02 08:41:27 +01:00
fb866978be Trim pylint TODO to remaining work
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWWcbzoov1KFZJSFcSs
2026-11-01 22:09:12 +01:00
011b76b0a9 Remove done TODO-refactor-250-continue
File cap met; remaining pylint work lives in TODO-pylint-to-ten.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWWcbzoov1KFZJSFcSs
2026-11-01 22:09:12 +01:00
9a62c2de27 Remove done TODO-file-length-250
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWWcbzoov1KFZJSFcSs
2026-11-01 22:09:03 +01:00
401031602e Always allow games with zero achievements
Owned games Steam confirms have no achievements can never be assigned or
completed, so the enforcer no longer uninstalls, hides or kills them as
unauthorized. The gaming-time budget kill still applies to them.

Fail-closed: unknown status (no cache, other account, unreadable config
or snapshot, request error) keeps a game enforced. The set comes from
no_achievements_cache.json minus snapshot.json, so a game that gains
achievements is enforced again after the next scan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWWAkVShjD2Bo6hM88B
2026-11-01 22:00:35 +01:00
3e449bd2e6 Note Astro migration happens last
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWXTUM9dpnCS2wtFkx4
2026-11-01 19:04:10 +01:00
e77f5df73b docs: plan Astro migration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWXTUM9dpnCS2wtFkx4
2026-11-01 18:44:15 +01:00
21 changed files with 949 additions and 768 deletions

View File

@ -51,7 +51,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 24.22.1
node-version: 26.13.0
cache: npm
cache-dependency-path: web/package-lock.json

View File

@ -110,8 +110,8 @@ repos:
- --disable-error-code=list-item
additional_dependencies:
- types-requests
- earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.18.0#subdirectory=earned_time
- leisure-watch @ git+https://github.com/kuhyx/leisure-watch@leisure-watch-v0.2.3
- earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.20.0#subdirectory=earned_time
- leisure-watch @ git+https://github.com/kuhyx/leisure-watch@leisure-watch-v0.2.6
# ===========================================================================
# PYLINT
@ -131,8 +131,8 @@ repos:
# (steam_backlog_enforcer._mcp_server).
additional_dependencies:
- aiohttp==3.14.5
- earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.18.0#subdirectory=earned_time
- leisure-watch @ git+https://github.com/kuhyx/leisure-watch@leisure-watch-v0.2.3
- earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.20.0#subdirectory=earned_time
- leisure-watch @ git+https://github.com/kuhyx/leisure-watch@leisure-watch-v0.2.6
- howlongtobeatpy==1.0.24
- mcp==2.3.0
- pytest

80
TODO-astro-migration.md Normal file
View File

@ -0,0 +1,80 @@
# Migrate steam-backlog-enforcer/web to Astro (no React)
## what
Rebuild the loopback dashboard (`web/`) as Astro 7 static pages, one per
section. Scripts fetch and render in vanilla TS, and stateful widgets become
custom elements. TanStack Router and React Query go away.
`steam_backlog_enforcer._web_server` keeps serving `web/dist` on
127.0.0.1:8000, with its per-launch token.
**Order: this repo migrates LAST, after every other repo.**
## steps
1. Do `~/src/utils/web_ui/TODO-astro-port.md` first. Then add `@kuhyx/web-ui`
at the new tag, for `tokens.css` only.
2. Pages. The router routes become `src/pages/`:
- `index` (dashboard), `backlog`, `picks`, `library`, `store`, `gaming`,
`jobs`, `system`, `setup`, and `404.astro`.
- `/jobs/$jobId` becomes `jobs/?id=<id>`, because static output cannot
prerender unknown ids.
- `shell/AppShell.tsx` becomes `layouts/Shell.astro`, with nav, health and
the job indicator.
3. Server (`_web_server.py`):
- Serve `<path>/index.html` before the SPA fallback.
- Inject the token into EVERY served `.html`, not only the root
`index.html`, and mark each one no-cache.
- Add tests to `tests/test_web_server_static.py`.
4. `_web_build.py` calls `npm run build`. Change it to `pnpm build`, and update
its "npm missing" message. Delete `web/package-lock.json`, so pnpm is the
only lockfile.
5. Rewrite the 45 React files:
- `screens/*` (10, plus `system/*` 3) become `.astro` pages and sections.
- `components/*` (10): `GameTable` and `FilterPanel` become a
`<game-table>` custom element. The budget cards are `.astro` plus a
poller. `TimelineChart` and `BudgetHistoryChart` become SVG builders in
`src/lib/charts/`.
- `commands/*` (7): `<command-palette>` and `<runner-dialog>` custom
elements on `<dialog>`. `RunnerProvider` becomes a module-level store.
- `jobs/*` (4): `<job-progress>` subscribes to the SSE `EventSource`.
`library/*` (3) becomes `<game-browser>`.
- `ui/*` (3) and `shell/*` (3) become `.astro`. Delete `router.tsx` and `App.tsx`.
- Hooks (`useBudgetPoll.ts`, `api/queries.ts` and the other React-only `.ts`
files) become plain fetch, poll and cache helpers in `src/lib/`.
6. Mock mode. `web/mock/plugin.ts` stays a Vite plugin, added through
`vite.plugins` in `astro.config.mjs` when `MODE=mock`. `dev:mock` becomes
`astro dev --mode mock`.
7. Dependencies, from `web/`, exact pins via pnpm:
- Add `astro@7.4.4`, `@astrojs/check@0.9.12`, `eslint-plugin-astro@3.2.1`
and `@testing-library/dom`.
- Remove `react`, `react-dom`, `@tanstack/react-query`, `@tanstack/react-router`,
`@vitejs/plugin-react`, `babel-plugin-react-compiler`, `@babel/core`,
`@rolldown/plugin-babel` and `@testing-library/react`.
- Drop direct `vite`. Replace or delete the Vite template `web/README.md`.
8. Tests. Use vitest 5.0.5 with `getViteConfig()`:
- Elements and helpers are tested in jsdom against the `mock/` world.
- The Container API renders each page.
- Coverage is scoped to `src/**/*.ts`.
9. There is no `[agent_ready]` table. It is a loopback app, so skip AgentReady.
## done
Run from `web/`:
`pnpm install --frozen-lockfile && pnpm exec astro check && pnpm coverage && pnpm build`
Then:
`! grep -q '"react"' package.json && ! grep -qE '"(react-dom|@vitejs/plugin-react|@tanstack/react-[a-z]+)"' package.json && ! find src -name '*.tsx' | grep -q . && test ! -f package-lock.json`
Both exit 0. Also run the repo root's
`python -m pytest -q steam_backlog_enforcer/tests/test_web_server_static.py`.
## verify
Start the live server the way the repo does (`_serve_startup.py`) on
127.0.0.1:8000. Use a headless chromium on `/`, `/library/` and
`/jobs/?id=<real id>`:
- Every page carries the token and the API calls return 200.
- The command palette runs a dry command.
- There are no console errors.
## read first
- `~/src/utils/web_ui/TODO-astro-port.md` (do it first)
- `web/src/router.tsx`, `web/src/api/queries.ts`, `web/mock/plugin.ts`, `web/vite.config.ts`
- `steam_backlog_enforcer/_web_server.py`, `_web_auth.py`, `_web_build.py`
REMOVE ME AFTER FINISH

View File

@ -1,98 +0,0 @@
# Refactor TODO — enforce the 250-line file cap
> **This file is a ready-to-use prompt.** Paste it to Claude, or open this repo
> and say "do refactor_claude_todo". It is self-contained: everything needed to
> execute is below. Generated 2026-08-14 from a measured survey of every repo.
## Goal
Every file in this repo must be **at most 250 lines** — source, tests, and
prose (`.md`/`.txt`/`.rst`/`.tex`) alike — and must **stay** that way forever,
enforced by a gate that fails the commit, not by a note anyone can ignore.
Why: a file that cannot be read in one piece forces re-reads and partial edits,
which is the single largest avoidable cost in an LLM-assisted workflow. Aim by
churn, not size alone — refactoring pays where code is read and changed often
(Fowler, _refactoring economic benefit_).
## Scope in this repo
- **55 files** currently exceed 250 lines (of 114 eligible files).
- **24,887 lines** sit in violation; longest file is **1076 lines**.
Exempt (do NOT split these):
- generated files — `*.g.dart`, `*.freezed.dart`, `*.gr.dart`, `**/l10n/generated/**`,
anything with a `GENERATED` header
- markup — `.html`, `.css`, `.scss`
- data files — `.json`, `.yaml`, `.csv`, wordlists and other data-ish `.txt`
(mean line length under 25 chars)
## Violations, highest ROI first
ROI = lines x commits in the last year. Work top-down; a long file nobody edits
has near-zero payoff and should not be first.
| lines | commits/yr | kind | file |
| ----: | ---------: | :--- | :-------------------------------------------------- |
| 1076 | 26 | code | `steam_backlog_enforcer/main.py` |
| 553 | 18 | code | `steam_backlog_enforcer/game_install.py` |
| 555 | 13 | code | `steam_backlog_enforcer/library_hider.py` |
| 521 | 13 | code | `steam_backlog_enforcer/scanning.py` |
| 384 | 16 | code | `steam_backlog_enforcer/hltb.py` |
| 447 | 12 | code | `steam_backlog_enforcer/tests/test_hltb.py` |
| 410 | 12 | code | `steam_backlog_enforcer/_enforce_loop.py` |
| 444 | 11 | code | `steam_backlog_enforcer/tests/test_scanning.py` |
| 476 | 10 | code | `steam_backlog_enforcer/tests/test_main_part2.py` |
| 1072 | 4 | code | `steam_backlog_enforcer/tests/test_stats.py` |
| 592 | 7 | code | `steam_backlog_enforcer/tests/test_hltb_detail.py` |
| 393 | 10 | code | `steam_backlog_enforcer/tests/test_enforce_loop.py` |
| 491 | 7 | code | `steam_backlog_enforcer/tests/test_main.py` |
| 333 | 10 | code | `steam_backlog_enforcer/_cmd_done.py` |
| 409 | 8 | code | `steam_backlog_enforcer/tests/test_hltb_part2.py` |
_(40 further files over 250 lines not listed — re-run the survey for the full set.)_
## How to split
- **Python** — extract cohesive helpers into sibling modules; keep the public
API and imports stable.
- **Shell** — split into `lib/*.sh` sourced by a thin entry script. Keep
`set -euo pipefail` in each.
- **Dart / TypeScript** — extract widgets/components into their own files.
- **Tests** — split by test-group into sibling files
(`foo.test.ts` -> `foo.parsing.test.ts`, `foo.render.test.ts`). Coverage must
not drop.
- **Docs** — split into topic files under `docs/` with an index. For an
oversized `CLAUDE.md`, move detail into referenced docs so the
always-loaded part shrinks.
**Do not** game the cap: no one-lining, no deleting tests, no moving code into
an exempt extension, no `# noqa`-style suppressions.
## Make it permanent (required — this is the point)
A refactor without a gate silently regrows. Before this task is done:
1. Wire the shared gate `~/src/utils/scripts/check_file_length.sh` into this repo's
`.pre-commit-config.yaml` as a local hook. If the repo has no pre-commit
config, add a minimal one.
2. The hook checks **files in the commit** (not the whole tree), so unrelated
commits never break, and it **fails** — exit 1, not a warning.
3. No baseline file and no allowlist. Those are suppressions.
4. If this repo has CI (`.github/workflows`), add the same check there so it
also fails on push.
## Done condition
- `bash ~/src/utils/scripts/check_file_length.sh --all` from this repo root exits 0.
- The repo's own test suite and coverage bar are still green.
- `pre-commit run --files <changed files>` passes.
- A deliberately over-250-line test file, staged, makes `git commit` **fail**.
- For a deployed daemon/app: the entry point still actually runs.
## Verify
Run the suite, then run the enforcer entry point. Do NOT restart the systemd unit or Steam while a game is running — ask first.
REMOVE ME AFTER FINISH

View File

@ -1,137 +1,47 @@
# Session prompt: take pylint from 8.65 to 10.00
# Take pylint from 9.95 to 10.00 and raise the gate
Paste everything below the line into a fresh Claude Code session started in
`~/src/steam-backlog-enforcer`.
## what
Docstrings, booleaness and test duplicates are done (8.65 -> 9.95, measured
2026-11-01). About 45 findings remain in `steam_backlog_enforcer/`, all in
live-enforcer code. Fix them without changing behaviour or adding suppressions
or `[tool.pylint.messages_control] disable` entries, then raise
`--fail-under` in `.pre-commit-config.yaml` from 8.0 to 10.0.
---
Remaining, by check (file:line):
- broad-exception-caught: `_ctl_server.py:168,187`, `jobs/_runner.py:208,211`,
`_leisure_kill.py:143`, `_shadow.py:123`, `_web_server.py:103`. These are
fail-safe handlers; narrowing them changes enforcement behaviour. Needs a
decision from kuhy: narrow, or a scoped disable with a reason.
- too-many-locals: `_hltb_confidence.py:110`, `_hltb_detail.py:144`,
`_hltb_search.py:149`, `jobs/_runner.py:136`, `_leisure_kill.py:149`,
`scanning.py:76`, `_stats_gathering.py:44`, `_stats.py:122`.
- too-many-instance-attributes: `config.py:85,154`, `_playtime_record.py:20`,
`_playtime_state.py:78`, `_web_models.py:16`. Persisted state shapes; needs
a decision (raise `max-attributes`, or restructure the stored schema).
- consider-using-with: `_ctl_server.py:154`, `_fast_install.py:152`,
`jobs/_spawn.py:133`.
- redefined-outer-name: `library_hider.py:71,164`.
- chained-comparison: `_hltb_types.py:146`, `_steam_models.py:50`.
- useless-return: `_fast_install_progress.py:106`, `_web_sse.py:91`.
- misc: `_web_routes.py:87` no-member, `_hltb_matching.py:187`
unsubscriptable-object, `_leetcode_ledger.py:47` unexpected-keyword-arg,
`_game_names.py:72` useless/suppressed disable.
Take this repo's pylint score from **8.65/10 to a clean 10.00/10**, without
weakening the linter.
## done
```bash
.ci-mirror-venv/bin/python -m pylint --rcfile=pyproject.toml --jobs=4 \
steam_backlog_enforcer | tail -2 # rated at 10.00/10
grep -n 'fail-under=10.0' .pre-commit-config.yaml
```
`scripts/file_length/` is vendored and excluded from the hook; leave it.
## Why
## verify
The full suite (`.ci-mirror-venv/bin/python -m pytest steam_backlog_enforcer/tests/ -q`,
about 25 min under `capped.sh`, so split it per file group) stays green at
100% coverage. Run `./run.sh <read-only command>` before and after. Do not
restart the systemd unit or Steam while a game runs.
The pre-commit pylint hook runs with `--fail-under=8.0`, so at 8.65 the repo
passes its gate while carrying ~1600 findings. The threshold is hiding the
debt rather than measuring it. The same job was done in `~/src/utils/crdt-sync`
on 2026-08-21 (8.58 -> 10.00); this repo has the identical shape of problem,
only larger.
Measured on this machine, 2026-08-21, with
`~/.cache/pre-commit/repo01lfw04p/py_env-python3/bin/pylint --rcfile=pyproject.toml steam_backlog_enforcer scripts`:
| category | count |
|---|---|
| missing-function-docstring | 1061 |
| use-implicit-booleaness-not-comparison-to-zero | 121 |
| missing-class-docstring | 97 |
| duplicate-code | 66 |
| use-implicit-booleaness-not-comparison | 60 |
| redefined-outer-name | 42 |
| protected-access | 38 |
| import-outside-toplevel | 20 |
**All 1158 missing-docstring findings are in `steam_backlog_enforcer/tests/`.**
That is ~72% of the total and the single highest-leverage fix. There are 150
test files.
Re-measure before you start and again at the end. The first run guards
against the situation having changed; the second is the acceptance check.
## Scope
**In scope**
1. Every pylint finding under `steam_backlog_enforcer/` and `scripts/`.
2. Test docstrings — the bulk of the work.
**Out of scope — do not touch**
- `--fail-under` in `.pre-commit-config.yaml`. Do NOT raise it to hide a
shortfall, and do NOT lower it. Leave it at 8.0; the score is what moves.
- `pyproject.toml`'s `[tool.pylint.messages_control] disable` list. Adding a
check to it is the failure mode this task exists to avoid.
- Anything under `node_modules/`, `web/`, or `*.egg-info/`.
## The rule that decides the approach
**Fix the underlying issue; do not suppress it.** The repo blocks `noqa` and
`type: ignore` outright via a pre-commit hook. Inline `# pylint: disable=` is
permitted ONLY where the finding is a genuine false positive, and then it
must be:
- scoped to the narrowest unit (prefer `disable-next` on the exact line over
a file-level disable),
- placed on the line that actually triggers it (verify — a `disable-next`
one line off silently does nothing and pylint reports
`useless-suppression`),
- accompanied by a comment saying WHY the check is wrong here.
Ask before adding any suppression that is not clearly a false positive.
## What worked in crdt-sync (copy this)
Writing 277 test docstrings by hand is slow and error-prone. Script the
first draft, then review every one:
1. Parse each test file with `ast`, find every `ClassDef`/`FunctionDef` whose
name starts with `test_`/`Test` and has no docstring.
2. Derive prose from the identifier — these test names are already sentences.
3. **Insert at the anchor, not the first body statement.** If the first
statement is decorated (`@staticmethod`, `@pytest.mark...`), inserting at
its `lineno` puts the docstring BETWEEN the decorator and its `def` and
produces a syntax error. Anchor to `min(lineno, *[d.lineno for d in
decorator_list])`.
4. Back the test tree up first (`cp -a`), run the suite immediately after,
and `ast.parse` every touched file before trusting it.
A docstring that merely restates the test name adds nothing — after the
generated pass, go back and improve the ones where the assertion says
something the name does not.
## Also expect
- `use-implicit-booleaness-*` (181 total): `assert not x` for `assert x == {}`
/ `== []` / `== 0` / `== ""`. Mechanical, but check each — in a test, the
explicit form sometimes asserts the TYPE too, which is worth keeping.
- `redefined-outer-name` (42): pytest fixture idiom. Usually a rename.
- `protected-access` (38): if the private member IS the thing under test,
that is a legitimate scoped disable with a reason.
- `duplicate-code` (66): look for near-copy fakes/helpers across test
modules. In crdt-sync two duplicated in-memory fakes merged into one class
in `conftest.py` — that is the sanctioned home (a non-`test_*.py` module in
a tests dir can trip the `name-tests-test` hook). Watch coverage when
merging: the union class must still exercise every branch.
## Gates
- `python -m pytest -q --ignore=steam_backlog_enforcer/tests/test_mcp.py`
— **1288 passing** is the baseline (measured 2026-08-21, ~63s). That count
must hold.
**Read this before you think you broke something:** a plain
`python -m pytest -q` currently fails at COLLECTION with
`ModuleNotFoundError: No module named 'mcp.server.fastmcp'`. This is
pre-existing and NOT yours to fix. `pyproject.toml` declares `mcp` as an
optional extra (`mcp = ["mcp>=1.9,<2"]`) served by a dedicated venv via
`scripts/setup_mcp.sh`; the system interpreter has `mcp 2.0.0`, and the 2.x
line removed `mcp.server.fastmcp`. Ignore that one module, do not
"fix" the import, and do not touch the pin — mention it in your report and
move on.
Because that module is skipped, coverage reads **97.32%**, not 100%. Do not
chase the missing 2.68% and do not let a coverage gate mislead you into
thinking your change caused it. What matters is that the number does not
get WORSE.
- `pre-commit run --files <changed>` — must pass, including the noqa blocker.
- `ruff format` will reformat what you touch; re-run the suite after it, and
do not let it reformat files this task never touched.
## Done means
1. `pylint --rcfile=pyproject.toml steam_backlog_enforcer scripts` reports
**10.00/10**.
2. `--fail-under` is still 8.0 and the `disable` list is unchanged.
3. 1288 tests still passing (with `test_mcp.py` ignored, as above) and
coverage no worse than the 97.32% baseline.
4. Every suppression you added is listed in the final report with its
justification. If you could not reach 10.00 without a suppression the user
would not accept, say so and report the real number instead.
## read first
- `CLAUDE.md` (commands, coverage rule)
REMOVE ME AFTER FINISH

View File

@ -1,184 +0,0 @@
# Session prompt: continue the 250-line cap refactor
Paste everything below the line into a fresh Claude Code session started in
`~/src/steam-backlog-enforcer`.
---
Continue `refactor_claude_todo.md`: get every file in this repo under 250 lines
and take pylint to a clean 10.00, without weakening either gate.
Earlier sessions landed the gate and the three hardest modules. **Re-measure
before you start** — the numbers below were true at commit `b5b4b35`.
## State at handoff
```bash
bash scripts/check_file_length.sh --all # 39 files over the cap
.ci-mirror-venv/bin/python -m pytest steam_backlog_enforcer/tests/ -q
# 1324 pass, 100.00% coverage
~/.cache/pre-commit/repo01lfw04p/py_env-python3/bin/pylint \
--rcfile=pyproject.toml --jobs=4 steam_backlog_enforcer scripts | tail -2
# 8.69/10
```
Already done (do not redo):
- **The gate is live.** `scripts/file_length/` is a vendored copy of
`~/src/utils/file_length/`, wired as the `file-length` pre-commit hook. It is
excluded from ruff/mypy/pylint and must stay byte-identical to upstream.
`pre-commit install` has been run (it never had been — only `pre-push`).
- `main.py` → `main/` package; `_total_block`, `_playtime`, `_mcp` split.
- `pyproject.toml`: `max-module-lines = 250`.
## Decisions already made — do not re-ask
1. **All 39 files this campaign**, then pylint. Both in scope.
2. **Gate stays on**: every commit must bring the files it touches under the
cap. `--no-verify` is banned.
3. **Coverage must stay at exactly 100%.** No pragmas, no omits.
4. **Split by responsibility, never mechanically.** See below.
5. **No private re-export shims.** Callers import from the defining module.
6. At the very end: raise pylint `--fail-under` 8.0 → **10.0** in
`.pre-commit-config.yaml` (a deliberate deviation from
`prompts/pylint-to-ten.md`, which says leave it — a score with no gate
regrows exactly like file length does).
## How to split (this is the part that goes wrong)
A generic "move these top-level defs to a sibling module" extractor was tried
and **reverted**: it moved functions without the module-level names they
referenced, so the result imported fine and only failed when called —
`ruff check --select F821` found 349 undefined names.
Per file:
1. **Read it.** Name the 2-4 jobs it does; the existing `# ────` section
banners usually mark the real seams.
2. Give each job a module whose docstring says why it is separate. Keep the
dependency direction one-way, leaf modules (data tables, generic helpers)
at the bottom. Pass a dependency as a parameter when that removes a cycle.
3. **Never** `module_x_1.py` / `module_x_2.py`. Extract genuinely reusable
helpers under their own name (`_pacman.py` came out of `_total_block` this
way and is now shared).
4. `ruff check --select F821,F401 --no-fix <files>` after **every** extraction.
**F821 first, then autofix F401** — the reverse order deletes imports the
moved code still needs.
5. Repoint the matching test file (below), then commit.
### Test files are the real cost
Tests build patch targets as `f"{PKG}.{name}"`, so grepping for the literal
module path finds nothing. Once a function moves, it resolves its dependencies
from its *new* module's globals, and a patch aimed at the old module silently
stops intercepting.
For each split:
```bash
# which module actually defines each patched symbol
.ci-mirror-venv/bin/python - <<'PY'
import importlib, re, pathlib
mods = {m: importlib.import_module(f"steam_backlog_enforcer.{m}") for m in (...)}
src = pathlib.Path("steam_backlog_enforcer/tests/test_X.py").read_text()
for s in sorted(set(re.findall(r'f"\{PKG\}\.(\w+)"', src))):
print(s, [m for m, mod in mods.items() if s in vars(mod)])
PY
```
Then split the test file so each output has **one correct `PKG`**, and
**mutation-test** at least one assertion per new module — break a line in the
production module, confirm the right test fails, restore. A passing test after
a split proves nothing on its own. Watch for these forms, which a naive
find/replace misses: `patch.object(mod, "name")`, the multi-line
`patch.object(\n mod, "name")`, and dotted `f"{PKG}.subprocess.run"`.
### Two traps that already cost time
- **ruff `--fix --unsafe-fixes` deletes autouse fixture imports** (pytest
resolves fixtures by name, so they look unused). `conftest.py` holds them
with an explicit `__all__` — keep it that way when adding more.
- **`conftest.py` is the filesystem safety net.** When a path constant moves
to a new module, update the conftest patch target in the *same* edit, then
confirm no test writes outside `tmp_path`.
## Remaining work, highest ROI first
Production (15) — the todo ranks by lines x commits/yr, so start here:
| lines | file |
|---:|:---|
| 555 | `library_hider.py` |
| 553 | `game_install.py` |
| 521 | `scanning.py` |
| 588 | `_hltb_search.py` |
| 523 | `_stats.py` |
| 436 | `_web_dataset.py` |
| 410 | `_enforce_loop.py` |
| 399 | `store_blocker.py` |
| 384 | `hltb.py` |
| 373 | `_hltb_detail.py` |
| 333 | `_cmd_done.py` |
| 298 | `_whitelist.py` |
| 282 | `_actions.py` |
| 281 | `steam_api.py` |
| 253 | `_scanning_confidence.py` |
Test files (24), largest first: `test_stats.py` 1072, `test_web_dataset.py`
620, `test_hltb_detail.py` 592, `test_store_blocker.py` 470,
`test_library_hider.py` 468, `test_hltb.py` 447, `test_scanning.py` 444, then
17 more between 255 and 417. Split these to **~200 lines, not 249** — the
pylint phase adds a docstring to every test function and would push a 249-line
file back over.
Then **pylint 8.69 → 10.00** per `prompts/pylint-to-ten.md`. ~1600 findings,
of which 1061 are `missing-function-docstring` in `tests/`. Fix
`duplicate-code` (R0801) by extracting shared test helpers, never by adding
`ignore-imports`/`ignore-signatures`. R0801 is cross-module so it is invisible
to the staged-files hook — acceptance is a **full-tree** run.
## Commands
Keep every command under ~10s; nothing over 60s.
```bash
# scoped test run for the file you just touched (~0.3s)
python3 -m pytest steam_backlog_enforcer/tests/test_<area>*.py -q --no-cov
# acceptance: use the clean venv, NOT system python3 (see below)
.ci-mirror-venv/bin/python -m pytest steam_backlog_enforcer/tests/ -q # ~21s
# before each commit
pre-commit run --files $(git diff --cached --name-only | tr '\n' ' ')
```
**System `python3` has `mcp 2.0.0` but `requirements.txt` pins `mcp<2`**, so
`test_mcp*.py` fails to collect and coverage reports ~97%. That is a local
environment artifact, not a regression — use `.ci-mirror-venv/bin/python` for
anything coverage-related. Do not "fix" it by moving the pin.
Long jobs (`scripts/ci_mirror.sh`, full-suite runs) go in the background with
`run_in_background: true` rather than a long foreground timeout.
## Done condition
- `bash scripts/check_file_length.sh --all` → exit 0, and the todo's literal
`bash ~/src/utils/scripts/check_file_length.sh --all` → exit 0 (running both
catches drift between the vendored copy and upstream).
- `.ci-mirror-venv/bin/python -m pytest steam_backlog_enforcer/tests/ -q` →
green at exactly 100%.
- Full-tree pylint → **10.00/10**, with `--fail-under=10.0` committed.
- `pre-commit run --all-files` passes.
- A staged 251-line file still makes `git commit` fail.
- `./run.sh` runs and its output is unchanged. To prove a refactor is
behaviour-preserving despite live Steam state changing under you, compare
against a worktree at HEAD rather than an older captured baseline:
`git worktree add --detach /tmp/wt HEAD` and diff the two runs.
## Verify
Run the enforcer entry point, show the output, and confirm with the user.
**Do NOT restart the systemd unit or Steam** — a real total-block/manual-pick
lock may be active on this machine; ask first.
REMOVE ME AFTER FINISH

View File

@ -13,14 +13,14 @@ dependencies = [
# transitively via howlongtobeatpy and websockets was undeclared — both
# are declared here so a clean install imports the package.
"aiohttp==3.14.5",
"websockets==17.3",
"websockets==17.4",
# The earner registry (gaming budget terms); stdlib-only, so the root
# daemon imports it from the desktop user's site-packages.
"earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.18.0#subdirectory=earned_time",
"earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.20.0#subdirectory=earned_time",
# The shared /proc game scan and the signed leisure facts (shadow budget,
# contract C4); stdlib-only, imported by root from the user site like
# earned-time.
"leisure-watch @ git+https://github.com/kuhyx/leisure-watch@leisure-watch-v0.2.3",
"leisure-watch @ git+https://github.com/kuhyx/leisure-watch@leisure-watch-v0.2.6",
]
# Optional extras. The `mcp` group is ONLY needed by the MCP server

View File

@ -5,20 +5,20 @@ aiohttp==3.14.5
bandit==1.9.4
codespell==2.4.3
coverage==7.17.0
earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.18.0#subdirectory=earned_time
earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.20.0#subdirectory=earned_time
howlongtobeatpy==1.0.24
leisure-watch @ git+https://github.com/kuhyx/leisure-watch@leisure-watch-v0.2.3
leisure-watch @ git+https://github.com/kuhyx/leisure-watch@leisure-watch-v0.2.6
mcp==2.3.0
mypy==2.4.0
mypy==2.4.1
pre-commit==4.7.0
pylint==4.1.3
pytest==9.1.1
pytest==9.2.0
pytest-cov==7.1.0
pytest-randomly==5.0.0
pytest-sugar==1.1.1
pytest-timeout==2.4.0
pytest-xdist==3.8.0
requests==2.34.2
ruff==0.17.2
types-requests==2.33.0.20261006
websockets==17.3
ruff==0.17.3
types-requests==2.33.0.20261030
websockets==17.4

View File

@ -11,6 +11,10 @@ achievements at all. A game is skipped only while all three hold:
So a game that later gains achievements without gaining the flag is still
picked up, at the latest that long after.
The same cache doubles as the *always allowed* list (:func:`zero_achievement_ids`):
an owned game Steam answered "no achievements" for is never uninstalled, hidden
or killed as unauthorized. Only the daily budget still applies to it.
"""
from __future__ import annotations
@ -136,3 +140,64 @@ def record_scan(
_atomic_write(_cache_file(), json.dumps(payload, indent=2) + "\n")
except OSError:
logger.warning("Could not save %s", _cache_file(), exc_info=True)
# (file stamps, ids) of the last derivation; the derivation reads three files.
_memo: dict[str, Any] = {}
def _stamp(path: Path) -> tuple[str, int, int]:
"""``(path, mtime_ns, size)``; zeros when absent, so a new file changes it."""
try:
st = path.stat()
except OSError:
return (str(path), 0, 0)
return (str(path), st.st_mtime_ns, st.st_size)
def _derive_zero_ids() -> frozenset[int]:
"""Cache keys for the configured account minus anything in the snapshot.
Fails closed: a missing or corrupt file, another account, an unknown
account or an unreadable snapshot all give the empty set.
"""
try:
steam_id = json.loads(config.CONFIG_FILE.read_text(encoding="utf-8"))[
"steam_id"
]
except OSError, ValueError, KeyError, TypeError:
return frozenset()
if not isinstance(steam_id, str) or not steam_id:
return frozenset()
confirmed = set(_load_checked(steam_id))
if not config.SNAPSHOT_FILE.exists():
return frozenset(confirmed)
try:
# Only games with achievements are ever snapshotted, so one that is in
# it contradicts the cache and is enforced.
in_snapshot = {int(entry["app_id"]) for entry in load_snapshot() or []}
except OSError, ValueError, KeyError, TypeError:
return frozenset()
return frozenset(confirmed - in_snapshot)
def zero_achievement_ids() -> frozenset[int]:
"""Owned games Steam confirmed have zero achievements: always allowed.
Presence in the cache is enough (no recheck age): only a scan that finds
achievements removes an entry, so the game is never dropped mid-session
for want of a rescan. Memoized on the files' stamps because the enforce
loop asks once per installed or running game every few seconds.
Returns:
The allowed app ids; empty whenever the status is unknown.
"""
key = tuple(
_stamp(path)
for path in (_cache_file(), config.CONFIG_FILE, config.SNAPSHOT_FILE)
)
if _memo.get("key") != key:
_memo["key"] = key
_memo["ids"] = _derive_zero_ids()
ids: frozenset[int] = _memo["ids"]
return ids

View File

@ -13,6 +13,7 @@ from itertools import islice
import logging
from typing import TYPE_CHECKING, Any
from steam_backlog_enforcer._achievement_skip import zero_achievement_ids
from steam_backlog_enforcer._allowed_games import allowed_games
from steam_backlog_enforcer._assignment_progress import iso_to_epoch
from steam_backlog_enforcer._progress import current_progress
@ -56,6 +57,7 @@ def _legitimately_played(state: State) -> set[int]:
exempt = {app_id for app_id, _ in allowed_games(state)}
exempt.update(state.finished_app_ids)
exempt.update(get_approved_exception_ids())
exempt.update(zero_achievement_ids())
exempt.update(
pick["app_id"] for pick in state.manual_picks if pick.get("app_id") is not None
)

View File

@ -13,6 +13,7 @@ import re
import shutil
from typing import TYPE_CHECKING
from steam_backlog_enforcer._achievement_skip import zero_achievement_ids
from steam_backlog_enforcer._game_names import _is_protected_name
from steam_backlog_enforcer._progress import tracked
from steam_backlog_enforcer._protected_apps import PROTECTED_APP_IDS
@ -173,7 +174,10 @@ def is_protected_app(app_id: int) -> bool:
"""Return True if *app_id* must never be uninstalled.
Combines the hardcoded Steam infrastructure set with any app IDs that
have been approved via the time-locked exception mechanism.
have been approved via the exception mechanism, and with owned games Steam
confirmed have zero achievements (nothing to complete, so always allowed;
the gaming-time budget still applies to them). Unknown status is not
protected. This one test also gates the unauthorized-game kill.
Args:
app_id: Steam application ID to check.
@ -181,4 +185,8 @@ def is_protected_app(app_id: int) -> bool:
Returns:
True if the app should be left alone by the enforcer.
"""
return app_id in PROTECTED_APP_IDS or app_id in get_approved_exception_ids()
return (
app_id in PROTECTED_APP_IDS
or app_id in get_approved_exception_ids()
or app_id in zero_achievement_ids()
)

View File

@ -20,6 +20,7 @@ import json
import logging
from typing import TYPE_CHECKING
from steam_backlog_enforcer._achievement_skip import zero_achievement_ids
from steam_backlog_enforcer._actions import allowed_app_ids
from steam_backlog_enforcer._cdp import _cdp_result_value, _evaluate_js
from steam_backlog_enforcer._echo import _echo
@ -86,12 +87,15 @@ def hide_other_games(
Approved whitelist exceptions (``add-exception``) are always treated as
allowed, so a permanently whitelisted game such as a co-op title stays
visible next to the assignment instead of being hidden with the rest.
So are owned games with zero achievements (see ``zero_achievement_ids``).
Returns the total number of games hidden across all passes.
"""
ensure_steam_debug_port()
allowed_app_ids = allowed_app_ids | get_approved_exception_ids()
allowed_app_ids = (
allowed_app_ids | get_approved_exception_ids() | zero_achievement_ids()
)
allowed_json = json.dumps(sorted(allowed_app_ids))
extra_ids = sorted(aid for aid in owned_app_ids if aid not in allowed_app_ids)
extra_json = json.dumps(extra_ids)

View File

@ -0,0 +1,16 @@
"""Autouse: no live focus project reshapes the earner registry in a test."""
from __future__ import annotations
from typing import TYPE_CHECKING
import pytest
if TYPE_CHECKING:
from pathlib import Path
@pytest.fixture(autouse=True)
def _no_live_focus_project(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:
"""Point focus_project at an empty directory (earned_time >= 0.19)."""
monkeypatch.setenv("FOCUS_PROJECT_DATA", str(tmp_path / "focus_project"))

View File

@ -0,0 +1,55 @@
"""Shared fixtures for the zero-achievement "always allowed" tests."""
from __future__ import annotations
import json
import re
from typing import TYPE_CHECKING
from steam_backlog_enforcer import _achievement_skip as skip
from steam_backlog_enforcer import config
if TYPE_CHECKING:
from collections.abc import Callable
from pathlib import Path
SIMS3 = 47890
ASSIGNED = 1091500
WITH_ACH = 570
STEAM_ID = "76561198009649542"
NOW = 1_000_000_000.0
def write(path: Path, payload: object) -> None:
path.write_text(json.dumps(payload), encoding="utf-8")
def confirm_zero(*app_ids: int, steam_id: str = STEAM_ID) -> None:
"""Make the real cache say Steam answered "no achievements" for these."""
write(config.CONFIG_FILE, {"steam_id": STEAM_ID})
write(
skip._cache_file(),
{"steam_id": steam_id, "checked": {str(a): NOW for a in app_ids}},
)
def write_snapshot(*app_ids: int) -> None:
write(
config.SNAPSHOT_FILE, [{"app_id": a, "total_achievements": 5} for a in app_ids]
)
def recorder(removed: list[int]) -> Callable[..., bool]:
"""An ``uninstall_game`` stand-in that notes which app was removed."""
def record(app_id: int, _name: str = "") -> bool:
removed.append(app_id)
return True
return record
def js_list(pattern: str, js: str) -> list[int]:
match = re.search(pattern, js)
assert match is not None
return list(json.loads(match.group(1)))

View File

@ -31,6 +31,7 @@ from steam_backlog_enforcer.tests._isolate_playtime import _isolate_playtime
from steam_backlog_enforcer.tests._isolate_reading import _isolate_reading
from steam_backlog_enforcer.tests._isolate_shadow import _isolate_shadow
from steam_backlog_enforcer.tests._no_fast_install import _no_fast_install
from steam_backlog_enforcer.tests._no_live_focus_project import _no_live_focus_project
from steam_backlog_enforcer.tests._no_real_effects import (
_no_live_games,
_no_real_effects,
@ -52,6 +53,7 @@ __all__ = [
"_isolate_reading",
"_isolate_shadow",
"_no_fast_install",
"_no_live_focus_project",
"_no_live_games",
"_no_real_effects",
"_no_systemd_run",

View File

@ -2,8 +2,11 @@
from __future__ import annotations
from typing import TYPE_CHECKING
from unittest.mock import patch
import pytest
from steam_backlog_enforcer._stats import (
_GameTimes,
cmd_stats,
@ -12,9 +15,20 @@ from steam_backlog_enforcer.config import Config, State
from steam_backlog_enforcer.protondb import ProtonDBRating
from steam_backlog_enforcer.steam_api import GameInfo
if TYPE_CHECKING:
from collections.abc import Iterator
_PKG = "steam_backlog_enforcer._stats"
@pytest.fixture(autouse=True)
def _no_live_refresh() -> Iterator[None]:
"""cmd_stats must not hit Steam or HLTB: unmocked, each test cost ~2 s."""
refresh = f"{_PKG}._refresh_recently_played_completions"
with patch(refresh, lambda g, _c: g), patch(f"{_PKG}._print_worst_example"):
yield
def _game(
app_id: int = 1,
name: str = "G",

View File

@ -0,0 +1,153 @@
"""Owned games with zero achievements are always allowed, except by the budget."""
from __future__ import annotations
from typing import TYPE_CHECKING
from unittest.mock import MagicMock, patch
from leisure_watch.procscan import qualifying_pids
import pytest
from steam_backlog_enforcer import config
from steam_backlog_enforcer._enforce_guards import guard_installed_games
from steam_backlog_enforcer._playtime_cutoff import _kill_set
from steam_backlog_enforcer._scanning_tampering import _legitimately_played
from steam_backlog_enforcer.config import State
from steam_backlog_enforcer.enforcer import enforce_allowed_game
from steam_backlog_enforcer.game_uninstall import (
is_protected_app,
uninstall_other_games,
)
from steam_backlog_enforcer.library_hider import hide_other_games
from steam_backlog_enforcer.tests._zero_ach import (
ASSIGNED,
SIMS3,
WITH_ACH,
confirm_zero,
js_list,
recorder,
)
if TYPE_CHECKING:
from collections.abc import Iterator
@pytest.fixture(autouse=True)
def _no_exceptions() -> Iterator[None]:
"""No approved exceptions, so only the zero-achievement rule can protect."""
with patch(
"steam_backlog_enforcer.game_uninstall.get_approved_exception_ids",
return_value=frozenset(),
):
yield
class TestUninstall:
def test_zero_achievement_game_is_kept(self) -> None:
confirm_zero(SIMS3)
removed: list[int] = []
with (
patch(
"steam_backlog_enforcer.game_uninstall.get_installed_games",
return_value=[(SIMS3, "The Sims 3"), (WITH_ACH, "Other")],
),
patch(
"steam_backlog_enforcer.game_uninstall.uninstall_game",
side_effect=recorder(removed),
),
):
uninstall_other_games({ASSIGNED})
assert removed == [WITH_ACH]
def test_guard_keeps_it_and_removes_game_with_achievements(self) -> None:
confirm_zero(SIMS3)
removed: list[int] = []
with (
patch(
"steam_backlog_enforcer._enforce_guards.get_installed_games",
return_value=[(SIMS3, "The Sims 3"), (WITH_ACH, "Other")],
),
patch(
"steam_backlog_enforcer._enforce_guards.uninstall_game",
side_effect=recorder(removed),
),
patch("steam_backlog_enforcer._enforce_guards.send_notification"),
):
assert guard_installed_games({ASSIGNED}) == 1
assert removed == [WITH_ACH]
class TestHiding:
def test_zero_achievement_game_stays_visible(self) -> None:
confirm_zero(SIMS3)
pkg = "steam_backlog_enforcer.library_hider"
captured: dict[str, str] = {}
def fake_eval(js: str) -> dict[str, object]:
captured["js"] = js
return {}
with (
patch(f"{pkg}.ensure_steam_debug_port"),
patch(f"{pkg}._evaluate_js", side_effect=fake_eval),
patch(f"{pkg}._cdp_result_value", return_value='{"totalHidden": 0}'),
patch(f"{pkg}.get_approved_exception_ids", return_value=frozenset()),
):
hide_other_games([SIMS3, ASSIGNED, WITH_ACH], {ASSIGNED})
visible = js_list(r"new Set\((\[.*?\])\)", captured["js"])
to_hide = js_list(r"const extraIds = (\[.*?\]);", captured["js"])
assert SIMS3 in visible
assert to_hide == [WITH_ACH]
class TestTampering:
def test_zero_achievement_game_is_exempt(self) -> None:
confirm_zero(SIMS3)
with patch(
"steam_backlog_enforcer._scanning_tampering.get_approved_exception_ids",
return_value=frozenset(),
):
exempt = _legitimately_played(State(current_app_id=ASSIGNED))
assert SIMS3 in exempt
class TestUnauthorizedKill:
def test_not_killed_but_other_games_are(self) -> None:
confirm_zero(SIMS3)
with (
patch(
"steam_backlog_enforcer.enforcer.get_running_steam_game_pids",
return_value={100: SIMS3, 200: WITH_ACH},
),
patch("steam_backlog_enforcer.enforcer.kill_process") as kill,
):
assert enforce_allowed_game({ASSIGNED}) == [(200, WITH_ACH)]
kill.assert_called_once_with(200, WITH_ACH)
class TestBudgetStillApplies:
"""The playtime budget never asks is_protected_app, so it still bites."""
def test_running_zero_game_is_counted_and_in_the_kill_set(self) -> None:
confirm_zero(SIMS3)
rules = MagicMock(count_launchers=False)
with (
patch(
"leisure_watch.procscan._qualifying.get_running_steam_game_pids",
return_value={100: SIMS3},
),
patch(
"steam_backlog_enforcer.enforcer.get_running_steam_game_pids",
return_value={100: SIMS3},
),
patch(
"steam_backlog_enforcer._playtime_cutoff.steam_and_launcher_pids",
return_value=set(),
),
patch("steam_backlog_enforcer._playtime_cutoff.config_mod") as cfg,
):
cfg.CONFIG_FILE = config.CONFIG_FILE
assert is_protected_app(SIMS3)
assert enforce_allowed_game({ASSIGNED}) == []
assert qualifying_pids(rules, config.CONFIG_FILE) == {100: f"app:{SIMS3}"}
assert 100 in _kill_set(rules)

View File

@ -0,0 +1,132 @@
"""Zero-achievement "always allowed": unknown status stays enforced."""
from __future__ import annotations
from typing import TYPE_CHECKING
from unittest.mock import patch
import pytest
from steam_backlog_enforcer import _achievement_skip as skip
from steam_backlog_enforcer import config
from steam_backlog_enforcer.enforcer import enforce_allowed_game
from steam_backlog_enforcer.game_uninstall import (
is_protected_app,
uninstall_other_games,
)
from steam_backlog_enforcer.tests._zero_ach import (
ASSIGNED,
NOW,
SIMS3,
STEAM_ID,
WITH_ACH,
confirm_zero,
recorder,
write,
write_snapshot,
)
if TYPE_CHECKING:
from collections.abc import Iterator
@pytest.fixture(autouse=True)
def _no_exceptions() -> Iterator[None]:
"""No approved exceptions, so only the zero-achievement rule can protect."""
with patch(
"steam_backlog_enforcer.game_uninstall.get_approved_exception_ids",
return_value=frozenset(),
):
yield
class TestFailClosed:
def test_no_cache_file(self) -> None:
assert not is_protected_app(SIMS3)
def test_corrupt_cache_file(self) -> None:
write(config.CONFIG_FILE, {"steam_id": STEAM_ID})
skip._cache_file().write_text("{nope", encoding="utf-8")
assert not is_protected_app(SIMS3)
def test_cache_of_another_account(self) -> None:
confirm_zero(SIMS3, steam_id="someone-else")
assert not is_protected_app(SIMS3)
def test_unknown_account(self) -> None:
confirm_zero(SIMS3)
config.CONFIG_FILE.unlink()
assert not is_protected_app(SIMS3)
def test_account_id_of_the_wrong_type(self) -> None:
confirm_zero(SIMS3)
write(config.CONFIG_FILE, {"steam_id": 12345})
assert not is_protected_app(SIMS3)
def test_unreadable_snapshot(self) -> None:
confirm_zero(SIMS3)
config.SNAPSHOT_FILE.write_text("{nope", encoding="utf-8")
assert not is_protected_app(SIMS3)
def test_answer_is_reused_until_a_file_changes(self) -> None:
confirm_zero(SIMS3)
with patch.object(skip, "_derive_zero_ids", wraps=skip._derive_zero_ids) as d:
assert is_protected_app(SIMS3)
assert is_protected_app(SIMS3)
assert d.call_count <= 1
def test_unconfirmed_game_is_enforced(self) -> None:
confirm_zero(SIMS3)
assert not is_protected_app(WITH_ACH)
def test_game_that_gained_achievements_is_enforced(self) -> None:
confirm_zero(SIMS3)
write_snapshot(SIMS3)
assert not is_protected_app(SIMS3)
def test_unknown_status_game_is_uninstalled(self) -> None:
removed: list[int] = []
with (
patch(
"steam_backlog_enforcer.game_uninstall.get_installed_games",
return_value=[(SIMS3, "The Sims 3")],
),
patch(
"steam_backlog_enforcer.game_uninstall.uninstall_game",
side_effect=recorder(removed),
),
):
uninstall_other_games({ASSIGNED})
assert removed == [SIMS3]
def test_unknown_status_game_is_killed(self) -> None:
with (
patch(
"steam_backlog_enforcer.enforcer.get_running_steam_game_pids",
return_value={100: SIMS3},
),
patch("steam_backlog_enforcer.enforcer.kill_process"),
):
assert enforce_allowed_game({ASSIGNED}) == [(100, SIMS3)]
class TestRecordedByScan:
def test_a_scan_that_finds_no_achievements_allows_the_game(self) -> None:
write(config.CONFIG_FILE, {"steam_id": STEAM_ID})
game = {"appid": SIMS3, "has_community_visible_stats": False}
skip.record_scan(STEAM_ID, [game], set(), NOW)
assert is_protected_app(SIMS3)
def test_a_later_scan_that_finds_achievements_enforces_it_again(self) -> None:
write(config.CONFIG_FILE, {"steam_id": STEAM_ID})
game = {"appid": SIMS3, "has_community_visible_stats": False}
skip.record_scan(STEAM_ID, [game], set(), NOW)
assert is_protected_app(SIMS3)
skip.record_scan(STEAM_ID, [game], {SIMS3}, NOW + 1)
assert not is_protected_app(SIMS3)
def test_old_confirmation_still_counts(self) -> None:
"""Presence is enough: only a scan seeing achievements revokes it."""
confirm_zero(SIMS3)
write(skip._cache_file(), {"steam_id": STEAM_ID, "checked": {str(SIMS3): 1.0}})
assert is_protected_app(SIMS3)

355
web/package-lock.json generated
View File

@ -8,32 +8,32 @@
"name": "web",
"version": "0.0.0",
"dependencies": {
"@tanstack/react-query": "5.104.5",
"@tanstack/react-query": "5.105.0",
"@tanstack/react-router": "1.170.46",
"react": "19.3.1",
"react-dom": "19.3.1"
},
"devDependencies": {
"@babel/core": "8.0.7",
"@babel/core": "8.0.10",
"@eslint/js": "10.0.1",
"@rolldown/plugin-babel": "0.2.4",
"@rolldown/plugin-babel": "0.3.0",
"@testing-library/dom": "10.4.2",
"@testing-library/jest-dom": "7.0.1",
"@testing-library/react": "16.3.3",
"@testing-library/user-event": "14.6.8",
"@types/node": "26.6.5",
"@types/node": "26.6.6",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"@vitejs/plugin-react": "6.1.2",
"@vitest/coverage-v8": "5.0.5",
"babel-plugin-react-compiler": "1.0.0",
"eslint": "10.13.0",
"eslint": "10.14.0",
"eslint-plugin-react-hooks": "7.1.1",
"eslint-plugin-react-refresh": "0.5.7",
"globals": "17.13.0",
"jsdom": "30.1.3",
"typescript": "6.0.3",
"typescript-eslint": "8.72.0",
"typescript-eslint": "8.72.1",
"vite": "8.3.5",
"vitest": "5.0.5"
}
@ -124,20 +124,20 @@
}
},
"node_modules/@babel/core": {
"version": "8.0.7",
"resolved": "https://registry.npmjs.org/@babel/core/-/core-8.0.7.tgz",
"integrity": "sha512-ZIsZWBG6Y1oa+8fkQVp0xeCdjCHBkXFCCIWrmg9SvejVvfcVQgKKRmGrBDWfM7rilhvnRoEuaqa5dkK7KB3pHA==",
"version": "8.0.10",
"resolved": "https://registry.npmjs.org/@babel/core/-/core-8.0.10.tgz",
"integrity": "sha512-T6dEcoMJ3L1hyLuNfRXcVlqQrN79kU/SB5bDygVgQNIOUgStdyEGzigtRA9K+9Coh7SZUSt543oWRBxvqYdyuQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/code-frame": "^8.0.6",
"@babel/generator": "^8.0.6",
"@babel/generator": "^8.0.10",
"@babel/helper-compilation-targets": "^8.0.7",
"@babel/helpers": "^8.0.7",
"@babel/parser": "^8.0.7",
"@babel/helpers": "^8.0.10",
"@babel/parser": "^8.0.10",
"@babel/template": "^8.0.0",
"@babel/traverse": "^8.0.7",
"@babel/types": "^8.0.6",
"@babel/traverse": "^8.0.10",
"@babel/types": "^8.0.10",
"@types/gensync": "^1.0.5",
"convert-source-map": "^2.0.0",
"empathic": "^2.0.1",
@ -170,9 +170,9 @@
}
},
"node_modules/@babel/core/node_modules/@babel/helper-string-parser": {
"version": "8.0.6",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz",
"integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==",
"version": "8.0.8",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.8.tgz",
"integrity": "sha512-fVM+gSuKbdv9cpmyRNh5EvsDHUZCdxQH3FdnFKSkNYHpbsn95bbrxm+ES3MVeQjcqwi2O5ur/DjLfmTQaO60ng==",
"dev": true,
"license": "MIT",
"engines": {
@ -190,13 +190,13 @@
}
},
"node_modules/@babel/core/node_modules/@babel/parser": {
"version": "8.0.7",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.7.tgz",
"integrity": "sha512-UkDwEbPO1px2JQSrdh4qIgaH1JgG7GO/pFeJkpxhDxIETkT/QvGpnigXIw75ViHYPtIgKITmVUJqLjiO+JuWjA==",
"version": "8.0.10",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.10.tgz",
"integrity": "sha512-h+ah2Kg0ne1Vii892dShj9gky9I5jPzkd8x4s/3xgN/P2bMWmHS3qq59tum3mCVjCBXI8uqfYyYtrfp1Mz6+1w==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/types": "^8.0.6"
"@babel/types": "^8.0.10"
},
"bin": {
"parser": "bin/babel-parser.js"
@ -206,13 +206,13 @@
}
},
"node_modules/@babel/core/node_modules/@babel/types": {
"version": "8.0.6",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz",
"integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==",
"version": "8.0.10",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.10.tgz",
"integrity": "sha512-KV8Y+teoRsmXeEPS4sCJY1kwV+hcPzHP1qQqgCxrjKOehLdBaxpsFBfoJ8MXWFV80y6Jw56+TM95wR0Per8dYw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-string-parser": "^8.0.6",
"@babel/helper-string-parser": "^8.0.8",
"@babel/helper-validator-identifier": "^8.0.6"
},
"engines": {
@ -227,14 +227,14 @@
"license": "MIT"
},
"node_modules/@babel/generator": {
"version": "8.0.6",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.6.tgz",
"integrity": "sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng==",
"version": "8.0.10",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.10.tgz",
"integrity": "sha512-iC9p3U4Y3vp0qKjRcfFeNzpj+kkK8BVYZTbQepBWVD7vOBLH6ji0drNzKPTPtumFd2w2r/hbEKYjG4pscKa4bg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/parser": "^8.0.6",
"@babel/types": "^8.0.6",
"@babel/parser": "^8.0.10",
"@babel/types": "^8.0.10",
"@jridgewell/gen-mapping": "0.4.0-beta.0",
"@jridgewell/trace-mapping": "^0.3.31",
"@types/jsesc": "^2.5.0",
@ -245,9 +245,9 @@
}
},
"node_modules/@babel/generator/node_modules/@babel/helper-string-parser": {
"version": "8.0.6",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz",
"integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==",
"version": "8.0.8",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.8.tgz",
"integrity": "sha512-fVM+gSuKbdv9cpmyRNh5EvsDHUZCdxQH3FdnFKSkNYHpbsn95bbrxm+ES3MVeQjcqwi2O5ur/DjLfmTQaO60ng==",
"dev": true,
"license": "MIT",
"engines": {
@ -265,13 +265,13 @@
}
},
"node_modules/@babel/generator/node_modules/@babel/parser": {
"version": "8.0.7",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.7.tgz",
"integrity": "sha512-UkDwEbPO1px2JQSrdh4qIgaH1JgG7GO/pFeJkpxhDxIETkT/QvGpnigXIw75ViHYPtIgKITmVUJqLjiO+JuWjA==",
"version": "8.0.10",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.10.tgz",
"integrity": "sha512-h+ah2Kg0ne1Vii892dShj9gky9I5jPzkd8x4s/3xgN/P2bMWmHS3qq59tum3mCVjCBXI8uqfYyYtrfp1Mz6+1w==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/types": "^8.0.6"
"@babel/types": "^8.0.10"
},
"bin": {
"parser": "bin/babel-parser.js"
@ -281,13 +281,13 @@
}
},
"node_modules/@babel/generator/node_modules/@babel/types": {
"version": "8.0.6",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz",
"integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==",
"version": "8.0.10",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.10.tgz",
"integrity": "sha512-KV8Y+teoRsmXeEPS4sCJY1kwV+hcPzHP1qQqgCxrjKOehLdBaxpsFBfoJ8MXWFV80y6Jw56+TM95wR0Per8dYw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-string-parser": "^8.0.6",
"@babel/helper-string-parser": "^8.0.8",
"@babel/helper-validator-identifier": "^8.0.6"
},
"engines": {
@ -438,23 +438,23 @@
}
},
"node_modules/@babel/helpers": {
"version": "8.0.7",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-8.0.7.tgz",
"integrity": "sha512-5dMj5kFwS2AY7Dt4PZp4px3c5ThMbbEa7tZfuHTncCGSFYq8uoA1ufDE1IS/lYpQedE+3+GQ3cPZUiplIu195w==",
"version": "8.0.10",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-8.0.10.tgz",
"integrity": "sha512-tBG9yuaR26JJWFafcl/Dk4eib6bkRJ9H5e6lENcwZqFudA9ImNCuMXLjB3/t+Ub7/DOZv2Rmi5LCOi8q2DCekQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/template": "^8.0.0",
"@babel/types": "^8.0.6"
"@babel/types": "^8.0.10"
},
"engines": {
"node": "^22.18.0 || >=24.11.0"
}
},
"node_modules/@babel/helpers/node_modules/@babel/helper-string-parser": {
"version": "8.0.6",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz",
"integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==",
"version": "8.0.8",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.8.tgz",
"integrity": "sha512-fVM+gSuKbdv9cpmyRNh5EvsDHUZCdxQH3FdnFKSkNYHpbsn95bbrxm+ES3MVeQjcqwi2O5ur/DjLfmTQaO60ng==",
"dev": true,
"license": "MIT",
"engines": {
@ -472,13 +472,13 @@
}
},
"node_modules/@babel/helpers/node_modules/@babel/types": {
"version": "8.0.6",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz",
"integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==",
"version": "8.0.10",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.10.tgz",
"integrity": "sha512-KV8Y+teoRsmXeEPS4sCJY1kwV+hcPzHP1qQqgCxrjKOehLdBaxpsFBfoJ8MXWFV80y6Jw56+TM95wR0Per8dYw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-string-parser": "^8.0.6",
"@babel/helper-string-parser": "^8.0.8",
"@babel/helper-validator-identifier": "^8.0.6"
},
"engines": {
@ -541,9 +541,9 @@
}
},
"node_modules/@babel/template/node_modules/@babel/helper-string-parser": {
"version": "8.0.6",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz",
"integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==",
"version": "8.0.8",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.8.tgz",
"integrity": "sha512-fVM+gSuKbdv9cpmyRNh5EvsDHUZCdxQH3FdnFKSkNYHpbsn95bbrxm+ES3MVeQjcqwi2O5ur/DjLfmTQaO60ng==",
"dev": true,
"license": "MIT",
"engines": {
@ -561,13 +561,13 @@
}
},
"node_modules/@babel/template/node_modules/@babel/parser": {
"version": "8.0.7",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.7.tgz",
"integrity": "sha512-UkDwEbPO1px2JQSrdh4qIgaH1JgG7GO/pFeJkpxhDxIETkT/QvGpnigXIw75ViHYPtIgKITmVUJqLjiO+JuWjA==",
"version": "8.0.10",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.10.tgz",
"integrity": "sha512-h+ah2Kg0ne1Vii892dShj9gky9I5jPzkd8x4s/3xgN/P2bMWmHS3qq59tum3mCVjCBXI8uqfYyYtrfp1Mz6+1w==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/types": "^8.0.6"
"@babel/types": "^8.0.10"
},
"bin": {
"parser": "bin/babel-parser.js"
@ -577,13 +577,13 @@
}
},
"node_modules/@babel/template/node_modules/@babel/types": {
"version": "8.0.6",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz",
"integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==",
"version": "8.0.10",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.10.tgz",
"integrity": "sha512-KV8Y+teoRsmXeEPS4sCJY1kwV+hcPzHP1qQqgCxrjKOehLdBaxpsFBfoJ8MXWFV80y6Jw56+TM95wR0Per8dYw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-string-parser": "^8.0.6",
"@babel/helper-string-parser": "^8.0.8",
"@babel/helper-validator-identifier": "^8.0.6"
},
"engines": {
@ -598,18 +598,18 @@
"license": "MIT"
},
"node_modules/@babel/traverse": {
"version": "8.0.7",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-8.0.7.tgz",
"integrity": "sha512-bVV0brinsTWgc6ptSIoQo3GbITtl0VZAqEUJbHHcyfDPEu+q/fEvlYEa+6H85HoK8IdksKBFtKJbJFZ6Kff+zg==",
"version": "8.0.10",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-8.0.10.tgz",
"integrity": "sha512-t5DaGzMi9WlhMSFT2YavI8gl8yGihoQymSQUkIq9+MUh5tO3Vx9KHwr5gMCzeBdYkvs00xNvr18PxtQTRayucA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/code-frame": "^8.0.6",
"@babel/generator": "^8.0.6",
"@babel/generator": "^8.0.10",
"@babel/helper-globals": "^8.0.6",
"@babel/parser": "^8.0.7",
"@babel/parser": "^8.0.10",
"@babel/template": "^8.0.0",
"@babel/types": "^8.0.6",
"@babel/types": "^8.0.10",
"obug": "^3.0.0"
},
"engines": {
@ -631,9 +631,9 @@
}
},
"node_modules/@babel/traverse/node_modules/@babel/helper-string-parser": {
"version": "8.0.6",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz",
"integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==",
"version": "8.0.8",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.8.tgz",
"integrity": "sha512-fVM+gSuKbdv9cpmyRNh5EvsDHUZCdxQH3FdnFKSkNYHpbsn95bbrxm+ES3MVeQjcqwi2O5ur/DjLfmTQaO60ng==",
"dev": true,
"license": "MIT",
"engines": {
@ -651,13 +651,13 @@
}
},
"node_modules/@babel/traverse/node_modules/@babel/parser": {
"version": "8.0.7",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.7.tgz",
"integrity": "sha512-UkDwEbPO1px2JQSrdh4qIgaH1JgG7GO/pFeJkpxhDxIETkT/QvGpnigXIw75ViHYPtIgKITmVUJqLjiO+JuWjA==",
"version": "8.0.10",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.10.tgz",
"integrity": "sha512-h+ah2Kg0ne1Vii892dShj9gky9I5jPzkd8x4s/3xgN/P2bMWmHS3qq59tum3mCVjCBXI8uqfYyYtrfp1Mz6+1w==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/types": "^8.0.6"
"@babel/types": "^8.0.10"
},
"bin": {
"parser": "bin/babel-parser.js"
@ -667,13 +667,13 @@
}
},
"node_modules/@babel/traverse/node_modules/@babel/types": {
"version": "8.0.6",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz",
"integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==",
"version": "8.0.10",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.10.tgz",
"integrity": "sha512-KV8Y+teoRsmXeEPS4sCJY1kwV+hcPzHP1qQqgCxrjKOehLdBaxpsFBfoJ8MXWFV80y6Jw56+TM95wR0Per8dYw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-string-parser": "^8.0.6",
"@babel/helper-string-parser": "^8.0.8",
"@babel/helper-validator-identifier": "^8.0.6"
},
"engines": {
@ -1469,12 +1469,13 @@
}
},
"node_modules/@rolldown/plugin-babel": {
"version": "0.2.4",
"resolved": "https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.2.4.tgz",
"integrity": "sha512-ygmm2j/mN+aCvstHo0x3IOu4uc6LqXT9SJ3q4kpfG/+Yhfz0B+E47FITcC0FljZADwUFARP6E2kiE+Lc26D8wg==",
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/@rolldown/plugin-babel/-/plugin-babel-0.3.0.tgz",
"integrity": "sha512-cB9Z6aqn7i8Zflv1D4tyIy/wvnWt+QVUPX2e3Jxq/4fvdX+Xk2gQyNN2sfYscfLIZN1LCQbCl4olpf9Ki+U1zw==",
"dev": true,
"license": "MIT",
"dependencies": {
"artichokie": "^0.4.5",
"picomatch": "^4.0.7"
},
"engines": {
@ -1520,9 +1521,9 @@
}
},
"node_modules/@tanstack/query-core": {
"version": "5.104.5",
"resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.104.5.tgz",
"integrity": "sha512-Q94gI8Opd+CbdVNOdj8ZCyV8WqLYitrDq1t96Xc8WZT6lY0r5iRnJLXYDxMex7EEf2v+mXvn4FcjaBKSxXZQ9A==",
"version": "5.105.0",
"resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.105.0.tgz",
"integrity": "sha512-7p56vRmT/z4UJ6sctGIdl5WRUQyUv53IUpUwEKi2g97zMbO7zh8ZsCLffGAvCPBR4xD72e3VXsDyLwXHhoNTMQ==",
"license": "MIT",
"funding": {
"type": "github",
@ -1530,12 +1531,12 @@
}
},
"node_modules/@tanstack/react-query": {
"version": "5.104.5",
"resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.104.5.tgz",
"integrity": "sha512-RORgFe052U+93weaNuqg7qHq7vNVNzXN/VrXqD4bbAuQCWUqOl2lV5Ui9flWk5CVvMyL/Bh27QWhzwH0aaOx9g==",
"version": "5.105.0",
"resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.105.0.tgz",
"integrity": "sha512-y+hMuDERvgg6ay1da0V1a6ZC0ZONt7dELxSFkqRZuwm7p1TTZs0MoXrPlBRflIpRoYjvzQVYxycnLImpFLhWrw==",
"license": "MIT",
"dependencies": {
"@tanstack/query-core": "5.104.5"
"@tanstack/query-core": "5.105.0"
},
"funding": {
"type": "github",
@ -1780,9 +1781,9 @@
"license": "MIT"
},
"node_modules/@types/node": {
"version": "26.6.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.5.tgz",
"integrity": "sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg==",
"version": "26.6.6",
"resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.6.tgz",
"integrity": "sha512-MzQj+8Kx3XI40OmUAE6Qoh58ZMNstNNMwn2nfd3qWsfe7nDNSqJNzes4njhz6AHwrSHOffSLwXU6yb474Q4aog==",
"dev": true,
"license": "MIT",
"dependencies": {
@ -1810,17 +1811,17 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin": {
"version": "8.72.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.72.0.tgz",
"integrity": "sha512-aysKgysPX9XOv/dk95UkvUDe++Q3n3dJPG9CEWT3RUccxfkPJ+Qn6nhKPDhZXU6Ofo9kgwGWwKyQCnZIXTgngg==",
"version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.72.1.tgz",
"integrity": "sha512-5CokTWXpmbylfFabsbvHC0CAw3XLaGnoa+nFJX5FR592h/LoZsENUE6p/rg5xvkKrFEXz6pYmgI29AgXc2N3BQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/regexpp": "^4.12.2",
"@typescript-eslint/scope-manager": "8.72.0",
"@typescript-eslint/type-utils": "8.72.0",
"@typescript-eslint/utils": "8.72.0",
"@typescript-eslint/visitor-keys": "8.72.0",
"@typescript-eslint/scope-manager": "8.72.1",
"@typescript-eslint/type-utils": "8.72.1",
"@typescript-eslint/utils": "8.72.1",
"@typescript-eslint/visitor-keys": "8.72.1",
"ignore": "^7.0.5",
"natural-compare": "^1.4.0",
"ts-api-utils": "^2.5.0"
@ -1833,15 +1834,15 @@
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"@typescript-eslint/parser": "^8.72.0",
"@typescript-eslint/parser": "^8.72.1",
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
"typescript": ">=4.8.4 <6.1.0"
}
},
"node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
"version": "7.0.13",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.13.tgz",
"integrity": "sha512-2E8Q6rh+1RRSq/YdaGsNfXsEZy9FVqv6BSSrkmZJP7BnaoPnRfKL+YaofPvP+5rzdk144qSm6i4+hvPgUcbV4Q==",
"version": "7.0.14",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.14.tgz",
"integrity": "sha512-wCBiZ77u1tuWde6G/nfOtLaCTYcFDU5yCzARzK10y+rLhzYoL7a7yEemcopcc2Mzow7gZOIjnV2ym1NYmdiJOQ==",
"dev": true,
"license": "MIT",
"engines": {
@ -1849,16 +1850,16 @@
}
},
"node_modules/@typescript-eslint/parser": {
"version": "8.72.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.72.0.tgz",
"integrity": "sha512-0O+x3ynciD6zuXb1CKSu165haQV6ey53DKhHHUnujP7U+XlltJG+/keT0Xhd1HXCze+IHf7Tvt39ovyepX/LNw==",
"version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.72.1.tgz",
"integrity": "sha512-ZGwZP4OCfyA0AQTpEAMWz+rtX01DRhQWW5hB0ucKDEIX5U7jdmPSaMx94rQfaPAQzIYz2BimOgKOJtjfpRFQ9g==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/scope-manager": "8.72.0",
"@typescript-eslint/types": "8.72.0",
"@typescript-eslint/typescript-estree": "8.72.0",
"@typescript-eslint/visitor-keys": "8.72.0",
"@typescript-eslint/scope-manager": "8.72.1",
"@typescript-eslint/types": "8.72.1",
"@typescript-eslint/typescript-estree": "8.72.1",
"@typescript-eslint/visitor-keys": "8.72.1",
"debug": "^4.4.3"
},
"engines": {
@ -1874,14 +1875,14 @@
}
},
"node_modules/@typescript-eslint/project-service": {
"version": "8.72.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.72.0.tgz",
"integrity": "sha512-bzHngBbmIgzj6TsTjVUCntGx6FFLgE7mPjpO0PzHycOaZHXqS43XnrkFIHRS16LLr/xO6FHSXG3GJFo/F4bSBQ==",
"version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.72.1.tgz",
"integrity": "sha512-fAuVMkwdO/huI8nyo/WKnNKf6Gag93S56Rh3Ts5mGcavwSdaN8tRg1gCeIGX8PF+nzp1BjGfO4gHhGzW1J6jTg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/tsconfig-utils": "^8.72.0",
"@typescript-eslint/types": "^8.72.0",
"@typescript-eslint/tsconfig-utils": "^8.72.1",
"@typescript-eslint/types": "^8.72.1",
"debug": "^4.4.3"
},
"engines": {
@ -1896,14 +1897,14 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
"version": "8.72.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.72.0.tgz",
"integrity": "sha512-JewPyJOYcXBSAS7PIgufscHOwZqhTGyBRiQJhhuDln66tMchxvvt7nJ90JKKIoOelmdHA3kAQbm9cEUHc4JSEA==",
"version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.72.1.tgz",
"integrity": "sha512-lC/t6eMCZZQAAKZEYGL6RDVSuFehpdmMT6h+nJIjIa6oylN/PwDgDVtEIbB7O9xFfZYtZAYLoLlDNWKJhtF+uQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.72.0",
"@typescript-eslint/visitor-keys": "8.72.0"
"@typescript-eslint/types": "8.72.1",
"@typescript-eslint/visitor-keys": "8.72.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@ -1914,9 +1915,9 @@
}
},
"node_modules/@typescript-eslint/tsconfig-utils": {
"version": "8.72.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.0.tgz",
"integrity": "sha512-0vbxCf7xLVPSjcOdm6eQbgViH8EDJ8xnl1laLT9yoqSz2YmcSfSg5Vdl0JUvZf6rcuJ0ZivJIuMD4edTg8obaA==",
"version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.1.tgz",
"integrity": "sha512-e4D5R5vpeAEPBxT2BAzsFQL3sbwyeeeo5+aczgNSRK1V734jE7pTqaGFU+fXapWEQwnZbpFaTn32+Z8DwS6OTg==",
"dev": true,
"license": "MIT",
"engines": {
@ -1931,15 +1932,15 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
"version": "8.72.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.72.0.tgz",
"integrity": "sha512-gEXxmmbSTSOVTC37IYYvremOM31v+UN2W772bJxmVYPhAOPSUxtacyb7wkm1EhkYKU6KzFJsdU44DCV4to0LWw==",
"version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.72.1.tgz",
"integrity": "sha512-iY2wlmyrXJmx4yxUGP3aYCFF3cA/6ShddOKmLU2dx7LnEykbAM8WThlxZEfd1NddqceF6eJmZUayxx9oKIYNlg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.72.0",
"@typescript-eslint/typescript-estree": "8.72.0",
"@typescript-eslint/utils": "8.72.0",
"@typescript-eslint/types": "8.72.1",
"@typescript-eslint/typescript-estree": "8.72.1",
"@typescript-eslint/utils": "8.72.1",
"debug": "^4.4.3",
"ts-api-utils": "^2.5.0"
},
@ -1956,9 +1957,9 @@
}
},
"node_modules/@typescript-eslint/types": {
"version": "8.72.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.0.tgz",
"integrity": "sha512-Adfoy59kxNEjT5E5fnyrp7GpHYuWs8ONbdohu4ez6IU46qDq8LltG90tLmkucZB2uhYL8mqBjtXqGd8yhfjXqQ==",
"version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.1.tgz",
"integrity": "sha512-LmE5IhQet1BWOWEXqBrVtBPsMAOQ6Nzk35d+WLh3mk4EUF33sqlfxjio1MdYeSvKSG5skactKKuixBIKXhL4Rw==",
"dev": true,
"license": "MIT",
"engines": {
@ -1970,16 +1971,16 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
"version": "8.72.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.0.tgz",
"integrity": "sha512-gwLfFgWcw15tN2KXDCJvxEOQjPn+P3j/n3eSqkZ5sX4VpW9Cosodr+tWwBZRvJT3TcKx6HnPRGZMCNAiP1Xhug==",
"version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.1.tgz",
"integrity": "sha512-DAlUoUV93hIvrtIQLwCbmZQYVZwOMhiHJrOVUUIWicFZaIYjTRqlY3I/NZevfkLmSqkNHRu2qYDcq9lrn16oOQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/project-service": "8.72.0",
"@typescript-eslint/tsconfig-utils": "8.72.0",
"@typescript-eslint/types": "8.72.0",
"@typescript-eslint/visitor-keys": "8.72.0",
"@typescript-eslint/project-service": "8.72.1",
"@typescript-eslint/tsconfig-utils": "8.72.1",
"@typescript-eslint/types": "8.72.1",
"@typescript-eslint/visitor-keys": "8.72.1",
"debug": "^4.4.3",
"minimatch": "^10.2.2",
"semver": "^7.7.3",
@ -2011,16 +2012,16 @@
}
},
"node_modules/@typescript-eslint/utils": {
"version": "8.72.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.72.0.tgz",
"integrity": "sha512-0up3oArJZBYnzOaEXKo8DmI43QvMZyPoFEt9LWzRJcyl/RcJjfKKPebknN1VbTgXBf3M/KggUh5uUMdURLnseg==",
"version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.72.1.tgz",
"integrity": "sha512-5v5liypurJBFHCBNqh/RjsymAD+VWcE0djuGY/BUqp5fC3Qn+luWDEksjuTtWjPn6i5zQlUtkZCRG/CYG0yCkA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.9.1",
"@typescript-eslint/scope-manager": "8.72.0",
"@typescript-eslint/types": "8.72.0",
"@typescript-eslint/typescript-estree": "8.72.0"
"@typescript-eslint/scope-manager": "8.72.1",
"@typescript-eslint/types": "8.72.1",
"@typescript-eslint/typescript-estree": "8.72.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@ -2035,13 +2036,13 @@
}
},
"node_modules/@typescript-eslint/visitor-keys": {
"version": "8.72.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.0.tgz",
"integrity": "sha512-E2mroviasaWecDzTGiGMtuEguuLVOeRggnrIn93CJuxYJzQBHbyymlT08aVQydbBal5538o+JkBKXh2sRuCyIA==",
"version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.1.tgz",
"integrity": "sha512-SB8xqipSzZHUePCCLNeYxqnxq83X61/qzNhjQGbTfjxGZIeOEP7tBgWYX05Tcd6CgE02WdTJnh5b8kMZJ/+bnQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.72.0",
"@typescript-eslint/types": "8.72.1",
"eslint-visitor-keys": "^5.0.0"
},
"engines": {
@ -2245,6 +2246,20 @@
"dequal": "^2.0.3"
}
},
"node_modules/artichokie": {
"version": "0.4.5",
"resolved": "https://registry.npmjs.org/artichokie/-/artichokie-0.4.5.tgz",
"integrity": "sha512-ma9643oYgSgA6CeDvKIU0zxL1eKOkbgH8/v83xFpFYB2VOPFoEmmg1iC+ooHFjLIJ3qdtfwPbEKpIW3/YxPovg==",
"dev": true,
"license": "MIT",
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/sapphi-red"
}
},
"node_modules/assertion-error": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
@ -2318,16 +2333,16 @@
}
},
"node_modules/brace-expansion": {
"version": "5.0.6",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz",
"integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==",
"version": "5.0.12",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz",
"integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^4.0.2"
},
"engines": {
"node": "18 || 20 || >=22"
"node": "20 || >=22"
}
},
"node_modules/browserslist": {
@ -2599,9 +2614,9 @@
}
},
"node_modules/eslint": {
"version": "10.13.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-10.13.0.tgz",
"integrity": "sha512-UohDjD4zSzEwhf58M3O7vc/ycc8O1I7dNlhtD0WxE8Px8EHNJKtUwzBqrzeGhisRuv2ag4sAYswszCJRgKXYUg==",
"version": "10.14.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-10.14.0.tgz",
"integrity": "sha512-T0pNsxkb9IKmtQjhpK3d7nWOpFv+YHuMbTJnSVMoQblF0onvXfErrtp4V1jHtsQPan7dKaGVD0q1WCXnzMF31A==",
"dev": true,
"license": "MIT",
"workspaces": [
@ -2614,7 +2629,7 @@
"@eslint/config-helpers": "^0.7.0",
"@eslint/core": "^1.2.1",
"@eslint/plugin-kit": "^0.7.3",
"@humanfs/node": "^0.16.6",
"@humanfs/node": "^0.16.8",
"@humanwhocodes/module-importer": "^1.0.1",
"@humanwhocodes/retry": "^0.4.2",
"@types/estree": "^1.0.6",
@ -2635,7 +2650,7 @@
"imurmurhash": "^0.1.4",
"is-glob": "^4.0.0",
"json-stable-stringify-without-jsonify": "^1.0.1",
"minimatch": "^10.2.5",
"minimatch": "^10.2.6",
"natural-compare": "^1.4.0",
"optionator": "^0.9.3"
},
@ -3716,13 +3731,13 @@
}
},
"node_modules/minimatch": {
"version": "10.2.5",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
"integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
"version": "10.2.6",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz",
"integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",
"dev": true,
"license": "BlueOak-1.0.0",
"dependencies": {
"brace-expansion": "^5.0.5"
"brace-expansion": "^5.0.8"
},
"engines": {
"node": "18 || 20 || >=22"
@ -4298,16 +4313,16 @@
}
},
"node_modules/typescript-eslint": {
"version": "8.72.0",
"resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.72.0.tgz",
"integrity": "sha512-r26Fkc8As+mZvqp7SLsMmNFyYUup/6CjK7/eHBHmhOw6GH6n6YFxHVFrG0jN1c5CMpDzelLPxvgeCOzx7BjN+A==",
"version": "8.72.1",
"resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.72.1.tgz",
"integrity": "sha512-3Li9FfPmQp45nxEtFD1ZCrYFI3cYK5kpyNtmm1H7lMagm8u9sy6PTjy3ytwQZs7KNukOyKFHAZ6z6GjYFeaeXw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/eslint-plugin": "8.72.0",
"@typescript-eslint/parser": "8.72.0",
"@typescript-eslint/typescript-estree": "8.72.0",
"@typescript-eslint/utils": "8.72.0"
"@typescript-eslint/eslint-plugin": "8.72.1",
"@typescript-eslint/parser": "8.72.1",
"@typescript-eslint/typescript-estree": "8.72.1",
"@typescript-eslint/utils": "8.72.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"

View File

@ -14,32 +14,32 @@
"coverage": "vitest run --coverage"
},
"dependencies": {
"@tanstack/react-query": "5.104.5",
"@tanstack/react-query": "5.105.0",
"@tanstack/react-router": "1.170.46",
"react": "19.3.1",
"react-dom": "19.3.1"
},
"devDependencies": {
"@babel/core": "8.0.7",
"@babel/core": "8.0.10",
"@eslint/js": "10.0.1",
"@rolldown/plugin-babel": "0.2.4",
"@rolldown/plugin-babel": "0.3.0",
"@testing-library/dom": "10.4.2",
"@testing-library/jest-dom": "7.0.1",
"@testing-library/react": "16.3.3",
"@testing-library/user-event": "14.6.8",
"@types/node": "26.6.5",
"@types/node": "26.6.6",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"@vitejs/plugin-react": "6.1.2",
"@vitest/coverage-v8": "5.0.5",
"babel-plugin-react-compiler": "1.0.0",
"eslint": "10.13.0",
"eslint": "10.14.0",
"eslint-plugin-react-hooks": "7.1.1",
"eslint-plugin-react-refresh": "0.5.7",
"globals": "17.13.0",
"jsdom": "30.1.3",
"typescript": "6.0.3",
"typescript-eslint": "8.72.0",
"typescript-eslint": "8.72.1",
"vite": "8.3.5",
"vitest": "5.0.5"
}

View File

@ -9,8 +9,8 @@ importers:
.:
dependencies:
'@tanstack/react-query':
specifier: 5.104.5
version: 5.104.5(@types/react@19.3.0)(react@19.3.1)
specifier: 5.105.0
version: 5.105.0(@types/react@19.3.0)(react@19.3.1)
'@tanstack/react-router':
specifier: 1.170.46
version: 1.170.46(react-dom@19.3.1(react@19.3.1))(react@19.3.1)
@ -22,14 +22,14 @@ importers:
version: 19.3.1(react@19.3.1)
devDependencies:
'@babel/core':
specifier: 8.0.7
version: 8.0.7
specifier: 8.0.10
version: 8.0.10
'@eslint/js':
specifier: 10.0.1
version: 10.0.1(eslint@10.13.0(supports-color@7.2.0))
version: 10.0.1(eslint@10.14.0(supports-color@7.2.0))
'@rolldown/plugin-babel':
specifier: 0.2.4
version: 0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.5))
specifier: 0.3.0
version: 0.3.0(@babel/core@8.0.10)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.6))
'@testing-library/dom':
specifier: 10.4.2
version: 10.4.2
@ -43,8 +43,8 @@ importers:
specifier: 14.6.8
version: 14.6.8(@testing-library/dom@10.4.2)
'@types/node':
specifier: 26.6.5
version: 26.6.5
specifier: 26.6.6
version: 26.6.6
'@types/react':
specifier: 19.3.0
version: 19.3.0
@ -53,7 +53,7 @@ importers:
version: 19.3.0(@types/react@19.3.0)
'@vitejs/plugin-react':
specifier: 6.1.2
version: 6.1.2(@rolldown/plugin-babel@0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.5)))(babel-plugin-react-compiler@1.0.0)(vite@8.3.5(@types/node@26.6.5))
version: 6.1.2(@rolldown/plugin-babel@0.3.0(@babel/core@8.0.10)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.6)))(babel-plugin-react-compiler@1.0.0)(vite@8.3.5(@types/node@26.6.6))
'@vitest/coverage-v8':
specifier: 5.0.5
version: 5.0.5(vitest@5.0.5)
@ -61,14 +61,14 @@ importers:
specifier: 1.0.0
version: 1.0.0
eslint:
specifier: 10.13.0
version: 10.13.0(supports-color@7.2.0)
specifier: 10.14.0
version: 10.14.0(supports-color@7.2.0)
eslint-plugin-react-hooks:
specifier: 7.1.1
version: 7.1.1(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)
version: 7.1.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)
eslint-plugin-react-refresh:
specifier: 0.5.7
version: 0.5.7(eslint@10.13.0(supports-color@7.2.0))
version: 0.5.7(eslint@10.14.0(supports-color@7.2.0))
globals:
specifier: 17.13.0
version: 17.13.0
@ -79,14 +79,14 @@ importers:
specifier: 6.0.3
version: 6.0.3
typescript-eslint:
specifier: 8.72.0
version: 8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
specifier: 8.72.1
version: 8.72.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
vite:
specifier: 8.3.5
version: 8.3.5(@types/node@26.6.5)
version: 8.3.5(@types/node@26.6.6)
vitest:
specifier: 5.0.5
version: 5.0.5(@types/node@26.6.5)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.5))
version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6))
packages:
@ -121,16 +121,16 @@ packages:
resolution: {integrity: sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==}
engines: {node: '>=6.9.0'}
'@babel/core@8.0.7':
resolution: {integrity: sha512-ZIsZWBG6Y1oa+8fkQVp0xeCdjCHBkXFCCIWrmg9SvejVvfcVQgKKRmGrBDWfM7rilhvnRoEuaqa5dkK7KB3pHA==}
'@babel/core@8.0.10':
resolution: {integrity: sha512-T6dEcoMJ3L1hyLuNfRXcVlqQrN79kU/SB5bDygVgQNIOUgStdyEGzigtRA9K+9Coh7SZUSt543oWRBxvqYdyuQ==}
engines: {node: ^22.18.0 || >=24.11.0}
'@babel/generator@7.29.8':
resolution: {integrity: sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==}
engines: {node: '>=6.9.0'}
'@babel/generator@8.0.6':
resolution: {integrity: sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng==}
'@babel/generator@8.0.10':
resolution: {integrity: sha512-iC9p3U4Y3vp0qKjRcfFeNzpj+kkK8BVYZTbQepBWVD7vOBLH6ji0drNzKPTPtumFd2w2r/hbEKYjG4pscKa4bg==}
engines: {node: ^22.18.0 || >=24.11.0}
'@babel/helper-compilation-targets@7.29.7':
@ -163,8 +163,8 @@ packages:
resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==}
engines: {node: '>=6.9.0'}
'@babel/helper-string-parser@8.0.6':
resolution: {integrity: sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==}
'@babel/helper-string-parser@8.0.8':
resolution: {integrity: sha512-fVM+gSuKbdv9cpmyRNh5EvsDHUZCdxQH3FdnFKSkNYHpbsn95bbrxm+ES3MVeQjcqwi2O5ur/DjLfmTQaO60ng==}
engines: {node: ^22.18.0 || >=24.11.0}
'@babel/helper-validator-identifier@7.29.7':
@ -187,16 +187,16 @@ packages:
resolution: {integrity: sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==}
engines: {node: '>=6.9.0'}
'@babel/helpers@8.0.7':
resolution: {integrity: sha512-5dMj5kFwS2AY7Dt4PZp4px3c5ThMbbEa7tZfuHTncCGSFYq8uoA1ufDE1IS/lYpQedE+3+GQ3cPZUiplIu195w==}
'@babel/helpers@8.0.10':
resolution: {integrity: sha512-tBG9yuaR26JJWFafcl/Dk4eib6bkRJ9H5e6lENcwZqFudA9ImNCuMXLjB3/t+Ub7/DOZv2Rmi5LCOi8q2DCekQ==}
engines: {node: ^22.18.0 || >=24.11.0}
'@babel/parser@7.29.8':
resolution: {integrity: sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==}
engines: {node: '>=6.0.0'}
'@babel/parser@8.0.7':
resolution: {integrity: sha512-UkDwEbPO1px2JQSrdh4qIgaH1JgG7GO/pFeJkpxhDxIETkT/QvGpnigXIw75ViHYPtIgKITmVUJqLjiO+JuWjA==}
'@babel/parser@8.0.10':
resolution: {integrity: sha512-h+ah2Kg0ne1Vii892dShj9gky9I5jPzkd8x4s/3xgN/P2bMWmHS3qq59tum3mCVjCBXI8uqfYyYtrfp1Mz6+1w==}
engines: {node: ^22.18.0 || >=24.11.0}
hasBin: true
@ -216,16 +216,16 @@ packages:
resolution: {integrity: sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==}
engines: {node: '>=6.9.0'}
'@babel/traverse@8.0.7':
resolution: {integrity: sha512-bVV0brinsTWgc6ptSIoQo3GbITtl0VZAqEUJbHHcyfDPEu+q/fEvlYEa+6H85HoK8IdksKBFtKJbJFZ6Kff+zg==}
'@babel/traverse@8.0.10':
resolution: {integrity: sha512-t5DaGzMi9WlhMSFT2YavI8gl8yGihoQymSQUkIq9+MUh5tO3Vx9KHwr5gMCzeBdYkvs00xNvr18PxtQTRayucA==}
engines: {node: ^22.18.0 || >=24.11.0}
'@babel/types@7.29.8':
resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==}
engines: {node: '>=6.9.0'}
'@babel/types@8.0.6':
resolution: {integrity: sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==}
'@babel/types@8.0.10':
resolution: {integrity: sha512-KV8Y+teoRsmXeEPS4sCJY1kwV+hcPzHP1qQqgCxrjKOehLdBaxpsFBfoJ8MXWFV80y6Jw56+TM95wR0Per8dYw==}
engines: {node: ^22.18.0 || >=24.11.0}
'@bcoe/v8-coverage@1.0.2':
@ -473,8 +473,8 @@ packages:
cpu: [x64]
os: [win32]
'@rolldown/plugin-babel@0.2.4':
resolution: {integrity: sha512-ygmm2j/mN+aCvstHo0x3IOu4uc6LqXT9SJ3q4kpfG/+Yhfz0B+E47FITcC0FljZADwUFARP6E2kiE+Lc26D8wg==}
'@rolldown/plugin-babel@0.3.0':
resolution: {integrity: sha512-cB9Z6aqn7i8Zflv1D4tyIy/wvnWt+QVUPX2e3Jxq/4fvdX+Xk2gQyNN2sfYscfLIZN1LCQbCl4olpf9Ki+U1zw==}
engines: {node: '>=22.12.0 || ^24.0.0'}
peerDependencies:
'@babel/core': ^7.29.0 || ^8.0.0-rc.1
@ -497,11 +497,11 @@ packages:
resolution: {integrity: sha512-w1+YvwmTkwt5n8yUqEH3IWZ9DsmorCZW/EQ3KYHnqEgIkOZpH54NvW6/Epq3Dzb8H0ifIeYX8PExvrNLIH5FIA==}
engines: {node: '>=20.19'}
'@tanstack/query-core@5.104.5':
resolution: {integrity: sha512-Q94gI8Opd+CbdVNOdj8ZCyV8WqLYitrDq1t96Xc8WZT6lY0r5iRnJLXYDxMex7EEf2v+mXvn4FcjaBKSxXZQ9A==}
'@tanstack/query-core@5.105.0':
resolution: {integrity: sha512-7p56vRmT/z4UJ6sctGIdl5WRUQyUv53IUpUwEKi2g97zMbO7zh8ZsCLffGAvCPBR4xD72e3VXsDyLwXHhoNTMQ==}
'@tanstack/react-query@5.104.5':
resolution: {integrity: sha512-RORgFe052U+93weaNuqg7qHq7vNVNzXN/VrXqD4bbAuQCWUqOl2lV5Ui9flWk5CVvMyL/Bh27QWhzwH0aaOx9g==}
'@tanstack/react-query@5.105.0':
resolution: {integrity: sha512-y+hMuDERvgg6ay1da0V1a6ZC0ZONt7dELxSFkqRZuwm7p1TTZs0MoXrPlBRflIpRoYjvzQVYxycnLImpFLhWrw==}
peerDependencies:
'@types/react': ^18 || ^19
react: ^18 || ^19
@ -588,8 +588,8 @@ packages:
'@types/json-schema@7.0.15':
resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
'@types/node@26.6.5':
resolution: {integrity: sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg==}
'@types/node@26.6.6':
resolution: {integrity: sha512-MzQj+8Kx3XI40OmUAE6Qoh58ZMNstNNMwn2nfd3qWsfe7nDNSqJNzes4njhz6AHwrSHOffSLwXU6yb474Q4aog==}
'@types/react-dom@19.3.0':
resolution: {integrity: sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==}
@ -599,63 +599,63 @@ packages:
'@types/react@19.3.0':
resolution: {integrity: sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==}
'@typescript-eslint/eslint-plugin@8.72.0':
resolution: {integrity: sha512-aysKgysPX9XOv/dk95UkvUDe++Q3n3dJPG9CEWT3RUccxfkPJ+Qn6nhKPDhZXU6Ofo9kgwGWwKyQCnZIXTgngg==}
'@typescript-eslint/eslint-plugin@8.72.1':
resolution: {integrity: sha512-5CokTWXpmbylfFabsbvHC0CAw3XLaGnoa+nFJX5FR592h/LoZsENUE6p/rg5xvkKrFEXz6pYmgI29AgXc2N3BQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
'@typescript-eslint/parser': ^8.72.0
'@typescript-eslint/parser': ^8.72.1
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
typescript: '>=4.8.4 <6.1.0'
'@typescript-eslint/parser@8.72.0':
resolution: {integrity: sha512-0O+x3ynciD6zuXb1CKSu165haQV6ey53DKhHHUnujP7U+XlltJG+/keT0Xhd1HXCze+IHf7Tvt39ovyepX/LNw==}
'@typescript-eslint/parser@8.72.1':
resolution: {integrity: sha512-ZGwZP4OCfyA0AQTpEAMWz+rtX01DRhQWW5hB0ucKDEIX5U7jdmPSaMx94rQfaPAQzIYz2BimOgKOJtjfpRFQ9g==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
typescript: '>=4.8.4 <6.1.0'
'@typescript-eslint/project-service@8.72.0':
resolution: {integrity: sha512-bzHngBbmIgzj6TsTjVUCntGx6FFLgE7mPjpO0PzHycOaZHXqS43XnrkFIHRS16LLr/xO6FHSXG3GJFo/F4bSBQ==}
'@typescript-eslint/project-service@8.72.1':
resolution: {integrity: sha512-fAuVMkwdO/huI8nyo/WKnNKf6Gag93S56Rh3Ts5mGcavwSdaN8tRg1gCeIGX8PF+nzp1BjGfO4gHhGzW1J6jTg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.1.0'
'@typescript-eslint/scope-manager@8.72.0':
resolution: {integrity: sha512-JewPyJOYcXBSAS7PIgufscHOwZqhTGyBRiQJhhuDln66tMchxvvt7nJ90JKKIoOelmdHA3kAQbm9cEUHc4JSEA==}
'@typescript-eslint/scope-manager@8.72.1':
resolution: {integrity: sha512-lC/t6eMCZZQAAKZEYGL6RDVSuFehpdmMT6h+nJIjIa6oylN/PwDgDVtEIbB7O9xFfZYtZAYLoLlDNWKJhtF+uQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/tsconfig-utils@8.72.0':
resolution: {integrity: sha512-0vbxCf7xLVPSjcOdm6eQbgViH8EDJ8xnl1laLT9yoqSz2YmcSfSg5Vdl0JUvZf6rcuJ0ZivJIuMD4edTg8obaA==}
'@typescript-eslint/tsconfig-utils@8.72.1':
resolution: {integrity: sha512-e4D5R5vpeAEPBxT2BAzsFQL3sbwyeeeo5+aczgNSRK1V734jE7pTqaGFU+fXapWEQwnZbpFaTn32+Z8DwS6OTg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.1.0'
'@typescript-eslint/type-utils@8.72.0':
resolution: {integrity: sha512-gEXxmmbSTSOVTC37IYYvremOM31v+UN2W772bJxmVYPhAOPSUxtacyb7wkm1EhkYKU6KzFJsdU44DCV4to0LWw==}
'@typescript-eslint/type-utils@8.72.1':
resolution: {integrity: sha512-iY2wlmyrXJmx4yxUGP3aYCFF3cA/6ShddOKmLU2dx7LnEykbAM8WThlxZEfd1NddqceF6eJmZUayxx9oKIYNlg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
typescript: '>=4.8.4 <6.1.0'
'@typescript-eslint/types@8.72.0':
resolution: {integrity: sha512-Adfoy59kxNEjT5E5fnyrp7GpHYuWs8ONbdohu4ez6IU46qDq8LltG90tLmkucZB2uhYL8mqBjtXqGd8yhfjXqQ==}
'@typescript-eslint/types@8.72.1':
resolution: {integrity: sha512-LmE5IhQet1BWOWEXqBrVtBPsMAOQ6Nzk35d+WLh3mk4EUF33sqlfxjio1MdYeSvKSG5skactKKuixBIKXhL4Rw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/typescript-estree@8.72.0':
resolution: {integrity: sha512-gwLfFgWcw15tN2KXDCJvxEOQjPn+P3j/n3eSqkZ5sX4VpW9Cosodr+tWwBZRvJT3TcKx6HnPRGZMCNAiP1Xhug==}
'@typescript-eslint/typescript-estree@8.72.1':
resolution: {integrity: sha512-DAlUoUV93hIvrtIQLwCbmZQYVZwOMhiHJrOVUUIWicFZaIYjTRqlY3I/NZevfkLmSqkNHRu2qYDcq9lrn16oOQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.1.0'
'@typescript-eslint/utils@8.72.0':
resolution: {integrity: sha512-0up3oArJZBYnzOaEXKo8DmI43QvMZyPoFEt9LWzRJcyl/RcJjfKKPebknN1VbTgXBf3M/KggUh5uUMdURLnseg==}
'@typescript-eslint/utils@8.72.1':
resolution: {integrity: sha512-5v5liypurJBFHCBNqh/RjsymAD+VWcE0djuGY/BUqp5fC3Qn+luWDEksjuTtWjPn6i5zQlUtkZCRG/CYG0yCkA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
typescript: '>=4.8.4 <6.1.0'
'@typescript-eslint/visitor-keys@8.72.0':
resolution: {integrity: sha512-E2mroviasaWecDzTGiGMtuEguuLVOeRggnrIn93CJuxYJzQBHbyymlT08aVQydbBal5538o+JkBKXh2sRuCyIA==}
'@typescript-eslint/visitor-keys@8.72.1':
resolution: {integrity: sha512-SB8xqipSzZHUePCCLNeYxqnxq83X61/qzNhjQGbTfjxGZIeOEP7tBgWYX05Tcd6CgE02WdTJnh5b8kMZJ/+bnQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@vitejs/plugin-react@6.1.2':
@ -733,6 +733,10 @@ packages:
resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==}
engines: {node: '>= 0.4'}
artichokie@0.4.5:
resolution: {integrity: sha512-ma9643oYgSgA6CeDvKIU0zxL1eKOkbgH8/v83xFpFYB2VOPFoEmmg1iC+ooHFjLIJ3qdtfwPbEKpIW3/YxPovg==}
engines: {node: ^18.0.0 || >=20.0.0}
assertion-error@2.0.1:
resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}
engines: {node: '>=12'}
@ -872,8 +876,8 @@ packages:
resolution: {integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==}
engines: {node: ^20.19.0 || ^22.13.0 || >=24}
eslint@10.13.0:
resolution: {integrity: sha512-UohDjD4zSzEwhf58M3O7vc/ycc8O1I7dNlhtD0WxE8Px8EHNJKtUwzBqrzeGhisRuv2ag4sAYswszCJRgKXYUg==}
eslint@10.14.0:
resolution: {integrity: sha512-T0pNsxkb9IKmtQjhpK3d7nWOpFv+YHuMbTJnSVMoQblF0onvXfErrtp4V1jHtsQPan7dKaGVD0q1WCXnzMF31A==}
engines: {node: ^20.19.0 || ^22.13.0 || >=24}
hasBin: true
peerDependencies:
@ -1348,8 +1352,8 @@ packages:
resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
engines: {node: '>= 0.8.0'}
typescript-eslint@8.72.0:
resolution: {integrity: sha512-r26Fkc8As+mZvqp7SLsMmNFyYUup/6CjK7/eHBHmhOw6GH6n6YFxHVFrG0jN1c5CMpDzelLPxvgeCOzx7BjN+A==}
typescript-eslint@8.72.1:
resolution: {integrity: sha512-3Li9FfPmQp45nxEtFD1ZCrYFI3cYK5kpyNtmm1H7lMagm8u9sy6PTjy3ytwQZs7KNukOyKFHAZ6z6GjYFeaeXw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
@ -1575,16 +1579,16 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@babel/core@8.0.7':
'@babel/core@8.0.10':
dependencies:
'@babel/code-frame': 8.0.6
'@babel/generator': 8.0.6
'@babel/generator': 8.0.10
'@babel/helper-compilation-targets': 8.0.7
'@babel/helpers': 8.0.7
'@babel/parser': 8.0.7
'@babel/helpers': 8.0.10
'@babel/parser': 8.0.10
'@babel/template': 8.0.0
'@babel/traverse': 8.0.7
'@babel/types': 8.0.6
'@babel/traverse': 8.0.10
'@babel/types': 8.0.10
'@types/gensync': 1.0.5
convert-source-map: 2.0.0
empathic: 2.1.0
@ -1602,10 +1606,10 @@ snapshots:
'@jridgewell/trace-mapping': 0.3.31
jsesc: 3.1.0
'@babel/generator@8.0.6':
'@babel/generator@8.0.10':
dependencies:
'@babel/parser': 8.0.7
'@babel/types': 8.0.6
'@babel/parser': 8.0.10
'@babel/types': 8.0.10
'@jridgewell/gen-mapping': 0.4.0-beta.0
'@jridgewell/trace-mapping': 0.3.31
'@types/jsesc': 2.5.1
@ -1649,7 +1653,7 @@ snapshots:
'@babel/helper-string-parser@7.29.7': {}
'@babel/helper-string-parser@8.0.6': {}
'@babel/helper-string-parser@8.0.8': {}
'@babel/helper-validator-identifier@7.29.7': {}
@ -1664,18 +1668,18 @@ snapshots:
'@babel/template': 7.29.7
'@babel/types': 7.29.8
'@babel/helpers@8.0.7':
'@babel/helpers@8.0.10':
dependencies:
'@babel/template': 8.0.0
'@babel/types': 8.0.6
'@babel/types': 8.0.10
'@babel/parser@7.29.8':
dependencies:
'@babel/types': 7.29.8
'@babel/parser@8.0.7':
'@babel/parser@8.0.10':
dependencies:
'@babel/types': 8.0.6
'@babel/types': 8.0.10
'@babel/runtime@7.29.7': {}
@ -1688,8 +1692,8 @@ snapshots:
'@babel/template@8.0.0':
dependencies:
'@babel/code-frame': 8.0.6
'@babel/parser': 8.0.7
'@babel/types': 8.0.6
'@babel/parser': 8.0.10
'@babel/types': 8.0.10
'@babel/traverse@7.29.8(supports-color@7.2.0)':
dependencies:
@ -1703,14 +1707,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@babel/traverse@8.0.7':
'@babel/traverse@8.0.10':
dependencies:
'@babel/code-frame': 8.0.6
'@babel/generator': 8.0.6
'@babel/generator': 8.0.10
'@babel/helper-globals': 8.0.6
'@babel/parser': 8.0.7
'@babel/parser': 8.0.10
'@babel/template': 8.0.0
'@babel/types': 8.0.6
'@babel/types': 8.0.10
obug: 3.0.0
'@babel/types@7.29.8':
@ -1718,9 +1722,9 @@ snapshots:
'@babel/helper-string-parser': 7.29.7
'@babel/helper-validator-identifier': 7.29.7
'@babel/types@8.0.6':
'@babel/types@8.0.10':
dependencies:
'@babel/helper-string-parser': 8.0.6
'@babel/helper-string-parser': 8.0.8
'@babel/helper-validator-identifier': 8.0.6
'@bcoe/v8-coverage@1.0.2': {}
@ -1765,9 +1769,9 @@ snapshots:
'@csstools/css-tokenizer@4.0.2': {}
'@eslint-community/eslint-utils@4.10.1(eslint@10.13.0(supports-color@7.2.0))':
'@eslint-community/eslint-utils@4.10.1(eslint@10.14.0(supports-color@7.2.0))':
dependencies:
eslint: 10.13.0(supports-color@7.2.0)
eslint: 10.14.0(supports-color@7.2.0)
eslint-visitor-keys: 3.4.3
'@eslint-community/regexpp@4.12.2': {}
@ -1788,9 +1792,9 @@ snapshots:
dependencies:
'@types/json-schema': 7.0.15
'@eslint/js@10.0.1(eslint@10.13.0(supports-color@7.2.0))':
'@eslint/js@10.0.1(eslint@10.14.0(supports-color@7.2.0))':
optionalDependencies:
eslint: 10.13.0(supports-color@7.2.0)
eslint: 10.14.0(supports-color@7.2.0)
'@eslint/object-schema@3.0.5': {}
@ -1896,24 +1900,25 @@ snapshots:
'@rolldown/binding-win32-x64-msvc@1.2.15':
optional: true
'@rolldown/plugin-babel@0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.5))':
'@rolldown/plugin-babel@0.3.0(@babel/core@8.0.10)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.6))':
dependencies:
'@babel/core': 8.0.7
'@babel/core': 8.0.10
artichokie: 0.4.5
picomatch: 4.0.7
rolldown: 1.2.15
optionalDependencies:
'@babel/runtime': 7.29.7
vite: 8.3.5(@types/node@26.6.5)
vite: 8.3.5(@types/node@26.6.6)
'@rolldown/pluginutils@1.0.1': {}
'@tanstack/history@1.162.5': {}
'@tanstack/query-core@5.104.5': {}
'@tanstack/query-core@5.105.0': {}
'@tanstack/react-query@5.104.5(@types/react@19.3.0)(react@19.3.1)':
'@tanstack/react-query@5.105.0(@types/react@19.3.0)(react@19.3.1)':
dependencies:
'@tanstack/query-core': 5.104.5
'@tanstack/query-core': 5.105.0
react: 19.3.1
optionalDependencies:
'@types/react': 19.3.0
@ -1964,7 +1969,7 @@ snapshots:
picocolors: 1.1.1
redent: 3.0.0
optionalDependencies:
vitest: 5.0.5(@types/node@26.6.5)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.5))
vitest: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6))
'@testing-library/react@16.3.3(@testing-library/dom@10.4.2)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)':
dependencies:
@ -1999,7 +2004,7 @@ snapshots:
'@types/json-schema@7.0.15': {}
'@types/node@26.6.5':
'@types/node@26.6.6':
dependencies:
undici-types: 8.9.0
@ -2011,15 +2016,15 @@ snapshots:
dependencies:
csstype: 3.2.3
'@typescript-eslint/eslint-plugin@8.72.0(@typescript-eslint/parser@8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
'@typescript-eslint/eslint-plugin@8.72.1(@typescript-eslint/parser@8.72.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
dependencies:
'@eslint-community/regexpp': 4.12.2
'@typescript-eslint/parser': 8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/scope-manager': 8.72.0
'@typescript-eslint/type-utils': 8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/utils': 8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/visitor-keys': 8.72.0
eslint: 10.13.0(supports-color@7.2.0)
'@typescript-eslint/parser': 8.72.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/scope-manager': 8.72.1
'@typescript-eslint/type-utils': 8.72.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/utils': 8.72.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/visitor-keys': 8.72.1
eslint: 10.14.0(supports-color@7.2.0)
ignore: 7.0.6
natural-compare: 1.4.0
ts-api-utils: 2.5.0(typescript@6.0.3)
@ -2027,56 +2032,56 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/parser@8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
'@typescript-eslint/parser@8.72.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
dependencies:
'@typescript-eslint/scope-manager': 8.72.0
'@typescript-eslint/types': 8.72.0
'@typescript-eslint/typescript-estree': 8.72.0(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/visitor-keys': 8.72.0
'@typescript-eslint/scope-manager': 8.72.1
'@typescript-eslint/types': 8.72.1
'@typescript-eslint/typescript-estree': 8.72.1(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/visitor-keys': 8.72.1
debug: 4.4.3(supports-color@7.2.0)
eslint: 10.13.0(supports-color@7.2.0)
eslint: 10.14.0(supports-color@7.2.0)
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
'@typescript-eslint/project-service@8.72.0(supports-color@7.2.0)(typescript@6.0.3)':
'@typescript-eslint/project-service@8.72.1(supports-color@7.2.0)(typescript@6.0.3)':
dependencies:
'@typescript-eslint/tsconfig-utils': 8.72.0(typescript@6.0.3)
'@typescript-eslint/types': 8.72.0
'@typescript-eslint/tsconfig-utils': 8.72.1(typescript@6.0.3)
'@typescript-eslint/types': 8.72.1
debug: 4.4.3(supports-color@7.2.0)
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
'@typescript-eslint/scope-manager@8.72.0':
'@typescript-eslint/scope-manager@8.72.1':
dependencies:
'@typescript-eslint/types': 8.72.0
'@typescript-eslint/visitor-keys': 8.72.0
'@typescript-eslint/types': 8.72.1
'@typescript-eslint/visitor-keys': 8.72.1
'@typescript-eslint/tsconfig-utils@8.72.0(typescript@6.0.3)':
'@typescript-eslint/tsconfig-utils@8.72.1(typescript@6.0.3)':
dependencies:
typescript: 6.0.3
'@typescript-eslint/type-utils@8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
'@typescript-eslint/type-utils@8.72.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
dependencies:
'@typescript-eslint/types': 8.72.0
'@typescript-eslint/typescript-estree': 8.72.0(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/utils': 8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/types': 8.72.1
'@typescript-eslint/typescript-estree': 8.72.1(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/utils': 8.72.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
debug: 4.4.3(supports-color@7.2.0)
eslint: 10.13.0(supports-color@7.2.0)
eslint: 10.14.0(supports-color@7.2.0)
ts-api-utils: 2.5.0(typescript@6.0.3)
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
'@typescript-eslint/types@8.72.0': {}
'@typescript-eslint/types@8.72.1': {}
'@typescript-eslint/typescript-estree@8.72.0(supports-color@7.2.0)(typescript@6.0.3)':
'@typescript-eslint/typescript-estree@8.72.1(supports-color@7.2.0)(typescript@6.0.3)':
dependencies:
'@typescript-eslint/project-service': 8.72.0(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/tsconfig-utils': 8.72.0(typescript@6.0.3)
'@typescript-eslint/types': 8.72.0
'@typescript-eslint/visitor-keys': 8.72.0
'@typescript-eslint/project-service': 8.72.1(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/tsconfig-utils': 8.72.1(typescript@6.0.3)
'@typescript-eslint/types': 8.72.1
'@typescript-eslint/visitor-keys': 8.72.1
debug: 4.4.3(supports-color@7.2.0)
minimatch: 10.2.6
semver: 7.8.5
@ -2086,28 +2091,28 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/utils@8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
'@typescript-eslint/utils@8.72.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)':
dependencies:
'@eslint-community/eslint-utils': 4.10.1(eslint@10.13.0(supports-color@7.2.0))
'@typescript-eslint/scope-manager': 8.72.0
'@typescript-eslint/types': 8.72.0
'@typescript-eslint/typescript-estree': 8.72.0(supports-color@7.2.0)(typescript@6.0.3)
eslint: 10.13.0(supports-color@7.2.0)
'@eslint-community/eslint-utils': 4.10.1(eslint@10.14.0(supports-color@7.2.0))
'@typescript-eslint/scope-manager': 8.72.1
'@typescript-eslint/types': 8.72.1
'@typescript-eslint/typescript-estree': 8.72.1(supports-color@7.2.0)(typescript@6.0.3)
eslint: 10.14.0(supports-color@7.2.0)
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
'@typescript-eslint/visitor-keys@8.72.0':
'@typescript-eslint/visitor-keys@8.72.1':
dependencies:
'@typescript-eslint/types': 8.72.0
'@typescript-eslint/types': 8.72.1
eslint-visitor-keys: 5.0.1
'@vitejs/plugin-react@6.1.2(@rolldown/plugin-babel@0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.5)))(babel-plugin-react-compiler@1.0.0)(vite@8.3.5(@types/node@26.6.5))':
'@vitejs/plugin-react@6.1.2(@rolldown/plugin-babel@0.3.0(@babel/core@8.0.10)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.6)))(babel-plugin-react-compiler@1.0.0)(vite@8.3.5(@types/node@26.6.6))':
dependencies:
'@rolldown/pluginutils': 1.0.1
vite: 8.3.5(@types/node@26.6.5)
vite: 8.3.5(@types/node@26.6.6)
optionalDependencies:
'@rolldown/plugin-babel': 0.2.4(@babel/core@8.0.7)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.5))
'@rolldown/plugin-babel': 0.3.0(@babel/core@8.0.10)(@babel/runtime@7.29.7)(rolldown@1.2.15)(vite@8.3.5(@types/node@26.6.6))
babel-plugin-react-compiler: 1.0.0
'@vitest/coverage-v8@5.0.5(vitest@5.0.5)':
@ -2120,7 +2125,7 @@ snapshots:
obug: 3.0.0
std-env: 4.3.0
tinyrainbow: 3.2.0
vitest: 5.0.5(@types/node@26.6.5)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.5))
vitest: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6))
'@vitest/istanbul-lib-coverage@1.0.2': {}
@ -2128,14 +2133,14 @@ snapshots:
dependencies:
'@vitest/istanbul-lib-coverage': 1.0.2
'@vitest/mocker@5.0.5(vite@8.3.5(@types/node@26.6.5))':
'@vitest/mocker@5.0.5(vite@8.3.5(@types/node@26.6.6))':
dependencies:
'@jridgewell/trace-mapping': 0.3.31
'@vitest/spy': 5.0.5
estree-walker: 3.0.3
magic-string: 1.4.3
optionalDependencies:
vite: 8.3.5(@types/node@26.6.5)
vite: 8.3.5(@types/node@26.6.6)
'@vitest/spy@5.0.5': {}
@ -2162,6 +2167,8 @@ snapshots:
aria-query@5.3.2: {}
artichokie@0.4.5: {}
assertion-error@2.0.1: {}
ast-v8-to-istanbul@1.0.7:
@ -2262,20 +2269,20 @@ snapshots:
escape-string-regexp@4.0.0: {}
eslint-plugin-react-hooks@7.1.1(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0):
eslint-plugin-react-hooks@7.1.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0):
dependencies:
'@babel/core': 7.29.7(supports-color@7.2.0)
'@babel/parser': 7.29.8
eslint: 10.13.0(supports-color@7.2.0)
eslint: 10.14.0(supports-color@7.2.0)
hermes-parser: 0.25.1
zod: 4.4.3
zod-validation-error: 4.0.2(zod@4.4.3)
transitivePeerDependencies:
- supports-color
eslint-plugin-react-refresh@0.5.7(eslint@10.13.0(supports-color@7.2.0)):
eslint-plugin-react-refresh@0.5.7(eslint@10.14.0(supports-color@7.2.0)):
dependencies:
eslint: 10.13.0(supports-color@7.2.0)
eslint: 10.14.0(supports-color@7.2.0)
eslint-scope@9.1.2:
dependencies:
@ -2288,9 +2295,9 @@ snapshots:
eslint-visitor-keys@5.0.1: {}
eslint@10.13.0(supports-color@7.2.0):
eslint@10.14.0(supports-color@7.2.0):
dependencies:
'@eslint-community/eslint-utils': 4.10.1(eslint@10.13.0(supports-color@7.2.0))
'@eslint-community/eslint-utils': 4.10.1(eslint@10.14.0(supports-color@7.2.0))
'@eslint-community/regexpp': 4.12.2
'@eslint/config-array': 0.23.5(supports-color@7.2.0)
'@eslint/config-helpers': 0.7.0
@ -2721,13 +2728,13 @@ snapshots:
dependencies:
prelude-ls: 1.2.1
typescript-eslint@8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3):
typescript-eslint@8.72.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3):
dependencies:
'@typescript-eslint/eslint-plugin': 8.72.0(@typescript-eslint/parser@8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/parser': 8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/typescript-estree': 8.72.0(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/utils': 8.72.0(eslint@10.13.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
eslint: 10.13.0(supports-color@7.2.0)
'@typescript-eslint/eslint-plugin': 8.72.1(@typescript-eslint/parser@8.72.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/parser': 8.72.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/typescript-estree': 8.72.1(supports-color@7.2.0)(typescript@6.0.3)
'@typescript-eslint/utils': 8.72.1(eslint@10.14.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)
eslint: 10.14.0(supports-color@7.2.0)
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
@ -2754,7 +2761,7 @@ snapshots:
verkit@0.5.0: {}
vite@8.3.5(@types/node@26.6.5):
vite@8.3.5(@types/node@26.6.6):
dependencies:
lightningcss: 1.33.0
picomatch: 4.0.7
@ -2762,13 +2769,13 @@ snapshots:
rolldown: 1.2.15
tinyglobby: 0.2.17
optionalDependencies:
'@types/node': 26.6.5
'@types/node': 26.6.6
fsevents: 2.3.3
vitest@5.0.5(@types/node@26.6.5)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.5)):
vitest@5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)):
dependencies:
'@types/chai': 5.2.3
'@vitest/mocker': 5.0.5(vite@8.3.5(@types/node@26.6.5))
'@vitest/mocker': 5.0.5(vite@8.3.5(@types/node@26.6.6))
chai: 6.3.0
es-module-lexer: 2.3.2
expect-type: 1.4.0
@ -2779,10 +2786,10 @@ snapshots:
tinybench: 6.2.2
tinyexec: 1.3.1
tinyglobby: 0.2.17
vite: 8.3.5(@types/node@26.6.5)
vite: 8.3.5(@types/node@26.6.6)
why-is-node-running: 3.2.1
optionalDependencies:
'@types/node': 26.6.5
'@types/node': 26.6.6
'@vitest/coverage-v8': 5.0.5(vitest@5.0.5)
jsdom: 30.1.3
transitivePeerDependencies: