diff --git a/.github/workflows/contracts.yml b/.github/workflows/contracts.yml index 7ce03ac6..644410ca 100644 --- a/.github/workflows/contracts.yml +++ b/.github/workflows/contracts.yml @@ -31,7 +31,7 @@ jobs: node-version-file: web/.nvmrc - name: Install the Python tools and the web tools run: | - python -m pip install --quiet pip==26.2.2 + python -m pip install --quiet pip==26.3 python -m pip install --quiet -r pylock.toml npm ci --prefix web - name: Validate schemas and examples diff --git a/.github/workflows/load-baseline.yml b/.github/workflows/load-baseline.yml index 8ae202b3..231874bf 100644 --- a/.github/workflows/load-baseline.yml +++ b/.github/workflows/load-baseline.yml @@ -74,7 +74,7 @@ jobs: python-version: "3.15" - name: Install from the lock file and the workspace packages run: | - python -m pip install --quiet pip==26.2.2 + python -m pip install --quiet pip==26.3 python -m pip install --quiet -r pylock.toml for package in packages/*/; do python -m pip install --quiet --no-deps --no-build-isolation -e "$package" diff --git a/.github/workflows/property-nightly.yml b/.github/workflows/property-nightly.yml index 3d1782b0..678c3fd3 100644 --- a/.github/workflows/property-nightly.yml +++ b/.github/workflows/property-nightly.yml @@ -25,7 +25,7 @@ jobs: python-version: "3.15" - name: Install from the lock file and the workspace packages run: | - python -m pip install --quiet pip==26.2.2 + python -m pip install --quiet pip==26.3 python -m pip install --quiet -r pylock.toml for package in packages/*/; do python -m pip install --quiet --no-deps --no-build-isolation -e "$package" diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 632c0747..41f390f9 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -28,7 +28,7 @@ jobs: python-version: "3.15" - name: Install from the lock file run: | - python -m pip install --quiet pip==26.2.2 + python -m pip install --quiet pip==26.3 python -m pip install --quiet -r pylock.toml - run: ruff format --check . - run: ruff check . @@ -44,7 +44,7 @@ jobs: python-version: "3.15" - name: Install from the lock file and the workspace packages run: | - python -m pip install --quiet pip==26.2.2 + python -m pip install --quiet pip==26.3 python -m pip install --quiet -r pylock.toml for package in packages/*/; do python -m pip install --quiet --no-deps --no-build-isolation -e "$package" @@ -85,8 +85,8 @@ jobs: # ClickHouse for the Direct Query tests (P2-31, #225); a disposable server, not a secret. # The tests create their own read-only profiles, users and synthetic tables. clickhouse: - # clickhouse/clickhouse-server:26.9.25.15 - image: clickhouse/clickhouse-server@sha256:19bfacb135479a892551a8155cfbbc8211aedf2aa888cd91950b9ee7e76cc7e3 + # clickhouse/clickhouse-server:26.10.2.103 (#429: the latest stable) + image: clickhouse/clickhouse-server@sha256:b2bfa4d8399ee9973868cc5c1754cb506a6f4b86fbddc41010cc090beb55c85e env: CLICKHOUSE_USER: ci CLICKHOUSE_PASSWORD: ci-disposable-database @@ -161,7 +161,7 @@ jobs: cache-dependency-path: ${{ matrix.lock }} - name: Install from the lock file and the workspace packages run: | - python -m pip install --quiet pip==26.2.2 + python -m pip install --quiet pip==26.3 python -m pip install --quiet -r ${{ matrix.lock }} for package in packages/*/; do python -m pip install --quiet --no-deps --no-build-isolation -e "$package" @@ -194,7 +194,7 @@ jobs: key="Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==" echo "STORE_TEST_AZURE_CONNECTION_STRING=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=$key;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;" >> "$GITHUB_ENV" - run: | - python -m pytest -p tools.ci.shard -p tools.ci.timing -p tools.ci.order --junitxml=junit.xml $PYTEST_PATHS + python -m pytest -p tools.ci.shard -p tools.ci.timing -p tools.ci.order -p tools.ci.coverage_run --junitxml=junit.xml $PYTEST_PATHS # Each test's time to this log (#375): what tools/ci/durations.py reads back. python -m tools.ci.durations emit junit.xml # No critical test passes by not running (#427), checked apart from the plugin. @@ -202,25 +202,73 @@ jobs: env: # 3.15 runs in a random order, seeded by the run and printed in the header (#376). PYTEST_RANDOM_ORDER: ${{ matrix.python == '3.15' && github.run_id || '' }} + - name: Keep this part's coverage data, or that it was not measured (#429) + run: | + mkdir coverage-part + if [ "$PYTEST_COVERAGE" = 1 ]; then mv .coverage.* coverage-part/; else touch coverage-part/not-measured; fi + - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + with: + name: coverage-${{ matrix.python }}-${{ matrix.part }} + path: coverage-part + include-hidden-files: true + if-no-files-found: error + retention-days: 7 + - name: Report failures as annotations if: failure() run: python -m tools.ci.junit_annotations junit.xml + python-coverage: + # The critical sources' branch coverage against their floors, per Python (#429): every + # version must reach every floor, so the lower of the two decides. + name: python-coverage-${{ matrix.python }} + needs: python-tests-part + runs-on: ubuntu-latest + strategy: + matrix: + python: ["3.15", "3.14"] + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + with: + python-version: ${{ matrix.python }} + - name: Install the lock file's coverage + env: + LOCK: ${{ matrix.python == '3.14' && 'pylock.py314.toml' || 'pylock.toml' }} + run: | + python -m pip install --quiet pip==26.3 + python -m pip install --quiet --no-deps $(python -m tools.ci.pins "$LOCK" coverage) + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + with: + pattern: coverage-${{ matrix.python }}-* + path: coverage-data + - run: python -m tools.ci.coverage_floor coverage-data --python ${{ matrix.python }} --measured coverage-measured.toml + - if: always() + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + with: + name: coverage-measured-${{ matrix.python }} + path: coverage-measured.toml + if-no-files-found: ignore python-tests: # The required checks keep their names: one per Python version, green only when all of its # parts passed. name: python-tests-${{ matrix.python }} - needs: python-tests-part + needs: [python-tests-part, python-coverage] if: always() runs-on: ubuntu-latest strategy: matrix: python: ["3.15", "3.14"] steps: - - name: Every part passed + - name: Every part passed, and the coverage floors held env: RESULT: ${{ needs.python-tests-part.result }} - run: test "$RESULT" = success + COVERAGE: ${{ needs.python-coverage.result }} + run: | + test "$RESULT" = success + test "$COVERAGE" = success python-tests-windows: # Shared fixtures are read-only and private copies are writable on Windows too, where @@ -238,7 +286,7 @@ jobs: # wheels, with colorama, pytest's Windows-only dependency. shell: bash run: | - python -m pip install --quiet pip==26.2.2 + python -m pip install --quiet pip==26.3 pins=$(python -m tools.ci.pins pylock.toml pytest pluggy iniconfig packaging pygments duckdb) python -m pip install --quiet --only-binary=:all: --no-deps $pins colorama==0.4.6 - run: python -m pytest -p tools.ci.order tests/tools/test_fixtures.py tests/tools/test_order.py tests/tools/test_shard.py tests/tools/test_pins.py tests/tools/test_synthetic.py @@ -253,14 +301,40 @@ jobs: persist-credentials: false - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: - python-version: "3.15" - - name: Two clean installs from pylock.toml produce identical versions + python-version: | + 3.14 + 3.15 + - name: Two clean installs from each lock file produce identical packages (#429) run: | - for attempt in first second; do - python -m venv "/tmp/$attempt" - "/tmp/$attempt/bin/python" -m pip install --quiet pip==26.2.2 - "/tmp/$attempt/bin/python" -m pip install --quiet -r pylock.toml - "/tmp/$attempt/bin/python" -m pip freeze > "/tmp/$attempt.txt" + for python in 3.15 3.14; do + lock=pylock.toml + if [ "$python" = 3.14 ]; then lock=pylock.py314.toml; fi + for attempt in first second; do + "python$python" -m venv "/tmp/$python-$attempt" + "/tmp/$python-$attempt/bin/python" -m pip install --quiet pip==26.3 + "/tmp/$python-$attempt/bin/python" -m pip install --quiet -r "$lock" + "/tmp/$python-$attempt/bin/python" -m pip freeze --all > "/tmp/$python-$attempt.txt" + done + diff "/tmp/$python-first.txt" "/tmp/$python-second.txt" + echo "Python $python, $lock:" + cat "/tmp/$python-first.txt" done - diff /tmp/first.txt /tmp/second.txt - cat /tmp/first.txt + - name: A tampered hash fails the install (#429) + # pip checks each file against the lock's hash; one changed digit must refuse it. + run: | + python3.15 -m venv /tmp/tampered + /tmp/tampered/bin/python -m pip install --quiet pip==26.3 + python3.15 -m tools.ci.tamper pylock.toml /tmp/pylock.tampered.toml + if /tmp/tampered/bin/python -m pip install --quiet -r /tmp/pylock.tampered.toml 2> /tmp/tampered.err; then + echo "::error::an install with a tampered hash succeeded" + exit 1 + fi + # Refused for its hash, not for anything else (a network error proves nothing). + grep --quiet "DO NOT MATCH THE HASHES" /tmp/tampered.err + - name: No known vulnerability in the locked packages (#429) + # pip-audit exits non-zero on a finding; its report decides, against the exceptions. + run: | + /tmp/3.15-first/bin/python -m pip_audit -f json --progress-spinner off --output /tmp/pip-audit-3.15.json || true + /tmp/3.14-first/bin/python -m pip_audit -f json --progress-spinner off --output /tmp/pip-audit-3.14.json || true + python3.15 -m tools.ci.audit pip /tmp/pip-audit-3.15.json + python3.15 -m tools.ci.audit pip /tmp/pip-audit-3.14.json diff --git a/.github/workflows/query-baseline.yml b/.github/workflows/query-baseline.yml index 909ebc6c..54e6955f 100644 --- a/.github/workflows/query-baseline.yml +++ b/.github/workflows/query-baseline.yml @@ -76,7 +76,7 @@ jobs: python-version: "3.15" - name: Install from the lock file and the workspace packages run: | - python -m pip install --quiet pip==26.2.2 + python -m pip install --quiet pip==26.3 python -m pip install --quiet -r pylock.toml for package in packages/*/; do python -m pip install --quiet --no-deps --no-build-isolation -e "$package" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index abbdf6de..5f4199b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -84,7 +84,7 @@ jobs: cp -r web/build "packages/server/src/${namespace}/server/web" - name: Build every wheel run: | - python -m pip install --upgrade pip==26.2.2 + python -m pip install --upgrade pip==26.3 for package in packages/*/; do python -m pip wheel --no-deps --wheel-dir dist "$package" done diff --git a/.github/workflows/semantic-corpus.yml b/.github/workflows/semantic-corpus.yml index 6a056645..1bb2a235 100644 --- a/.github/workflows/semantic-corpus.yml +++ b/.github/workflows/semantic-corpus.yml @@ -3,7 +3,7 @@ # finding (engineering.md ยง8: required from P2-27). Since P2-30 (#399) the same job also asks # every case on an existing DuckLake with a PostgreSQL catalog, with the development switch on, # and fails unless each case ends exactly as through the library (corpus parity). Since P2-31 -# (#225) it does the same on ClickHouse, on each tested version: the latest stable (26.9, the +# (#225) it does the same on ClickHouse, on each tested version: the latest stable (26.10, the # service) and the current LTS (26.8, run from its release archive, checked by its SHA-512). name: semantic-corpus @@ -29,11 +29,11 @@ jobs: # The existing lake's PostgreSQL catalog (#399); a disposable database, not a secret. Each # case creates its own database, owner role and reader role, and drops them. services: - # ClickHouse 26.9 for the corpus parity on ClickHouse (#225); a disposable server, not a + # ClickHouse 26.10 for the corpus parity on ClickHouse (#225); a disposable server, not a # secret. Each case creates its own database, read-only profile and reader, and drops them. clickhouse: - # clickhouse/clickhouse-server:26.9.25.15, the image of python.yml's service - image: clickhouse/clickhouse-server@sha256:19bfacb135479a892551a8155cfbbc8211aedf2aa888cd91950b9ee7e76cc7e3 + # clickhouse/clickhouse-server:26.10.2.103, the image of python.yml's service + image: clickhouse/clickhouse-server@sha256:b2bfa4d8399ee9973868cc5c1754cb506a6f4b86fbddc41010cc090beb55c85e env: CLICKHOUSE_USER: ci CLICKHOUSE_PASSWORD: ci-disposable-database @@ -60,14 +60,14 @@ jobs: python-version: "3.15" - name: Install from the lock file and the workspace packages run: | - python -m pip install --quiet pip==26.2.2 + python -m pip install --quiet pip==26.3 python -m pip install --quiet -r pylock.toml for package in packages/*/; do python -m pip install --quiet --no-deps --no-build-isolation -e "$package" done - name: Start ClickHouse 26.8 LTS from its release archive (#225) # The official static build, checked against its pinned SHA-512 before it runs; on port - # 8124 beside the 26.9 service, its own data in the runner's temporary folder. + # 8124 beside the 26.10 service, its own data in the runner's temporary folder. run: | version=26.8.30.8 archive="clickhouse-common-static-$version-amd64.tgz" @@ -95,7 +95,7 @@ jobs: env: CORPUS_POSTGRES: host=localhost port=5432 dbname=postgres user=postgres CORPUS_POSTGRES_PASSWORD: ci-disposable-database - - name: Corpus parity on ClickHouse 26.9, the development switch on (#225) + - name: Corpus parity on ClickHouse 26.10, the development switch on (#225) run: python -m conformance.runners.semantic_corpus --through clickhouse --switch-on env: CORPUS_CLICKHOUSE: localhost:8123:ci diff --git a/.github/workflows/test-trends.yml b/.github/workflows/test-trends.yml index 1f4dccfe..a2eb009a 100644 --- a/.github/workflows/test-trends.yml +++ b/.github/workflows/test-trends.yml @@ -43,7 +43,7 @@ jobs: cache-dependency-path: pylock.toml - name: Install from the lock file run: | - python -m pip install --quiet pip==26.2.2 + python -m pip install --quiet pip==26.3 python -m pip install --quiet -r pylock.toml - name: Fetch the run's job logs and the previous history env: diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index 6ab6fa3b..f5edff81 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -88,10 +88,34 @@ jobs: python-version: "3.15" - name: Install the Python workspace run: | - python -m pip install --quiet pip==26.2.2 + python -m pip install --quiet pip==26.3 python -m pip install --quiet -r pylock.toml for package in packages/*/; do python -m pip install --quiet --no-deps --no-build-isolation -e "$package" done - name: Check every Python and npm dependency run: python tools/licenses/check_licenses.py + + web-supply-chain: + # The installed packages are the registry's signed ones, and none has a known high or + # critical vulnerability without its recorded exception (#429). `npm ci` already checks + # every file against the lock's integrity hash. + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + with: + node-version-file: web/.nvmrc + - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + with: + python-version: "3.15" + - run: npm ci + working-directory: web + - run: npm audit signatures + working-directory: web + - name: No known high or critical vulnerability + run: | + (cd web && npm audit --json > ../npm-audit.json) || true + python -m tools.ci.audit npm npm-audit.json diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 072e170d..4fcd9224 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ Rules for every change: [`AGENTS.md`](AGENTS.md) and [`docs/process/`](docs/proc ## Python workspace -Requirements: Python 3.15 (also tested on 3.14) and pip 26.2.2 or newer, because pip installs from `pylock.toml` only from 26.1 on. +Requirements: Python 3.15 (also tested on 3.14) and pip 26.3 or newer, because pip installs from `pylock.toml` only from 26.1 on. Every module under `packages/` is its own distribution in the `orvex` namespace (PEP 420). The root `pyproject.toml` holds only tool settings and the `dev` dependency group. @@ -13,7 +13,7 @@ Every module under `packages/` is its own distribution in the `orvex` namespace ```bash python3.15 -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate -python -m pip install pip==26.2.2 +python -m pip install pip==26.3 python -m pip install -r pylock.toml # Python 3.14: pylock.py314.toml for package in packages/*/; do python -m pip install --no-deps --no-build-isolation -e "$package"; done ``` diff --git a/contracts/store/v1/README.md b/contracts/store/v1/README.md index 362d77f3..55c2da4e 100644 --- a/contracts/store/v1/README.md +++ b/contracts/store/v1/README.md @@ -307,7 +307,7 @@ Preconditions: - **TLS.** A host other than `localhost`, `127.0.0.1` or `::1` is reached only over TLS that checks the server's certificate and name (`STORE_TLS_REQUIRED`). The operating system's authorities are used unless a CA file is named. - **Password.** It comes from the environment variable `password_env` (`STORE_SECRET_MISSING`), is sent as a header, and is redacted from every error. -- **Version.** It must be a tested version, by major and minor: `26.8` (LTS) and `26.9` (`ENGINE_VERSION_UNTESTED`). +- **Version.** It must be a tested version, by major and minor: `26.8` (LTS) and `26.10` (the latest stable; #429) (`ENGINE_VERSION_UNTESTED`). - **Read-only profile.** `readonly = 1`, so the session can neither write nor change its own settings (`SOURCE_NOT_READ_ONLY`). - **Settings that decide a result's meaning,** each with exactly this value (`ENGINE_SETTING_REQUIRED`): diff --git a/docs/process/git-workflow.md b/docs/process/git-workflow.md index 46ef8a8b..8e6d3bfc 100644 --- a/docs/process/git-workflow.md +++ b/docs/process/git-workflow.md @@ -39,6 +39,8 @@ conformance/semantic-corpus/ conformance/security/scenarios/ .github/workflows/ tools/checks/file-size-exceptions.toml the ceilings of oversized files: only the Owner may raise one (2026-11-08) +tools/ci/coverage-floor.toml the coverage floors of the critical sources: raised only by review (#429) +tools/ci/audit-exceptions.toml the accepted known vulnerabilities, each with its reason and review date (#429) ``` ## 3. Branches, commits and pull requests diff --git a/packages/contracts/pyproject.toml b/packages/contracts/pyproject.toml index 0b3283c8..e0ceddf3 100644 --- a/packages/contracts/pyproject.toml +++ b/packages/contracts/pyproject.toml @@ -10,7 +10,7 @@ readme = "README.md" license = "Apache-2.0" license-files = ["LICENSE"] requires-python = ">=3.14" -dependencies = ["pydantic==2.14.1"] +dependencies = ["pydantic==2.14.3"] [tool.setuptools.packages.find] where = ["src"] diff --git a/packages/semantic/pyproject.toml b/packages/semantic/pyproject.toml index e4c7ef24..c1aedc34 100644 --- a/packages/semantic/pyproject.toml +++ b/packages/semantic/pyproject.toml @@ -10,7 +10,7 @@ readme = "README.md" license = "Apache-2.0" license-files = ["LICENSE"] requires-python = ">=3.14" -dependencies = ["cryptography==50.0.2", "orvex-contracts==0.3.0", "jsonschema==4.26.0", "pyarrow==26.0.0", "pyyaml==6.0.3", "tzdata==2026.6"] +dependencies = ["cryptography==50.0.2", "orvex-contracts==0.3.0", "jsonschema==4.26.0", "pyarrow==26.0.1", "pyyaml==6.0.3", "tzdata==2026.6"] [tool.setuptools.packages.find] where = ["src"] diff --git a/packages/server/pyproject.toml b/packages/server/pyproject.toml index 8928f970..97154bc6 100644 --- a/packages/server/pyproject.toml +++ b/packages/server/pyproject.toml @@ -11,7 +11,7 @@ license = "Apache-2.0" license-files = ["LICENSE"] requires-python = ">=3.14" dependencies = [ - "fastapi==0.162.0", + "fastapi==0.162.3", "orvex-access==0.2.0", "orvex-contracts==0.3.0", "orvex-semantic==0.2.1", diff --git a/packages/server/tests/test_regular_file.py b/packages/server/tests/test_regular_file.py index 9562fbb3..20ccb310 100644 --- a/packages/server/tests/test_regular_file.py +++ b/packages/server/tests/test_regular_file.py @@ -4,10 +4,14 @@ from __future__ import annotations import os +import sys import threading +from collections.abc import Callable from pathlib import Path +from types import FrameType import pytest +from orvex.server import regular_file from orvex.server.regular_file import NotRegularFile, read_regular_file @@ -77,18 +81,40 @@ def test_a_swap_after_the_check_does_not_change_what_is_read( path.write_bytes(b"checked\n") other = tmp_path / "other.yaml" other.write_bytes(b"swapped\n") - real_fstat = os.fstat + real_fstat, real_stat, real_lstat = os.fstat, os.stat, os.lstat + swapped: list[bool] = [] + + def from_reader() -> bool: + # Only a call the reader makes is trapped, however it reaches `os` (`pathlib` + # included). Coverage's monitoring callbacks run inside the reader's frame and stat + # its source (#429): a call that passes through coverage is the runner's, not the + # reader's. + frame: FrameType | None = sys._getframe(1) + while frame is not None: + if frame.f_code.co_filename == regular_file.__file__: + return True + if f"{os.sep}coverage{os.sep}" in frame.f_code.co_filename: + return False + frame = frame.f_back + return False def fstat_then_swap(descriptor: int) -> os.stat_result: found = real_fstat(descriptor) - path.unlink() - path.symlink_to(other) + if from_reader() and not swapped: + swapped.append(True) + path.unlink() + path.symlink_to(other) return found - def no_path_stat(*_: object, **__: object) -> os.stat_result: - raise AssertionError("a path was examined instead of the descriptor") + def trap(real: Callable[..., os.stat_result]) -> Callable[..., os.stat_result]: + def no_path_stat(*arguments: object, **keywords: object) -> os.stat_result: + if from_reader(): + raise AssertionError("a path was examined instead of the descriptor") + return real(*arguments, **keywords) + + return no_path_stat monkeypatch.setattr(os, "fstat", fstat_then_swap) - monkeypatch.setattr(os, "stat", no_path_stat) - monkeypatch.setattr(os, "lstat", no_path_stat) + monkeypatch.setattr(os, "stat", trap(real_stat)) + monkeypatch.setattr(os, "lstat", trap(real_lstat)) assert read_regular_file(path) == b"checked\n" diff --git a/packages/store/pyproject.toml b/packages/store/pyproject.toml index 57077027..1d447d46 100644 --- a/packages/store/pyproject.toml +++ b/packages/store/pyproject.toml @@ -10,7 +10,7 @@ readme = "README.md" license = "Apache-2.0" license-files = ["LICENSE"] requires-python = ">=3.14" -dependencies = ["duckdb==2.0.0", "orvex-contracts==0.3.0", "pyarrow==26.0.0"] +dependencies = ["duckdb==2.0.0", "orvex-contracts==0.3.0", "pyarrow==26.0.1"] [tool.setuptools.packages.find] where = ["src"] diff --git a/packages/store/src/orvex/store/clickhouse.py b/packages/store/src/orvex/store/clickhouse.py index f8cf4486..1c216534 100644 --- a/packages/store/src/orvex/store/clickhouse.py +++ b/packages/store/src/orvex/store/clickhouse.py @@ -43,7 +43,7 @@ from orvex.store.nested_types import refuse_nested_uhugeint # Server versions tested (major.minor): the current LTS and the latest stable (ADR-0022). -TESTED_VERSIONS = ("26.8", "26.9") +TESTED_VERSIONS = ("26.8", "26.10") # Settings that decide what a statement means; each must have exactly this value. `readonly` is # checked first, with its own code. The adapter relies on every one of them. diff --git a/packages/transform/pyproject.toml b/packages/transform/pyproject.toml index 56e8cfc5..9b62ff19 100644 --- a/packages/transform/pyproject.toml +++ b/packages/transform/pyproject.toml @@ -13,7 +13,7 @@ requires-python = ">=3.14" dependencies = [ "duckdb==2.0.0", "orvex-contracts==0.3.0", - "pydantic==2.14.1", + "pydantic==2.14.3", "pyyaml==6.0.3", "tzdata==2026.6", ] diff --git a/pylock.py314.toml b/pylock.py314.toml index 3514d676..ea58efd4 100644 --- a/pylock.py314.toml +++ b/pylock.py314.toml @@ -25,14 +25,14 @@ sha256 = "f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0" [[packages]] name = "anyio" -version = "4.15.1" +version = "4.16.0" [[packages.wheels]] -name = "anyio-4.15.1-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/12/b8/4bd346e22b28902df4d651910f5242c28d84e4a5c2435ca5c3f797ed7e2e/anyio-4.15.1-py3-none-any.whl" +name = "anyio-4.16.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/a9/16/7757fb84c819accc7d7e9af5291b261e4abb8627ee040f99e7d35ef2457a/anyio-4.16.0-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "6152fdbbf9a77fdec97731721bebf7c4c44f7c29b424b0065826173efc7ed101" +sha256 = "c66ae634e0b8228396b801741beb3294326d4b6102f7bba4041c0dfb58c29026" [[packages]] name = "argcomplete" @@ -89,27 +89,49 @@ url = "https://files.pythonhosted.org/packages/10/cb/f2ad4230dc2eb1a74edf38f1a38 [packages.wheels.hashes] sha256 = "ba0efaa9080b619ff2f3459d1d500c57bddea4a6b424b60a91141db6fd2f08bc" +[[packages]] +name = "boolean-py" +version = "5.0" + +[[packages.wheels]] +name = "boolean_py-5.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/e5/ca/78d423b324b8d77900030fa59c4aa9054261ef0925631cd2501dd015b7b7/boolean_py-5.0-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "ef28a70bd43115208441b53a045d1549e2f0ec6e3d08a9d142cbc41c1938e8d9" + [[packages]] name = "boto3" -version = "1.43.122" +version = "1.43.127" [[packages.wheels]] -name = "boto3-1.43.122-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/ee/fd/fef3d36be7875f413d8ef3a17c1743b64f9686693d1aed8d5126e7fa1dcd/boto3-1.43.122-py3-none-any.whl" +name = "boto3-1.43.127-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/40/48/f562f1240da499614a19bdf5d54dbdbfea5cffabbdd2703c3a413e0c13a1/boto3-1.43.127-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "cca51b3650080594a1df344b8a2e76007eab6d5fa50504a0b622dfdc14cdeaa1" +sha256 = "47f87f89b10e62f5191bd98674beb0dd52ed368c19fcdfef2ef38ead31126f49" [[packages]] name = "botocore" -version = "1.43.122" +version = "1.43.127" + +[[packages.wheels]] +name = "botocore-1.43.127-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/4b/db/bee0401fd3f8cf1e2404044a4e3156dc7e064c2b1fc7162df2d795941cd8/botocore-1.43.127-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "aa0e3188679a2164a2098a14ea9b59520520cb573aaee9999d852480691e134a" + +[[packages]] +name = "cachecontrol" +version = "0.14.4" [[packages.wheels]] -name = "botocore-1.43.122-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/8b/ee/bde83952daa267697a73c0c0dada587127e5022056c802bf07e0a9ad8b95/botocore-1.43.122-py3-none-any.whl" +name = "cachecontrol-0.14.4-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/ef/79/c45f2d53efe6ada1110cf6f9fca095e4ff47a0454444aefdde6ac4789179/cachecontrol-0.14.4-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "668e608edf8847fc4c3c6b38688e183c3bcf19b8a1f7f58d33c03a6f3039bd49" +sha256 = "b7ac014ff72ee199b5f8af1de29d60239954f223e948196fa3d84adaffc71d2b" [[packages]] name = "certifi" @@ -146,14 +168,25 @@ sha256 = "34276fd796040bf0993ab33a369aa572e6979c7aab225a88893667ad8eac8f7a" [[packages]] name = "click" -version = "8.5.0" +version = "8.5.1" + +[[packages.wheels]] +name = "click-8.5.1-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/31/7d/164b7ffc8624fe9efb4221bf9af485d5c1e41b9ae118045d2b6dc5457d8b/click-8.5.1-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "8bb5376d2006950386f8c6427613334a2acadc5f559cb80e638d00b4df957e37" + +[[packages]] +name = "coverage" +version = "7.17.2" [[packages.wheels]] -name = "click-8.5.0-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/58/50/6c0d534c5f134586a8e1ba4e330569e32f057e33372ae556463212fb4cd3/click-8.5.0-py3-none-any.whl" +name = "coverage-7.17.2-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl" +url = "https://files.pythonhosted.org/packages/2e/e4/a3e6b8bcc219b00ea91e36f071c2659b253e5d6e1b258c31eb4524231718/coverage-7.17.2-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl" [packages.wheels.hashes] -sha256 = "255bc9599cf7748b4b1a446ccc735421bd08a2ae529a8b88597d3de5664ee360" +sha256 = "34e5c7a2da36804c6e6f10b368eae01ad56f5a4ac5ecce7297300a3d46fdef2a" [[packages]] name = "cryptography" @@ -166,16 +199,38 @@ url = "https://files.pythonhosted.org/packages/d3/69/2c833a049475e0a3444e94c7d0a [packages.wheels.hashes] sha256 = "9dab55f57c74c3cad24c323bacbbd04be4705ba6eb0d92e920b1fc4837ed5079" +[[packages]] +name = "cyclonedx-python-lib" +version = "11.12.0" + +[[packages.wheels]] +name = "cyclonedx_python_lib-11.12.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/cf/f0/b2cb999244f2f4194df63ecff6939228178fa63a33be809c412684ca8db7/cyclonedx_python_lib-11.12.0-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "0e807521a921a5c3cb8ce1153f8a61d29eedfe76a46aac2796b7c6b573391a54" + [[packages]] name = "datamodel-code-generator" -version = "0.87.0" +version = "0.92.0" + +[[packages.wheels]] +name = "datamodel_code_generator-0.92.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/52/f4/9cf836c11a9c33d110c9a4b388631ce7980d9e054a757d2a2d1bebd84449/datamodel_code_generator-0.92.0-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "763875be7a125aa0abe6a55a2614bbfaded798dca68aabb904a590a41199abd3" + +[[packages]] +name = "defusedxml" +version = "0.7.1" [[packages.wheels]] -name = "datamodel_code_generator-0.87.0-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/87/97/13e9f23c875318189a1a7551925194ee9dc22499c2dbf93d56a646d26ca6/datamodel_code_generator-0.87.0-py3-none-any.whl" +name = "defusedxml-0.7.1-py2.py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl" [packages.wheels.hashes] -sha256 = "657f162c1a72881b14dc699e80a9c877975d825dfcb1e8823c75b65e869e1305" +sha256 = "a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61" [[packages]] name = "duckdb" @@ -190,14 +245,25 @@ sha256 = "ab51ec57d329d6f3df37c0287b55d71c3fc07bb54b61d1afed09104f953b1431" [[packages]] name = "fastapi" -version = "0.162.0" +version = "0.162.3" [[packages.wheels]] -name = "fastapi-0.162.0-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/b4/4f/3f2c25c9b43970b5e9a08beb5e04776247edea684ddc0930f4f02f0bb6cb/fastapi-0.162.0-py3-none-any.whl" +name = "fastapi-0.162.3-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/28/91/1ae3bee36a81a8e13303e205551e1131976d2b7110e284110e5e62880423/fastapi-0.162.3-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "3785963de305dd09912426cb81f2d230fce98ab3521cdfe97265c8d14983128c" +sha256 = "2db4a90df7bce3814a0b1003e8cf3f4f0b3d2937cffb04f623672b14a45ef750" + +[[packages]] +name = "filelock" +version = "4.2.10" + +[[packages.wheels]] +name = "filelock-4.2.10-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/ef/90/5d0096a325aa0f83ba7a3968bfb485b67e32c947bdf9cd0fcb4b485be718/filelock-4.2.10-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "9479aaeb4db20b5a53e3da28493edd24720b66b8a0b84030aa56ccdf243d6857" [[packages]] name = "flask" @@ -267,14 +333,14 @@ sha256 = "fd2c5d7909e8d86fe92d53020c310ca0e4e431b838c207c5754b9bbf0308d49a" [[packages]] name = "hypothesis" -version = "6.170.14" +version = "6.170.15" [[packages.wheels]] -name = "hypothesis-6.170.14-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl" -url = "https://files.pythonhosted.org/packages/f8/41/573468979e9579eb6df937e6a96c1a944dfe2765c73624156571e3cc4b34/hypothesis-6.170.14-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl" +name = "hypothesis-6.170.15-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl" +url = "https://files.pythonhosted.org/packages/7a/69/32a05f0ae41f699f30ff872be74fe46ee1d45ead7abfb114afe3a4b4a3ee/hypothesis-6.170.15-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl" [packages.wheels.hashes] -sha256 = "96f9f8a684c88ad2280129b28bc609adb6b31cd63b1b83b397b86d552391e947" +sha256 = "f91f27a89e8d55c7f043cb1e10705096236d4f7bcb35f3ac4f821e0c9b9bcd05" [[packages]] name = "idna" @@ -419,6 +485,28 @@ url = "https://files.pythonhosted.org/packages/50/07/79007d2165f649ea93e08c0962d [packages.wheels.hashes] sha256 = "ca8052401c55d7511dda6760719fda7618067e83535d7d0010096d216c34b667" +[[packages]] +name = "license-expression" +version = "30.4.4" + +[[packages.wheels]] +name = "license_expression-30.4.4-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/af/40/791891d4c0c4dab4c5e187c17261cedc26285fd41541577f900470a45a4d/license_expression-30.4.4-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "421788fdcadb41f049d2dc934ce666626265aeccefddd25e162a26f23bcbf8a4" + +[[packages]] +name = "markdown-it-py" +version = "4.2.0" + +[[packages.wheels]] +name = "markdown_it_py-4.2.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/b3/81/4da04ced5a082363ecfa159c010d200ecbd959ae410c10c0264a38cac0f5/markdown_it_py-4.2.0-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a" + [[packages]] name = "markupsafe" version = "3.0.4" @@ -430,6 +518,17 @@ url = "https://files.pythonhosted.org/packages/8f/db/d7282caf7ab03af44d5d6fdbaa0 [packages.wheels.hashes] sha256 = "a8e9f292fcda89b324f2f5c91d13f1424a153e40fc2756f38ee23b15835ff300" +[[packages]] +name = "mdurl" +version = "0.1.2" + +[[packages.wheels]] +name = "mdurl-0.1.2-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8" + [[packages]] name = "more-itertools" version = "11.2.1" @@ -452,6 +551,17 @@ url = "https://files.pythonhosted.org/packages/38/b8/15e2ce7b6bb125558c81f63c420 [packages.wheels.hashes] sha256 = "eef62cdcf3bfe73e0863743511ba042dfaba04ba3d5ecdcb896a196c693ad528" +[[packages]] +name = "msgpack" +version = "1.2.4" + +[[packages.wheels]] +name = "msgpack-1.2.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl" +url = "https://files.pythonhosted.org/packages/39/8f/bf975b5d2111e4954a0f8567fc6b60bab22c8766dd4fa509af1334c91a4f/msgpack-1.2.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl" + +[packages.wheels.hashes] +sha256 = "5d65b791ce4283e02b6267742ad540899155e1b32887b9cbdda47f38f5a076b5" + [[packages]] name = "mypy" version = "2.4.1" @@ -465,14 +575,14 @@ sha256 = "beb254fec368c4e7f7f82a5f310c6470b893ec88a90b66426da971c6826b0453" [[packages]] name = "mypy-extensions" -version = "1.1.0" +version = "1.2.0" [[packages.wheels]] -name = "mypy_extensions-1.1.0-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/79/7b/2c79738432f5c924bef5071f933bcc9efd0473bac3b4aa584a6f7c1c8df8/mypy_extensions-1.1.0-py3-none-any.whl" +name = "mypy_extensions-1.2.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/b5/99/7b1adac7e97ce7bbda34792dc6e9b2f5cc5cffd1875883f78a818b2a2687/mypy_extensions-1.2.0-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505" +sha256 = "993e7a20aa5671eb41a7132cf555af30062da99729601601b9a8382b11cae768" [[packages]] name = "openapi-schema-validator" @@ -507,6 +617,17 @@ url = "https://files.pythonhosted.org/packages/a9/2d/610db864d7513158cebb8f36cc8 [packages.wheels.hashes] sha256 = "2cbd737377e710ee740d261c94e93fa0f08e6d037c18f17513cc0a2d94479a34" +[[packages]] +name = "packageurl-python" +version = "0.17.6" + +[[packages.wheels]] +name = "packageurl_python-0.17.6-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/b1/2f/c7277b7615a93f51b5fbc1eacfc1b75e8103370e786fd8ce2abf6e5c04ab/packageurl_python-0.17.6-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "31a85c2717bc41dd818f3c62908685ff9eebcb68588213745b14a6ee9e7df7c9" + [[packages]] name = "packaging" version = "26.3" @@ -540,16 +661,60 @@ url = "https://files.pythonhosted.org/packages/f1/d9/7fb5aa316bc299258e68c73ba3b [packages.wheels.hashes] sha256 = "a00ce642f577bf7f473932318056212bc4f8bfdf53128c78bbd5af0b9b20b189" +[[packages]] +name = "pip" +version = "26.3" + +[[packages.wheels]] +name = "pip-26.3-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/07/25/ee8c38ae72d66b844ce8eb9711ba905dba21ca1a8a0c960057c41cd23337/pip-26.3-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "f3b60b20ffaadd4415ed7957212a38ac63fa4c5fa375bd0f4a797777940fad13" + +[[packages]] +name = "pip-api" +version = "0.0.35" + +[[packages.wheels]] +name = "pip_api-0.0.35-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/1d/2e/d424c5b5877be862dd9a2c8b7e9ddb13382bb25e132e6dd50cc09c0a7dde/pip_api-0.0.35-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "66990d0da25378555cbb538db79384bab92d4617c6350dfd7a2126ba2a3a9894" + +[[packages]] +name = "pip-audit" +version = "2.10.1" + +[[packages.wheels]] +name = "pip_audit-2.10.1-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/a3/a7/b0c504148114047bd1bc9d97447453c6850ca176bb2f3c0038835994e8b7/pip_audit-2.10.1-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "99ef3f600a317c1945f1e89e227ef26e1c2d618429b8bd3fa6f4f7c440c4611a" + +[[packages]] +name = "pip-requirements-parser" +version = "32.0.1" + +[[packages.wheels]] +name = "pip_requirements_parser-32.0.1-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/54/d0/d04f1d1e064ac901439699ee097f58688caadea42498ec9c4b4ad2ef84ab/pip_requirements_parser-32.0.1-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "4659bc2a667783e7a15d190f6fccf8b2486685b6dba4c19c3876314769c57526" + [[packages]] name = "platformdirs" -version = "4.14.0" +version = "4.14.5" [[packages.wheels]] -name = "platformdirs-4.14.0-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/69/2b/887969ef4bb53e0cb271dc7c3f4a73d50c5d58bb88aeaae311e3340cd57e/platformdirs-4.14.0-py3-none-any.whl" +name = "platformdirs-4.14.5-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/7c/ae/ecbbbfd0e4343a6a521d49b3c8656fb4643dee2a4f6eaf941cf3280391a8/platformdirs-4.14.5-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "1dadfc59a8a5d7565b3d9270ae8fa71c065595352c4277b41c11ee6c222c4b91" +sha256 = "8e778c6fa421516f4d3369449f8df3b0e1b72c0e0005fe88e3ec772d0a14e750" [[packages]] name = "pluggy" @@ -562,16 +727,27 @@ url = "https://files.pythonhosted.org/packages/40/9e/2b38731e0fc536806f16490e1a1 [packages.wheels.hashes] sha256 = "7dd7b0d8832ba3cb632c306926ded123429211b83641b35dc5c41ad2d34f9bec" +[[packages]] +name = "py-serializable" +version = "2.2.0" + +[[packages.wheels]] +name = "py_serializable-2.2.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/7e/56/94f6a9ac81193713e6be0d41c62d6b916b53c814c05d8b3a0d90976db0d6/py_serializable-2.2.0-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "2cce775abc5aac12115f9ff572a145c7276d04a770090334bd4e51ed9c782415" + [[packages]] name = "pyarrow" -version = "26.0.0" +version = "26.0.1" [[packages.wheels]] -name = "pyarrow-26.0.0-cp314-cp314-manylinux_2_28_x86_64.whl" -url = "https://files.pythonhosted.org/packages/ec/c1/0c1ff38ab7df1b2cf54cf0ad9f19a516c4e416c6c9b4c966cc2c9d587f77/pyarrow-26.0.0-cp314-cp314-manylinux_2_28_x86_64.whl" +name = "pyarrow-26.0.1-cp314-cp314-manylinux_2_28_x86_64.whl" +url = "https://files.pythonhosted.org/packages/f3/57/755a1b54d37c2a9e2c283d8bc648a50aa4ce57f977ce6a4b1d65eba29f51/pyarrow-26.0.1-cp314-cp314-manylinux_2_28_x86_64.whl" [packages.wheels.hashes] -sha256 = "ab6914db225d7f399652ae1f08588dfbc9efe617612715701e3d9d5cfa5ca19f" +sha256 = "7ae48ab53610b85e004b03bccff593fbdf22186d0ab48ed42c90797915dac814" [[packages]] name = "pycparser" @@ -586,25 +762,25 @@ sha256 = "a076f3f489b39b43ed13563a1dafe42447445bec2e294154ec5c57fcdda4c85e" [[packages]] name = "pydantic" -version = "2.14.1" +version = "2.14.3" [[packages.wheels]] -name = "pydantic-2.14.1-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/35/ea/a56b9fe5066f3537b7882f77e9c5dfb26d8c2eefdaed9b5fc73d57b4dc22/pydantic-2.14.1-py3-none-any.whl" +name = "pydantic-2.14.3-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/72/b8/b864503789ef5c58597d2a7b4adbee62c26440ab1e682581fc6838df8947/pydantic-2.14.3-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "9195d967ec791692a04438115466764fb8b9a27b31f14a760437694f40d6b454" +sha256 = "3f7b347782ab7e4cf4c798496ae3a82787d9f21ec12676a9c564355eeef8daa8" [[packages]] name = "pydantic-core" -version = "2.50.1" +version = "2.50.4" [[packages.wheels]] -name = "pydantic_core-2.50.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" -url = "https://files.pythonhosted.org/packages/45/35/38f6d6564fae57d9b12e5676dfa947e0e7d5c46dbeaa7eb3352261d6d299/pydantic_core-2.50.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +name = "pydantic_core-2.50.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl" +url = "https://files.pythonhosted.org/packages/56/9c/621ad8f88590a92a086b1168dce09369d9c5e079e2e635e6646d248af55b/pydantic_core-2.50.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl" [packages.wheels.hashes] -sha256 = "42b54c2c90ad348b5e3a85e03e715d572c1fde357ef104cdfe3b03b697a404ea" +sha256 = "f1d62fb172db35c6478c9323da34ff37d1f3d37d7d44337a9d94ba8c583e5730" [[packages]] name = "pydantic-settings" @@ -628,16 +804,27 @@ url = "https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21 [packages.wheels.hashes] sha256 = "2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9" +[[packages]] +name = "pyparsing" +version = "3.3.3" + +[[packages.wheels]] +name = "pyparsing-3.3.3-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/38/bb/d215ee7c73b61497b28a5503f9f53523f294fcc936762b7caf90e0c1c2b5/pyparsing-3.3.3-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "ece8c00a69cf01b45d0b1dedabb469c90d8caf996d4fda40f147627a122849a4" + [[packages]] name = "pytest" -version = "9.1.1" +version = "9.2.0" [[packages.wheels]] -name = "pytest-9.1.1-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl" +name = "pytest-9.2.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/51/39/1f5d8c8877a0fa327db959c19341d4be61660de1ab6b7391f9eb805bcd67/pytest-9.2.0-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c" +sha256 = "07acdcf88ec174f907dc01af70bf52d49b014bbab03faeeade31c96b18c2e588" [[packages]] name = "python-dateutil" @@ -727,6 +914,17 @@ url = "https://files.pythonhosted.org/packages/7b/44/4e421b96b67b2daff264473f746 [packages.wheels.hashes] sha256 = "24f6ec1eda14ef823da9e36ec7113124b39c04d50a4d3d3a3c2859577e7791fa" +[[packages]] +name = "rich" +version = "15.0.0" + +[[packages.wheels]] +name = "rich-15.0.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/82/3b/64d4899d73f91ba49a8c18a8ff3f0ea8f1c1d75481760df8c68ef5235bf5/rich-15.0.0-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb" + [[packages]] name = "rpds-py" version = "2026.9.1" @@ -740,14 +938,14 @@ sha256 = "eac2f5dbafd585dfe31f86a23ebf0d3ba480a9d49ebc87947267b5608d4ea0cd" [[packages]] name = "ruff" -version = "0.17.3" +version = "0.17.4" [[packages.wheels]] -name = "ruff-0.17.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" -url = "https://files.pythonhosted.org/packages/f0/20/fecedea2209f574ab92033b344e01a7f0c2dc76c6d6d19a14c9f8141173f/ruff-0.17.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +name = "ruff-0.17.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +url = "https://files.pythonhosted.org/packages/af/1b/62874f14c7873f27c7887d2b1ea41de990e14ba9518801ffe8eacb5d51a6/ruff-0.17.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" [packages.wheels.hashes] -sha256 = "7fa4b0f931cdbcb8a52044f370a3eb429fb42eb88807b0e800fcaa98dd42b24e" +sha256 = "2cd025509b2e15721b426fc70fd946d71f43b3db3b08e946dfec2d696d911690" [[packages]] name = "s3transfer" @@ -804,6 +1002,28 @@ url = "https://files.pythonhosted.org/packages/88/2e/947cfe02def9371c07cd5bf5b6b [packages.wheels.hashes] sha256 = "478c0ab3b4ced6e82719849c118fa406f0278a3499c1a898cd15cd31bdc38ce4" +[[packages]] +name = "tomli" +version = "2.5.0" + +[[packages.wheels]] +name = "tomli-2.5.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl" +url = "https://files.pythonhosted.org/packages/8d/d2/9e2d7f8b1dfe0e2b34c245986ebd55c4c553ea4ce6c47c443b332673253f/tomli-2.5.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl" + +[packages.wheels.hashes] +sha256 = "7ac2027d37c3afbdf4bdd377f2676f6f1d2122a5be1f1137b49dced590b37e75" + +[[packages]] +name = "tomli-w" +version = "1.2.0" + +[[packages.wheels]] +name = "tomli_w-1.2.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/c7/18/c86eb8e0202e32dd3df50d43d7ff9854f8e0603945ff398974c1d91ac1ef/tomli_w-1.2.0-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "188306098d013b691fcadc011abd66727d3c414c571bb01b1a174ba8c983cf90" + [[packages]] name = "truststore" version = "0.10.5" @@ -839,14 +1059,14 @@ sha256 = "29301f4e65e3928540cdf5e23ad716e38bb0c0b416a48dada213edd3d70206ec" [[packages]] name = "types-pyyaml" -version = "6.0.12.20261030" +version = "6.0.12.20261103" [[packages.wheels]] -name = "types_pyyaml-6.0.12.20261030-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/34/99/7e2c7c7202108220fb664ce4c5ac313a564ab5babb153516a3ac0ad8a681/types_pyyaml-6.0.12.20261030-py3-none-any.whl" +name = "types_pyyaml-6.0.12.20261103-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/e8/10/4353eb86278f6a59aeb9fe2be4d979c20b110b4009fa455a3ea6467cf5cb/types_pyyaml-6.0.12.20261103-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "508cc80546918201026a955356222111224e1f4f7deab0b91f2a95933f764e67" +sha256 = "444654c61f635dab82c092a511aa96a0ce31164810784b9a37314e3e56532ac8" [[packages]] name = "typing-extensions" @@ -861,14 +1081,14 @@ sha256 = "481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8" [[packages]] name = "typing-inspection" -version = "0.4.4" +version = "0.4.5" [[packages.wheels]] -name = "typing_inspection-0.4.4-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/67/81/4add07e5172b7ac40d8ed5ff580409a7801a4fe26d529bdd915401dabfbe/typing_inspection-0.4.4-py3-none-any.whl" +name = "typing_inspection-0.4.5-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/de/0c/ea2544850a7c135e15033a5c7a8e7211136184b7ae63e2239d557c2b3019/typing_inspection-0.4.5-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "65b8397ba37ccbce054456aaccddfc91e6e3083c92824df348d96ca832f3f147" +sha256 = "bc210535442b39e1bf2805e0c7a17dfd6a4ace760c84c7f7d16245d23a6b1c39" [[packages]] name = "tzdata" diff --git a/pylock.toml b/pylock.toml index 7114da55..17c0952a 100644 --- a/pylock.toml +++ b/pylock.toml @@ -25,14 +25,14 @@ sha256 = "f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0" [[packages]] name = "anyio" -version = "4.15.1" +version = "4.16.0" [[packages.wheels]] -name = "anyio-4.15.1-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/12/b8/4bd346e22b28902df4d651910f5242c28d84e4a5c2435ca5c3f797ed7e2e/anyio-4.15.1-py3-none-any.whl" +name = "anyio-4.16.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/a9/16/7757fb84c819accc7d7e9af5291b261e4abb8627ee040f99e7d35ef2457a/anyio-4.16.0-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "6152fdbbf9a77fdec97731721bebf7c4c44f7c29b424b0065826173efc7ed101" +sha256 = "c66ae634e0b8228396b801741beb3294326d4b6102f7bba4041c0dfb58c29026" [[packages]] name = "argcomplete" @@ -89,27 +89,49 @@ url = "https://files.pythonhosted.org/packages/10/cb/f2ad4230dc2eb1a74edf38f1a38 [packages.wheels.hashes] sha256 = "ba0efaa9080b619ff2f3459d1d500c57bddea4a6b424b60a91141db6fd2f08bc" +[[packages]] +name = "boolean-py" +version = "5.0" + +[[packages.wheels]] +name = "boolean_py-5.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/e5/ca/78d423b324b8d77900030fa59c4aa9054261ef0925631cd2501dd015b7b7/boolean_py-5.0-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "ef28a70bd43115208441b53a045d1549e2f0ec6e3d08a9d142cbc41c1938e8d9" + [[packages]] name = "boto3" -version = "1.43.122" +version = "1.43.127" [[packages.wheels]] -name = "boto3-1.43.122-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/ee/fd/fef3d36be7875f413d8ef3a17c1743b64f9686693d1aed8d5126e7fa1dcd/boto3-1.43.122-py3-none-any.whl" +name = "boto3-1.43.127-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/40/48/f562f1240da499614a19bdf5d54dbdbfea5cffabbdd2703c3a413e0c13a1/boto3-1.43.127-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "cca51b3650080594a1df344b8a2e76007eab6d5fa50504a0b622dfdc14cdeaa1" +sha256 = "47f87f89b10e62f5191bd98674beb0dd52ed368c19fcdfef2ef38ead31126f49" [[packages]] name = "botocore" -version = "1.43.122" +version = "1.43.127" + +[[packages.wheels]] +name = "botocore-1.43.127-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/4b/db/bee0401fd3f8cf1e2404044a4e3156dc7e064c2b1fc7162df2d795941cd8/botocore-1.43.127-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "aa0e3188679a2164a2098a14ea9b59520520cb573aaee9999d852480691e134a" + +[[packages]] +name = "cachecontrol" +version = "0.14.4" [[packages.wheels]] -name = "botocore-1.43.122-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/8b/ee/bde83952daa267697a73c0c0dada587127e5022056c802bf07e0a9ad8b95/botocore-1.43.122-py3-none-any.whl" +name = "cachecontrol-0.14.4-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/ef/79/c45f2d53efe6ada1110cf6f9fca095e4ff47a0454444aefdde6ac4789179/cachecontrol-0.14.4-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "668e608edf8847fc4c3c6b38688e183c3bcf19b8a1f7f58d33c03a6f3039bd49" +sha256 = "b7ac014ff72ee199b5f8af1de29d60239954f223e948196fa3d84adaffc71d2b" [[packages]] name = "certifi" @@ -146,14 +168,25 @@ sha256 = "3df041de8887954562c9b261cba85ca0e9ded74048daf125f45edcfaa4832229" [[packages]] name = "click" -version = "8.5.0" +version = "8.5.1" + +[[packages.wheels]] +name = "click-8.5.1-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/31/7d/164b7ffc8624fe9efb4221bf9af485d5c1e41b9ae118045d2b6dc5457d8b/click-8.5.1-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "8bb5376d2006950386f8c6427613334a2acadc5f559cb80e638d00b4df957e37" + +[[packages]] +name = "coverage" +version = "7.17.2" [[packages.wheels]] -name = "click-8.5.0-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/58/50/6c0d534c5f134586a8e1ba4e330569e32f057e33372ae556463212fb4cd3/click-8.5.0-py3-none-any.whl" +name = "coverage-7.17.2-cp315-cp315-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl" +url = "https://files.pythonhosted.org/packages/f5/c6/4f3931c3ff80a6f2608209181adb00527970a4b43b64c3aa323383c37d51/coverage-7.17.2-cp315-cp315-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl" [packages.wheels.hashes] -sha256 = "255bc9599cf7748b4b1a446ccc735421bd08a2ae529a8b88597d3de5664ee360" +sha256 = "3bd065e75c077d6de8cd3fe68699a8b47be3ec595af6b66e3629926839094609" [[packages]] name = "cryptography" @@ -166,16 +199,38 @@ url = "https://files.pythonhosted.org/packages/24/95/83378121ef3eaaaf71d4b781577 [packages.wheels.hashes] sha256 = "e105ab60406787da31fccc883fc0f733af1efd78f0136a4599692c4083a73d0c" +[[packages]] +name = "cyclonedx-python-lib" +version = "11.12.0" + +[[packages.wheels]] +name = "cyclonedx_python_lib-11.12.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/cf/f0/b2cb999244f2f4194df63ecff6939228178fa63a33be809c412684ca8db7/cyclonedx_python_lib-11.12.0-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "0e807521a921a5c3cb8ce1153f8a61d29eedfe76a46aac2796b7c6b573391a54" + [[packages]] name = "datamodel-code-generator" -version = "0.87.0" +version = "0.92.0" + +[[packages.wheels]] +name = "datamodel_code_generator-0.92.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/52/f4/9cf836c11a9c33d110c9a4b388631ce7980d9e054a757d2a2d1bebd84449/datamodel_code_generator-0.92.0-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "763875be7a125aa0abe6a55a2614bbfaded798dca68aabb904a590a41199abd3" + +[[packages]] +name = "defusedxml" +version = "0.7.1" [[packages.wheels]] -name = "datamodel_code_generator-0.87.0-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/87/97/13e9f23c875318189a1a7551925194ee9dc22499c2dbf93d56a646d26ca6/datamodel_code_generator-0.87.0-py3-none-any.whl" +name = "defusedxml-0.7.1-py2.py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl" [packages.wheels.hashes] -sha256 = "657f162c1a72881b14dc699e80a9c877975d825dfcb1e8823c75b65e869e1305" +sha256 = "a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61" [[packages]] name = "duckdb" @@ -190,14 +245,25 @@ sha256 = "ab51ec57d329d6f3df37c0287b55d71c3fc07bb54b61d1afed09104f953b1431" [[packages]] name = "fastapi" -version = "0.162.0" +version = "0.162.3" [[packages.wheels]] -name = "fastapi-0.162.0-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/b4/4f/3f2c25c9b43970b5e9a08beb5e04776247edea684ddc0930f4f02f0bb6cb/fastapi-0.162.0-py3-none-any.whl" +name = "fastapi-0.162.3-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/28/91/1ae3bee36a81a8e13303e205551e1131976d2b7110e284110e5e62880423/fastapi-0.162.3-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "3785963de305dd09912426cb81f2d230fce98ab3521cdfe97265c8d14983128c" +sha256 = "2db4a90df7bce3814a0b1003e8cf3f4f0b3d2937cffb04f623672b14a45ef750" + +[[packages]] +name = "filelock" +version = "4.2.10" + +[[packages.wheels]] +name = "filelock-4.2.10-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/ef/90/5d0096a325aa0f83ba7a3968bfb485b67e32c947bdf9cd0fcb4b485be718/filelock-4.2.10-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "9479aaeb4db20b5a53e3da28493edd24720b66b8a0b84030aa56ccdf243d6857" [[packages]] name = "flask" @@ -267,14 +333,14 @@ sha256 = "fd2c5d7909e8d86fe92d53020c310ca0e4e431b838c207c5754b9bbf0308d49a" [[packages]] name = "hypothesis" -version = "6.170.14" +version = "6.170.15" [[packages.wheels]] -name = "hypothesis-6.170.14-cp315-abi3.abi3t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl" -url = "https://files.pythonhosted.org/packages/f5/fd/363472210e3ed2a356b7bc6ca8ca405c0dae6531ad43c8f76ca20a946884/hypothesis-6.170.14-cp315-abi3.abi3t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl" +name = "hypothesis-6.170.15-cp315-abi3.abi3t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl" +url = "https://files.pythonhosted.org/packages/f8/eb/6810206ee4864b39da6e81b2318516773d5a89b0e2132c00dfc9aa760179/hypothesis-6.170.15-cp315-abi3.abi3t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl" [packages.wheels.hashes] -sha256 = "1a7aa883cd30c6c0c7259f34c1e3f37617c0d52fa6718e93c9926cc49b8047d6" +sha256 = "55e3dcd5d8fbfd5a97018ff2712f375148b62ef537490c281a198977f3588578" [[packages]] name = "idna" @@ -419,6 +485,28 @@ url = "https://files.pythonhosted.org/packages/e1/6f/53762927a32e9dc9eb1d1c1f352 [packages.wheels.hashes] sha256 = "e56aaf8c167548dc8e5d6f3bd0f48dcdd299a23c73be3f744aab79d99e9c7f5d" +[[packages]] +name = "license-expression" +version = "30.4.4" + +[[packages.wheels]] +name = "license_expression-30.4.4-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/af/40/791891d4c0c4dab4c5e187c17261cedc26285fd41541577f900470a45a4d/license_expression-30.4.4-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "421788fdcadb41f049d2dc934ce666626265aeccefddd25e162a26f23bcbf8a4" + +[[packages]] +name = "markdown-it-py" +version = "4.2.0" + +[[packages.wheels]] +name = "markdown_it_py-4.2.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/b3/81/4da04ced5a082363ecfa159c010d200ecbd959ae410c10c0264a38cac0f5/markdown_it_py-4.2.0-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a" + [[packages]] name = "markupsafe" version = "3.0.4" @@ -430,6 +518,17 @@ url = "https://files.pythonhosted.org/packages/82/96/ef49135ce260db4ca4a12b119ed [packages.wheels.hashes] sha256 = "925f929d6b59a8b3f8b8c6ac363cd0af7eecc81efb3071770b3c6717c450a369" +[[packages]] +name = "mdurl" +version = "0.1.2" + +[[packages.wheels]] +name = "mdurl-0.1.2-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8" + [[packages]] name = "more-itertools" version = "11.2.1" @@ -452,6 +551,17 @@ url = "https://files.pythonhosted.org/packages/38/b8/15e2ce7b6bb125558c81f63c420 [packages.wheels.hashes] sha256 = "eef62cdcf3bfe73e0863743511ba042dfaba04ba3d5ecdcb896a196c693ad528" +[[packages]] +name = "msgpack" +version = "1.2.4" + +[[packages.wheels]] +name = "msgpack-1.2.4-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl" +url = "https://files.pythonhosted.org/packages/b0/54/890510a2c9841aff63258e085d15d4e140c7eef559d4da81ef2d2d867436/msgpack-1.2.4-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl" + +[packages.wheels.hashes] +sha256 = "e7ae8cf6012372cecb43016132d1b87ccc2ebb8ae5ab5078687399e82423386a" + [[packages]] name = "mypy" version = "2.4.1" @@ -465,14 +575,14 @@ sha256 = "a2d4a51db92059eecc2c33b2a5194b28585ebfd917292c015fe87a77dbff6cd2" [[packages]] name = "mypy-extensions" -version = "1.1.0" +version = "1.2.0" [[packages.wheels]] -name = "mypy_extensions-1.1.0-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/79/7b/2c79738432f5c924bef5071f933bcc9efd0473bac3b4aa584a6f7c1c8df8/mypy_extensions-1.1.0-py3-none-any.whl" +name = "mypy_extensions-1.2.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/b5/99/7b1adac7e97ce7bbda34792dc6e9b2f5cc5cffd1875883f78a818b2a2687/mypy_extensions-1.2.0-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505" +sha256 = "993e7a20aa5671eb41a7132cf555af30062da99729601601b9a8382b11cae768" [[packages]] name = "openapi-schema-validator" @@ -507,6 +617,17 @@ url = "https://files.pythonhosted.org/packages/a9/2d/610db864d7513158cebb8f36cc8 [packages.wheels.hashes] sha256 = "2cbd737377e710ee740d261c94e93fa0f08e6d037c18f17513cc0a2d94479a34" +[[packages]] +name = "packageurl-python" +version = "0.17.6" + +[[packages.wheels]] +name = "packageurl_python-0.17.6-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/b1/2f/c7277b7615a93f51b5fbc1eacfc1b75e8103370e786fd8ce2abf6e5c04ab/packageurl_python-0.17.6-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "31a85c2717bc41dd818f3c62908685ff9eebcb68588213745b14a6ee9e7df7c9" + [[packages]] name = "packaging" version = "26.3" @@ -540,16 +661,60 @@ url = "https://files.pythonhosted.org/packages/f1/d9/7fb5aa316bc299258e68c73ba3b [packages.wheels.hashes] sha256 = "a00ce642f577bf7f473932318056212bc4f8bfdf53128c78bbd5af0b9b20b189" +[[packages]] +name = "pip" +version = "26.3" + +[[packages.wheels]] +name = "pip-26.3-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/07/25/ee8c38ae72d66b844ce8eb9711ba905dba21ca1a8a0c960057c41cd23337/pip-26.3-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "f3b60b20ffaadd4415ed7957212a38ac63fa4c5fa375bd0f4a797777940fad13" + +[[packages]] +name = "pip-api" +version = "0.0.35" + +[[packages.wheels]] +name = "pip_api-0.0.35-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/1d/2e/d424c5b5877be862dd9a2c8b7e9ddb13382bb25e132e6dd50cc09c0a7dde/pip_api-0.0.35-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "66990d0da25378555cbb538db79384bab92d4617c6350dfd7a2126ba2a3a9894" + +[[packages]] +name = "pip-audit" +version = "2.10.1" + +[[packages.wheels]] +name = "pip_audit-2.10.1-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/a3/a7/b0c504148114047bd1bc9d97447453c6850ca176bb2f3c0038835994e8b7/pip_audit-2.10.1-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "99ef3f600a317c1945f1e89e227ef26e1c2d618429b8bd3fa6f4f7c440c4611a" + +[[packages]] +name = "pip-requirements-parser" +version = "32.0.1" + +[[packages.wheels]] +name = "pip_requirements_parser-32.0.1-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/54/d0/d04f1d1e064ac901439699ee097f58688caadea42498ec9c4b4ad2ef84ab/pip_requirements_parser-32.0.1-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "4659bc2a667783e7a15d190f6fccf8b2486685b6dba4c19c3876314769c57526" + [[packages]] name = "platformdirs" -version = "4.14.0" +version = "4.14.5" [[packages.wheels]] -name = "platformdirs-4.14.0-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/69/2b/887969ef4bb53e0cb271dc7c3f4a73d50c5d58bb88aeaae311e3340cd57e/platformdirs-4.14.0-py3-none-any.whl" +name = "platformdirs-4.14.5-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/7c/ae/ecbbbfd0e4343a6a521d49b3c8656fb4643dee2a4f6eaf941cf3280391a8/platformdirs-4.14.5-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "1dadfc59a8a5d7565b3d9270ae8fa71c065595352c4277b41c11ee6c222c4b91" +sha256 = "8e778c6fa421516f4d3369449f8df3b0e1b72c0e0005fe88e3ec772d0a14e750" [[packages]] name = "pluggy" @@ -562,16 +727,27 @@ url = "https://files.pythonhosted.org/packages/40/9e/2b38731e0fc536806f16490e1a1 [packages.wheels.hashes] sha256 = "7dd7b0d8832ba3cb632c306926ded123429211b83641b35dc5c41ad2d34f9bec" +[[packages]] +name = "py-serializable" +version = "2.2.0" + +[[packages.wheels]] +name = "py_serializable-2.2.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/7e/56/94f6a9ac81193713e6be0d41c62d6b916b53c814c05d8b3a0d90976db0d6/py_serializable-2.2.0-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "2cce775abc5aac12115f9ff572a145c7276d04a770090334bd4e51ed9c782415" + [[packages]] name = "pyarrow" -version = "26.0.0" +version = "26.0.1" [[packages.wheels]] -name = "pyarrow-26.0.0-cp315-cp315-manylinux_2_28_x86_64.whl" -url = "https://files.pythonhosted.org/packages/78/80/8c47b6cf8cfd42826df65193eff026c1cc81fa6cb213a3c3f5d203e6f67a/pyarrow-26.0.0-cp315-cp315-manylinux_2_28_x86_64.whl" +name = "pyarrow-26.0.1-cp315-cp315-manylinux_2_28_x86_64.whl" +url = "https://files.pythonhosted.org/packages/5e/87/f768a458cf975c17c73912fb25a1e0693ceef8d76d78cf83ffdf1f63ec70/pyarrow-26.0.1-cp315-cp315-manylinux_2_28_x86_64.whl" [packages.wheels.hashes] -sha256 = "24f892fdf1ae1942d69d3f7742e2f49960ec95277cfb1a70b8a1d91f4a96d935" +sha256 = "8cb5bcfe627ee6b910fbec27871d38cf4f28f331ea6328902ce6a6272851ac70" [[packages]] name = "pycparser" @@ -586,25 +762,25 @@ sha256 = "a076f3f489b39b43ed13563a1dafe42447445bec2e294154ec5c57fcdda4c85e" [[packages]] name = "pydantic" -version = "2.14.1" +version = "2.14.3" [[packages.wheels]] -name = "pydantic-2.14.1-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/35/ea/a56b9fe5066f3537b7882f77e9c5dfb26d8c2eefdaed9b5fc73d57b4dc22/pydantic-2.14.1-py3-none-any.whl" +name = "pydantic-2.14.3-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/72/b8/b864503789ef5c58597d2a7b4adbee62c26440ab1e682581fc6838df8947/pydantic-2.14.3-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "9195d967ec791692a04438115466764fb8b9a27b31f14a760437694f40d6b454" +sha256 = "3f7b347782ab7e4cf4c798496ae3a82787d9f21ec12676a9c564355eeef8daa8" [[packages]] name = "pydantic-core" -version = "2.50.1" +version = "2.50.4" [[packages.wheels]] -name = "pydantic_core-2.50.1-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" -url = "https://files.pythonhosted.org/packages/b8/0d/1b1149f60a00ea21ba5f70e28acbd40feb4598af414f80f53c921fac07c9/pydantic_core-2.50.1-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +name = "pydantic_core-2.50.4-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl" +url = "https://files.pythonhosted.org/packages/ac/5e/145a02bf2b9f66981108caf6cc9e78917e31e4caca14d1e3ccd3ff2c7293/pydantic_core-2.50.4-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl" [packages.wheels.hashes] -sha256 = "7689580e72a642ab5ec64d5f55b2e33636fa43b4ebe63c0c2c965ef307c7d1aa" +sha256 = "26cb012c4b8ca9f847bd0ac15978bd3d0f55b050bfbe6c47355edfc7e945029b" [[packages]] name = "pydantic-settings" @@ -628,16 +804,27 @@ url = "https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21 [packages.wheels.hashes] sha256 = "2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9" +[[packages]] +name = "pyparsing" +version = "3.3.3" + +[[packages.wheels]] +name = "pyparsing-3.3.3-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/38/bb/d215ee7c73b61497b28a5503f9f53523f294fcc936762b7caf90e0c1c2b5/pyparsing-3.3.3-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "ece8c00a69cf01b45d0b1dedabb469c90d8caf996d4fda40f147627a122849a4" + [[packages]] name = "pytest" -version = "9.1.1" +version = "9.2.0" [[packages.wheels]] -name = "pytest-9.1.1-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl" +name = "pytest-9.2.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/51/39/1f5d8c8877a0fa327db959c19341d4be61660de1ab6b7391f9eb805bcd67/pytest-9.2.0-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c" +sha256 = "07acdcf88ec174f907dc01af70bf52d49b014bbab03faeeade31c96b18c2e588" [[packages]] name = "python-dateutil" @@ -727,6 +914,17 @@ url = "https://files.pythonhosted.org/packages/7b/44/4e421b96b67b2daff264473f746 [packages.wheels.hashes] sha256 = "24f6ec1eda14ef823da9e36ec7113124b39c04d50a4d3d3a3c2859577e7791fa" +[[packages]] +name = "rich" +version = "15.0.0" + +[[packages.wheels]] +name = "rich-15.0.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/82/3b/64d4899d73f91ba49a8c18a8ff3f0ea8f1c1d75481760df8c68ef5235bf5/rich-15.0.0-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb" + [[packages]] name = "rpds-py" version = "2026.9.1" @@ -740,14 +938,14 @@ sha256 = "2c16ab111bc27c646ba8aa005d0527754edc538ebb636f0b1bf8e244b48d1945" [[packages]] name = "ruff" -version = "0.17.3" +version = "0.17.4" [[packages.wheels]] -name = "ruff-0.17.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" -url = "https://files.pythonhosted.org/packages/f0/20/fecedea2209f574ab92033b344e01a7f0c2dc76c6d6d19a14c9f8141173f/ruff-0.17.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +name = "ruff-0.17.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" +url = "https://files.pythonhosted.org/packages/af/1b/62874f14c7873f27c7887d2b1ea41de990e14ba9518801ffe8eacb5d51a6/ruff-0.17.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" [packages.wheels.hashes] -sha256 = "7fa4b0f931cdbcb8a52044f370a3eb429fb42eb88807b0e800fcaa98dd42b24e" +sha256 = "2cd025509b2e15721b426fc70fd946d71f43b3db3b08e946dfec2d696d911690" [[packages]] name = "s3transfer" @@ -804,6 +1002,28 @@ url = "https://files.pythonhosted.org/packages/88/2e/947cfe02def9371c07cd5bf5b6b [packages.wheels.hashes] sha256 = "478c0ab3b4ced6e82719849c118fa406f0278a3499c1a898cd15cd31bdc38ce4" +[[packages]] +name = "tomli" +version = "2.5.0" + +[[packages.wheels]] +name = "tomli-2.5.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl" +url = "https://files.pythonhosted.org/packages/ae/83/d1ef43d1687d092ab9c235455c76e6e709483b346b056f086095c7c263a5/tomli-2.5.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl" + +[packages.wheels.hashes] +sha256 = "c47300f9bf791808f77d82747691c4bb09cb14bdf3060cca99b42cdc4361d5a7" + +[[packages]] +name = "tomli-w" +version = "1.2.0" + +[[packages.wheels]] +name = "tomli_w-1.2.0-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/c7/18/c86eb8e0202e32dd3df50d43d7ff9854f8e0603945ff398974c1d91ac1ef/tomli_w-1.2.0-py3-none-any.whl" + +[packages.wheels.hashes] +sha256 = "188306098d013b691fcadc011abd66727d3c414c571bb01b1a174ba8c983cf90" + [[packages]] name = "truststore" version = "0.10.5" @@ -839,14 +1059,14 @@ sha256 = "29301f4e65e3928540cdf5e23ad716e38bb0c0b416a48dada213edd3d70206ec" [[packages]] name = "types-pyyaml" -version = "6.0.12.20261030" +version = "6.0.12.20261103" [[packages.wheels]] -name = "types_pyyaml-6.0.12.20261030-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/34/99/7e2c7c7202108220fb664ce4c5ac313a564ab5babb153516a3ac0ad8a681/types_pyyaml-6.0.12.20261030-py3-none-any.whl" +name = "types_pyyaml-6.0.12.20261103-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/e8/10/4353eb86278f6a59aeb9fe2be4d979c20b110b4009fa455a3ea6467cf5cb/types_pyyaml-6.0.12.20261103-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "508cc80546918201026a955356222111224e1f4f7deab0b91f2a95933f764e67" +sha256 = "444654c61f635dab82c092a511aa96a0ce31164810784b9a37314e3e56532ac8" [[packages]] name = "typing-extensions" @@ -861,14 +1081,14 @@ sha256 = "481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8" [[packages]] name = "typing-inspection" -version = "0.4.4" +version = "0.4.5" [[packages.wheels]] -name = "typing_inspection-0.4.4-py3-none-any.whl" -url = "https://files.pythonhosted.org/packages/67/81/4add07e5172b7ac40d8ed5ff580409a7801a4fe26d529bdd915401dabfbe/typing_inspection-0.4.4-py3-none-any.whl" +name = "typing_inspection-0.4.5-py3-none-any.whl" +url = "https://files.pythonhosted.org/packages/de/0c/ea2544850a7c135e15033a5c7a8e7211136184b7ae63e2239d557c2b3019/typing_inspection-0.4.5-py3-none-any.whl" [packages.wheels.hashes] -sha256 = "65b8397ba37ccbce054456aaccddfc91e6e3083c92824df348d96ca832f3f147" +sha256 = "bc210535442b39e1bf2805e0c7a17dfd6a4ace760c84c7f7d16245d23a6b1c39" [[packages]] name = "tzdata" diff --git a/pyproject.toml b/pyproject.toml index 60906598..021410bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,30 +7,45 @@ runtime = [ "cryptography==50.0.2", "duckdb==2.0.0", - "fastapi==0.162.0", + "fastapi==0.162.3", "jsonschema==4.26.0", - "pyarrow==26.0.0", - "pydantic==2.14.1", + "pyarrow==26.0.1", + "pydantic==2.14.3", "pyyaml==6.0.3", "tzdata==2026.6", "uvicorn==0.54.0", ] dev = [ - "datamodel-code-generator==0.87.0", + "coverage==7.17.2", + "datamodel-code-generator==0.92.0", "flask==3.1.3", "flask-cors==6.0.5", "httpx2==2.16.0", - "hypothesis==6.170.14", + "hypothesis==6.170.15", "moto==5.2.5", "mypy==2.4.1", "openapi-spec-validator==0.9.0", - "pytest==9.1.1", - "ruff==0.17.3", + "pip-audit==2.10.1", + "pytest==9.2.0", + "ruff==0.17.4", "setuptools==84.2.1", "types-jsonschema==4.26.0.20261006", - "types-pyyaml==6.0.12.20261030", + "types-pyyaml==6.0.12.20261103", ] +# Branch coverage of the critical sources (#429): measured on the whole suite only, the same on +# every Python; `tools/ci/coverage_floor.py` checks it against `tools/ci/coverage-floor.toml`. +# `ctrace` (sys.settrace), not `sysmon`: another sys.monitoring tool in the run (Hypothesis' +# explain phase on 3.14; on 3.15 more than that) drops sysmon's events, and the same commit then +# measured differently from run to run. Twice as slow, on the whole-suite runs only. +[tool.coverage.run] +core = "ctrace" +branch = true +parallel = true +relative_files = true +source = ["packages"] +omit = ["*/tests/*", "*/build/*"] + [tool.ruff] line-length = 100 target-version = "py314" diff --git a/tests/conformance/test_clickhouse_engine.py b/tests/conformance/test_clickhouse_engine.py index c3594110..63b03302 100644 --- a/tests/conformance/test_clickhouse_engine.py +++ b/tests/conformance/test_clickhouse_engine.py @@ -122,7 +122,7 @@ def test_a_receipt_names_the_engine_its_version_the_connection_the_read_instant_ document = found.receipt.document() assert document["execution"]["engine"] == "clickhouse" assert document["execution"]["engine_version"] == engine.version - assert ".".join(engine.version.split(".")[:2]) in ("26.8", "26.9") + assert ".".join(engine.version.split(".")[:2]) in ("26.8", "26.10") assert document["execution"]["estimate"] == {"rows_scanned": len(rp.DATA["sales"])} reads = document["data"] live = [r for r in reads if r["route"] == "live"] diff --git a/tests/tools/test_audit.py b/tests/tools/test_audit.py new file mode 100644 index 00000000..9b9ad5c1 --- /dev/null +++ b/tests/tools/test_audit.py @@ -0,0 +1,115 @@ +"""#429: a known vulnerability fails unless recorded with its reason and a review date.""" + +from __future__ import annotations + +import datetime +import json +from pathlib import Path + +import pytest + +from tools.ci import audit +from tools.repository import REPOSITORY_ROOT + +TODAY = datetime.date(2026, 11, 10) + + +def pip_report(*vulnerable: tuple[str, str]) -> dict[str, object]: + dependencies: list[dict[str, object]] = [{"name": "orvex-store", "skip_reason": "editable"}] + dependencies += [{"name": n, "version": "1", "vulns": [{"id": i}]} for n, i in vulnerable] + dependencies.append({"name": "clean", "version": "1", "vulns": []}) + return {"dependencies": dependencies} + + +def npm_report(severity: str) -> dict[str, object]: + via = {"source": 1, "severity": severity, "url": "https://github.com/advisories/GHSA-aaaa"} + return {"vulnerabilities": {"left-pad": {"via": [via, "other-package"]}}} + + +def write_exceptions(tmp_path: Path, monkeypatch: pytest.MonkeyPatch, text: str) -> None: + (tmp_path / "tools/ci").mkdir(parents=True) + (tmp_path / audit.EXCEPTIONS).write_text(text, "utf-8") + monkeypatch.setattr(audit, "REPOSITORY_ROOT", tmp_path) + + +def run(tmp_path: Path, kind: str, report: object) -> int: + path = tmp_path / "report.json" + path.write_text(json.dumps(report), "utf-8") + return audit.main([kind, str(path)], today=TODAY) + + +EXCEPTION = ( + '[[exception]]\necosystem = "{kind}"\npackage = "{package}"\nid = "{id}"\n' + 'reason = "not reachable here"\nreview = {review}\n' +) + + +def test_a_vulnerability_fails_and_a_clean_report_passes( + tmp_path: Path, monkeypatch: pytest.MonkeyPatch +) -> None: + write_exceptions(tmp_path, monkeypatch, "") + assert run(tmp_path, "pip", pip_report()) == 0 + assert run(tmp_path, "pip", pip_report(("jinja2", "PYSEC-1"))) == 1 + assert run(tmp_path, "npm", npm_report("high")) == 1 + assert run(tmp_path, "npm", npm_report("critical")) == 1 + assert run(tmp_path, "npm", npm_report("low")) == 0 + + +def test_a_recorded_exception_passes_until_its_review_date( + tmp_path: Path, monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str] +) -> None: + entry = EXCEPTION.format(kind="pip", package="jinja2", id="PYSEC-1", review="2026-12-31") + write_exceptions(tmp_path, monkeypatch, entry) + assert run(tmp_path, "pip", pip_report(("jinja2", "PYSEC-1"))) == 0 + assert run(tmp_path, "npm", npm_report("low")) == 0 # a pip exception is not npm's + expired = EXCEPTION.format(kind="pip", package="jinja2", id="PYSEC-1", review="2026-11-01") + (tmp_path / audit.EXCEPTIONS).write_text(expired, "utf-8") + assert run(tmp_path, "pip", pip_report(("jinja2", "PYSEC-1"))) == 1 + assert "AUDIT_EXCEPTION_EXPIRED PYSEC-1" in capsys.readouterr().out + + +def test_an_exception_for_another_package_unused_or_incomplete_fails( + tmp_path: Path, monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str] +) -> None: + other = EXCEPTION.format(kind="pip", package="flask", id="PYSEC-1", review="2026-12-31") + write_exceptions(tmp_path, monkeypatch, other) + assert run(tmp_path, "pip", pip_report(("jinja2", "PYSEC-1"))) == 1 + assert run(tmp_path, "pip", pip_report()) == 1 + assert "AUDIT_EXCEPTION_UNUSED PYSEC-1" in capsys.readouterr().out + (tmp_path / audit.EXCEPTIONS).write_text( + '[[exception]]\necosystem = "pip"\nid = "X"\n', "utf-8" + ) + assert run(tmp_path, "pip", pip_report()) == 1 + assert "AUDIT_EXCEPTION_INVALID X" in capsys.readouterr().out + + +def test_an_npm_finding_matches_its_ghsa_exception_and_a_transitive_entry_is_skipped( + tmp_path: Path, monkeypatch: pytest.MonkeyPatch +) -> None: + entry = EXCEPTION.format(kind="npm", package="left-pad", id="GHSA-aaaa", review="2026-12-31") + write_exceptions(tmp_path, monkeypatch, entry) + assert run(tmp_path, "npm", npm_report("high")) == 0 + transitive = {"vulnerabilities": {"wrapper": {"via": ["left-pad"]}}} + assert audit.npm_findings(transitive) == [] + + +def test_an_exception_without_a_reason_is_refused( + tmp_path: Path, monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str] +) -> None: + entry = EXCEPTION.format(kind="pip", package="jinja2", id="PYSEC-1", review="2026-12-31") + write_exceptions(tmp_path, monkeypatch, entry.replace("not reachable here", " ")) + assert run(tmp_path, "pip", pip_report(("jinja2", "PYSEC-1"))) == 1 + assert "AUDIT_EXCEPTION_INVALID PYSEC-1" in capsys.readouterr().out + + +def test_an_unreadable_report_fails_closed(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None: + write_exceptions(tmp_path, monkeypatch, "") + assert run(tmp_path, "pip", {"no": "dependencies"}) == 1 + assert run(tmp_path, "npm", ["not", "a", "report"]) == 1 + assert audit.main(["pip", str(tmp_path / "missing.json")], today=TODAY) == 1 + assert audit.main(["yarn", str(tmp_path / "missing.json")], today=TODAY) == 1 + + +def test_the_repository_records_no_stale_exception() -> None: + _, failures = audit.exceptions(REPOSITORY_ROOT / audit.EXCEPTIONS, "pip", TODAY) + assert failures == [] diff --git a/tests/tools/test_coverage_floor.py b/tests/tools/test_coverage_floor.py new file mode 100644 index 00000000..1a4aee9d --- /dev/null +++ b/tests/tools/test_coverage_floor.py @@ -0,0 +1,218 @@ +"""#429: the critical sources' branch coverage holds its floors, and bad data fails closed.""" + +from __future__ import annotations + +import os +import runpy +import subprocess +import sys +from pathlib import Path + +import coverage +import pytest + +from tools.ci import coverage_floor +from tools.ci.coverage_floor import CoverageError +from tools.ci.parts import PARTS +from tools.repository import REPOSITORY_ROOT + +SOURCE = "pkg/branchy.py" +OTHER = "pkg/never.py" +CODE = "def pick(x):\n if x:\n return 1\n return 0\n\npick(True)\n" +CONFIG = ( + '[tool.coverage.run]\nbranch = true\nparallel = true\nrelative_files = true\nsource = ["pkg"]\n' +) + + +@pytest.fixture +def root(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> Path: + (tmp_path / "pkg").mkdir() + (tmp_path / SOURCE).write_text(CODE, "utf-8") + (tmp_path / OTHER).write_text("VALUE = 1\n", "utf-8") + (tmp_path / "pyproject.toml").write_text(CONFIG, "utf-8") + monkeypatch.chdir(tmp_path) # coverage keeps paths relative to where it runs, as in CI + return tmp_path + + +def part(root: Path, number: int, measured: bool = True, python: str = "3.15") -> Path: + folder = root / "data" / f"coverage-{python}-{number}" + folder.mkdir(parents=True) + if not measured: + (folder / coverage_floor.NOT_MEASURED).touch() + return folder + work = coverage.Coverage( + data_file=str(folder / ".coverage"), config_file=str(root / "pyproject.toml") + ) + work.start() + runpy.run_path(str(root / SOURCE)) + work.stop() + work.save() + return folder + + +def test_combined_parts_give_each_imported_file_its_branch_coverage(root: Path) -> None: + for number in range(2): + part(root, number) + files = coverage_floor.part_files(root / "data", "3.15", parts=2) + assert files is not None + measured = coverage_floor.measure(files, root) + assert set(measured) == {SOURCE} # never imported: absent, not 0% + assert 50 < measured[SOURCE] < 100 # the `return 0` branch never ran + + +def test_a_part_without_data_or_without_its_folder_fails(root: Path) -> None: + part(root, 0) + with pytest.raises(CoverageError, match=r"part 1 .* left no coverage folder"): + coverage_floor.part_files(root / "data", "3.15", parts=2) + (root / "data" / "coverage-3.15-1").mkdir() + with pytest.raises(CoverageError, match=r"part 1 .* left no coverage data"): + coverage_floor.part_files(root / "data", "3.15", parts=2) + + +def test_measured_and_unmeasured_parts_never_mix(root: Path) -> None: + part(root, 0) + part(root, 1, measured=False) + with pytest.raises(CoverageError, match="1 of 2 parts"): + coverage_floor.part_files(root / "data", "3.15", parts=2) + + +def test_no_part_measured_is_a_selection_and_passes(root: Path) -> None: + for number in range(2): + part(root, number, measured=False) + assert coverage_floor.part_files(root / "data", "3.15", parts=2) is None + + +def test_unreadable_or_empty_data_fails(root: Path) -> None: + folder = root / "data" / "coverage-3.15-0" + folder.mkdir(parents=True) + (folder / ".coverage.broken").write_text("not a database", "utf-8") + files = coverage_floor.part_files(root / "data", "3.15", parts=1) + assert files is not None + with pytest.raises(CoverageError, match="unreadable"): + coverage_floor.measure(files, root) + + +def test_data_that_measured_nothing_is_empty_and_fails(root: Path) -> None: + folder = root / "data" / "coverage-3.15-0" + folder.mkdir(parents=True) + work = coverage.Coverage( + data_file=str(folder / ".coverage"), config_file=str(root / "pyproject.toml") + ) + work.start() + work.stop() + with pytest.warns(coverage.exceptions.CoverageWarning, match="No data was collected"): + work.save() + files = coverage_floor.part_files(root / "data", "3.15", parts=1) + assert files is not None + with pytest.raises(CoverageError, match="empty"): + coverage_floor.measure(files, root) + + +def test_each_floor_case_fails_and_a_rise_is_only_reported() -> None: + sources = ["a.py", "b.py", "c.py", "d.py"] + measured = {"a.py": 79.9, "b.py": 90.0, "d.py": 95.5} + floors = {"a.py": 80, "b.py": 85, "c.py": 10, "e.py": 50} + failures, candidates = coverage_floor.judge(measured, sources, floors) + assert sorted(f.split(":")[0] for f in failures) == [ + "COVERAGE_BELOW_FLOOR a.py", + "COVERAGE_FLOOR_MISSING d.py", + "COVERAGE_FLOOR_UNKNOWN e.py", + "COVERAGE_NOT_INSTRUMENTED c.py", + ] + assert candidates == ["b.py: 90.00% (floor 85%)"] + held, raised = coverage_floor.judge({"a.py": 80.0}, ["a.py"], {"a.py": 80}) + assert (held, raised) == ([], []) + + +def test_the_measured_floors_round_down() -> None: + text = coverage_floor.floors_text({"a.py": 79.99, "b.py": 100.0}, ["a.py", "b.py", "c.py"]) + assert text == '[floors]\n"a.py" = 79\n"b.py" = 100\n' + + +def test_the_repository_floors_name_exactly_the_critical_sources() -> None: + sources = coverage_floor.critical_sources() + assert sources + assert sorted(coverage_floor.floors()) == sources + + +def test_the_command_fails_closed_and_passes_an_unmeasured_selection( + root: Path, capsys: pytest.CaptureFixture[str], monkeypatch: pytest.MonkeyPatch +) -> None: + monkeypatch.setattr(coverage_floor, "PARTS", 1) + monkeypatch.setenv("GITHUB_EVENT_NAME", "pull_request") + assert coverage_floor.main([str(root / "data"), "--python", "3.15"]) == 1 + assert "COVERAGE_DATA_INVALID" in capsys.readouterr().out + part(root, 0, measured=False) + assert coverage_floor.main([str(root / "data"), "--python", "3.15"]) == 0 + assert "coverage not measured" in capsys.readouterr().out + + +def test_the_workflow_measures_the_whole_suite_and_its_result_gates_the_tests() -> None: + import yaml + + workflow = yaml.safe_load((REPOSITORY_ROOT / ".github/workflows/python.yml").read_text("utf-8")) + jobs = workflow["jobs"] + run = next( + s["run"] for s in jobs["python-tests-part"]["steps"] if "--junitxml" in s.get("run", "") + ) + assert "-p tools.ci.coverage_run" in run + assert jobs["python-coverage"]["needs"] == "python-tests-part" + assert "python-coverage" in jobs["python-tests"]["needs"] + gate = jobs["python-tests"]["steps"][0] + assert gate["env"]["COVERAGE"] == "${{ needs.python-coverage.result }}" + assert 'test "$COVERAGE" = success' in gate["run"] + + +def test_an_unmeasured_push_fails( + root: Path, capsys: pytest.CaptureFixture[str], monkeypatch: pytest.MonkeyPatch +) -> None: + monkeypatch.setattr(coverage_floor, "PARTS", 1) + monkeypatch.setenv("GITHUB_EVENT_NAME", "push") + part(root, 0, measured=False) + assert coverage_floor.main([str(root / "data"), "--python", "3.15"]) == 1 + assert "no part measured coverage" in capsys.readouterr().out + + +@pytest.mark.parametrize( + ("floor", "code"), + [({SOURCE: 100}, "COVERAGE_BELOW_FLOOR"), ({}, "COVERAGE_FLOOR_MISSING")], + ids=["below", "missing"], +) +def test_the_command_exits_one_on_a_floor_failure( + root: Path, + capsys: pytest.CaptureFixture[str], + monkeypatch: pytest.MonkeyPatch, + floor: dict[str, int], + code: str, +) -> None: + monkeypatch.setattr(coverage_floor, "PARTS", 1) + monkeypatch.setattr(coverage_floor, "REPOSITORY_ROOT", root) + monkeypatch.setattr(coverage_floor, "critical_sources", lambda: [SOURCE]) + monkeypatch.setattr(coverage_floor, "floors", lambda: floor) + part(root, 0) + assert coverage_floor.main([str(root / "data"), "--python", "3.15"]) == 1 + assert code in capsys.readouterr().out + monkeypatch.setattr(coverage_floor, "floors", lambda: {SOURCE: 50}) + assert coverage_floor.main([str(root / "data"), "--python", "3.15"]) == 0 + + +def test_the_command_runs_with_coverage_alone_installed(tmp_path: Path) -> None: + # The coverage job installs only `coverage` (#429): no YAML parser may be needed. + blocked = tmp_path / "blocked" + blocked.mkdir() + (blocked / "yaml.py").write_text("raise ImportError('not installed in the coverage job')\n") + environment = {**os.environ, "PYTHONPATH": f"{blocked}{os.pathsep}{REPOSITORY_ROOT}"} + environment["GITHUB_EVENT_NAME"] = "pull_request" + data = tmp_path / "data" + for number in range(PARTS): + (data / f"coverage-3.15-{number}").mkdir(parents=True) + (data / f"coverage-3.15-{number}" / coverage_floor.NOT_MEASURED).touch() + done = subprocess.run( + [sys.executable, "-m", "tools.ci.coverage_floor", str(data), "--python", "3.15"], + cwd=REPOSITORY_ROOT, + env=environment, + capture_output=True, + text=True, + check=False, + ) + assert done.returncode == 0, done.stdout + done.stderr diff --git a/tests/tools/test_coverage_run.py b/tests/tools/test_coverage_run.py new file mode 100644 index 00000000..042f6160 --- /dev/null +++ b/tests/tools/test_coverage_run.py @@ -0,0 +1,69 @@ +"""#429: the coverage plugin measures only when asked, and then saves its data.""" + +from __future__ import annotations + +import os +import subprocess +import sys +from pathlib import Path + +from tools.repository import REPOSITORY_ROOT + +BODY = """import hypothesis + + +def test_x() -> None: + assert True + + +def test_hypothesis_is_reproducible_and_never_explains_while_measuring() -> None: + import os + if os.environ.get("PYTEST_COVERAGE") == "1": + current = hypothesis.settings() + assert current.derandomize + assert current.database is None + assert hypothesis.Phase.explain not in current.phases +""" + + +def run_in(folder: Path, measure: bool) -> int: + (folder / "test_x.py").write_text(BODY, "utf-8") + environment = {k: v for k, v in os.environ.items() if k not in ("PYTEST_COVERAGE", "CI")} + environment["PYTHONPATH"] = str(REPOSITORY_ROOT) + if measure: + environment["PYTEST_COVERAGE"] = "1" + done = subprocess.run( + [ + sys.executable, + "-m", + "pytest", + "-q", + "-p", + "tools.ci.coverage_run", + "-p", + "no:randomly", + "-p", + "no:cacheprovider", + "--rootdir", + str(folder), + "-c", + "/dev/null", + str(folder), + ], + cwd=folder, + env=environment, + capture_output=True, + text=True, + check=False, + ) + return done.returncode + + +def test_without_the_variable_nothing_is_measured(tmp_path: Path) -> None: + assert run_in(tmp_path, measure=False) == 0 + assert not list(tmp_path.glob(".coverage*")) + + +def test_with_the_variable_each_process_saves_its_data(tmp_path: Path) -> None: + assert run_in(tmp_path, measure=True) == 0 + assert len(list(tmp_path.glob(".coverage.*"))) == 1 diff --git a/tests/tools/test_select.py b/tests/tools/test_select.py index 9dfa55af..5f1894a8 100644 --- a/tests/tools/test_select.py +++ b/tests/tools/test_select.py @@ -8,6 +8,7 @@ import yaml from tools.ci import select, verify +from tools.ci.parts import PARTS from tools.repository import REPOSITORY_ROOT DOCS = ["docs/process/engineering.md"] @@ -18,22 +19,22 @@ @pytest.mark.parametrize("event", ["push", "schedule", "workflow_dispatch"]) @pytest.mark.parametrize("python", ["3.15", "3.14"]) def test_main_and_schedules_run_the_whole_suite_on_every_python(event: str, python: str) -> None: - for part in range(select.PARTS): + for part in range(PARTS): choice = select.choose(event, part, STORE) assert (choice.shard, choice.paths) == (f"{part}/10", ()) @pytest.mark.parametrize("python", ["3.15", "3.14"]) def test_a_pull_request_runs_the_selection_on_every_python(python: str) -> None: - chosen = [select.choose("pull_request", part, STORE) for part in range(select.PARTS)] - assert [c.shard for c in chosen] == [f"{part}/10" for part in range(select.PARTS)] + chosen = [select.choose("pull_request", part, STORE) for part in range(PARTS)] + assert [c.shard for c in chosen] == [f"{part}/10" for part in range(PARTS)] assert all(c.paths for c in chosen) def test_a_pull_request_runs_the_critical_and_affected_tests_on_the_other_python() -> None: - chosen = [select.choose("pull_request", part, STORE) for part in range(select.PARTS)] + chosen = [select.choose("pull_request", part, STORE) for part in range(PARTS)] # The selection is spread over every part, as the whole suite is: never a slower job. - assert [c.shard for c in chosen] == [f"{part}/10" for part in range(select.PARTS)] + assert [c.shard for c in chosen] == [f"{part}/10" for part in range(PARTS)] assert len({c.paths for c in chosen}) == 1 paths = set(chosen[0].paths) assert "packages/store/tests" in paths # the change @@ -42,7 +43,7 @@ def test_a_pull_request_runs_the_critical_and_affected_tests_on_the_other_python def test_an_uncertain_impact_runs_the_whole_suite_on_every_python() -> None: - for part in range(select.PARTS): + for part in range(PARTS): choice = select.choose("pull_request", part, GLOBAL) assert (choice.shard, choice.paths) == (f"{part}/10", ()) @@ -60,9 +61,18 @@ def test_the_choice_is_written_for_the_next_steps(tmp_path: Path) -> None: assert output.read_text("utf-8").splitlines() == [ "PYTEST_SHARD=3/10", "PYTEST_PATHS=", + "PYTEST_COVERAGE=1", ] +def test_coverage_is_measured_only_on_the_whole_suite(monkeypatch: pytest.MonkeyPatch) -> None: + # #429: a selection measures less, so it would fail the floors; it is never measured. + monkeypatch.setattr(verify, "pr_tests", lambda *_: (["packages/store/tests"], ["store"])) + selected = select.lines(select.choose("pull_request", 0, STORE)) + assert "PYTEST_COVERAGE=0" in selected + assert "PYTEST_COVERAGE=1" in select.lines(select.choose("push", 0, None)) + + def test_every_python_of_a_pull_request_fetches_the_history_it_compares() -> None: from tools.repository import REPOSITORY_ROOT @@ -87,6 +97,6 @@ def test_the_python_workflow_runs_the_whole_suite_on_every_push_to_main() -> Non assert "paths-ignore" not in triggers["push"] job = workflow["jobs"]["python-tests-part"] assert {str(p) for p in job["strategy"]["matrix"]["python"]} >= {"3.14", "3.15"} - assert len(job["strategy"]["matrix"]["part"]) == select.PARTS + assert len(job["strategy"]["matrix"]["part"]) == PARTS steps = " ".join(str(s.get("run", "")) for s in job["steps"]) assert "python -m tools.ci.select" in steps diff --git a/tests/tools/test_tamper.py b/tests/tools/test_tamper.py new file mode 100644 index 00000000..e890be3d --- /dev/null +++ b/tests/tools/test_tamper.py @@ -0,0 +1,27 @@ +"""#429: the tampered copy of a lock differs from it by one hash digit only.""" + +from __future__ import annotations + +from pathlib import Path + +import pytest + +from tools.ci import tamper +from tools.repository import REPOSITORY_ROOT + + +def test_one_digit_of_the_first_hash_changes_and_nothing_else(tmp_path: Path) -> None: + lock = (REPOSITORY_ROOT / "pylock.toml").read_text("utf-8") + target = tmp_path / "pylock.tampered.toml" + assert tamper.main([str(REPOSITORY_ROOT / "pylock.toml"), str(target)]) == 0 + changed = target.read_text("utf-8") + differing = [i for i, (a, b) in enumerate(zip(lock, changed, strict=True)) if a != b] + assert len(differing) == 1 + assert lock[differing[0] - 10 : differing[0]] == 'sha256 = "' + + +def test_a_name_pip_would_not_read_as_a_lock_is_refused(tmp_path: Path) -> None: + with pytest.raises(SystemExit, match="pip reads a lock file only"): + tamper.main([str(REPOSITORY_ROOT / "pylock.toml"), str(tmp_path / "tampered.toml")]) + with pytest.raises(SystemExit, match="no sha256"): + tamper.tampered("[[packages]]\nname = 'x'\n") diff --git a/tests/tools/test_verify.py b/tests/tools/test_verify.py index e74354ec..9835a10d 100644 --- a/tests/tools/test_verify.py +++ b/tests/tools/test_verify.py @@ -44,7 +44,7 @@ def test_a_check_runs_the_workflow_step_itself() -> None: lock = next(c for c in checks.load(REPOSITORY_ROOT) if c.name == "python-lock") text = checks.script(REPOSITORY_ROOT, lock) assert text.startswith(lock.run) - assert "diff /tmp/first.txt /tmp/second.txt" in text + assert 'diff "/tmp/$python-first.txt" "/tmp/$python-second.txt"' in text JUNIT = """ diff --git a/tools/ci/audit-exceptions.toml b/tools/ci/audit-exceptions.toml new file mode 100644 index 00000000..08b5a68e --- /dev/null +++ b/tools/ci/audit-exceptions.toml @@ -0,0 +1,9 @@ +# Known vulnerabilities accepted for a while, each with its reason (#429), read by +# tools/ci/audit.py. Governed: the Owner merges every change here. +# +# [[exception]] +# ecosystem = "pip" # or "npm" +# package = "example" +# id = "GHSA-xxxx-xxxx-xxxx" # the advisory the audit reports +# reason = "why it does not apply here, or why there is no fix yet" +# review = 2026-12-31 # past this date the exception fails the run diff --git a/tools/ci/audit.py b/tools/ci/audit.py new file mode 100644 index 00000000..7005beb8 --- /dev/null +++ b/tools/ci/audit.py @@ -0,0 +1,131 @@ +"""Known vulnerabilities in the locked dependencies, against their recorded exceptions (#429). + + pip-audit -f json --progress-spinner off > pip-audit.json + python -m tools.ci.audit pip pip-audit.json + npm audit --json > npm-audit.json # in web/ + python -m tools.ci.audit npm npm-audit.json + +A known vulnerability fails the run (for npm, those of severity `high` or `critical`), unless +`tools/ci/audit-exceptions.toml` records it with its ecosystem (`pip` or `npm`), package, +advisory ID, the reason it does not apply or has no fix, and a review date not yet passed. An +exception that matches nothing, or whose review date has passed, fails too, so the list never +outlives its reasons. The audit output is +read as data; a report that cannot be read fails (fail closed). +""" + +from __future__ import annotations + +import datetime +import json +import sys +import tomllib +from collections.abc import Sequence +from pathlib import Path +from typing import Any + +from tools.repository import REPOSITORY_ROOT + +EXCEPTIONS = Path("tools/ci/audit-exceptions.toml") +NPM_FAILING = frozenset({"high", "critical"}) + + +class AuditError(Exception): + """The audit report or the exceptions cannot be read.""" + + +def exceptions(path: Path, kind: str, today: datetime.date) -> tuple[dict[str, str], list[str]]: + """({advisory: package}, failures) of the recorded exceptions of one ecosystem.""" + try: + listed = tomllib.loads(path.read_text("utf-8")).get("exception", []) + except (OSError, tomllib.TOMLDecodeError) as error: + raise AuditError(f"cannot read {path}: {error}") from error + found: dict[str, str] = {} + failures = [] + for entry in listed: + if entry.get("ecosystem") not in ("pip", "npm"): + failures.append(f"AUDIT_EXCEPTION_INVALID {entry.get('id', '?')}: ecosystem pip or npm") + continue + if entry["ecosystem"] != kind: + continue + advisory, package = str(entry.get("id", "")), str(entry.get("package", "")) + reason, review = str(entry.get("reason", "")).strip(), entry.get("review") + if not advisory or not package or not reason or not isinstance(review, datetime.date): + failures.append( + f"AUDIT_EXCEPTION_INVALID {advisory or '?'}: needs id, package, reason, review" + ) + continue + if review < today: + failures.append( + f"AUDIT_EXCEPTION_EXPIRED {advisory}: its review date {review} has passed" + ) + continue + found[advisory] = package + return found, failures + + +def pip_findings(report: object) -> list[tuple[str, str]]: + """(package, advisory) of every vulnerability in a `pip-audit -f json` report.""" + try: + parsed: Any = report + return [ + (str(dependency["name"]), str(vulnerability["id"])) + for dependency in parsed["dependencies"] + for vulnerability in dependency.get("vulns", []) + ] + except (KeyError, TypeError) as error: + raise AuditError(f"not a pip-audit report: {error}") from error + + +def npm_findings(report: object) -> list[tuple[str, str]]: + """(package, advisory) of every high or critical advisory in an `npm audit --json` report.""" + try: + parsed: Any = report + found = [] + for name, entry in parsed["vulnerabilities"].items(): + for via in entry.get("via", []): + if isinstance(via, dict) and via.get("severity") in NPM_FAILING: + advisory = str(via.get("url", "")).rsplit("/", 1)[-1] or str(via["source"]) + found.append((str(name), advisory)) + return found + except (KeyError, TypeError, AttributeError) as error: + raise AuditError(f"not an npm audit report: {error}") from error + + +def judge(findings: Sequence[tuple[str, str]], allowed: dict[str, str]) -> list[str]: + failures = [ + f"AUDIT_VULNERABLE {package}: {advisory}" + for package, advisory in sorted(set(findings)) + if allowed.get(advisory) != package + ] + used = {advisory for _, advisory in findings} + failures += [ + f"AUDIT_EXCEPTION_UNUSED {advisory}: {package} no longer has it; remove the exception" + for advisory, package in sorted(allowed.items()) + if advisory not in used + ] + return failures + + +def main(argv: Sequence[str] | None = None, today: datetime.date | None = None) -> int: + kind, report_path = list(sys.argv[1:] if argv is None else argv) + if kind not in ("pip", "npm"): + print(f"::error::AUDIT_REPORT_INVALID: unknown kind {kind!r}") + return 1 + try: + report = json.loads(Path(report_path).read_text("utf-8")) + findings = pip_findings(report) if kind == "pip" else npm_findings(report) + allowed, failures = exceptions( + REPOSITORY_ROOT / EXCEPTIONS, kind, today or datetime.datetime.now(datetime.UTC).date() + ) + except (OSError, ValueError, AuditError) as error: + print(f"::error::AUDIT_REPORT_INVALID: {error}") + return 1 + failures += judge(findings, allowed) + for failure in failures: + print(f"::error::{failure}") + print(f"audit ({kind}): {len(findings)} known vulnerabilit(ies), {len(failures)} failure(s)") + return 1 if failures else 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tools/ci/checks.toml b/tools/ci/checks.toml index 9f867df3..45051920 100644 --- a/tools/ci/checks.toml +++ b/tools/ci/checks.toml @@ -56,6 +56,21 @@ critical_tests = [ # Contracts and their examples. "tests/contracts", ] +# The source the critical tests protect: security (access, policies, source isolation and the +# SQL guard) and exactness (the compiler, correctness, the engine adapters and exact values). +# Each Python file under these paths has a branch-coverage floor in coverage-floor.toml (#429). +critical_sources = [ + "packages/access/src/orvex/access", + "packages/semantic/src/orvex/semantic/policies", + "packages/semantic/src/orvex/semantic/compiler", + "packages/semantic/src/orvex/semantic/correctness", + "packages/semantic/src/orvex/semantic/adapters", + "packages/store/src/orvex/store/arrow_exact.py", + "packages/store/src/orvex/store/isolation.py", + "packages/store/src/orvex/store/separation.py", + "packages/store/src/orvex/store/source_exactness.py", + "packages/store/src/orvex/store/sql_guard.py", +] # The files that hold committed nightly counterexamples (`@example`). regressions = [ "tests/properties/test_binder_properties.py", @@ -128,8 +143,8 @@ job = "contracts" kind = "check" required = true contexts = ["contracts"] -digest = "d290acd3722cec10" -setup = ["python -m pip install --quiet pip==26.2.2"] +digest = "b3e1fe4f60e416f4" +setup = ["python -m pip install --quiet pip==26.3"] [[job.check]] name = "contracts-validate" run = "python -m tools.contracts.validate" @@ -165,8 +180,8 @@ job = "python-lint" kind = "check" required = true contexts = ["python-lint"] -digest = "d738506075b8608f" -setup = ["python -m pip install --quiet pip==26.2.2"] +digest = "69ac062ddce50ea7" +setup = ["python -m pip install --quiet pip==26.3"] [[job.check]] name = "ruff-format" run = "ruff format --check ." @@ -182,8 +197,8 @@ job = "python-types" kind = "check" required = true contexts = ["python-types"] -digest = "75687ff402893421" -setup = ["python -m pip install --quiet pip==26.2.2"] +digest = "087922b95833f378" +setup = ["python -m pip install --quiet pip==26.3"] [[job.check]] name = "mypy-modules" run = "mypy -p orvex.store -p orvex.transform -p orvex.semantic -p orvex.access -p orvex.dashboards -p orvex.mcp -p orvex.server -p orvex.contracts" @@ -220,13 +235,14 @@ contexts = [ "python-tests-3.14-part-8", "python-tests-3.14-part-9", ] -digest = "280213831be75923" +digest = "9b4e2cf138395b7c" pythons = ["3.15", "3.14"] setup = [ - "python -m pip install --quiet pip==26.2.2", + "python -m pip install --quiet pip==26.3", "python -m tools.ci.duckdb_extensions", "python -m tools.ci.select", 'dir="$RUNNER_TEMP/postgres-tls"', + "mkdir coverage-part", "for attempt in $(seq 60); do", ] # Trailing steps that run only on a failure and check nothing (#267). @@ -235,19 +251,37 @@ reports = ["python -m tools.ci.junit_annotations junit.xml"] # Locally: the whole suite on each Python of the matrix, in one part. Tests that need the # PostgreSQL, ClickHouse or Azurite services CI starts are reported as not run, by reason. name = "python-tests" -run = "python -m pytest -p tools.ci.shard -p tools.ci.timing -p tools.ci.order --junitxml=junit.xml $PYTEST_PATHS" +run = "python -m pytest -p tools.ci.shard -p tools.ci.timing -p tools.ci.order -p tools.ci.coverage_run --junitxml=junit.xml $PYTEST_PATHS" local = true +[[job]] +workflow = "python.yml" +job = "python-coverage" +kind = "check" +# Gated through python-tests, which needs it (#429). +required = false +contexts = ["python-coverage-3.15", "python-coverage-3.14"] +digest = "cf75155f857f7bfb" +pythons = ["3.15", "3.14"] +setup = ["python -m pip install --quiet pip==26.3"] +[[job.check]] +# The critical sources' branch coverage against their floors (#429). +name = "python-coverage" +run = "python -m tools.ci.coverage_floor coverage-data --python ${{ matrix.python }} --measured coverage-measured.toml" +local = false +reason = "combines the coverage data of the whole suite's CI parts" + [[job]] workflow = "python.yml" job = "python-tests" kind = "check" required = true contexts = ["python-tests-3.15", "python-tests-3.14"] -digest = "6d1a12821c8f372d" +digest = "fc5c4ab145de44e7" pythons = ["3.15", "3.14"] setup = ['test "$RESULT" = success'] -# Reports the parts of python-tests-part as the required checks; nothing to run locally. +# Reports the parts of python-tests-part and the coverage floors as the required checks; +# nothing to run locally. [[job]] workflow = "python.yml" @@ -255,8 +289,8 @@ job = "python-tests-windows" kind = "check" required = false contexts = ["python-tests-windows"] -digest = "78d68bdb18595baa" -setup = ["python -m pip install --quiet pip==26.2.2"] +digest = "cbdaa0231351793f" +setup = ["python -m pip install --quiet pip==26.3"] [[job.check]] name = "python-tests-windows" run = "python -m pytest -p tools.ci.order tests/tools/test_fixtures.py tests/tools/test_order.py tests/tools/test_shard.py tests/tools/test_pins.py tests/tools/test_synthetic.py" @@ -269,12 +303,45 @@ job = "python-lock" kind = "check" required = true contexts = ["python-lock"] -digest = "73afff09045a5b65" +digest = "21c0682d022162d2" setup = [] [[job.check]] name = "python-lock" -run = "for attempt in first second; do" +run = "for python in 3.15 3.14; do" local = true +[[job.check]] +# A tampered hash fails the install (#429). +name = "python-lock-hashes" +run = "python3.15 -m venv /tmp/tampered" +local = false +reason = "installs from the package index into a fresh environment" +[[job.check]] +# No known vulnerability without its recorded exception (#429). +name = "python-audit" +run = "/tmp/3.15-first/bin/python -m pip_audit -f json --progress-spinner off --output /tmp/pip-audit-3.15.json || true" +local = false +reason = "reads the advisory databases over the network" + +[[job]] +workflow = "web.yml" +job = "web-supply-chain" +kind = "check" +required = false +digest = "1d60c78674cdbf9b" +setup = ["npm ci"] +[[job.check]] +# The registry's signatures of every installed package (#429). +name = "web-signatures" +run = "npm audit signatures" +directory = "web" +local = false +reason = "verifies against the registry's keys over the network" +[[job.check]] +# No known high or critical vulnerability without its recorded exception (#429). +name = "web-audit" +run = "(cd web && npm audit --json > ../npm-audit.json) || true" +local = false +reason = "reads the advisory database over the network" [[job]] workflow = "web.yml" @@ -282,8 +349,8 @@ job = "licenses" kind = "check" required = true contexts = ["licenses"] -digest = "356a33b2e6ef5a12" -setup = ["python -m pip install --quiet pip==26.2.2"] +digest = "a73f46a6be63a296" +setup = ["python -m pip install --quiet pip==26.3"] [[job.check]] name = "licenses" run = "python tools/licenses/check_licenses.py" @@ -431,7 +498,7 @@ reason = "reads the pull request's base and head commits in CI; its rules are te workflow = "load-baseline.yml" job = "baseline" kind = "scoped" -digest = "b749dcc6fa2bfbbe" +digest = "0b91271a7805a8b4" reason = "runs only when its workflow or tools/benchmarks change, on the synthetic small dataset" paths = [".github/workflows/load-baseline.yml", "tools/benchmarks/**"] setup = [] @@ -469,7 +536,7 @@ reason = "reads the pull request's base and head commits in CI; its rules are te workflow = "query-baseline.yml" job = "baseline" kind = "scoped" -digest = "1468a63cdf9d4a7e" +digest = "57668310f0c2b204" reason = "runs only when its workflow, script or fixed questions change, on the synthetic small dataset" paths = [".github/workflows/query-baseline.yml", "tools/benchmarks/query_baseline.py", "benchmarks/query-baseline/**"] setup = [] @@ -507,7 +574,7 @@ reason = "reads the pull request's base and head commits in CI; its rules are te workflow = "release.yml" job = "build" kind = "scoped" -digest = "042ed9e228ff1be1" +digest = "a4407b7bee3c8633" reason = "runs only when the release workflow changes; it builds the web application with Node 24" paths = [".github/workflows/release.yml"] # The tag check applies to tag pushes only; on a pull request there is no tag to check. @@ -557,8 +624,8 @@ job = "semantic-corpus" kind = "check" required = true contexts = ["semantic-corpus"] -digest = "656ef848ddf41778" -setup = ["python -m pip install --quiet pip==26.2.2", "version=26.8.30.8"] +digest = "9ac09eeaf88b538c" +setup = ["python -m pip install --quiet pip==26.3", "version=26.8.30.8"] [[job.check]] name = "semantic-corpus" run = "python -m conformance.runners.semantic_corpus --through both" @@ -569,10 +636,10 @@ run = "python -m conformance.runners.semantic_corpus --through existing-ducklake local = false reason = "needs a PostgreSQL server for the existing lake's catalog (CORPUS_POSTGRES), the job's service" [[job.check]] -name = "semantic-corpus-clickhouse-26.9" +name = "semantic-corpus-clickhouse-26.10" run = "python -m conformance.runners.semantic_corpus --through clickhouse --switch-on" local = false -reason = "needs a ClickHouse 26.9 server (CORPUS_CLICKHOUSE), the job's service" +reason = "needs a ClickHouse 26.10 server (CORPUS_CLICKHOUSE), the job's service" [[job.check]] name = "semantic-corpus-clickhouse-26.8" run = "python -m conformance.runners.semantic_corpus --through clickhouse --switch-on" diff --git a/tools/ci/coverage-floor.toml b/tools/ci/coverage-floor.toml new file mode 100644 index 00000000..b697674d --- /dev/null +++ b/tools/ci/coverage-floor.toml @@ -0,0 +1,44 @@ +# The branch-coverage floor of each critical source (#429), a whole percent, read by +# tools/ci/coverage_floor.py. Each Python version must reach it. Raised only by review, in its +# own pull request, from the measured values the coverage job reports; never lowered to make CI +# pass. Governed: the Owner merges every change here. +[floors] +"packages/access/src/orvex/access/__init__.py" = 100 +"packages/access/src/orvex/access/context.py" = 97 +"packages/access/src/orvex/access/fixtures.py" = 96 +"packages/access/src/orvex/access/local.py" = 100 +"packages/semantic/src/orvex/semantic/adapters/__init__.py" = 100 +"packages/semantic/src/orvex/semantic/adapters/clickhouse/__init__.py" = 100 +"packages/semantic/src/orvex/semantic/adapters/clickhouse/allowlist.py" = 95 +"packages/semantic/src/orvex/semantic/adapters/clickhouse/cost.py" = 100 +"packages/semantic/src/orvex/semantic/adapters/clickhouse/evidence.py" = 98 +"packages/semantic/src/orvex/semantic/adapters/clickhouse/exact.py" = 96 +"packages/semantic/src/orvex/semantic/adapters/clickhouse/names.py" = 100 +"packages/semantic/src/orvex/semantic/adapters/clickhouse/writer.py" = 92 +"packages/semantic/src/orvex/semantic/adapters/clickhouse/zones.py" = 100 +"packages/semantic/src/orvex/semantic/adapters/dialect.py" = 96 +"packages/semantic/src/orvex/semantic/adapters/duckdb.py" = 91 +"packages/semantic/src/orvex/semantic/compiler/__init__.py" = 100 +"packages/semantic/src/orvex/semantic/compiler/catalog.py" = 100 +"packages/semantic/src/orvex/semantic/compiler/compiled.py" = 98 +"packages/semantic/src/orvex/semantic/compiler/parsing.py" = 94 +"packages/semantic/src/orvex/semantic/compiler/typecheck.py" = 86 +"packages/semantic/src/orvex/semantic/compiler/units.py" = 97 +"packages/semantic/src/orvex/semantic/compiler/zones.py" = 100 +"packages/semantic/src/orvex/semantic/correctness/__init__.py" = 100 +"packages/semantic/src/orvex/semantic/correctness/analysis.py" = 93 +"packages/semantic/src/orvex/semantic/correctness/discharge.py" = 89 +"packages/semantic/src/orvex/semantic/correctness/graph.py" = 95 +"packages/semantic/src/orvex/semantic/correctness/materialization.py" = 82 +"packages/semantic/src/orvex/semantic/correctness/report.py" = 98 +"packages/semantic/src/orvex/semantic/policies/__init__.py" = 100 +"packages/semantic/src/orvex/semantic/policies/caller.py" = 90 +"packages/semantic/src/orvex/semantic/policies/model.py" = 90 +"packages/semantic/src/orvex/semantic/policies/placement.py" = 88 +"packages/semantic/src/orvex/semantic/policies/predicate.py" = 92 +"packages/semantic/src/orvex/semantic/policies/strict_yaml.py" = 83 +"packages/store/src/orvex/store/arrow_exact.py" = 100 +"packages/store/src/orvex/store/isolation.py" = 93 +"packages/store/src/orvex/store/separation.py" = 89 +"packages/store/src/orvex/store/source_exactness.py" = 24 +"packages/store/src/orvex/store/sql_guard.py" = 97 diff --git a/tools/ci/coverage_floor.py b/tools/ci/coverage_floor.py new file mode 100644 index 00000000..e4559f42 --- /dev/null +++ b/tools/ci/coverage_floor.py @@ -0,0 +1,209 @@ +"""Branch coverage of the critical sources against their floors (#429), for one Python version. + + python -m tools.ci.coverage_floor --python 3.15 + +`` holds one folder per test part (`coverage--`), each with the +part's `.coverage.*` data or, when that part did not run the whole suite, a `not-measured` file. +Every part must be there. When no part measured, coverage was not measured (a pull request's +selection) and the check passes with a notice; a mix fails, and so does an unmeasured push to +`main`, which always runs the whole suite (a broken selection never turns the gate off). + +The parts' data are combined, and every Python file under `critical_sources` +(`tools/ci/checks.toml`) must be in it (instrumented) with a branch coverage at or above its +floor in `tools/ci/coverage-floor.toml`. The workflow runs this once per Python version, so +each version must reach every floor: the lower of the two decides, as the floors require. A +module one percent or more above its floor is reported as a candidate for a reviewed raise, +never failed. Missing, empty or unreadable data fails (fail closed). +""" + +from __future__ import annotations + +import argparse +import json +import math +import os +import sys +import tempfile +import tomllib +from collections.abc import Sequence +from pathlib import Path + +from tools.ci.parts import PARTS +from tools.repository import REPOSITORY_ROOT + +FLOORS = Path("tools/ci/coverage-floor.toml") +NOT_MEASURED = "not-measured" +_SQLITE = b"SQLite format 3\x00" # every coverage data file is an SQLite database + + +class CoverageError(Exception): + """The coverage data cannot be checked.""" + + +def critical_sources(root: Path = REPOSITORY_ROOT) -> list[str]: + """Every Python file under `critical_sources`, repository-relative, sorted.""" + document = tomllib.loads((root / "tools/ci/checks.toml").read_text("utf-8")) + listed = document.get("profiles", {}).get("critical_sources", []) + if not listed: + raise CoverageError("tools/ci/checks.toml lists no critical_sources") + found: set[str] = set() + for entry in listed: + path = root / entry + if path.is_file() and path.suffix == ".py": + found.add(entry) + elif path.is_dir(): + found |= {f.relative_to(root).as_posix() for f in path.rglob("*.py")} + else: + raise CoverageError(f"critical source {entry} is not a Python file or folder") + return sorted(found) + + +def floors(root: Path = REPOSITORY_ROOT) -> dict[str, int]: + try: + listed = tomllib.loads((root / FLOORS).read_text("utf-8")).get("floors", {}) + except (OSError, tomllib.TOMLDecodeError) as error: + raise CoverageError(f"cannot read {FLOORS}: {error}") from error + if not all( + isinstance(v, int) and not isinstance(v, bool) and 0 <= v <= 100 for v in listed.values() + ): + raise CoverageError(f"{FLOORS}: every floor is a whole percent from 0 to 100") + return dict(listed) + + +def part_files(folder: Path, python: str, parts: int | None = None) -> list[Path] | None: + """The parts' data files, or None when no part measured; a missing or mixed part fails.""" + parts = PARTS if parts is None else parts + data: list[Path] = [] + unmeasured = 0 + for part in range(parts): + here = folder / f"coverage-{python}-{part}" + if not here.is_dir(): + raise CoverageError(f"part {part} of Python {python} left no coverage folder") + files = sorted(here.glob(".coverage*")) + if (here / NOT_MEASURED).is_file(): + unmeasured += 1 + if files: + raise CoverageError(f"part {part} of Python {python} is both measured and not") + elif not files: + raise CoverageError(f"part {part} of Python {python} left no coverage data") + data += files + if unmeasured == parts: + return None + if unmeasured: + raise CoverageError(f"{unmeasured} of {parts} parts of Python {python} were not measured") + return data + + +def measure(files: Sequence[Path], root: Path) -> dict[str, float]: + """The branch coverage (percent) of each file the suite imported, from the combined data. + A file never imported is left out: `source` would report it at 0%, but it was not measured.""" + import coverage # only where coverage is measured: the dev group installs it + + for file in files: + with file.open("rb") as stream: + if stream.read(16) != _SQLITE: + raise CoverageError(f"unreadable coverage data: {file.name} is not a data file") + with tempfile.TemporaryDirectory() as scratch: + combined = Path(scratch) / ".coverage" + work = coverage.Coverage(data_file=str(combined), config_file=str(root / "pyproject.toml")) + try: + work.combine([str(f) for f in files], keep=True, strict=True) + work.save() + data = work.get_data() + # `source` records a never-imported file with no line: it was not measured. + imported = {_relative(n, root) for n in data.measured_files() if data.lines(n)} + report = Path(scratch) / "coverage.json" + work.json_report(outfile=str(report), ignore_errors=False) + except coverage.exceptions.CoverageException as error: + raise CoverageError(f"unreadable coverage data: {error}") from error + files_found = json.loads(report.read_text("utf-8")).get("files", {}) + if not files_found or not imported: + raise CoverageError("the coverage data is empty") + found = { + _relative(name, root): float(entry["summary"]["percent_covered"]) + for name, entry in files_found.items() + } + return {name: value for name, value in found.items() if name in imported} + + +def _relative(name: str, root: Path) -> str: + path = Path(name) + return (path.relative_to(root) if path.is_absolute() else path).as_posix() + + +def judge( + measured: dict[str, float], sources: Sequence[str], floor: dict[str, int] +) -> tuple[list[str], list[str]]: + """(failures, candidates for a raise).""" + failures = [ + f"COVERAGE_FLOOR_UNKNOWN {m}: not a critical source" + for m in sorted(set(floor) - set(sources)) + ] + candidates = [] + for source in sources: + if source not in floor: + failures.append(f"COVERAGE_FLOOR_MISSING {source}: no floor") + if source not in measured: + failures.append(f"COVERAGE_NOT_INSTRUMENTED {source}: never imported by the suite") + continue + if source not in floor: + continue + value = measured[source] + if value < floor[source]: + failures.append(f"COVERAGE_BELOW_FLOOR {source}: {value:.2f}% < {floor[source]}%") + elif math.floor(value) >= floor[source] + 1: + candidates.append(f"{source}: {value:.2f}% (floor {floor[source]}%)") + return failures, candidates + + +def floors_text(measured: dict[str, float], sources: Sequence[str]) -> str: + """`coverage-floor.toml` at the measured values, rounded down: for a reviewed raise.""" + rows = [f'"{s}" = {math.floor(measured[s])}' for s in sources if s in measured] + return "[floors]\n" + "\n".join(rows) + "\n" + + +def main(argv: Sequence[str] | None = None) -> int: + parser = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + parser.add_argument("folder", type=Path) + parser.add_argument("--python", required=True) + parser.add_argument("--measured", type=Path, help="write the measured floors here") + arguments = parser.parse_args(argv) + summary = os.environ.get("GITHUB_STEP_SUMMARY") + lines = [f"## Coverage of the critical sources, Python {arguments.python}", ""] + try: + files = part_files(arguments.folder, arguments.python) + if files is None: + if os.environ.get("GITHUB_EVENT_NAME") != "pull_request": # unknown: fail closed + raise CoverageError("a push runs the whole suite, but no part measured coverage") + print( + f"::notice::coverage not measured on Python {arguments.python}: not the whole suite" + ) + return 0 + sources = critical_sources() + measured = measure(files, REPOSITORY_ROOT) + failures, candidates = judge(measured, sources, floors()) + except CoverageError as error: + print(f"::error::COVERAGE_DATA_INVALID: {error}") + return 1 + if arguments.measured: + arguments.measured.write_text(floors_text(measured, sources), "utf-8") + lines += [f"- `{s}`: {measured[s]:.2f}%" for s in sources if s in measured] + if candidates: + lines += ["", "Above their floor by one percent or more (raise by review):", ""] + lines += [f"- {c}" for c in candidates] + if summary: + with open(summary, "a", encoding="utf-8") as file: + file.write("\n".join(lines) + "\n") + for source in sources: + if source in measured: + print(f"coverage {measured[source]:.2f}% {source}") + for failure in failures: + print(f"::error::{failure}") + for candidate in candidates: + print(f"::notice::coverage above its floor: {candidate}") + print(f"coverage: {len(sources)} critical sources, {len(failures)} failure(s)") + return 1 if failures else 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tools/ci/coverage_run.py b/tools/ci/coverage_run.py new file mode 100644 index 00000000..4cbd426e --- /dev/null +++ b/tools/ci/coverage_run.py @@ -0,0 +1,57 @@ +"""Branch coverage of the whole suite in CI (#429): a pytest plugin that measures while +`PYTEST_COVERAGE=1`, which `tools/ci/select.py` sets only when a part runs its share of the +whole suite. Otherwise it does nothing, so local runs and selections stay as fast as before. + + python -m pytest -p tools.ci.coverage_run ... + +It starts before collection, so every module the suite imports is measured, with the +`[tool.coverage.run]` settings of `pyproject.toml`, and saves one data file per process. + +While measuring, Hypothesis runs without its explain phase, is derandomized (its seed comes from +each test's name) and keeps no example database. The explain phase registers its own +`sys.monitoring` tool, which silently drops coverage's events: measured, a whole package's data +came out empty, and CI runs of the same code differed by up to 3%. Without it, the same commit +measures the same coverage on every run, so the floors are compared with a reproducible value +(#429). Runs that do not measure keep Hypothesis as it is. +""" + +from __future__ import annotations + +import os + +import pytest + +from tools.repository import REPOSITORY_ROOT + +_MEASURING = pytest.StashKey[object]() + + +def pytest_configure(config: pytest.Config) -> None: + if os.environ.get("PYTEST_COVERAGE") != "1": + return + import coverage # only where coverage is measured: the dev group installs it + import hypothesis + + explain = hypothesis.Phase.explain + phases = [phase for phase in hypothesis.settings().phases if phase is not explain] + hypothesis.settings.register_profile( + "coverage", + parent=hypothesis.settings(), + derandomize=True, + database=None, + phases=phases, + ) + hypothesis.settings.load_profile("coverage") + work = coverage.Coverage(config_file=str(REPOSITORY_ROOT / "pyproject.toml")) + work.start() + config.stash[_MEASURING] = work + + +def pytest_unconfigure(config: pytest.Config) -> None: + work = config.stash.get(_MEASURING, None) + if work is not None: + import coverage + + assert isinstance(work, coverage.Coverage) + work.stop() + work.save() diff --git a/tools/ci/parts.py b/tools/ci/parts.py new file mode 100644 index 00000000..60e358fe --- /dev/null +++ b/tools/ci/parts.py @@ -0,0 +1,5 @@ +"""How many parts the `python` workflow splits each Python's suite into (#391): the one number +`select.py` and `coverage_floor.py` share. Standard library only, so the coverage +job needs nothing but `coverage` installed (#429).""" + +PARTS = 10 diff --git a/tools/ci/select.py b/tools/ci/select.py index f7989a83..58e4ef2d 100644 --- a/tools/ci/select.py +++ b/tools/ci/select.py @@ -9,6 +9,9 @@ 2026-11-08: fast pull requests; `main` runs the whole suite on every push, so anything a selection misses is caught there at once). +Coverage of the critical sources is measured only when a part runs its share of the whole suite +(`PYTEST_COVERAGE=1`, #429): a selection would measure less and fail the floors. + The printed reasons say what was chosen and why. A selected path that is not a plain repository path selects the whole suite: nothing from a pull request reaches a shell unchecked. """ @@ -23,9 +26,9 @@ from dataclasses import dataclass from tools.ci import impact, verify +from tools.ci.parts import PARTS from tools.repository import REPOSITORY_ROOT -PARTS = 10 PLAIN = re.compile(r"[A-Za-z0-9_][A-Za-z0-9_./-]*") @@ -51,6 +54,7 @@ def lines(choice: Choice) -> list[str]: return [ f"PYTEST_SHARD={choice.shard}", f"PYTEST_PATHS={' '.join(choice.paths)}", + f"PYTEST_COVERAGE={0 if choice.paths else 1}", ] diff --git a/tools/ci/tamper.py b/tools/ci/tamper.py new file mode 100644 index 00000000..39e3c17d --- /dev/null +++ b/tools/ci/tamper.py @@ -0,0 +1,37 @@ +"""A copy of a lock file with one hash changed (#429): CI installs it to show that the installer +refuses a file whose hash does not match. + + python -m tools.ci.tamper pylock.toml /tmp/pylock.tampered.toml + +The first `sha256` digest of the lock has its first digit changed; nothing else differs. pip +reads a lock file only under a `pylock.*.toml` name, so the output path keeps one. +""" + +from __future__ import annotations + +import re +import sys +from collections.abc import Sequence +from pathlib import Path + +_DIGEST = re.compile(r'(sha256 = ")([0-9a-f])') + + +def tampered(text: str) -> str: + found = _DIGEST.search(text) + if found is None: + raise SystemExit("the lock file holds no sha256 hash") + digit = "1" if found.group(2) == "0" else "0" + return text[: found.start(2)] + digit + text[found.end(2) :] + + +def main(argv: Sequence[str] | None = None) -> int: + source, target = list(sys.argv[1:] if argv is None else argv) + if not re.fullmatch(r"pylock(\..+)?\.toml", Path(target).name): + raise SystemExit(f"{target}: pip reads a lock file only as pylock.toml or pylock.*.toml") + Path(target).write_text(tampered(Path(source).read_text("utf-8")), "utf-8") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tools/ci/verify.py b/tools/ci/verify.py index 57b91b32..3539e5b4 100644 --- a/tools/ci/verify.py +++ b/tools/ci/verify.py @@ -37,7 +37,7 @@ from tools.repository import REPOSITORY_ROOT TESTS = "python-tests" -PIP = "pip==26.2.2" # the version CI installs first (python.yml) +PIP = "pip==26.3" # the version CI installs first (python.yml) CACHE = Path.home() / ".cache" / "verify-environments" # The checks `fast` runs: quick ones, each well under a minute. FAST = ( diff --git a/web/package-lock.json b/web/package-lock.json index 70b3f4da..df6f543e 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -14,24 +14,24 @@ "devDependencies": { "@eslint/js": "10.0.1", "@sveltejs/adapter-static": "4.0.1", - "@sveltejs/kit": "3.1.1", + "@sveltejs/kit": "3.2.0", "@sveltejs/vite-plugin-svelte": "7.3.1", - "@tailwindcss/vite": "4.3.3", + "@tailwindcss/vite": "4.3.5", "@testing-library/svelte": "5.4.2", "@types/node": "24.19.2", "eslint": "10.14.0", - "eslint-plugin-svelte": "3.23.1", - "globals": "17.13.0", - "jsdom": "30.1.3", + "eslint-plugin-svelte": "3.24.1", + "globals": "17.14.0", + "jsdom": "31.0.0", "json-schema-to-typescript": "16.0.0", "prettier": "3.9.10", "prettier-plugin-svelte": "4.1.1", - "svelte-check": "4.7.7", - "tailwindcss": "4.3.3", + "svelte-check": "4.7.8", + "tailwindcss": "4.3.5", "typescript": "6.0.3", - "typescript-eslint": "8.72.1", - "vite": "8.3.5", - "vitest": "5.0.5" + "typescript-eslint": "8.72.2", + "vite": "8.3.7", + "vitest": "5.1.0" }, "engines": { "node": ">=24" @@ -85,39 +85,6 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/@asamuzakjp/css-color": { - "version": "7.1.9", - "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-7.1.9.tgz", - "integrity": "sha512-vZ6JQVq8Ivgz6b/IBlAf90wZviXdluY13cQOPO+nJHbmXwGrPl2GcpqUY7a55/8ZVdfONXpCFMpRijOBCHNlcQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@csstools/css-calc": "^3.4.3", - "@csstools/css-color-parser": "^4.2.6", - "@csstools/css-parser-algorithms": "^4.0.2", - "@csstools/css-tokenizer": "^4.0.2", - "lru-cache": "^11.5.3" - }, - "engines": { - "node": "^22.22.2 || ^24.15.0 || >=26.0.0" - } - }, - "node_modules/@asamuzakjp/dom-selector": { - "version": "10.0.5", - "resolved": "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-10.0.5.tgz", - "integrity": "sha512-EgmJ7oEaGQECTn3H3wmnQpEy4hKY66VvM7VQndwPIQob3p877BgbyOUE3EX0LgXQCciF2H8KMdR+RznqjMNOLw==", - "dev": true, - "license": "MIT", - "dependencies": { - "bidi-js": "^1.1.0", - "css-tree": "^3.2.1", - "is-potential-custom-element-name": "^1.0.1", - "lru-cache": "^11.5.3" - }, - "engines": { - "node": "^22.22.2 || ^24.15.0 || >=26.0.0" - } - }, "node_modules/@babel/code-frame": { "version": "7.29.7", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", @@ -153,19 +120,6 @@ "node": ">=6.9.0" } }, - "node_modules/@bramus/specificity": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/@bramus/specificity/-/specificity-2.4.3.tgz", - "integrity": "sha512-0GEz8qJWokkUVYQYRukmkSHIFNoBH8QTreeHrAFbvz1XFYc3Y+puhMs8PQ5x8GNugiC2l5jvDBXKLbBIByeSBw==", - "dev": true, - "license": "MIT", - "dependencies": { - "css-tree": "^3.2.1" - }, - "bin": { - "specificity": "bin/cli.js" - } - }, "node_modules/@cacheable/memory": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/@cacheable/memory/-/memory-2.2.0.tgz", @@ -190,146 +144,6 @@ "keyv": "^5.6.0" } }, - "node_modules/@csstools/color-helpers": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-6.1.2.tgz", - "integrity": "sha512-grhRy3OKmniaAEKXMjua5z/EODX0MSqBGjunw8+j/3HQjOnahs2AGhvEOIYVUWcU6ScApbhLhVrQTX8XqrMrow==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT-0", - "engines": { - "node": ">=20.19.0" - } - }, - "node_modules/@csstools/css-calc": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.4.3.tgz", - "integrity": "sha512-iex20d8CHVkyvg6B7UKV7uHnI2Bqo9g+EFfT9E0y+GvTvhZ/DwONJ+9aKb1dlqm0ZiGsL5RXjp0fCoJYnkeDjA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT", - "engines": { - "node": ">=20.19.0" - }, - "peerDependencies": { - "@csstools/css-parser-algorithms": "^4.0.2", - "@csstools/css-tokenizer": "^4.0.2" - } - }, - "node_modules/@csstools/css-color-parser": { - "version": "4.2.6", - "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-4.2.6.tgz", - "integrity": "sha512-iiPQ3iRWwnJkeEn6RIu6SJPr7hYrLz6XZ9s/QZl+2/LI5KQVjpl2fdmDSZKuD4xP6GMmMPgHFFXg6k1Wkz0Trg==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT", - "dependencies": { - "@csstools/color-helpers": "^6.1.2", - "@csstools/css-calc": "^3.4.3" - }, - "engines": { - "node": ">=20.19.0" - }, - "peerDependencies": { - "@csstools/css-parser-algorithms": "^4.0.2", - "@csstools/css-tokenizer": "^4.0.2" - } - }, - "node_modules/@csstools/css-parser-algorithms": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.2.tgz", - "integrity": "sha512-40cSKyMvK+tq4qz6Awrlye2WGuOKt3FwPgtGg6KTfbHOWNw+Rk1rzbAtZnZ6IBhsY491HLRnDXwoyBAijmmILA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT", - "engines": { - "node": ">=20.19.0" - }, - "peerDependencies": { - "@csstools/css-tokenizer": "^4.0.2" - } - }, - "node_modules/@csstools/css-syntax-patches-for-csstree": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.15.tgz", - "integrity": "sha512-J0u7HkVl2nzSlhsiTOp4AmwcUQ3D+mGEEKfBy/7To5/y7F2OHwyLrXfrhR0SMgr4p5Lo+eaMVSeai24zUcBIxA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT-0", - "peerDependencies": { - "css-tree": "^3.2.1" - }, - "peerDependenciesMeta": { - "css-tree": { - "optional": true - } - } - }, - "node_modules/@csstools/css-tokenizer": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.2.tgz", - "integrity": "sha512-OoKoR0f76dCY666JlcbhmVTs2drYj1GUXZTYTcbUgJjh9Nv41aFfZ21bPQTERm5+L5cBDo466NltB2lplS5GBw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT", - "engines": { - "node": ">=20.19.0" - } - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.10.1", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.10.1.tgz", @@ -626,9 +440,9 @@ "license": "MIT" }, "node_modules/@oxc-project/types": { - "version": "0.155.0", - "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.155.0.tgz", - "integrity": "sha512-SeE8JPwW1xs1tHeNycjUtUBdhorRa8o4jlvjwk49R7/Z291i+4DQa7JJIgOm/TaYQZx+QrPQbVJ/9c8dMIZN8Q==", + "version": "0.156.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.156.0.tgz", + "integrity": "sha512-1Duyg48TdJNdyhEB8Xn1L36bT9Pv6GUtlKjHxOys8xkaF/rQq3XJE+bAurSK/AgIz5mGFsb77cn9Pb20+WCScw==", "dev": true, "license": "MIT", "funding": { @@ -643,9 +457,9 @@ "license": "MIT" }, "node_modules/@rolldown/binding-android-arm-eabi": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.15.tgz", - "integrity": "sha512-aLcgK9gIJ3YRvrrtfSBbRa27F5WrpiTaPulnFpsHPxpUHgFlSgnU4854MHwoRGEBhfRJDWCS2WQ7lIjskE9Olw==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.18.tgz", + "integrity": "sha512-ubTG+4KlidvioxjOFdsdEa2F6JVGZb8m2ByJUqQ7fYzUeT1cEn194POcsQ10PKH4p//q0YQn4SB3YpSuzcA1Yg==", "cpu": [ "arm" ], @@ -660,9 +474,9 @@ } }, "node_modules/@rolldown/binding-android-arm64": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.15.tgz", - "integrity": "sha512-xD7DdZCrbThKuxNg7ooQmvp07ys4J/pnSEMTG3/OdOWl6daC67m/Q4fL78sRHMxTH/N4fGUbYhcPM0MF5WFHkg==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.18.tgz", + "integrity": "sha512-2Xa1t/JeFGTZn5TbzgPppcCftF8sCVnTNvrIvoSdcZhoFzAuVy1L3xxQUQ4sfWDtwVzg1u6Yi1R3SlJugRNV2Q==", "cpu": [ "arm64" ], @@ -677,9 +491,9 @@ } }, "node_modules/@rolldown/binding-darwin-arm64": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.15.tgz", - "integrity": "sha512-m2WuQ6r0B4OTYxyPpNLtXaMRbRDUbG8YQV2Q3KTdSSK8Th6KHCnC8jVCJt8bvYeSB5WivkkNbc85mKadaSdOxA==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.18.tgz", + "integrity": "sha512-iUzw9HshVvrWci9gVXjxWS7/M/IcLvNo67vu2c/w9zKBz4hIvPRixdUpIW/iCfhldLaq9ER2hecsI9UY5z0/yA==", "cpu": [ "arm64" ], @@ -694,9 +508,9 @@ } }, "node_modules/@rolldown/binding-darwin-x64": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.15.tgz", - "integrity": "sha512-5RtnsHM36nodM9WbMy+zip0LGS/G+y5wro5RHrpOlr4ac24+1zSi9kiV2MP1myZeZ/ifEHfulQcWjnAXzc2C2A==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.18.tgz", + "integrity": "sha512-XuDHFzbFEtZl0QGJi92+fmG67tfnp1iZ9VOeDkwasGyTq2VG3/5PnJnvAr+MTzFh/rNScJ3VhN+XpZyyGsN7Jw==", "cpu": [ "x64" ], @@ -711,9 +525,9 @@ } }, "node_modules/@rolldown/binding-freebsd-x64": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.15.tgz", - "integrity": "sha512-g3l09pyFqhu+135JKkbkwiKGQmwU5hUMUPJ4VdBADvuqR8d33L6H578rh8m7rtxbdp+VmX/+nzI7nvhSZlzpUQ==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.18.tgz", + "integrity": "sha512-MM8opLfsLK15oEXDz6iBc0t3ahu+ew9jsAmha+ovZ33hSwYgqo7YmpRITqFTfW7xA71BLEQ3jJdTsaCmhB1c9w==", "cpu": [ "x64" ], @@ -728,9 +542,9 @@ } }, "node_modules/@rolldown/binding-linux-arm-gnueabihf": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.15.tgz", - "integrity": "sha512-nIe3VugI97nGQtspPxDqA4sXMUpeiocKIP/CqpY/u/vgbT+alX+cVxu1C/oVBPKg4feNTmYovE91v4DgXvXNwQ==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.18.tgz", + "integrity": "sha512-J6EoCWiy5RnFQzHrKyHXXevZ9lukQfGpnchX/zG/k/WC2nc9O9XyS1JgA8kI9VxMFggMbCPjpv7LcikriXfehw==", "cpu": [ "arm" ], @@ -745,16 +559,13 @@ } }, "node_modules/@rolldown/binding-linux-arm64-gnu": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.15.tgz", - "integrity": "sha512-iTBjXx+B5QSvgI89lJfmqh4wTh8NabR1YZIIN3hNx4zSG0EVfVqkOvLulNpG4251pbd6/IAmZ/LefVk1Y4rPhw==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.18.tgz", + "integrity": "sha512-HIkFuLF7CdDeki+1aCZLLbLq0hk/PHntb+z4/YCTo47JbksTD6jJEELIz92tYROmDmvMrNqUMqBi71BkJLDR+A==", "cpu": [ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -765,16 +576,13 @@ } }, "node_modules/@rolldown/binding-linux-arm64-musl": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.15.tgz", - "integrity": "sha512-uN26XOnVR7rqQupG3V9oAG2EGGatWjcJHOeDOHUFCh4TBWmP2tHTFoVN13aYbwfm0aHqJAEmcwhAu6sooIjfqQ==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.18.tgz", + "integrity": "sha512-4oqWItLLYt7IceOnElCct8T2ek5p7PmD7LN04TRJRXGo5f3HtKTgGH6PhYRFK4C2ICkq/LMUU0BVPvvlAKhm8g==", "cpu": [ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -785,16 +593,13 @@ } }, "node_modules/@rolldown/binding-linux-ppc64-gnu": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.15.tgz", - "integrity": "sha512-9nWkcdd+H+XhaA3fQIwpHnKIrfx/PQ6rO0pivr78Og07tXlUlctBBJoEYLPfhTmCR/QxEVdn6uPjHV5SymPhdw==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.18.tgz", + "integrity": "sha512-+AkRly5SrCEgnPhGRfub7pucASYEC2fTsxZg7VCcnozpA2+Wn/gCYy1t7LuJS67/xyJu/7noYBJncDUkbwgw2A==", "cpu": [ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -805,16 +610,13 @@ } }, "node_modules/@rolldown/binding-linux-s390x-gnu": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.15.tgz", - "integrity": "sha512-Ggh0ciFjLwIusLSLz7LZYEaGdxOAUJXI+Qu5JCbhPJJHEt8vP+IjRATTJheiJsdzzTYgUiHUiw3X1Ea3ZpMBdA==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.18.tgz", + "integrity": "sha512-Ttg1r9vVykMnQrE/GwYO9icKtXiuiMfRe/w74xJkeoVuvhRG+WtT6LEMOf58Yl63yd77lhHzO8Y55R8CC3XALA==", "cpu": [ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -825,16 +627,13 @@ } }, "node_modules/@rolldown/binding-linux-x64-gnu": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.15.tgz", - "integrity": "sha512-FHg60rS6DBePAYZ9X9F67x+JObFdmgn6tupA1C/a3B+CufFmTD4mX+e8M75tCiAO3foR/6xwVBI0KQiI7sn/rw==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.18.tgz", + "integrity": "sha512-xX1Tt4o5jUMma0vJsXp5eRZA9nOuyigb2dKJMMzZRmzMxLYGE9PaKKSqHPzPvSQgM8ZOEacSTQwDQcwWfh0xmQ==", "cpu": [ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -845,16 +644,13 @@ } }, "node_modules/@rolldown/binding-linux-x64-musl": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.15.tgz", - "integrity": "sha512-/cvV/7v5VGz/moiz0XKRj2dE8DzsKyhIu1KpOvJGPjRywg3yscON889UGvAe8zfiJLHup7VLjBduoGWi3HusWQ==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.18.tgz", + "integrity": "sha512-4VVlGI5K2kociZlW3lSN8VjG3TW5yQIlAcfCdBXMgGjJxZll15Fa4ocRHXHvIVVnwlibCw/NQajJrNDiqqpiiw==", "cpu": [ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -865,9 +661,9 @@ } }, "node_modules/@rolldown/binding-openharmony-arm64": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.15.tgz", - "integrity": "sha512-MyzC5Hrv/sm+Z7TSGKP/j8001RO2xQm1zOpCNVL4j0cY/VhBZviludA2YFQ7i4lH6ZAXxQm0lcMdBzM+99mE7w==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.18.tgz", + "integrity": "sha512-PApTsgH1jLYuyy3tSCz9De82Gq5qXwi7vImVZhEzTgX1C4150Cp5M2ZfL3pLvbCvbEHL0oJeC6pd6podtv8Y5w==", "cpu": [ "arm64" ], @@ -882,9 +678,9 @@ } }, "node_modules/@rolldown/binding-win32-arm64-msvc": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.15.tgz", - "integrity": "sha512-+PgYiS+AH5omy6L45ZLxybasauJaj3M8buoT83D+nzPmCayXlxUV9hydhciCKVyIg0B/v0BtXPDE1uGqNwCPpg==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.18.tgz", + "integrity": "sha512-J2XjWjx/SP+4x0H4r6dz3Vzb5WVkg7re40Do9K7HJ3sK2/xcmZrWwakXlSwaMvOkvruLJCD4CL/3wqsIR/thgg==", "cpu": [ "arm64" ], @@ -899,9 +695,9 @@ } }, "node_modules/@rolldown/binding-win32-x64-msvc": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.15.tgz", - "integrity": "sha512-HFZd2QNQYn1JbIi+Hpd7H+r/lkWxcfIu28nirZ6eCn2LafuvmExMlb/P96Sfx5tf7pPArw39IdhmCF8vmV+NhQ==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.18.tgz", + "integrity": "sha512-XwRJxRQvkuEtS0hIIt29QrqPJ+JzMJSNYHJw4ae/mc6uEarfRG1ceyg4HmmWiBdL/YCb6g7N5BLbSvmRJRYZHw==", "cpu": [ "x64" ], @@ -949,12 +745,13 @@ } }, "node_modules/@sveltejs/kit": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-3.1.1.tgz", - "integrity": "sha512-BiEMvekYXE9Gu/YhWJ/yJ0WDLH1PX/dmjuAeFp5rrtdmgdzkjt7DvimlSP+/U4tgposl7pkE20luHpcnc6BgRw==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-3.2.0.tgz", + "integrity": "sha512-zhb8GTeFd/6BwfqaY4wKIF7eFACYOgn/KNppV6UHFBHk174B4d7xTtN7x0PxaPPlwnCTgbnpaYF6r9lirz0Biw==", "dev": true, "license": "MIT", "dependencies": { + "@jridgewell/trace-mapping": "^0.3.31", "@rolldown/pluginutils": "^1.0.1", "@standard-schema/spec": "^1.1.0", "cookie": "^2.0.1", @@ -1017,59 +814,49 @@ } }, "node_modules/@tailwindcss/node": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.3.tgz", - "integrity": "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.5.tgz", + "integrity": "sha512-yT53FzV4ke0cr/BguDxhWMpm5MJu1O2muzk+tKw6lKHjODAsYArBbWwFbJiaksfzFv1tpkO9QHGzmfs1hJT66g==", "dev": true, "license": "MIT", "dependencies": { "@jridgewell/remapping": "^2.3.5", - "enhanced-resolve": "^5.24.1", + "enhanced-resolve": "^5.24.5", "jiti": "^2.7.0", - "lightningcss": "1.32.0", - "magic-string": "^0.30.21", + "lightningcss": "1.33.0", + "magic-string": "^1.1.0", "source-map-js": "^1.2.1", - "tailwindcss": "4.3.3" - } - }, - "node_modules/@tailwindcss/node/node_modules/magic-string": { - "version": "0.30.21", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", - "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.5" + "tailwindcss": "4.3.5" } }, "node_modules/@tailwindcss/oxide": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.3.tgz", - "integrity": "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.5.tgz", + "integrity": "sha512-PynqGLZsZvwM9tqD/CUxkOIfyd6K5elZ2MooauzJryP/UqXYgi3yYbtt3N0Xe+MHV/eFKPFQCEfIKAqlAS1CBg==", "dev": true, "license": "MIT", "engines": { "node": ">= 20" }, "optionalDependencies": { - "@tailwindcss/oxide-android-arm64": "4.3.3", - "@tailwindcss/oxide-darwin-arm64": "4.3.3", - "@tailwindcss/oxide-darwin-x64": "4.3.3", - "@tailwindcss/oxide-freebsd-x64": "4.3.3", - "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.3", - "@tailwindcss/oxide-linux-arm64-gnu": "4.3.3", - "@tailwindcss/oxide-linux-arm64-musl": "4.3.3", - "@tailwindcss/oxide-linux-x64-gnu": "4.3.3", - "@tailwindcss/oxide-linux-x64-musl": "4.3.3", - "@tailwindcss/oxide-wasm32-wasi": "4.3.3", - "@tailwindcss/oxide-win32-arm64-msvc": "4.3.3", - "@tailwindcss/oxide-win32-x64-msvc": "4.3.3" + "@tailwindcss/oxide-android-arm64": "4.3.5", + "@tailwindcss/oxide-darwin-arm64": "4.3.5", + "@tailwindcss/oxide-darwin-x64": "4.3.5", + "@tailwindcss/oxide-freebsd-x64": "4.3.5", + "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.5", + "@tailwindcss/oxide-linux-arm64-gnu": "4.3.5", + "@tailwindcss/oxide-linux-arm64-musl": "4.3.5", + "@tailwindcss/oxide-linux-x64-gnu": "4.3.5", + "@tailwindcss/oxide-linux-x64-musl": "4.3.5", + "@tailwindcss/oxide-wasm32-wasi": "4.3.5", + "@tailwindcss/oxide-win32-arm64-msvc": "4.3.5", + "@tailwindcss/oxide-win32-x64-msvc": "4.3.5" } }, "node_modules/@tailwindcss/oxide-android-arm64": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.3.tgz", - "integrity": "sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.5.tgz", + "integrity": "sha512-Se0z5xMqcSQanJD1IYmO0cGpK3iv0fp3ZsIT7xRJZ1Da5PghvNoc46zz4jIQn+aan3dV9T8AermFNN9QPmsh0Q==", "cpu": [ "arm64" ], @@ -1084,9 +871,9 @@ } }, "node_modules/@tailwindcss/oxide-darwin-arm64": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.3.tgz", - "integrity": "sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.5.tgz", + "integrity": "sha512-UPrgTDuUbvmqGMZuCnmI3FKee/tYKzKdp00/kuB4oSGB213VYg8QTdF7lVhnPoBXq/mIfJ+ILoBFqNOboWcMwQ==", "cpu": [ "arm64" ], @@ -1101,9 +888,9 @@ } }, "node_modules/@tailwindcss/oxide-darwin-x64": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.3.tgz", - "integrity": "sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.5.tgz", + "integrity": "sha512-E+p7HEtjI0b8D7kbbWxH067cGui6d4c79COGko9fAPVE3rwc1E7ld2HFCbaG86AOGWS5VKQYqZOaf38ya4uxTQ==", "cpu": [ "x64" ], @@ -1118,9 +905,9 @@ } }, "node_modules/@tailwindcss/oxide-freebsd-x64": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.3.tgz", - "integrity": "sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.5.tgz", + "integrity": "sha512-yWEWcWyAG7rWOcTpJTjdhQ3pcaFY2h+0bqTRfgU3G2fz87ZU3AKdvdZKhslD+kyHnjBUWKvNdRYwIYC5dI1tIg==", "cpu": [ "x64" ], @@ -1135,9 +922,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.3.tgz", - "integrity": "sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.5.tgz", + "integrity": "sha512-WmeVjtJhZlr+smpqcdR2kQkkn6arHIJnUIBxTO2EJcTLGY1ecVXNo2hbSn8xc0IH2aEtys936iMWKGyj0GaKnA==", "cpu": [ "arm" ], @@ -1152,16 +939,13 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.3.tgz", - "integrity": "sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.5.tgz", + "integrity": "sha512-DTCSyucc6ShMp1QMqV5R94Z7xlgNgUzkGmFF1rL5HH2Qjy4eSmEqy+YLGkqqYvWa4sILtgrBt1JjRKbneQtiFQ==", "cpu": [ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1172,16 +956,13 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm64-musl": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.3.tgz", - "integrity": "sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.5.tgz", + "integrity": "sha512-H9lsvO4x9E4nE4Hi8h7NHHw0O/kcVSu+iOyFHNGdYzazGgDjFHZbE6S3hQ8kMcbNXSBlMdNi67LV5EVqtpaJtw==", "cpu": [ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1192,16 +973,13 @@ } }, "node_modules/@tailwindcss/oxide-linux-x64-gnu": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.3.tgz", - "integrity": "sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.5.tgz", + "integrity": "sha512-4uxQvtBvPuIdl13WfUBj9xMZHH14PtHZ8OZdtLmdyDtG66sCa1t599NZT+jagkUzRtWhuul1qRZQ1nAJscXN5g==", "cpu": [ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1212,16 +990,13 @@ } }, "node_modules/@tailwindcss/oxide-linux-x64-musl": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.3.tgz", - "integrity": "sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.5.tgz", + "integrity": "sha512-0JQAzs7jwbA7O6+z/adU+Jk3AXwsu3npAhtr5escXS7TqEqWcaDV7qHuI+0Vy/KQRuVGnLQREcSJWYauyV3oqg==", "cpu": [ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1232,9 +1007,9 @@ } }, "node_modules/@tailwindcss/oxide-wasm32-wasi": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.3.tgz", - "integrity": "sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.5.tgz", + "integrity": "sha512-OJhFmlEfdzMr+avACdi40RPtnkW0B6hXyxL/8r+tnEHBWZji36CYRjEXrrvgBmaYsD3oEOBqwYFRKsYvzFe7Bw==", "bundleDependencies": [ "@napi-rs/wasm-runtime", "@emnapi/core", @@ -1243,37 +1018,34 @@ "@emnapi/wasi-threads", "tslib" ], - "cpu": [ - "wasm32" - ], "dev": true, "license": "MIT", "optional": true, "dependencies": { - "@emnapi/core": "^1.11.1", - "@emnapi/runtime": "^1.11.1", - "@emnapi/wasi-threads": "^1.2.2", - "@napi-rs/wasm-runtime": "^1.1.4", - "@tybys/wasm-util": "^0.10.2", + "@emnapi/core": "^1.11.3", + "@emnapi/runtime": "^1.11.3", + "@emnapi/wasi-threads": "^1.2.3", + "@napi-rs/wasm-runtime": "^1.2.2", + "@tybys/wasm-util": "^0.10.3", "tslib": "^2.8.1" }, "engines": { - "node": ">=14.0.0" + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" } }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core": { - "version": "1.11.1", + "version": "1.11.3", "dev": true, "inBundle": true, "license": "MIT", "optional": true, "dependencies": { - "@emnapi/wasi-threads": "1.2.2", + "@emnapi/wasi-threads": "1.2.3", "tslib": "^2.4.0" } }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime": { - "version": "1.11.1", + "version": "1.11.3", "dev": true, "inBundle": true, "license": "MIT", @@ -1283,7 +1055,7 @@ } }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads": { - "version": "1.2.2", + "version": "1.2.3", "dev": true, "inBundle": true, "license": "MIT", @@ -1293,25 +1065,28 @@ } }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": { - "version": "1.1.4", + "version": "1.2.2", "dev": true, "inBundle": true, "license": "MIT", "optional": true, "dependencies": { - "@tybys/wasm-util": "^0.10.1" + "@tybys/wasm-util": "^0.10.3" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" }, "funding": { "type": "github", "url": "https://github.com/sponsors/Brooooooklyn" }, "peerDependencies": { - "@emnapi/core": "^1.7.1", - "@emnapi/runtime": "^1.7.1" + "@emnapi/core": "^1.7.1 || ^2.0.0-alpha.3", + "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.3" } }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@tybys/wasm-util": { - "version": "0.10.2", + "version": "0.10.3", "dev": true, "inBundle": true, "license": "MIT", @@ -1328,9 +1103,9 @@ "optional": true }, "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.3.tgz", - "integrity": "sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.5.tgz", + "integrity": "sha512-9o8jgthi+QE5eandnboiJT64VQfnIArfZzSTdgbhEK5aafdiu2jTW9Honi/mwYHxBZuH1vAC57IFyrh+0iK5Gg==", "cpu": [ "arm64" ], @@ -1345,9 +1120,9 @@ } }, "node_modules/@tailwindcss/oxide-win32-x64-msvc": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.3.tgz", - "integrity": "sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.5.tgz", + "integrity": "sha512-XiKFfIy1RWe7qK4WqByxNW7Oz1/nkOy8o/BWhHminyV1PmpUd8Eedj5v2A8h2kpqeVlz6xRnwk9Fr/ZXNLcZfg==", "cpu": [ "x64" ], @@ -1362,15 +1137,15 @@ } }, "node_modules/@tailwindcss/vite": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.3.3.tgz", - "integrity": "sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.3.5.tgz", + "integrity": "sha512-BCNiY0a1ZjdOHVqw7kyb7U72BwfMF3dfUuN+tQsLWky/J5JOI/r7abibglXfygrZhVO/3u3V+E25kkKTeMkXaQ==", "dev": true, "license": "MIT", "dependencies": { - "@tailwindcss/node": "4.3.3", - "@tailwindcss/oxide": "4.3.3", - "tailwindcss": "4.3.3" + "@tailwindcss/node": "4.3.5", + "@tailwindcss/oxide": "4.3.5", + "tailwindcss": "4.3.5" }, "peerDependencies": { "vite": "^5.2.0 || ^6 || ^7 || ^8" @@ -1499,17 +1274,17 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "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==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.72.2.tgz", + "integrity": "sha512-222PKFXKihmFpi/pS5njoBgdAqsPhj2/GBmFbrNw8Tq8gEG9Sv+kSlKFy4u2q+mJv9ZzJgM2Gkv/bUzRZwZw5g==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.12.2", - "@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", + "@typescript-eslint/scope-manager": "8.72.2", + "@typescript-eslint/type-utils": "8.72.2", + "@typescript-eslint/utils": "8.72.2", + "@typescript-eslint/visitor-keys": "8.72.2", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" @@ -1522,7 +1297,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.72.1", + "@typescript-eslint/parser": "^8.72.2", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } @@ -1538,16 +1313,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.72.1.tgz", - "integrity": "sha512-ZGwZP4OCfyA0AQTpEAMWz+rtX01DRhQWW5hB0ucKDEIX5U7jdmPSaMx94rQfaPAQzIYz2BimOgKOJtjfpRFQ9g==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.72.2.tgz", + "integrity": "sha512-llP+T1YuJOLlxEciP6OyQGtz5SMxyn+9LA2BvZw5RmToGVa1y4beEDVQL6Gje7T5WFYh19WREjDCN9Ev4gm5AA==", "dev": true, "license": "MIT", "dependencies": { - "@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", + "@typescript-eslint/scope-manager": "8.72.2", + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/typescript-estree": "8.72.2", + "@typescript-eslint/visitor-keys": "8.72.2", "debug": "^4.4.3" }, "engines": { @@ -1563,14 +1338,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "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==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.72.2.tgz", + "integrity": "sha512-6y5dLTZdHhI8Eh3yIQ/bfQhRKwn5e+TpJj64o18Cngc0iW/BCrVvrr6zGYqXPnYH31u6YXAYiFh0+qxX5mybJw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.72.1", - "@typescript-eslint/types": "^8.72.1", + "@typescript-eslint/tsconfig-utils": "^8.72.2", + "@typescript-eslint/types": "^8.72.2", "debug": "^4.4.3" }, "engines": { @@ -1585,14 +1360,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "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==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.72.2.tgz", + "integrity": "sha512-iIoMJ6/8c1/QpFNyFjU0d1YzPco4MsZjQw0k3V+vfzNWAFmUmvhlyMoYEoYYDQZXc+J6Gi1X5XcxlzW2taIIGQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.72.1", - "@typescript-eslint/visitor-keys": "8.72.1" + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/visitor-keys": "8.72.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1603,9 +1378,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "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==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.2.tgz", + "integrity": "sha512-+h3iCgZXuTNtoLXcnnjP12ZUHLMqoUcIHPfQrFEXTUqvb9dF8QK9b5nv5VtSo5fLkdHuks8ehbTzZj3rImAm9w==", "dev": true, "license": "MIT", "engines": { @@ -1620,15 +1395,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.72.1.tgz", - "integrity": "sha512-iY2wlmyrXJmx4yxUGP3aYCFF3cA/6ShddOKmLU2dx7LnEykbAM8WThlxZEfd1NddqceF6eJmZUayxx9oKIYNlg==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.72.2.tgz", + "integrity": "sha512-STfkR38qIdhfkLpgtXnUjAzsNy4xouqiBO0lrVc/Wpk9Kem5/aHXUx1J8dGC16zpdYN1+yc2ILQ28er1kXX7ag==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.72.1", - "@typescript-eslint/typescript-estree": "8.72.1", - "@typescript-eslint/utils": "8.72.1", + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/typescript-estree": "8.72.2", + "@typescript-eslint/utils": "8.72.2", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, @@ -1645,9 +1420,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.1.tgz", - "integrity": "sha512-LmE5IhQet1BWOWEXqBrVtBPsMAOQ6Nzk35d+WLh3mk4EUF33sqlfxjio1MdYeSvKSG5skactKKuixBIKXhL4Rw==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.2.tgz", + "integrity": "sha512-Xfn37OLZx03+PCU7qWx9DTv2FCRh1E6fk2+wONeNY15HXIwtcwuveaSwVpGAUptkNmPQegRxW5JyRel9T7wrog==", "devOptional": true, "license": "MIT", "engines": { @@ -1659,16 +1434,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.1.tgz", - "integrity": "sha512-DAlUoUV93hIvrtIQLwCbmZQYVZwOMhiHJrOVUUIWicFZaIYjTRqlY3I/NZevfkLmSqkNHRu2qYDcq9lrn16oOQ==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.2.tgz", + "integrity": "sha512-pQEGqIK/cqEvKivVWaFLYpe7XYejFxfuAOi4mu1oAWFvIo36aRHI9esRFTUxcIy/z8N482RJyH+LpZB0ZIU7Ow==", "dev": true, "license": "MIT", "dependencies": { - "@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", + "@typescript-eslint/project-service": "8.72.2", + "@typescript-eslint/tsconfig-utils": "8.72.2", + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/visitor-keys": "8.72.2", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", @@ -1687,16 +1462,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "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==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.72.2.tgz", + "integrity": "sha512-hv3eRYbpPbbpezuax1EfGrzpa3C4ySgNZkPUkLOWOAjU8HsOKowEDAr8C7nsNl1C+SBSKDpvno6VKHnlhvp9iA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.72.1", - "@typescript-eslint/types": "8.72.1", - "@typescript-eslint/typescript-estree": "8.72.1" + "@typescript-eslint/scope-manager": "8.72.2", + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/typescript-estree": "8.72.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1711,13 +1486,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.1.tgz", - "integrity": "sha512-SB8xqipSzZHUePCCLNeYxqnxq83X61/qzNhjQGbTfjxGZIeOEP7tBgWYX05Tcd6CgE02WdTJnh5b8kMZJ/+bnQ==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.2.tgz", + "integrity": "sha512-NAGrjn0Pitjqzq/GkgMC4kBYm233PQ8GffyQ9+kTA3AlNQYEzOf25EIM02BAHZv5FRJSpHpJk+OGUxVkOB93GQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.72.1", + "@typescript-eslint/types": "8.72.2", "eslint-visitor-keys": "^5.0.0" }, "engines": { @@ -1729,14 +1504,14 @@ } }, "node_modules/@vitest/mocker": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.0.5.tgz", - "integrity": "sha512-xLL3lkDegJZw+MGoGaCCsFayDZthGgpAtr3Vziyfc4p7xH89K7KRPcRBBh/kEYm0Aqkt5DtTmkYpBtRV/FrHZg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.1.0.tgz", + "integrity": "sha512-5umB9/jlWcqVS6fsrFmv5Gdnpu6wAUio/lEOwAmvB7v+lFo/IW2B9FhAD0p19GCULTgMzLCdUmuCDCnAzWgppQ==", "dev": true, "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "0.3.31", - "@vitest/spy": "5.0.5", + "@vitest/spy": "5.1.0", "estree-walker": "^3.0.3", "magic-string": "^1.4.3" }, @@ -1757,9 +1532,9 @@ } }, "node_modules/@vitest/spy": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.0.5.tgz", - "integrity": "sha512-lwJRExuH417257Q5wv9QYugN9IMJkoxcrKrYxGPQkBzl7wlNpTUxD/5yNX4ESKVUIShKPgkGchYPFMWOOk0wzw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.1.0.tgz", + "integrity": "sha512-2DPO5OMHWKrBngC+fCmTQqemNF0gidRhp3lxbBmRhW+M1XJrfgPpqNqWVevXtn2f2ufD5ZaR1B6B641aAlcX5A==", "dev": true, "license": "MIT", "funding": { @@ -1884,14 +1659,31 @@ "node": "18 || 20 || >=22" } }, - "node_modules/bidi-js": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/bidi-js/-/bidi-js-1.1.0.tgz", - "integrity": "sha512-fX1Onk0tdVPC7obPWB5EbJ1z7NVhLq4m2xZLq2YXBkxzMXIGRpNMU88n0EPgWseKl12J7zXs7qrDxPK4sRs2fg==", + "node_modules/bcp-47": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/bcp-47/-/bcp-47-2.1.2.tgz", + "integrity": "sha512-wsv86UuNFuPnVieKLyECTT+CP1WSAHeoIg5P3xu2kA9Z+7fVPoKt7dxzSeEhtJel0AI+NW3fIW3KtTKQKUCngg==", "dev": true, "license": "MIT", "dependencies": { - "require-from-string": "^2.0.2" + "is-alphabetical": "^2.0.0", + "is-alphanumerical": "^2.0.0", + "is-decimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/bcp-47-match": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/bcp-47-match/-/bcp-47-match-2.0.3.tgz", + "integrity": "sha512-JtTezzbAibu8G0R9op9zb3vcWZd9JF6M0xOYGPn0fNCd7wOpRB1mU2mH9T8gaBGbAAyIIVgB2G7xG0GP98zMAQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" } }, "node_modules/brace-expansion": { @@ -1985,33 +1777,6 @@ "node": ">= 8" } }, - "node_modules/css-tree": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.2.1.tgz", - "integrity": "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==", - "dev": true, - "license": "MIT", - "dependencies": { - "mdn-data": "2.27.1", - "source-map-js": "^1.2.1" - }, - "engines": { - "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" - } - }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "dev": true, - "license": "MIT", - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/data-urls": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-8.0.0.tgz", @@ -2102,9 +1867,9 @@ "license": "MIT" }, "node_modules/enhanced-resolve": { - "version": "5.26.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.26.0.tgz", - "integrity": "sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==", + "version": "5.26.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.26.1.tgz", + "integrity": "sha512-PPnnSJq3azKOIewXR/uppBV/6h98dprBJ/WaQ9Qgj10xX1lJLNfg+XShpbsrSqcDSy2yYYyhfXM1wWhftqgyzw==", "dev": true, "license": "MIT", "dependencies": { @@ -2116,9 +1881,9 @@ } }, "node_modules/entities": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-8.1.0.tgz", - "integrity": "sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-9.0.0.tgz", + "integrity": "sha512-oJFNDJg3kTPwAD1cNn2+WmUq4wFoo09npc3Ydf1D7ED4smRiWrsKnaLxykrTWgyGEcusc87P5dxlAleol9kpkg==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -2208,9 +1973,9 @@ } }, "node_modules/eslint-plugin-svelte": { - "version": "3.23.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-3.23.1.tgz", - "integrity": "sha512-+w86Jlx4IRUuuvtqD6j4njql+akx+81JnpvbN5de3AV5iq2SexvST/Jr51CiTlKeY0i+vhoKjPO/ywFKIP75sA==", + "version": "3.24.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-3.24.1.tgz", + "integrity": "sha512-XYzp318u8UkDH4ZdRkdSomOYnwMTeJP2Zw9u6DuBj3mViFZD8zS+mhfTYq34plm3SH9eF7ZaiYJfQYq2xMhPHg==", "dev": true, "license": "MIT", "dependencies": { @@ -2219,11 +1984,11 @@ "esutils": "^2.0.3", "globals": "^16.0.0", "known-css-properties": "^0.37.0", - "postcss": "^8.4.49", + "postcss": "^8.5.10", "postcss-load-config": "^3.1.4", "postcss-safe-parser": "^7.0.0", "semver": "^7.6.3", - "svelte-eslint-parser": "^1.7.0" + "svelte-eslint-parser": "^1.10.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2507,9 +2272,9 @@ } }, "node_modules/globals": { - "version": "17.13.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-17.13.0.tgz", - "integrity": "sha512-RwMTC61u7hrG3ZJMkZQOK4JLJrKS8QtoTii63EmWvFXHqycY9FObBJQCbsLxSO8kjKhWE5kV1GC+Vb1g3RI0Zg==", + "version": "17.14.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.14.0.tgz", + "integrity": "sha512-UtdkTVyAJePQv0J2M9Xe4L0ruNSDV314XiIJsADI2Zf40bcdAonE/D/OhAU8AT99oij9mhLByb+NvA3QWZYgCg==", "dev": true, "license": "MIT", "engines": { @@ -2579,6 +2344,43 @@ "node": ">=0.8.19" } }, + "node_modules/is-alphabetical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz", + "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-alphanumerical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz", + "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-alphabetical": "^2.0.0", + "is-decimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-decimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz", + "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", @@ -2666,41 +2468,39 @@ } }, "node_modules/jsdom": { - "version": "30.1.3", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-30.1.3.tgz", - "integrity": "sha512-hQMUPvRgN7KxsfIytDQji7bimuJeRQa6Qo5+iuiZQk5CafeRxLIA10/cG5YCBFNpD9RO3oqIiN4CO1Y44kxqXg==", + "version": "31.0.0", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-31.0.0.tgz", + "integrity": "sha512-xAkhD9z1eyFC5+QUi9K24CaZJgdCQ2GOGLW1GdVDoQvkp/AxEH9TQ0pAplPOlIiV92hfcgnFOADZypbjgbBT6Q==", "dev": true, "license": "MIT", "dependencies": { - "@asamuzakjp/css-color": "^7.1.3", - "@asamuzakjp/dom-selector": "^10.0.3", - "@bramus/specificity": "^2.4.2", - "@csstools/css-syntax-patches-for-csstree": "^1.1.15", "@exodus/bytes": "^1.16.0", - "css-tree": "^3.2.1", + "bcp-47": "^2.1.2", + "bcp-47-match": "^2.0.3", "data-urls": "^8.0.0", "decimal.js": "^10.6.0", "html-encoding-sniffer": "^7.0.0", "is-potential-custom-element-name": "^1.0.1", "lru-cache": "^11.5.3", - "parse5": "^8.0.1", + "parse5": "^8.1.0", + "parse5-parser-stream": "^8.1.0", "saxes": "^6.0.0", "tough-cookie": "^6.0.2", - "undici": "^8.12.1", + "undici": "^8.12.3", "w3c-xmlserializer": "^6.0.0", "webidl-conversions": "^8.0.1", "whatwg-mimetype": "^5.0.0", - "whatwg-url": "^17.2.0", + "whatwg-url": "^17.3.0", "xml-name-validator": "^5.0.0" }, "engines": { "node": "^22.22.2 || ^24.15.0 || >=26.0.0" }, "peerDependencies": { - "canvas": "^3.2.3" + "@napi-rs/canvas": "^1.0.13" }, "peerDependenciesMeta": { - "canvas": { + "@napi-rs/canvas": { "optional": true } } @@ -2774,9 +2574,9 @@ } }, "node_modules/lightningcss": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", - "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz", + "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==", "dev": true, "license": "MPL-2.0", "dependencies": { @@ -2790,23 +2590,23 @@ "url": "https://opencollective.com/parcel" }, "optionalDependencies": { - "lightningcss-android-arm64": "1.32.0", - "lightningcss-darwin-arm64": "1.32.0", - "lightningcss-darwin-x64": "1.32.0", - "lightningcss-freebsd-x64": "1.32.0", - "lightningcss-linux-arm-gnueabihf": "1.32.0", - "lightningcss-linux-arm64-gnu": "1.32.0", - "lightningcss-linux-arm64-musl": "1.32.0", - "lightningcss-linux-x64-gnu": "1.32.0", - "lightningcss-linux-x64-musl": "1.32.0", - "lightningcss-win32-arm64-msvc": "1.32.0", - "lightningcss-win32-x64-msvc": "1.32.0" + "lightningcss-android-arm64": "1.33.0", + "lightningcss-darwin-arm64": "1.33.0", + "lightningcss-darwin-x64": "1.33.0", + "lightningcss-freebsd-x64": "1.33.0", + "lightningcss-linux-arm-gnueabihf": "1.33.0", + "lightningcss-linux-arm64-gnu": "1.33.0", + "lightningcss-linux-arm64-musl": "1.33.0", + "lightningcss-linux-x64-gnu": "1.33.0", + "lightningcss-linux-x64-musl": "1.33.0", + "lightningcss-win32-arm64-msvc": "1.33.0", + "lightningcss-win32-x64-msvc": "1.33.0" } }, "node_modules/lightningcss-android-arm64": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz", - "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz", + "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==", "cpu": [ "arm64" ], @@ -2825,9 +2625,9 @@ } }, "node_modules/lightningcss-darwin-arm64": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz", - "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz", + "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==", "cpu": [ "arm64" ], @@ -2846,9 +2646,9 @@ } }, "node_modules/lightningcss-darwin-x64": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz", - "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz", + "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==", "cpu": [ "x64" ], @@ -2867,9 +2667,9 @@ } }, "node_modules/lightningcss-freebsd-x64": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz", - "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz", + "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==", "cpu": [ "x64" ], @@ -2888,9 +2688,9 @@ } }, "node_modules/lightningcss-linux-arm-gnueabihf": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz", - "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz", + "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==", "cpu": [ "arm" ], @@ -2909,16 +2709,13 @@ } }, "node_modules/lightningcss-linux-arm64-gnu": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz", - "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz", + "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==", "cpu": [ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2933,16 +2730,13 @@ } }, "node_modules/lightningcss-linux-arm64-musl": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz", - "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz", + "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==", "cpu": [ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2957,16 +2751,13 @@ } }, "node_modules/lightningcss-linux-x64-gnu": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz", - "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz", + "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==", "cpu": [ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2981,16 +2772,13 @@ } }, "node_modules/lightningcss-linux-x64-musl": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz", - "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz", + "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==", "cpu": [ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -3005,9 +2793,9 @@ } }, "node_modules/lightningcss-win32-arm64-msvc": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz", - "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz", + "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==", "cpu": [ "arm64" ], @@ -3026,9 +2814,9 @@ } }, "node_modules/lightningcss-win32-x64-msvc": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz", - "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz", + "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==", "cpu": [ "x64" ], @@ -3115,13 +2903,6 @@ "@jridgewell/sourcemap-codec": "^1.6.0" } }, - "node_modules/mdn-data": { - "version": "2.27.1", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.27.1.tgz", - "integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==", - "dev": true, - "license": "CC0-1.0" - }, "node_modules/minimatch": { "version": "11.0.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.5.tgz", @@ -3267,21 +3048,34 @@ } }, "node_modules/parse5": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-8.0.1.tgz", - "integrity": "sha512-z1e/HMG90obSGeidlli3hj7cbocou0/wa5HacvI3ASx34PecNjNQeaHNo5WIZpWofN9kgkqV1q5YvXe3F0FoPw==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-8.1.1.tgz", + "integrity": "sha512-EcR/6WDcU7b2N3vQSxKALCk9lXGtUMQxXio008OEMBE0kavu/7JLfBEeFPzi43nMqVDSbEn3QCK+BMCc9zO//w==", "dev": true, "license": "MIT", "dependencies": { - "entities": "^8.0.0" + "entities": "^9.0.0" }, "funding": { "url": "https://github.com/inikulin/parse5?sponsor=1" } }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "node_modules/parse5-parser-stream": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/parse5-parser-stream/-/parse5-parser-stream-8.1.1.tgz", + "integrity": "sha512-hMcVbbUJcQmP8rURWUdYrT1flRiBiBVjq/RYGguJpDUgIXSqdYKlE0CxthmdMWoSlBAuL5bUBa73g0pttSy7Hw==", + "dev": true, + "license": "MIT", + "dependencies": { + "parse5": "^8.1.1" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, "license": "MIT", @@ -3443,13 +3237,12 @@ } }, "node_modules/postcss-selector-parser": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.7.tgz", - "integrity": "sha512-wWBro/7hJ40ye6TPiXkUQoXKCw23xSsjriUvqd7Uls9Sso3oLiON1flc18cCdnjgCRXw4fBVqUJJeOdDTh3P3g==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.2.0.tgz", + "integrity": "sha512-Khh/tERVBn0I1499dvBSHY0pWJloMJWUxDsOBM0CCDPAcVZ10Jl2L1qy1f19uEX22spa8Mv7DCdEQJc0cGwBhQ==", "dev": true, "license": "MIT", "dependencies": { - "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" }, "engines": { @@ -3562,24 +3355,14 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/rolldown": { - "version": "1.2.15", - "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.15.tgz", - "integrity": "sha512-6odND+fel5zVw3I4Yc2e69gvguDnX0CAAGiNDZSq4ik5WUcaLrkD2GLuog0XcODbor31hZ5ayEMgVDno+KPV5g==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.18.tgz", + "integrity": "sha512-C1uuT3UR60SShuCaPQFAAZyefJCWZlAKB02BV3BuPE2Rs4fevRQltEKoFO2tV5W9/eJhU5RieV6vJj3euulfNQ==", "dev": true, "license": "MIT", "dependencies": { - "@oxc-project/types": "=0.155.0", + "@oxc-project/types": "=0.156.0", "@rolldown/pluginutils": "^1.0.0" }, "bin": { @@ -3589,21 +3372,21 @@ "node": "^20.19.0 || >=22.12.0" }, "optionalDependencies": { - "@rolldown/binding-android-arm-eabi": "1.2.15", - "@rolldown/binding-android-arm64": "1.2.15", - "@rolldown/binding-darwin-arm64": "1.2.15", - "@rolldown/binding-darwin-x64": "1.2.15", - "@rolldown/binding-freebsd-x64": "1.2.15", - "@rolldown/binding-linux-arm-gnueabihf": "1.2.15", - "@rolldown/binding-linux-arm64-gnu": "1.2.15", - "@rolldown/binding-linux-arm64-musl": "1.2.15", - "@rolldown/binding-linux-ppc64-gnu": "1.2.15", - "@rolldown/binding-linux-s390x-gnu": "1.2.15", - "@rolldown/binding-linux-x64-gnu": "1.2.15", - "@rolldown/binding-linux-x64-musl": "1.2.15", - "@rolldown/binding-openharmony-arm64": "1.2.15", - "@rolldown/binding-win32-arm64-msvc": "1.2.15", - "@rolldown/binding-win32-x64-msvc": "1.2.15" + "@rolldown/binding-android-arm-eabi": "1.2.18", + "@rolldown/binding-android-arm64": "1.2.18", + "@rolldown/binding-darwin-arm64": "1.2.18", + "@rolldown/binding-darwin-x64": "1.2.18", + "@rolldown/binding-freebsd-x64": "1.2.18", + "@rolldown/binding-linux-arm-gnueabihf": "1.2.18", + "@rolldown/binding-linux-arm64-gnu": "1.2.18", + "@rolldown/binding-linux-arm64-musl": "1.2.18", + "@rolldown/binding-linux-ppc64-gnu": "1.2.18", + "@rolldown/binding-linux-s390x-gnu": "1.2.18", + "@rolldown/binding-linux-x64-gnu": "1.2.18", + "@rolldown/binding-linux-x64-musl": "1.2.18", + "@rolldown/binding-openharmony-arm64": "1.2.18", + "@rolldown/binding-win32-arm64-msvc": "1.2.18", + "@rolldown/binding-win32-x64-msvc": "1.2.18" } }, "node_modules/sade": { @@ -3727,9 +3510,9 @@ } }, "node_modules/svelte-check": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.7.7.tgz", - "integrity": "sha512-Ge2IMdeTpbJuzNFGRiiMg0RWgbScysKQu7xwcyFJ22+DU9F5nPX51+Q3gHmGqRxYQMx2knreVWt5oCtfe0vf2g==", + "version": "4.7.8", + "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.7.8.tgz", + "integrity": "sha512-laZ49GFHZ3b0z2PWinJWL0syehc/PTR8aHaUaTiBkWJ+4Y38nhxjmXsSz7CbGa3VdKopViVbrBH3bGNqIAI0bQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3752,9 +3535,9 @@ } }, "node_modules/svelte-eslint-parser": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/svelte-eslint-parser/-/svelte-eslint-parser-1.10.0.tgz", - "integrity": "sha512-1bNtsoGwEx/J1qNz1xa5dSt/Ue5+C7+WpV92cCPZDbF6dx/YXHKzC9yTP25vFvAK40yd/mHXi1WACZO7FGf0Bw==", + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/svelte-eslint-parser/-/svelte-eslint-parser-1.10.1.tgz", + "integrity": "sha512-owYBhrNRp/m+hDaQCH0S683kc0TMFy2bB+qvsMQQZRsjSFD9xp/3FYgI8FZoOKA3xk62gwkUj1HpVek0p6WgNw==", "dev": true, "license": "MIT", "dependencies": { @@ -3849,9 +3632,9 @@ } }, "node_modules/tailwindcss": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.3.tgz", - "integrity": "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.5.tgz", + "integrity": "sha512-FcQk9BuffmEHJP2G0XmB2SplU1aLTI7j07Kunk+U74Ny+XiWOtzXz9aujFZ/avntw1e2cOv/3PkgzflQ7gX2vQ==", "dev": true, "license": "MIT" }, @@ -4003,16 +3786,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.72.1", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.72.1.tgz", - "integrity": "sha512-3Li9FfPmQp45nxEtFD1ZCrYFI3cYK5kpyNtmm1H7lMagm8u9sy6PTjy3ytwQZs7KNukOyKFHAZ6z6GjYFeaeXw==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.72.2.tgz", + "integrity": "sha512-c/+AKMW1KB81r28Sp0AAdcyXj5dzNmAsZFcsrxKbZTKmcBK2xIwBR31dcSYSDu3bKmzXe8GKrSxO+eDQ401Uzg==", "dev": true, "license": "MIT", "dependencies": { - "@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" + "@typescript-eslint/eslint-plugin": "8.72.2", + "@typescript-eslint/parser": "8.72.2", + "@typescript-eslint/typescript-estree": "8.72.2", + "@typescript-eslint/utils": "8.72.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4061,16 +3844,16 @@ "license": "MIT" }, "node_modules/vite": { - "version": "8.3.5", - "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.5.tgz", - "integrity": "sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ==", + "version": "8.3.7", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.7.tgz", + "integrity": "sha512-oxh0dMxrayBr33ScJvvBJ2HBQ2jc1TBrXKR2NyL/MJ9WPuX19mN2DXWUmywKdyw5RFVQBo8hmtb2FMC0LHrnng==", "dev": true, "license": "MIT", "dependencies": { "lightningcss": "^1.33.0", "picomatch": "^4.0.7", - "postcss": "^8.5.30", - "rolldown": "~1.2.14", + "postcss": "^8.5.32", + "rolldown": "~1.2.18", "tinyglobby": "^0.2.17" }, "bin": { @@ -4138,279 +3921,6 @@ } } }, - "node_modules/vite/node_modules/lightningcss": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz", - "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==", - "dev": true, - "license": "MPL-2.0", - "dependencies": { - "detect-libc": "^2.0.3" - }, - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - }, - "optionalDependencies": { - "lightningcss-android-arm64": "1.33.0", - "lightningcss-darwin-arm64": "1.33.0", - "lightningcss-darwin-x64": "1.33.0", - "lightningcss-freebsd-x64": "1.33.0", - "lightningcss-linux-arm-gnueabihf": "1.33.0", - "lightningcss-linux-arm64-gnu": "1.33.0", - "lightningcss-linux-arm64-musl": "1.33.0", - "lightningcss-linux-x64-gnu": "1.33.0", - "lightningcss-linux-x64-musl": "1.33.0", - "lightningcss-win32-arm64-msvc": "1.33.0", - "lightningcss-win32-x64-msvc": "1.33.0" - } - }, - "node_modules/vite/node_modules/lightningcss-android-arm64": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz", - "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MPL-2.0", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/vite/node_modules/lightningcss-darwin-arm64": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz", - "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MPL-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/vite/node_modules/lightningcss-darwin-x64": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz", - "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MPL-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/vite/node_modules/lightningcss-freebsd-x64": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz", - "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MPL-2.0", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/vite/node_modules/lightningcss-linux-arm-gnueabihf": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz", - "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==", - "cpu": [ - "arm" - ], - "dev": true, - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/vite/node_modules/lightningcss-linux-arm64-gnu": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz", - "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==", - "cpu": [ - "arm64" - ], - "dev": true, - "libc": [ - "glibc" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/vite/node_modules/lightningcss-linux-arm64-musl": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz", - "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "libc": [ - "musl" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/vite/node_modules/lightningcss-linux-x64-gnu": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz", - "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==", - "cpu": [ - "x64" - ], - "dev": true, - "libc": [ - "glibc" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/vite/node_modules/lightningcss-linux-x64-musl": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz", - "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==", - "cpu": [ - "x64" - ], - "dev": true, - "libc": [ - "musl" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/vite/node_modules/lightningcss-win32-arm64-msvc": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz", - "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MPL-2.0", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/vite/node_modules/lightningcss-win32-x64-msvc": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz", - "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MPL-2.0", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, "node_modules/vitefu": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.1.3.tgz", @@ -4432,14 +3942,14 @@ } }, "node_modules/vitest": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.0.5.tgz", - "integrity": "sha512-cPODOMF8YnkiiYtDdHo6n4wWmBrOBBbOIYH2d33M4l3CdNn72h+qMmO6uXffUN6A5AZFXNND/d+krS9mgkXRfg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.1.0.tgz", + "integrity": "sha512-MzmNFnrwa8v8lF1bLxw3UJ4EREwVOVb75VqJZmUDRjJ6EluK/x9th7qTbaeDk41WxE1GxWqmTXcdsfobfH5sOA==", "dev": true, "license": "MIT", "dependencies": { "@types/chai": "^5.2.2", - "@vitest/mocker": "5.0.5", + "@vitest/mocker": "5.1.0", "chai": "^6.3.0", "es-module-lexer": "^2.3.2", "expect-type": "^1.4.0", @@ -4465,12 +3975,12 @@ "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^22.0.0 || >=24.0.0", - "@vitest/browser-playwright": "5.0.5", - "@vitest/browser-preview": "5.0.5", + "@vitest/browser-playwright": "5.1.0", + "@vitest/browser-preview": "5.1.0", "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0", - "@vitest/coverage-istanbul": "5.0.5", - "@vitest/coverage-v8": "5.0.5", - "@vitest/ui": "5.0.5", + "@vitest/coverage-istanbul": "5.1.0", + "@vitest/coverage-v8": "5.1.0", + "@vitest/ui": "5.1.0", "happy-dom": "*", "jsdom": "*", "vite": "^6.4.0 || ^7.0.0 || ^8.0.0" diff --git a/web/package.json b/web/package.json index b590b24d..b8d55393 100644 --- a/web/package.json +++ b/web/package.json @@ -27,24 +27,24 @@ "devDependencies": { "@eslint/js": "10.0.1", "@sveltejs/adapter-static": "4.0.1", - "@sveltejs/kit": "3.1.1", + "@sveltejs/kit": "3.2.0", "@sveltejs/vite-plugin-svelte": "7.3.1", - "@tailwindcss/vite": "4.3.3", + "@tailwindcss/vite": "4.3.5", "@testing-library/svelte": "5.4.2", "@types/node": "24.19.2", "eslint": "10.14.0", - "eslint-plugin-svelte": "3.23.1", - "globals": "17.13.0", - "jsdom": "30.1.3", + "eslint-plugin-svelte": "3.24.1", + "globals": "17.14.0", + "jsdom": "31.0.0", "json-schema-to-typescript": "16.0.0", "prettier": "3.9.10", "prettier-plugin-svelte": "4.1.1", - "svelte-check": "4.7.7", - "tailwindcss": "4.3.3", + "svelte-check": "4.7.8", + "tailwindcss": "4.3.5", "typescript": "6.0.3", - "typescript-eslint": "8.72.1", - "vite": "8.3.5", - "vitest": "5.0.5" + "typescript-eslint": "8.72.2", + "vite": "8.3.7", + "vitest": "5.1.0" }, "overrides": { "minimatch": "11.0.5"