diff --git a/.github/ci/README.md b/.github/ci/README.md new file mode 100644 index 00000000000..58feb558268 --- /dev/null +++ b/.github/ci/README.md @@ -0,0 +1,122 @@ +# CI compatibility baseline + +The three Python workflows share `constraints.txt` via a job-level, absolute +`PIP_CONSTRAINT` path. It applies to every pip invocation, including installs +inside `make ci-install`, later notebook/tool installs, and the released `pyqlib` +package. A bound in this checkout's `pyproject.toml` alone does not constrain a +package installed from PyPI. Keep the compatibility bounds in both files in +sync; `tests/test_ci_configuration.py` checks this. + +This is a set of known compatibility bounds, not a fully reproducible Python +lockfile. The workflows run `pip check` and always print installed versions for +future diagnosis. They retain all 25 OS/Python combinations per workflow and +disable matrix fail-fast so that one failure does not hide the others. + +## Why these bounds exist + +| Dependency | Constraint | Failure addressed | +| --- | --- | --- | +| MLflow | `<3.13` | Qlib uses the filesystem tracking backend, disabled by default in newer versions. | +| filelock | `>=3.16.0,<3.30` | Fork-safety checks conflict with DataQueue's producer thread and multiprocessing workers. | +| fastjsonschema | `<2.22` on Python 3.8/3.9 | Python 3.10 union annotations are evaluated on older interpreters. | +| Plotly | `<7` | Qlib still imports `figure_factory.create_distplot`. | +| lxml | `<6.1.3` | The Windows job falls back to a source distribution without libxml2 headers. | +| OSQP | `==1.0.5` on Windows/Python 3.8 | Native imports crash with 1.1.3 and also with 0.6.7.post3. | +| Black | `<26.1` | Use one compatible formatter for both Python and notebooks. | + +OSQP 1.0.5 is the wheel used by the successful full Windows/Python 3.8 job in +[PR #2308](https://github.com/microsoft/qlib/actions/runs/30225522618/job/89854962742). +It is selected during dependency resolution, not installed as a downgrade after +an incompatible environment has already been built. All three workflows smoke +test native solver imports rather than excluding Windows/Python 3.8. + +`MLFLOW_ALLOW_FILE_STORE=true` retains the original PR's explicit file-backend +opt-in. The upper bound also protects source installs outside CI. Migrating +Qlib's tracking backend is a separate change. + +## Install only each test job's dependencies + +CI calls `make ci-install` with an explicit `CI_EXTRAS` profile. The existing +`make dev` target still installs the complete developer environment. + +| Source job | Extras | +| --- | --- | +| Regular, Windows/macOS | `dev,test,analysis,lint` | +| Regular, Ubuntu 24.04 | `dev,test,analysis,lint,rl` | +| Regular, Ubuntu 22.04 | `dev,test,analysis,lint,rl,docs` | +| Slow, Windows/macOS | `dev,test,analysis` | +| Slow, Linux | `dev,test,analysis,rl` | + +All source jobs additionally install `test-requirements.txt`: PyTorch is +required for the neural-network tests even without the RL extra. NumPy/SciPy +retain the compatibility bounds previously inherited from the RL/docs extras. +Ubuntu jobs select CPU PyTorch wheels. torchvision/torchaudio are not used by +the test suite and are no longer installed explicitly. No test job needs the +package-building extra; docs dependencies are installed only where `docs-gen` +runs. Lint checks stay in the existing regular source matrix. + +`tests/conftest.py` already excludes RL tests on non-Linux platforms. Installing +RL extras there used to pull in `tianshou -> tensorboard -> grpcio`, requiring +expensive source builds to work around incorrect macOS wheel metadata and an +Xcode 16.4 bundled-zlib build failure. Those jobs no longer install this unused +dependency chain, so the grpcio source-build workaround has been removed. +Linux retains the RL extra and the same RL tests. The PyPI workflow is unchanged. + +Explicit imports of PyTorch, Qlib's PyTorch model registry, GeneralPTNN, and +both dataset classes prevent missing dependencies from silently bypassing +neural-network tests. On macOS, prepare LightGBM and its `libomp` runtime before +these checks: importing the model package also eagerly imports LightGBM. The +preparation step verifies the LightGBM native import before checking the model +registry. A non-Linux footprint check rejects accidental +reintroduction of tianshou/TensorBoard/grpcio, followed by the unchanged +`pip check`. If a future test genuinely needs these dependencies on macOS, +update this policy and validate native wheel metadata/imports rather than +disabling the checks. This change does not reduce the matrix, alter test +selection, add caches, or reduce test data sizes. + +## Network and workflow retries + +Dataset commands have at most three attempts, with a 15-minute timeout per +attempt. `--delete_old False` makes retries noninteractive in these fresh CI +directories, including when an earlier attempt already extracted one dataset. +Bash command blocks use `set -euo pipefail`, so an earlier failure cannot be +hidden by a later successful command. Exhausted retries still fail the job. + +The configuration-driven workflow has at most three 30-minute attempts. This +is a bounded mitigation for the observed MLflow file-store error +`Metric 'IC' is malformed. No data found.`, not a fix for a suspected +read/write race. A deterministic error must still fail all attempts; do not +introduce `continue-on-error` or silently skip assertions. Fixing file-store +consistency should be handled separately, with a reproducer. + +The MLflow client performance test initializes the tracking store before +timing repeated client construction, uses a monotonic performance clock, and +retains the original 10ms (Linux) / 20ms (other platforms) thresholds. Cold +plugin/store initialization is not a client-construction regression. + +The PyPI workflow runs outside the checkout (`RUNNER_TEMP`) and passes the +example YAML by absolute path, so imports test the installed distribution. + +## Title lint and maintenance + +Checkout, Python setup, Node setup, and retry actions use Node 24-based releases +(`checkout@v6`, `setup-python@v6`, `setup-node@v6`, `retry@v4`). The action +runtime is separate from the Python and Node versions installed for tests. + +Node 22 satisfies commitlint's Node >=22.12 requirement. The root `package.json` +and `package-lock.json` pin the title tooling and its transitive dependencies; +CI uses `npm ci --ignore-scripts` and `npx --no-install`. + +When updating a bound, update the package metadata and constraints together, +run the offline policy checks, and verify the full matrix, including PyPI: + +```sh +python -m unittest discover -s tests -p test_ci_configuration.py +npm ci --ignore-scripts --no-audit --no-fund +printf '%s\n' 'ci: update compatibility baseline' | npx --no-install commitlint --config .commitlintrc.js +``` + +For local pip installs, set `PIP_CONSTRAINT` to the absolute path of this +directory's `constraints.txt`. Do not infer Windows/macOS runtime correctness +from a Linux resolver check. Remove individual bounds only after reproducing +and verifying the upstream fix on the affected environment. diff --git a/.github/ci/constraints.txt b/.github/ci/constraints.txt new file mode 100644 index 00000000000..f8c641f243d --- /dev/null +++ b/.github/ci/constraints.txt @@ -0,0 +1,19 @@ +# Shared by source and PyPI jobs through an absolute PIP_CONSTRAINT path. +# This is a compatibility baseline, not a complete lock of every dependency. +# Keep runtime bounds aligned with pyproject.toml; see README.md in this folder. + +# Qlib still uses MLflow's filesystem tracking backend. +mlflow<3.13 +# New fork-safety checks race with the threaded DataQueue producer. +filelock>=3.16.0,<3.30 +# 2.22 uses Python 3.10 union syntax on older interpreters. +fastjsonschema<2.22; python_version < "3.10" +# Qlib imports figure_factory.create_distplot, removed in Plotly 7. +plotly<7 +# 6.1.3 falls back to a source build on Windows without libxml2 headers. +lxml<6.1.3 +# This exact Windows/Python 3.8 wheel passed the full matrix in PR #2308. +# Both 1.1.3 and a subsequent downgrade to 0.6.7.post3 crashed on import. +osqp==1.0.5; sys_platform == "win32" and python_version == "3.8" +# Use the same formatter for Python files and notebooks. +black<26.1 diff --git a/.github/ci/test-requirements.txt b/.github/ci/test-requirements.txt new file mode 100644 index 00000000000..33b0c4dfba9 --- /dev/null +++ b/.github/ci/test-requirements.txt @@ -0,0 +1,7 @@ +# Runtime required by both source test workflows, including non-Linux jobs +# which do not run tests/rl. Do not rely on the RL extra to bring in PyTorch. +torch +# Preserve the numerical dependency bounds previously inherited from the RL +# and docs extras while changing which optional tools are installed. +numpy<2.0.0 +scipy<=1.15.3 diff --git a/.github/workflows/lint_title.yml b/.github/workflows/lint_title.yml index 8c9cd8ff8d1..7f03b02ba3b 100644 --- a/.github/workflows/lint_title.yml +++ b/.github/workflows/lint_title.yml @@ -18,18 +18,18 @@ jobs: steps: # This step is necessary because the lint title uses the .commitlintrc.js file in the project root directory. - name: Checkout Repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: '16' + node-version: '22' - name: Install commitlint - run: npm install --save-dev @commitlint/{config-conventional,cli} + run: npm ci --ignore-scripts --no-audit --no-fund - name: Validate PR Title with commitlint env: BODY: ${{ github.event.pull_request.title }} run: | - echo "$BODY" | npx commitlint --config .commitlintrc.js + printf '%s\n' "$BODY" | npx --no-install commitlint --config .commitlintrc.js diff --git a/.github/workflows/test_qlib_from_pip.yml b/.github/workflows/test_qlib_from_pip.yml index 6a3bfe674d7..ddcab275eb0 100644 --- a/.github/workflows/test_qlib_from_pip.yml +++ b/.github/workflows/test_qlib_from_pip.yml @@ -13,9 +13,13 @@ on: jobs: build: timeout-minutes: 120 + env: + MLFLOW_ALLOW_FILE_STORE: "true" + PIP_CONSTRAINT: ${{ github.workspace }}/.github/ci/constraints.txt runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [windows-latest, ubuntu-24.04, ubuntu-22.04, macos-14, macos-15] # In github action, using python 3.7, pip install will not match the latest version of the package. @@ -25,12 +29,12 @@ jobs: steps: - name: Test qlib from pip - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -42,6 +46,13 @@ jobs: run: | python -m pip install pyqlib + - name: Verify dependency consistency + run: python -m pip check + + - name: Verify native solvers on Windows Python 3.8 + if: ${{ matrix.os == 'windows-latest' && matrix.python-version == '3.8' }} + run: python -c "import cvxpy, osqp; print('CVXPY', cvxpy.__version__, 'OSQP', osqp.__version__)" + - name: Install Lightgbm for MacOS if: ${{ matrix.os == 'macos-14' || matrix.os == 'macos-15' }} run: | @@ -50,11 +61,29 @@ jobs: python -m pip install --no-binary=:all: lightgbm - name: Downloads dependencies data - run: | - cd .. - python -m qlib.cli.data qlib_data --target_dir ~/.qlib/qlib_data/cn_data --region cn - cd qlib + uses: nick-fields/retry@v4 + with: + timeout_minutes: 15 + max_attempts: 3 + retry_wait_seconds: 10 + shell: bash + command: | + set -euo pipefail + cd "$RUNNER_TEMP" + python -m qlib.cli.data qlib_data --target_dir ~/.qlib/qlib_data/cn_data --region cn --delete_old False - name: Test workflow by config - run: | - qrun examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml + uses: nick-fields/retry@v4 + with: + timeout_minutes: 30 + max_attempts: 3 + shell: bash + command: | + set -euo pipefail + cd "$RUNNER_TEMP" + python -c "import os, pathlib, qlib; print('Testing installed Qlib:', qlib.__file__); assert pathlib.Path(os.environ['GITHUB_WORKSPACE']).resolve() not in pathlib.Path(qlib.__file__).resolve().parents" + qrun "$GITHUB_WORKSPACE/examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml" + + - name: Report installed dependencies + if: always() + run: python -m pip freeze diff --git a/.github/workflows/test_qlib_from_source.yml b/.github/workflows/test_qlib_from_source.yml index 81f6926a81b..34fe6d11999 100644 --- a/.github/workflows/test_qlib_from_source.yml +++ b/.github/workflows/test_qlib_from_source.yml @@ -13,10 +13,14 @@ on: jobs: build: timeout-minutes: 180 + env: + MLFLOW_ALLOW_FILE_STORE: "true" + PIP_CONSTRAINT: ${{ github.workspace }}/.github/ci/constraints.txt # we may retry for 3 times for `Unit tests with Pytest` runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [windows-latest, ubuntu-24.04, ubuntu-22.04, macos-14, macos-15] # In github action, using python 3.7, pip install will not match the latest version of the package. @@ -26,12 +30,12 @@ jobs: steps: - name: Test qlib from source - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -39,24 +43,40 @@ jobs: run: | python -m pip install --upgrade pip - - name: Installing pytorch for macos - if: ${{ matrix.os == 'macos-14' || matrix.os == 'macos-15' }} - run: | - python -m pip install torch torchvision torchaudio - - name: Installing pytorch for ubuntu if: ${{ matrix.os == 'ubuntu-24.04' || matrix.os == 'ubuntu-22.04' }} run: | - python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu + python -m pip install torch --extra-index-url https://download.pytorch.org/whl/cpu - - name: Installing pytorch for windows - if: ${{ matrix.os == 'windows-latest' }} + - name: Set up Python tools + env: + # RL tests are Linux-only; only ubuntu-22.04 builds the docs below. + CI_EXTRAS: dev,test,analysis,lint${{ runner.os == 'Linux' && ',rl' || '' }}${{ matrix.os == 'ubuntu-22.04' && ',docs' || '' }} run: | - python -m pip install torch torchvision torchaudio + make ci-install - - name: Set up Python tools + # Importing Qlib's model registry also loads LightGBM and its OpenMP runtime. + - name: Install Lightgbm for MacOS + if: ${{ matrix.os == 'macos-14' || matrix.os == 'macos-15' }} run: | - make dev + brew update + brew install libomp || brew reinstall libomp + python -m pip install --no-binary=:all: lightgbm + python -c "import lightgbm; print('LightGBM', lightgbm.__version__, 'native import passed')" + + - name: Verify neural network test dependencies + run: python -c "import torch; from qlib.contrib.model import pytorch_classes; from qlib.contrib.model.pytorch_general_nn import GeneralPTNN; from qlib.data.dataset import DatasetH, TSDatasetH; assert pytorch_classes; print('PyTorch', torch.__version__, 'model imports passed')" + + - name: Verify non-Linux dependency footprint + if: ${{ runner.os != 'Linux' }} + run: python -c "from importlib.metadata import distributions; unexpected = {'tianshou', 'tensorboard', 'grpcio'} & {d.metadata['Name'].lower() for d in distributions()}; assert not unexpected, unexpected" + + - name: Verify dependency consistency + run: python -m pip check + + - name: Verify native solvers on Windows Python 3.8 + if: ${{ matrix.os == 'windows-latest' && matrix.python-version == '3.8' }} + run: python -c "import cvxpy, osqp; print('CVXPY', cvxpy.__version__, 'OSQP', osqp.__version__)" - name: Lint with Black run: | @@ -80,37 +100,41 @@ jobs: run: | make mypy - # Due to issues that cannot be automatically fixed when running `nbqa black . -l 120 --check --diff` on Jupyter notebooks, - # we reverted to a version of `black` earlier than 26.1.0 before performing the checks. - name: Check Qlib ipynb with nbqa run: | - python -m pip install "black<26.1" make nbqa - name: Test data downloads - run: | - python scripts/get_data.py qlib_data --name qlib_data_simple --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn - python scripts/get_data.py download_data --file_name rl_data.zip --target_dir tests/.data/rl - - - name: Install Lightgbm for MacOS - if: ${{ matrix.os == 'macos-14' || matrix.os == 'macos-15' }} - run: | - brew update - brew install libomp || brew reinstall libomp - python -m pip install --no-binary=:all: lightgbm + uses: nick-fields/retry@v4 + with: + timeout_minutes: 15 + max_attempts: 3 + retry_wait_seconds: 10 + shell: bash + command: | + set -euo pipefail + python scripts/get_data.py qlib_data --name qlib_data_simple --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn --delete_old False + python scripts/get_data.py download_data --file_name rl_data.zip --target_dir tests/.data/rl --delete_old False - name: Check Qlib ipynb with nbconvert run: | make nbconvert - name: Test workflow by config (install from source) - run: | - python -m pip install numba - python qlib/cli/run.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml + uses: nick-fields/retry@v4 + with: + timeout_minutes: 30 + max_attempts: 3 + shell: bash + command: | + set -euo pipefail + python -m pip install numba + python -m pip check + python qlib/cli/run.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml - name: Unit tests with Pytest (MacOS) if: ${{ matrix.os == 'macos-14' || matrix.os == 'macos-15' }} - uses: nick-fields/retry@v2 + uses: nick-fields/retry@v4 with: timeout_minutes: 60 max_attempts: 3 @@ -126,10 +150,14 @@ jobs: - name: Unit tests with Pytest (Ubuntu and Windows) if: ${{ matrix.os != 'macos-13' && matrix.os != 'macos-14' && matrix.os != 'macos-15' }} - uses: nick-fields/retry@v2 + uses: nick-fields/retry@v4 with: timeout_minutes: 60 max_attempts: 3 command: | cd tests python -m pytest . -m "not slow" --durations=0 + + - name: Report installed dependencies + if: always() + run: python -m pip freeze diff --git a/.github/workflows/test_qlib_from_source_slow.yml b/.github/workflows/test_qlib_from_source_slow.yml index 79e2a1117e0..2e9221d90c8 100644 --- a/.github/workflows/test_qlib_from_source_slow.yml +++ b/.github/workflows/test_qlib_from_source_slow.yml @@ -13,10 +13,14 @@ on: jobs: build: timeout-minutes: 720 + env: + MLFLOW_ALLOW_FILE_STORE: "true" + PIP_CONSTRAINT: ${{ github.workspace }}/.github/ci/constraints.txt # we may retry for 3 times for `Unit tests with Pytest` runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [windows-latest, ubuntu-24.04, ubuntu-22.04, macos-14, macos-15] # In github action, using python 3.7, pip install will not match the latest version of the package. @@ -26,35 +30,68 @@ jobs: steps: - name: Test qlib from source slow - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - - name: Set up Python tools + - name: Installing pytorch for ubuntu + if: ${{ matrix.os == 'ubuntu-24.04' || matrix.os == 'ubuntu-22.04' }} run: | - make dev + python -m pip install torch --extra-index-url https://download.pytorch.org/whl/cpu - - name: Downloads dependencies data + - name: Set up Python tools + env: + # Slow tests collect the same modules, but do not run lint/docs/build. + CI_EXTRAS: dev,test,analysis${{ runner.os == 'Linux' && ',rl' || '' }} run: | - python scripts/get_data.py qlib_data --name qlib_data_simple --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn + make ci-install + # Importing Qlib's model registry also loads LightGBM and its OpenMP runtime. - name: Install Lightgbm for MacOS if: ${{ matrix.os == 'macos-14' || matrix.os == 'macos-15' }} run: | brew update brew install libomp || brew reinstall libomp python -m pip install --no-binary=:all: lightgbm + python -c "import lightgbm; print('LightGBM', lightgbm.__version__, 'native import passed')" + + - name: Verify neural network test dependencies + run: python -c "import torch; from qlib.contrib.model import pytorch_classes; from qlib.contrib.model.pytorch_general_nn import GeneralPTNN; from qlib.data.dataset import DatasetH, TSDatasetH; assert pytorch_classes; print('PyTorch', torch.__version__, 'model imports passed')" + + - name: Verify non-Linux dependency footprint + if: ${{ runner.os != 'Linux' }} + run: python -c "from importlib.metadata import distributions; unexpected = {'tianshou', 'tensorboard', 'grpcio'} & {d.metadata['Name'].lower() for d in distributions()}; assert not unexpected, unexpected" + + - name: Verify dependency consistency + run: python -m pip check + + - name: Verify native solvers on Windows Python 3.8 + if: ${{ matrix.os == 'windows-latest' && matrix.python-version == '3.8' }} + run: python -c "import cvxpy, osqp; print('CVXPY', cvxpy.__version__, 'OSQP', osqp.__version__)" + + - name: Downloads dependencies data + uses: nick-fields/retry@v4 + with: + timeout_minutes: 15 + max_attempts: 3 + retry_wait_seconds: 10 + shell: bash + command: python scripts/get_data.py qlib_data --name qlib_data_simple --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn --delete_old False - name: Unit tests with Pytest - uses: nick-fields/retry@v2 + uses: nick-fields/retry@v4 with: timeout_minutes: 240 max_attempts: 3 command: | cd tests python -m pytest . -m "slow" --durations=0 + + - name: Report installed dependencies + if: always() + run: python -m pip freeze diff --git a/.gitignore b/.gitignore index ffc592ccd52..145bbaa67c8 100644 --- a/.gitignore +++ b/.gitignore @@ -45,6 +45,7 @@ tags .pytest_cache/ .mypy_cache/ .vscode/ +node_modules/ *.swp diff --git a/Makefile b/Makefile index 40c80431875..f653b3859bf 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: clean deepclean prerequisite dependencies lightgbm rl develop lint docs package test analysis all install dev black pylint flake8 mypy nbqa nbconvert lint build upload docs-gen +.PHONY: clean deepclean prerequisite dependencies lightgbm rl develop lint docs package test analysis all install dev ci-install black pylint flake8 mypy nbqa nbconvert lint build upload docs-gen #You can modify it according to your terminal SHELL := /bin/bash @@ -12,6 +12,10 @@ PUBLIC_DIR := $(shell [ "$$READTHEDOCS" = "True" ] && echo "$$READTHEDOCS_OUTPUT SO_DIR := qlib/data/_libs SO_FILES := $(wildcard $(SO_DIR)/*.so) +# CI selects optional dependencies by platform and workflow. Keep `make dev` +# unchanged for contributors who want the complete development environment. +CI_EXTRAS ?= dev,test,analysis + ifeq ($(OS),Windows_NT) IS_WINDOWS = true else @@ -110,6 +114,9 @@ install: prerequisite dependencies dev: prerequisite all +ci-install: prerequisite + python -m pip install --no-cache-dir -r .github/ci/test-requirements.txt -e ".[$(CI_EXTRAS)]" + ######################################################################################## # Lint and pre-commit ######################################################################################## diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000000..0782e16f894 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,1388 @@ +{ + "name": "qlib-ci", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "qlib-ci", + "devDependencies": { + "@commitlint/cli": "21.2.2", + "@commitlint/config-conventional": "21.2.2" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.29.7", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@commitlint/cli": { + "version": "21.2.2", + "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-21.2.2.tgz", + "integrity": "sha512-a+6hQxIxnpdvSvS2apvttPNbEliYsVC3PqFYDiiB2kjbwIsQsj1urvQ4Tkf70pKYozPalKAuRQmm/GHwndduqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/config-conventional": "^21.2.2", + "@commitlint/format": "^21.2.2", + "@commitlint/lint": "^21.2.2", + "@commitlint/load": "^21.2.2", + "@commitlint/read": "^21.2.1", + "@commitlint/types": "^21.2.0", + "tinyexec": "^1.0.0", + "yargs": "^18.0.0" + }, + "bin": { + "commitlint": "cli.js" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/config-conventional": { + "version": "21.2.2", + "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-21.2.2.tgz", + "integrity": "sha512-NxA37SZviusFUEYOQZ5hNnZ1h7O/KiemPkxjOlpzKJNnWxThiwc6/SaZhaPa8fyLvfRBAywhQhJJk8XESHWlpQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/types": "^21.2.0", + "conventional-changelog-conventionalcommits": "^10.0.0" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/config-validator": { + "version": "21.2.0", + "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-21.2.0.tgz", + "integrity": "sha512-t7AzNHAKeIdo/3NRGwzpufKHsKkPHmFs/56N2Fnsh0/r0rGtnQzTxk6vnFgjaGr4hdSQKNB50/KAhR9Yk4LJKA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/types": "^21.2.0", + "ajv": "^8.11.0" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/ensure": { + "version": "21.2.0", + "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-21.2.0.tgz", + "integrity": "sha512-76IF9vDNS13lAzEEik9eKwzt8f9hYhWiwVXZ2AnyLCz5/f511FsEQ3pw1X3/zSQpdRLQU7i5qDMVKyXi1GWjSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/types": "^21.2.0", + "es-toolkit": "^1.46.0" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/execute-rule": { + "version": "21.0.1", + "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-21.0.1.tgz", + "integrity": "sha512-RifH+FmImozKBE6mozhF4K3r2RRKP7SMi/Q/zLCmExtp5e05lhHOUYqGBlFBAGNHaZxU/WYw1XuugYK9jQzqnA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/format": { + "version": "21.2.2", + "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-21.2.2.tgz", + "integrity": "sha512-v6fvxZSc/AvVMROlr3H34+1766bZSYApRUSCAMjWamStPjKMvZ8GdvVA5YW/VQNgbFTmcMz6OYmSTJEvIjPrfA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/types": "^21.2.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/is-ignored": { + "version": "21.2.2", + "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-21.2.2.tgz", + "integrity": "sha512-9UoKNgfFE3LU7FrzierCvk3CdDfMDeVGC86qZiT/n0TIjfq/dmZ9MHuXd45OTNRa26ZanmJRxEtmiXk/lEJihg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/types": "^21.2.0", + "semver": "^7.6.0" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/lint": { + "version": "21.2.2", + "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-21.2.2.tgz", + "integrity": "sha512-Fy8JxEBzdmsYWFude/61GxXu5O+wEymwiRK2z9GL9R8mCsXphCoGxAFc5iHn5mjlfcSrhiiONE+ksf4KOjnaPg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/is-ignored": "^21.2.2", + "@commitlint/parse": "^21.2.2", + "@commitlint/rules": "^21.2.2", + "@commitlint/types": "^21.2.0" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/load": { + "version": "21.2.2", + "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-21.2.2.tgz", + "integrity": "sha512-0Tt6wDPX167cjKC5D4zhm0+20wJJG+TN/TKovMOspfSe78rOnKX+MNzlVNiu6HyQPZChPJ8QBH31MVt6Bb8fCg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/config-validator": "^21.2.0", + "@commitlint/execute-rule": "^21.0.1", + "@commitlint/resolve-extends": "^21.2.2", + "@commitlint/types": "^21.2.0", + "cosmiconfig": "^9.0.1", + "cosmiconfig-typescript-loader": "^6.1.0", + "es-toolkit": "^1.46.0", + "is-plain-obj": "^4.1.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/message": { + "version": "21.2.0", + "resolved": "https://registry.npmjs.org/@commitlint/message/-/message-21.2.0.tgz", + "integrity": "sha512-YxGoiXD/HXNXLJPrQwE5poXa+XH0CBEm+mdvbHQP0g6MV/dmJyUFCzPNzZbxL93GvZ70TmtTK0Z0/IBpAqHv8g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/parse": { + "version": "21.2.2", + "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-21.2.2.tgz", + "integrity": "sha512-MEkobPfvRp+z06Wro8HMG1BDGHzZmj82A1LH1nWeG3ipHpg/x4m6v3wEDvMBIKjRFUnfR3nBeFs3MVCr7UdAmg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/types": "^21.2.0", + "conventional-changelog-angular": "^9.0.0", + "conventional-commits-parser": "^7.0.0" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/read": { + "version": "21.2.1", + "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-21.2.1.tgz", + "integrity": "sha512-hUW7EJQnNTL0vPOmVMNK4CrnrNBN0nN+JJHReFkdHO5y4iyHeEmTBwuC15OCqUTjxWo7idnH1LftfpWVIaPWIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/top-level": "^21.2.0", + "@commitlint/types": "^21.2.0", + "@conventional-changelog/git-client": "^3.0.0", + "tinyexec": "^1.0.0" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/resolve-extends": { + "version": "21.2.2", + "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-21.2.2.tgz", + "integrity": "sha512-RPkJ/IFi7sMUUVbZLqwWFtWw/zRDcfFsmrPSiTMrt5wb7AdxOr86EGQFvmGzef5QKV5IPBWWCujqVTw1RWX44A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/config-validator": "^21.2.0", + "@commitlint/types": "^21.2.0", + "es-toolkit": "^1.46.0", + "global-directory": "^5.0.0", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/rules": { + "version": "21.2.2", + "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-21.2.2.tgz", + "integrity": "sha512-eplQzyYkBjYB1HyyRj8hkcK11Y9DU9nuBz7uOKEd6NpE9NGDytLFCAnlRE+OoiK/5sHEJsaz2RGhuWBvYzIbNA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/ensure": "^21.2.0", + "@commitlint/message": "^21.2.0", + "@commitlint/to-lines": "^21.0.1", + "@commitlint/types": "^21.2.0" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/to-lines": { + "version": "21.0.1", + "resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-21.0.1.tgz", + "integrity": "sha512-bd1BFII7p1EQZre9Kaj+kKaMFP3cFCdt21K7DItVux9XP5WjLgJ0/Uy1pJJh9aPwVJ6SKg62PxqlZaHI8hQAXw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/top-level": { + "version": "21.2.0", + "resolved": "https://registry.npmjs.org/@commitlint/top-level/-/top-level-21.2.0.tgz", + "integrity": "sha512-Y5gmQ+KxzqCrBFJfLvFEPvvwD3LDiNZoTT2yeFBm96M8qhmqSzQc5DvX3rheAaAMjyIvMXOCLS/mWfdpONsjyQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@commitlint/types": { + "version": "21.2.0", + "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-21.2.0.tgz", + "integrity": "sha512-7zVFCDB2reMvJH5dmbKnOQPjZEvjdJTH8jc0U/PIPU1r3/+vf5pD1HlfitV2MWsWXrvu7u39iY1lyLUPOaN0Gw==", + "dev": true, + "license": "MIT", + "dependencies": { + "conventional-commits-parser": "^7.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@conventional-changelog/git-client": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@conventional-changelog/git-client/-/git-client-3.1.2.tgz", + "integrity": "sha512-jZqwnJwf7nboIlAcw/mkOjVa6DexCcUOgT2oOQgkoi3z9vR8tGFkcMy2BFcYwjhL9sYcDDXkRQDayiDieCoW7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@simple-libs/child-process-utils": "^2.0.0", + "@simple-libs/stream-utils": "^2.0.0", + "semver": "^7.5.2" + }, + "engines": { + "node": ">=22" + }, + "peerDependencies": { + "conventional-commits-filter": "^6.0.1", + "conventional-commits-parser": "^7.1.2" + }, + "peerDependenciesMeta": { + "conventional-commits-filter": { + "optional": true + }, + "conventional-commits-parser": { + "optional": true + } + } + }, + "node_modules/@conventional-changelog/template": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@conventional-changelog/template/-/template-1.4.0.tgz", + "integrity": "sha512-aalGyl7dbB5PArRebDIX43ZvBlXrYm9uWzGJ26t+4SzJVPsOuvfILGGbw5X4yX7i50YEmJ8zvbiWnqH/AAnZqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=22" + } + }, + "node_modules/@simple-libs/child-process-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@simple-libs/child-process-utils/-/child-process-utils-2.0.0.tgz", + "integrity": "sha512-dvNoRKLijXnD0XoJAz94pbNuB5GQgDr55UhpSPhffDkTT0Cmcqh9jSCOtwfT2d4H6MI9E7c4SgtMuJXZ6F3c6A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@simple-libs/stream-utils": "^2.0.0" + }, + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://ko-fi.com/dangreen" + } + }, + "node_modules/@simple-libs/stream-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@simple-libs/stream-utils/-/stream-utils-2.0.0.tgz", + "integrity": "sha512-fCTuZK4QBa+39Oz9l4OGfJfz+GpwCp3AqO7Zch3to99xHPgstVsRFpeQ8LNd2o1Gv8raL2mCFwiaHh7bFSp5DQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://ko-fi.com/dangreen" + } + }, + "node_modules/@types/node": { + "version": "26.5.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.5.1.tgz", + "integrity": "sha512-CzNm2FezW4VR/LjG6yUdiEgLE/rAQ9Slj5gCu/C2VrdcW7I0ahNZ8DRbHT7zOZ6r3ONgd/bsQIeSaoDGrd1C6g==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "undici-types": "~8.9.0" + } + }, + "node_modules/@typescript/typescript-aix-ppc64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-aix-ppc64/-/typescript-aix-ppc64-7.0.2.tgz", + "integrity": "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "aix" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-darwin-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-darwin-arm64/-/typescript-darwin-arm64-7.0.2.tgz", + "integrity": "sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-darwin-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-darwin-x64/-/typescript-darwin-x64-7.0.2.tgz", + "integrity": "sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-freebsd-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-freebsd-arm64/-/typescript-freebsd-arm64-7.0.2.tgz", + "integrity": "sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-freebsd-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-freebsd-x64/-/typescript-freebsd-x64-7.0.2.tgz", + "integrity": "sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-arm": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-arm/-/typescript-linux-arm-7.0.2.tgz", + "integrity": "sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-arm64/-/typescript-linux-arm64-7.0.2.tgz", + "integrity": "sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-loong64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-loong64/-/typescript-linux-loong64-7.0.2.tgz", + "integrity": "sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-mips64el": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-mips64el/-/typescript-linux-mips64el-7.0.2.tgz", + "integrity": "sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-ppc64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-ppc64/-/typescript-linux-ppc64-7.0.2.tgz", + "integrity": "sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-riscv64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-riscv64/-/typescript-linux-riscv64-7.0.2.tgz", + "integrity": "sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-s390x": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-s390x/-/typescript-linux-s390x-7.0.2.tgz", + "integrity": "sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-x64/-/typescript-linux-x64-7.0.2.tgz", + "integrity": "sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-netbsd-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-netbsd-arm64/-/typescript-netbsd-arm64-7.0.2.tgz", + "integrity": "sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "netbsd" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-netbsd-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-netbsd-x64/-/typescript-netbsd-x64-7.0.2.tgz", + "integrity": "sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "netbsd" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-openbsd-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-openbsd-arm64/-/typescript-openbsd-arm64-7.0.2.tgz", + "integrity": "sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "openbsd" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-openbsd-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-openbsd-x64/-/typescript-openbsd-x64-7.0.2.tgz", + "integrity": "sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "openbsd" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-sunos-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-sunos-x64/-/typescript-sunos-x64-7.0.2.tgz", + "integrity": "sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "sunos" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-win32-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-win32-arm64/-/typescript-win32-arm64-7.0.2.tgz", + "integrity": "sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-win32-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-win32-x64/-/typescript-win32-x64-7.0.2.tgz", + "integrity": "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "peer": true, + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-regex": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", + "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/argue-cli": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/argue-cli/-/argue-cli-3.2.0.tgz", + "integrity": "sha512-VipTB0gXgGIFO2Rg9yEVN5wLt2AurJcZqDbgmYSwPwsykhLrQhs240/bfceev4w68lI8JshoOJIk9uW7tFzROw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://ko-fi.com/dangreen" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/cliui": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", + "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^7.2.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/cliui/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-angular": { + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-9.4.0.tgz", + "integrity": "sha512-HdxRxuS8bBXVIuo4V82gvSwAXT0vYQUizrjs/izmPg5JdDstr8v8I5hduGL3iQbG+o310dUDxC4+LetuS5hu9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "@conventional-changelog/template": "^1.4.0" + }, + "engines": { + "node": ">=22" + } + }, + "node_modules/conventional-changelog-conventionalcommits": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-10.4.0.tgz", + "integrity": "sha512-Rriac6ZrAlVm6cy9Bz4NSp+WMHpwNXoPIYex+HjCgduAVUSbnew29DQjQw0C4g9u3HtSYzGiGY+pdBXAZo+4aA==", + "dev": true, + "license": "ISC", + "dependencies": { + "@conventional-changelog/template": "^1.4.0" + }, + "engines": { + "node": ">=22" + } + }, + "node_modules/conventional-commits-parser": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-7.1.2.tgz", + "integrity": "sha512-O+x4N2yH+ijvqWlIyTHsXTAP+algNWgGbjY2duCe8w2vUMvUB95cLRslCPfTMQyLAKlet3bhZTdu6ozn4M+QJQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@simple-libs/stream-utils": "^2.0.0", + "argue-cli": "^3.1.0" + }, + "bin": { + "conventional-commits-parser": "dist/cli/index.js" + }, + "engines": { + "node": ">=22" + } + }, + "node_modules/cosmiconfig": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.2.tgz", + "integrity": "sha512-gtTZxTDau1wL7Y7zifc2dd8jHSK/k6BTx/2Xp/BpdlAdnlYWFVt7qhJqgwi7637yRwRQ3qL4ZidbB4I8tA5VOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/cosmiconfig-typescript-loader": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-6.3.0.tgz", + "integrity": "sha512-Akr82WH1Wfqatyiqpj8HDkO2o2KmJRu1FhKfSNJP3K4IdXwHfEyL7MOb62i1AGQVLtIQM+iCE9CGOtrfhR+mmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "jiti": "2.6.1" + }, + "engines": { + "node": ">=v18" + }, + "peerDependencies": { + "@types/node": "*", + "cosmiconfig": ">=9", + "typescript": ">=5" + } + }, + "node_modules/emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "dev": true, + "license": "MIT" + }, + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/error-ex": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz", + "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-toolkit": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.52.0.tgz", + "integrity": "sha512-XTNEJQh1tY1ZJVcf6ayP/2n4ZPyaHlW2FWs7xvw5ddPuhUVjLD3olQVQS7kf58JbAB48iL0uL/jerTrjtV3lDA==", + "dev": true, + "license": "MIT", + "workspaces": [ + "docs", + "benchmarks", + "tests/types", + "tests/browser-compat" + ] + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-uri": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz", + "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-east-asian-width": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.6.0.tgz", + "integrity": "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/global-directory": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/global-directory/-/global-directory-5.0.0.tgz", + "integrity": "sha512-1pgFdhK3J2LeM+dVf2Pd424yHx2ou338lC0ErNP2hPx4j8eW1Sp0XqSjNxtk6Tc4Kr5wlWtSvz8cn2yb7/SG/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ini": "6.0.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-fresh/node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/ini": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/ini/-/ini-6.0.0.tgz", + "integrity": "sha512-IBTdIkzZNOpqm7q3dRqJvMaldXjDHWkEDfrwGEQTs5eaQMWV+djAhR+wahyNNMAa+qpbDUhBMVt4ZKNwpPm7xQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^20.17.0 || >=22.9.0" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jiti": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz", + "integrity": "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==", + "dev": true, + "license": "MIT", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", + "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT" + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true, + "license": "MIT" + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "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/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/string-width": { + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.2.tgz", + "integrity": "sha512-GaPUh5gfdrYzqeVNZvUfT23vYYxXzKYidUcnMtJg/3rxRV63EFZy3k6xfKlmfeJD0176lnUV/Usr3XcwSvFzpg==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.2.2" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/tinyexec": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.1.tgz", + "integrity": "sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/typescript": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz", + "integrity": "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "bin": { + "tsc": "bin/tsc" + }, + "engines": { + "node": ">=16.20.0" + }, + "optionalDependencies": { + "@typescript/typescript-aix-ppc64": "7.0.2", + "@typescript/typescript-darwin-arm64": "7.0.2", + "@typescript/typescript-darwin-x64": "7.0.2", + "@typescript/typescript-freebsd-arm64": "7.0.2", + "@typescript/typescript-freebsd-x64": "7.0.2", + "@typescript/typescript-linux-arm": "7.0.2", + "@typescript/typescript-linux-arm64": "7.0.2", + "@typescript/typescript-linux-loong64": "7.0.2", + "@typescript/typescript-linux-mips64el": "7.0.2", + "@typescript/typescript-linux-ppc64": "7.0.2", + "@typescript/typescript-linux-riscv64": "7.0.2", + "@typescript/typescript-linux-s390x": "7.0.2", + "@typescript/typescript-linux-x64": "7.0.2", + "@typescript/typescript-netbsd-arm64": "7.0.2", + "@typescript/typescript-netbsd-x64": "7.0.2", + "@typescript/typescript-openbsd-arm64": "7.0.2", + "@typescript/typescript-openbsd-x64": "7.0.2", + "@typescript/typescript-sunos-x64": "7.0.2", + "@typescript/typescript-win32-arm64": "7.0.2", + "@typescript/typescript-win32-x64": "7.0.2" + } + }, + "node_modules/undici-types": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz", + "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/wrap-ansi": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs": { + "version": "18.1.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.1.0.tgz", + "integrity": "sha512-2rAgRKu54VsHkqI0/tYkmluGXHD4KW7yZoycuqDQ15QOTnc2VVfy0nN/1eMhnQLO00A+dwtK20xuCnc1YGeUyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^9.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "string-width": "^8.2.1", + "y18n": "^5.0.5", + "yargs-parser": "^22.0.0" + }, + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=23" + } + }, + "node_modules/yargs-parser": { + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", + "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=23" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 00000000000..25256ee3f64 --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "name": "qlib-ci", + "private": true, + "description": "Locked tooling for Qlib's pull request title check", + "engines": { + "node": ">=22.12.0" + }, + "devDependencies": { + "@commitlint/cli": "21.2.2", + "@commitlint/config-conventional": "21.2.2" + } +} diff --git a/pyproject.toml b/pyproject.toml index 1b678d81510..54a44ab5fc2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,11 +31,10 @@ dependencies = [ # Since version 2.1.0, pandas has deprecated the method parameter of the fillna method. # qlib has updated the fillna method in PR 1987 and limited the minimum version of pandas. "pandas>=1.1", - # I encoutered an Error that the set_uri does not work when downloading artifacts in mlflow 3.1.1; - # But earlier versions of mlflow does not have this problem. - # But when I switch to 2.*.* version, another error occurs, which is even more strange... - "mlflow", - "filelock>=3.16.0", + # Qlib's filesystem tracking backend is disabled by default in MLflow 3.13. + "mlflow<3.13", + # filelock 3.30 rejects forks while another thread changes lock descriptor ownership. + "filelock>=3.16.0,<3.30", "redis", "dill", "fire", @@ -47,10 +46,14 @@ dependencies = [ "lightgbm", "gym", "cvxpy", + # Use the Windows/Python 3.8 wheel verified in PR #2308, including on fresh installs. + "osqp==1.0.5; sys_platform == 'win32' and python_version == '3.8'", "joblib", "matplotlib", "jupyter", "nbconvert", + # fastjsonschema 2.22 uses Python 3.10 type syntax without declaring the requirement. + "fastjsonschema<2.22; python_version < '3.10'", "pyarrow", "pydantic-settings", "setuptools-scm", @@ -60,6 +63,7 @@ dependencies = [ dev = [ "pytest", "statsmodels", + "tomli; python_version < '3.11'", ] # On macos-13 system, when using python version greater than or equal to 3.10, # pytorch can't fully support Numpy version above 2.0, so, when you want to install torch, @@ -71,7 +75,8 @@ rl = [ ] lint = [ - "black", + # Keep Python and notebook formatting on the same version family. + "black<26.1", "pylint", "mypy<1.5.0", "flake8", @@ -97,9 +102,12 @@ package = [ test = [ "yahooquery", "baostock", + # Avoid source builds requiring external libxml2 headers on Windows. + "lxml<6.1.3", ] analysis = [ - "plotly", + # Qlib still imports figure_factory.create_distplot, removed in Plotly 7. + "plotly<7", "statsmodels", ] client = [ diff --git a/tests/dependency_tests/test_mlflow.py b/tests/dependency_tests/test_mlflow.py index 4b4d0105ba4..b629f988477 100644 --- a/tests/dependency_tests/test_mlflow.py +++ b/tests/dependency_tests/test_mlflow.py @@ -22,10 +22,13 @@ def test_creating_client(self): This implementation is based on the assumption creating a client is fast """ - start = time.time() + # Measure repeated client construction, not one-time store creation, + # plugin discovery, or the file-store deprecation warning machinery. + mlflow.tracking.MlflowClient(tracking_uri=str(self.TMP_PATH)) + start = time.perf_counter() for i in range(10): _ = mlflow.tracking.MlflowClient(tracking_uri=str(self.TMP_PATH)) - end = time.time() + end = time.perf_counter() elapsed = end - start if platform.system() == "Linux": self.assertLess(elapsed, 1e-2) # it can be done in less than 10ms diff --git a/tests/test_ci_configuration.py b/tests/test_ci_configuration.py new file mode 100644 index 00000000000..84733fc77a6 --- /dev/null +++ b/tests/test_ci_configuration.py @@ -0,0 +1,261 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + +"""Offline regression checks for the shared source/PyPI CI compatibility policy.""" + +import ast +import json +from pathlib import Path +import shlex +import unittest + +from packaging.markers import default_environment +from packaging.requirements import Requirement +import yaml + +try: + import tomllib +except ModuleNotFoundError: + import tomli as tomllib + + +ROOT = Path(__file__).resolve().parents[1] +WORKFLOWS = ( + "test_qlib_from_source.yml", + "test_qlib_from_source_slow.yml", + "test_qlib_from_pip.yml", +) + + +class TestCIConfiguration(unittest.TestCase): + @classmethod + def setUpClass(cls): + cls.workflows = { + name: yaml.safe_load((ROOT / ".github/workflows" / name).read_text(encoding="utf-8")) for name in WORKFLOWS + } + cls.constraints = { + requirement.name: requirement + for line in (ROOT / ".github/ci/constraints.txt").read_text(encoding="utf-8").splitlines() + if line.strip() and not line.startswith("#") + for requirement in [Requirement(line)] + } + + def test_constraints_match_package_metadata(self): + project = tomllib.loads((ROOT / "pyproject.toml").read_text(encoding="utf-8"))["project"] + requirements = list(project["dependencies"]) + for extra in project["optional-dependencies"].values(): + requirements.extend(extra) + requirements = {req.name: req for req in map(Requirement, requirements)} + for name, constraint in self.constraints.items(): + with self.subTest(package=name): + self.assertEqual(constraint.specifier, requirements[name].specifier) + self.assertEqual(constraint.marker, requirements[name].marker) + + def test_known_bad_versions_are_excluded(self): + for name, version in ( + ("mlflow", "3.15.1"), + ("filelock", "3.30.0"), + ("fastjsonschema", "2.22.0"), + ("plotly", "7.0.0"), + ("lxml", "6.1.3"), + ("osqp", "1.1.3"), + ("osqp", "0.6.7.post3"), + ("black", "26.1.0"), + ): + with self.subTest(package=name, version=version): + self.assertNotIn(version, self.constraints[name].specifier) + + def test_compatible_versions_are_allowed(self): + for name, version in ( + ("mlflow", "2.17.2"), + ("mlflow", "3.12.0"), + ("filelock", "3.16.1"), + ("fastjsonschema", "2.21.2"), + ("plotly", "6.9.0"), + ("lxml", "6.1.2"), + ("osqp", "1.0.5"), + ("black", "25.12.0"), + ): + with self.subTest(package=name, version=version): + self.assertIn(version, self.constraints[name].specifier) + + def test_platform_bounds_do_not_leak_to_other_environments(self): + for platform in ("win32", "linux", "darwin"): + for version in ("3.8", "3.9", "3.10", "3.11", "3.12"): + env = dict(default_environment(), sys_platform=platform, python_version=version) + with self.subTest(platform=platform, python=version): + self.assertEqual( + self.constraints["osqp"].marker.evaluate(env), platform == "win32" and version == "3.8" + ) + self.assertEqual(self.constraints["fastjsonschema"].marker.evaluate(env), version in ("3.8", "3.9")) + + def test_all_pip_subprocesses_inherit_absolute_constraints(self): + for name, workflow in self.workflows.items(): + with self.subTest(workflow=name): + job = workflow["jobs"]["build"] + self.assertEqual(job["env"]["PIP_CONSTRAINT"], "${{ github.workspace }}/.github/ci/constraints.txt") + self.assertEqual(job["env"]["MLFLOW_ALLOW_FILE_STORE"], "true") + for step in job["steps"]: + self.assertNotIn("PIP_CONSTRAINT", step.get("env", {})) + + def test_full_matrix_is_retained_and_failures_are_not_hidden(self): + for name, workflow in self.workflows.items(): + with self.subTest(workflow=name): + job = workflow["jobs"]["build"] + self.assertFalse(job["strategy"]["fail-fast"]) + matrix = job["strategy"]["matrix"] + self.assertEqual(set(matrix["python-version"]), {"3.8", "3.9", "3.10", "3.11", "3.12"}) + self.assertEqual( + set(matrix["os"]), {"windows-latest", "ubuntu-24.04", "ubuntu-22.04", "macos-14", "macos-15"} + ) + self.assertNotIn("exclude", matrix) + self.assertNotIn("continue-on-error", job) + for step in job["steps"]: + self.assertNotIn("continue-on-error", step) + self.assertNotIn("continue_on_error", step.get("with", {})) + + def test_source_dependency_profiles_match_workflow_responsibilities(self): + for name in ("test_qlib_from_source.yml", "test_qlib_from_source_slow.yml"): + with self.subTest(workflow=name): + steps = self.workflows[name]["jobs"]["build"]["steps"] + install = next(step for step in steps if step["name"] == "Set up Python tools") + profile = "dev,test,analysis" + if name == "test_qlib_from_source.yml": + profile += ",lint" + profile += "${{ runner.os == 'Linux' && ',rl' || '' }}" + if name == "test_qlib_from_source.yml": + profile += "${{ matrix.os == 'ubuntu-22.04' && ',docs' || '' }}" + docs = next(step for step in steps if step["name"] == "Make html with sphinx") + self.assertEqual(docs["if"], "${{ matrix.os == 'ubuntu-22.04' }}") + self.assertEqual(install["env"]["CI_EXTRAS"], profile) + self.assertEqual(install["run"].strip(), "make ci-install") + self.assertNotIn("package", profile) + native = next(step for step in steps if step["name"] == "Verify neural network test dependencies") + self.assertNotIn("if", native) + self.assertIn("import torch", native["run"]) + self.assertIn("import GeneralPTNN", native["run"]) + self.assertIn("import DatasetH, TSDatasetH", native["run"]) + self.assertIn("assert pytorch_classes", native["run"]) + footprint = next(step for step in steps if step["name"] == "Verify non-Linux dependency footprint") + self.assertEqual(footprint["if"], "${{ runner.os != 'Linux' }}") + self.assertIn("{'tianshou', 'tensorboard', 'grpcio'}", footprint["run"]) + self.assertIn("assert not unexpected", footprint["run"]) + check = next(step for step in steps if step["name"] == "Verify dependency consistency") + self.assertLess(steps.index(install), steps.index(native)) + self.assertLess(steps.index(native), steps.index(check)) + self.assertLess(steps.index(footprint), steps.index(check)) + self.assertNotIn("GRPC_PYTHON_BUILD", str(steps)) + self.assertNotIn("PIP_NO_BINARY", str(steps)) + + def test_macos_lightgbm_runtime_precedes_model_imports(self): + for name, workflow in self.workflows.items(): + with self.subTest(workflow=name): + steps = workflow["jobs"]["build"]["steps"] + preparation = [step for step in steps if step["name"] == "Install Lightgbm for MacOS"] + self.assertEqual(len(preparation), 1) + preparation = preparation[0] + self.assertEqual(preparation["if"], "${{ matrix.os == 'macos-14' || matrix.os == 'macos-15' }}") + self.assertIn("brew install libomp", preparation["run"]) + consumers = [] + for step in steps: + command = step.get("run", "") + step.get("with", {}).get("command", "") + if any( + marker in command + for marker in ( + "from qlib.contrib.model", + "make nbconvert", + "python -m pytest", + "qrun ", + "python qlib/cli/run.py", + ) + ): + consumers.append(step) + self.assertTrue(consumers) + for step in consumers: + self.assertLess(steps.index(preparation), steps.index(step), step["name"]) + + def test_source_test_runtime_retains_torch_and_numerical_bounds(self): + requirements = { + req.name: req + for line in (ROOT / ".github/ci/test-requirements.txt").read_text(encoding="utf-8").splitlines() + if line.strip() and not line.startswith("#") + for req in [Requirement(line)] + } + self.assertEqual(set(requirements), {"torch", "numpy", "scipy"}) + extras = tomllib.loads((ROOT / "pyproject.toml").read_text(encoding="utf-8"))["project"][ + "optional-dependencies" + ] + previous = {req.name: req for req in map(Requirement, extras["rl"] + extras["docs"])} + for name, req in requirements.items(): + self.assertEqual(req.specifier, previous[name].specifier) + self.assertIsNone(req.marker) + makefile = (ROOT / "Makefile").read_text(encoding="utf-8") + self.assertIn("dev: prerequisite all", makefile) + self.assertIn("ci-install: prerequisite", makefile) + self.assertIn('-r .github/ci/test-requirements.txt -e ".[$(CI_EXTRAS)]"', makefile) + + def test_download_retries_are_bounded_and_noninteractive(self): + for name, workflow in self.workflows.items(): + downloads = [ + step + for step in workflow["jobs"]["build"]["steps"] + if "data download" in step["name"].lower() or "downloads dependencies" in step["name"].lower() + ] + with self.subTest(workflow=name): + self.assertTrue(downloads) + for step in downloads: + options = step["with"] + self.assertEqual(options["max_attempts"], 3) + self.assertEqual(options["timeout_minutes"], 15) + self.assertEqual(options["shell"], "bash") + commands = options["command"] + for line in commands.splitlines(): + if "qlib_data --" in line or "download_data --" in line: + self.assertIn("--delete_old False", line) + args = shlex.split(line) + self.assertIs(ast.literal_eval(args[args.index("--delete_old") + 1]), False) + if len(commands.splitlines()) > 1: + self.assertIn("set -euo pipefail", commands) + + def test_pypi_workflow_does_not_import_the_checkout(self): + steps = self.workflows["test_qlib_from_pip.yml"]["jobs"]["build"]["steps"] + for name in ("Downloads dependencies data", "Test workflow by config"): + command = next(step for step in steps if step["name"] == name)["with"]["command"] + self.assertIn('cd "$RUNNER_TEMP"', command) + self.assertLess(command.index('cd "$RUNNER_TEMP"'), command.index("python")) + command = next(step for step in steps if step["name"] == "Test workflow by config")["with"]["command"] + self.assertIn('"$GITHUB_WORKSPACE/examples/benchmarks/LightGBM/', command) + self.assertIn("not in pathlib.Path(qlib.__file__).resolve().parents", command) + + def test_consistency_and_native_import_are_checked(self): + for name, workflow in self.workflows.items(): + with self.subTest(workflow=name): + steps = workflow["jobs"]["build"]["steps"] + self.assertTrue(any(step.get("run") == "python -m pip check" for step in steps)) + native = next(step for step in steps if step["name"] == "Verify native solvers on Windows Python 3.8") + self.assertIn("matrix.python-version == '3.8'", native["if"]) + self.assertIn("matrix.os == 'windows-latest'", native["if"]) + self.assertIn("import cvxpy, osqp", native["run"]) + self.assertEqual(steps[-1]["name"], "Report installed dependencies") + self.assertEqual(steps[-1]["if"], "always()") + + def test_title_lint_uses_a_lockfile_and_no_dynamic_download(self): + workflow = yaml.safe_load((ROOT / ".github/workflows/lint_title.yml").read_text(encoding="utf-8")) + steps = workflow["jobs"]["lint-title"]["steps"] + setup = next(step for step in steps if step["name"] == "Setup Node.js") + self.assertEqual(setup["with"]["node-version"], "22") + install = next(step for step in steps if step["name"] == "Install commitlint") + self.assertIn("npm ci", install["run"]) + validate = next(step for step in steps if step["name"] == "Validate PR Title with commitlint") + self.assertIn("npx --no-install", validate["run"]) + self.assertEqual(validate["env"]["BODY"], "${{ github.event.pull_request.title }}") + self.assertNotIn("${{", validate["run"]) + manifest = json.loads((ROOT / "package.json").read_text(encoding="utf-8")) + lock = json.loads((ROOT / "package-lock.json").read_text(encoding="utf-8")) + self.assertEqual(manifest["devDependencies"], lock["packages"][""]["devDependencies"]) + for name, version in manifest["devDependencies"].items(): + self.assertEqual(version, lock["packages"]["node_modules/" + name]["version"]) + + +if __name__ == "__main__": + unittest.main()