From 5bc2cfbe43e2e8ce99d071d8255d34eb76749920 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Tue, 3 Feb 2026 17:13:57 -0800 Subject: [PATCH] feat: initial prototype attempt --- .gitea/workflows/ci.yml | 47 + .gitignore | 3 + README.md | 153 +- eslint.config.js | 5 + package.json | 35 + pnpm-lock.yaml | 4573 +++++++++++++++++ prod.env | 7 + src/config.ts | 26 + src/index.ts | 75 + src/services/dependencyAnalyzerService.ts | 178 + src/services/gitService.ts | 294 ++ src/services/giteaService.ts | 147 + src/services/npmService.ts | 216 + src/services/updateOrchestratorService.ts | 258 + src/types/gitea.types.ts | 44 + src/types/package.types.ts | 59 + src/utils/logger.ts | 11 + test/config.spec.ts | 71 + test/index.spec.ts | 16 + .../dependencyAnalyzerService.spec.ts | 294 ++ test/services/gitService.spec.ts | 366 ++ test/services/giteaService.spec.ts | 309 ++ test/services/npmService.spec.ts | 334 ++ .../updateOrchestratorService.spec.ts | 440 ++ tsconfig.json | 11 + vitest.config.ts | 29 + 26 files changed, 7982 insertions(+), 19 deletions(-) create mode 100644 .gitea/workflows/ci.yml create mode 100644 .gitignore create mode 100644 eslint.config.js create mode 100644 package.json create mode 100644 pnpm-lock.yaml create mode 100644 prod.env create mode 100644 src/config.ts create mode 100644 src/index.ts create mode 100644 src/services/dependencyAnalyzerService.ts create mode 100644 src/services/gitService.ts create mode 100644 src/services/giteaService.ts create mode 100644 src/services/npmService.ts create mode 100644 src/services/updateOrchestratorService.ts create mode 100644 src/types/gitea.types.ts create mode 100644 src/types/package.types.ts create mode 100644 src/utils/logger.ts create mode 100644 test/config.spec.ts create mode 100644 test/index.spec.ts create mode 100644 test/services/dependencyAnalyzerService.spec.ts create mode 100644 test/services/gitService.spec.ts create mode 100644 test/services/giteaService.spec.ts create mode 100644 test/services/npmService.spec.ts create mode 100644 test/services/updateOrchestratorService.spec.ts create mode 100644 tsconfig.json create mode 100644 vitest.config.ts diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..a8bd04d --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,47 @@ +name: Node.js CI +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + ci: + name: CI + runs-on: ubuntu-latest + + steps: + - name: Checkout Source Files + uses: actions/checkout@v4 + + - name: Use Node.js v24 + uses: actions/setup-node@v4 + with: + node-version: 24 + + - name: Setup pnpm + uses: pnpm/action-setup@v2 + with: + version: 10 + + - name: Ensure Dependencies are Pinned + uses: naomi-lgbt/dependency-pin-check@main + with: + language: javascript + dev-dependencies: true + peer-dependencies: true + optional-dependencies: true + + - name: Install Dependencies + run: pnpm install + + - name: Lint Source Files + run: pnpm run lint + + - name: Verify Build + run: pnpm run build + + - name: Run Tests + run: pnpm run test \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b6240af --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +node_modules +prod +coverage \ No newline at end of file diff --git a/README.md b/README.md index ab93158..5e1802b 100644 --- a/README.md +++ b/README.md @@ -1,39 +1,154 @@ -# New Repository Template +# Minori - Dependency Update Manager -This template contains all of our basic files for a new GitHub repository. There is also a handy workflow that will create an issue on a new repository made from this template, with a checklist for the steps we usually take in setting up a new repository. +Minori is an automated dependency management system for Gitea repositories. It checks all repositories in your organisation for outdated npm dependencies and creates pull requests with changelogs for each update. -If you're starting a Node.JS project with TypeScript, we have a [specific template](https://github.com/naomi-lgbt/nodejs-typescript-template) for that purpose. +## Features -## Readme +- 🔍 Scans all repositories in a Gitea organisation +- 📦 Checks npm dependencies for updates +- 📝 Fetches changelogs from GitHub releases when available +- 🔄 Creates individual PRs for each dependency update +- ⏰ Runs on a configurable schedule or one-time +- 🌸 Adds a friendly signature to each PR -Delete all of the above text (including this line), and uncomment the below text to use our standard readme template. +## Prerequisites - +✨ Minori was built with help from Hikari~ 🌸 \ No newline at end of file diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..1559d41 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,5 @@ +import NaomisConfig from "@nhcarrigan/eslint-config"; + +export default [ + ...NaomisConfig, +]; diff --git a/package.json b/package.json new file mode 100644 index 0000000..44ea3cc --- /dev/null +++ b/package.json @@ -0,0 +1,35 @@ +{ + "name": "minori", + "version": "1.0.0", + "description": "Automated dependency updater for Gitea repositories", + "main": "./prod/index.js", + "type": "module", + "scripts": { + "lint": "eslint src test --max-warnings 0", + "build": "tsc", + "start": "op run --env-file=prod.env -- node prod/index.js", + "test": "vitest run --coverage" + }, + "keywords": [], + "author": "Naomi Carrigan", + "license": "See LICENSE.md", + "packageManager": "pnpm@10.28.1", + "devDependencies": { + "@nhcarrigan/eslint-config": "5.2.0", + "@nhcarrigan/typescript-config": "4.0.0", + "@types/node": "25.2.0", + "@types/node-cron": "3.0.11", + "@types/semver": "7.7.1", + "@vitest/coverage-istanbul": "^4.0.18", + "@vitest/coverage-v8": "^4.0.18", + "eslint": "9.39.2", + "typescript": "5.9.3", + "vitest": "^4.0.18" + }, + "dependencies": { + "@nhcarrigan/logger": "1.1.1", + "axios": "1.13.4", + "node-cron": "4.2.1", + "semver": "7.7.3" + } +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 0000000..85d320d --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,4573 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + '@nhcarrigan/logger': + specifier: 1.1.1 + version: 1.1.1 + axios: + specifier: 1.13.4 + version: 1.13.4 + node-cron: + specifier: 4.2.1 + version: 4.2.1 + semver: + specifier: 7.7.3 + version: 7.7.3 + devDependencies: + '@nhcarrigan/eslint-config': + specifier: 5.2.0 + version: 5.2.0(@typescript-eslint/utils@8.54.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(playwright@1.58.1)(react@19.2.4)(typescript@5.9.3)(vitest@4.0.18(@types/node@25.2.0)) + '@nhcarrigan/typescript-config': + specifier: 4.0.0 + version: 4.0.0(typescript@5.9.3) + '@types/node': + specifier: 25.2.0 + version: 25.2.0 + '@types/node-cron': + specifier: 3.0.11 + version: 3.0.11 + '@types/semver': + specifier: 7.7.1 + version: 7.7.1 + '@vitest/coverage-istanbul': + specifier: ^4.0.18 + version: 4.0.18(vitest@4.0.18(@types/node@25.2.0)) + '@vitest/coverage-v8': + specifier: ^4.0.18 + version: 4.0.18(vitest@4.0.18(@types/node@25.2.0)) + eslint: + specifier: 9.39.2 + version: 9.39.2 + typescript: + specifier: 5.9.3 + version: 5.9.3 + vitest: + specifier: ^4.0.18 + version: 4.0.18(@types/node@25.2.0) + +packages: + + '@babel/code-frame@7.29.0': + resolution: {integrity: sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==} + engines: {node: '>=6.9.0'} + + '@babel/compat-data@7.29.0': + resolution: {integrity: sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg==} + engines: {node: '>=6.9.0'} + + '@babel/core@7.29.0': + resolution: {integrity: sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==} + engines: {node: '>=6.9.0'} + + '@babel/generator@7.29.0': + resolution: {integrity: sha512-vSH118/wwM/pLR38g/Sgk05sNtro6TlTJKuiMXDaZqPUfjTFcudpCOt00IhOfj+1BFAX+UFAlzCU+6WXr3GLFQ==} + engines: {node: '>=6.9.0'} + + '@babel/helper-compilation-targets@7.28.6': + resolution: {integrity: sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-globals@7.28.0': + resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-module-imports@7.28.6': + resolution: {integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-module-transforms@7.28.6': + resolution: {integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + + '@babel/helper-string-parser@7.27.1': + resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-identifier@7.28.5': + resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-option@7.27.1': + resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==} + engines: {node: '>=6.9.0'} + + '@babel/helpers@7.28.6': + resolution: {integrity: sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==} + engines: {node: '>=6.9.0'} + + '@babel/parser@7.29.0': + resolution: {integrity: sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww==} + engines: {node: '>=6.0.0'} + hasBin: true + + '@babel/template@7.28.6': + resolution: {integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==} + engines: {node: '>=6.9.0'} + + '@babel/traverse@7.29.0': + resolution: {integrity: sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==} + engines: {node: '>=6.9.0'} + + '@babel/types@7.29.0': + resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==} + engines: {node: '>=6.9.0'} + + '@bcoe/v8-coverage@1.0.2': + resolution: {integrity: sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==} + engines: {node: '>=18'} + + '@es-joy/jsdoccomment@0.49.0': + resolution: {integrity: sha512-xjZTSFgECpb9Ohuk5yMX5RhUEbfeQcuOp8IF60e+wyzWEF0M5xeSgqsfLtvPEX8BIyOX9saZqzuGPmZ8oWc+5Q==} + engines: {node: '>=16'} + + '@esbuild/aix-ppc64@0.27.2': + resolution: {integrity: sha512-GZMB+a0mOMZs4MpDbj8RJp4cw+w1WV5NYD6xzgvzUJ5Ek2jerwfO2eADyI6ExDSUED+1X8aMbegahsJi+8mgpw==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.27.2': + resolution: {integrity: sha512-pvz8ZZ7ot/RBphf8fv60ljmaoydPU12VuXHImtAs0XhLLw+EXBi2BLe3OYSBslR4rryHvweW5gmkKFwTiFy6KA==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.27.2': + resolution: {integrity: sha512-DVNI8jlPa7Ujbr1yjU2PfUSRtAUZPG9I1RwW4F4xFB1Imiu2on0ADiI/c3td+KmDtVKNbi+nffGDQMfcIMkwIA==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.27.2': + resolution: {integrity: sha512-z8Ank4Byh4TJJOh4wpz8g2vDy75zFL0TlZlkUkEwYXuPSgX8yzep596n6mT7905kA9uHZsf/o2OJZubl2l3M7A==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.27.2': + resolution: {integrity: sha512-davCD2Zc80nzDVRwXTcQP/28fiJbcOwvdolL0sOiOsbwBa72kegmVU0Wrh1MYrbuCL98Omp5dVhQFWRKR2ZAlg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.27.2': + resolution: {integrity: sha512-ZxtijOmlQCBWGwbVmwOF/UCzuGIbUkqB1faQRf5akQmxRJ1ujusWsb3CVfk/9iZKr2L5SMU5wPBi1UWbvL+VQA==} + engines: {node: '>=18'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.27.2': + resolution: {integrity: sha512-lS/9CN+rgqQ9czogxlMcBMGd+l8Q3Nj1MFQwBZJyoEKI50XGxwuzznYdwcav6lpOGv5BqaZXqvBSiB/kJ5op+g==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.27.2': + resolution: {integrity: sha512-tAfqtNYb4YgPnJlEFu4c212HYjQWSO/w/h/lQaBK7RbwGIkBOuNKQI9tqWzx7Wtp7bTPaGC6MJvWI608P3wXYA==} + engines: {node: '>=18'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.27.2': + resolution: {integrity: sha512-hYxN8pr66NsCCiRFkHUAsxylNOcAQaxSSkHMMjcpx0si13t1LHFphxJZUiGwojB1a/Hd5OiPIqDdXONia6bhTw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.27.2': + resolution: {integrity: sha512-vWfq4GaIMP9AIe4yj1ZUW18RDhx6EPQKjwe7n8BbIecFtCQG4CfHGaHuh7fdfq+y3LIA2vGS/o9ZBGVxIDi9hw==} + engines: {node: '>=18'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.27.2': + resolution: {integrity: sha512-MJt5BRRSScPDwG2hLelYhAAKh9imjHK5+NE/tvnRLbIqUWa+0E9N4WNMjmp/kXXPHZGqPLxggwVhz7QP8CTR8w==} + engines: {node: '>=18'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.27.2': + resolution: {integrity: sha512-lugyF1atnAT463aO6KPshVCJK5NgRnU4yb3FUumyVz+cGvZbontBgzeGFO1nF+dPueHD367a2ZXe1NtUkAjOtg==} + engines: {node: '>=18'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.27.2': + resolution: {integrity: sha512-nlP2I6ArEBewvJ2gjrrkESEZkB5mIoaTswuqNFRv/WYd+ATtUpe9Y09RnJvgvdag7he0OWgEZWhviS1OTOKixw==} + engines: {node: '>=18'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.27.2': + resolution: {integrity: sha512-C92gnpey7tUQONqg1n6dKVbx3vphKtTHJaNG2Ok9lGwbZil6DrfyecMsp9CrmXGQJmZ7iiVXvvZH6Ml5hL6XdQ==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.27.2': + resolution: {integrity: sha512-B5BOmojNtUyN8AXlK0QJyvjEZkWwy/FKvakkTDCziX95AowLZKR6aCDhG7LeF7uMCXEJqwa8Bejz5LTPYm8AvA==} + engines: {node: '>=18'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.27.2': + resolution: {integrity: sha512-p4bm9+wsPwup5Z8f4EpfN63qNagQ47Ua2znaqGH6bqLlmJ4bx97Y9JdqxgGZ6Y8xVTixUnEkoKSHcpRlDnNr5w==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.27.2': + resolution: {integrity: sha512-uwp2Tip5aPmH+NRUwTcfLb+W32WXjpFejTIOWZFw/v7/KnpCDKG66u4DLcurQpiYTiYwQ9B7KOeMJvLCu/OvbA==} + engines: {node: '>=18'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-arm64@0.27.2': + resolution: {integrity: sha512-Kj6DiBlwXrPsCRDeRvGAUb/LNrBASrfqAIok+xB0LxK8CHqxZ037viF13ugfsIpePH93mX7xfJp97cyDuTZ3cw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.27.2': + resolution: {integrity: sha512-HwGDZ0VLVBY3Y+Nw0JexZy9o/nUAWq9MlV7cahpaXKW6TOzfVno3y3/M8Ga8u8Yr7GldLOov27xiCnqRZf0tCA==} + engines: {node: '>=18'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-arm64@0.27.2': + resolution: {integrity: sha512-DNIHH2BPQ5551A7oSHD0CKbwIA/Ox7+78/AWkbS5QoRzaqlev2uFayfSxq68EkonB+IKjiuxBFoV8ESJy8bOHA==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.27.2': + resolution: {integrity: sha512-/it7w9Nb7+0KFIzjalNJVR5bOzA9Vay+yIPLVHfIQYG/j+j9VTH84aNB8ExGKPU4AzfaEvN9/V4HV+F+vo8OEg==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openharmony-arm64@0.27.2': + resolution: {integrity: sha512-LRBbCmiU51IXfeXk59csuX/aSaToeG7w48nMwA6049Y4J4+VbWALAuXcs+qcD04rHDuSCSRKdmY63sruDS5qag==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openharmony] + + '@esbuild/sunos-x64@0.27.2': + resolution: {integrity: sha512-kMtx1yqJHTmqaqHPAzKCAkDaKsffmXkPHThSfRwZGyuqyIeBvf08KSsYXl+abf5HDAPMJIPnbBfXvP2ZC2TfHg==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.27.2': + resolution: {integrity: sha512-Yaf78O/B3Kkh+nKABUF++bvJv5Ijoy9AN1ww904rOXZFLWVc5OLOfL56W+C8F9xn5JQZa3UX6m+IktJnIb1Jjg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.27.2': + resolution: {integrity: sha512-Iuws0kxo4yusk7sw70Xa2E2imZU5HoixzxfGCdxwBdhiDgt9vX9VUCBhqcwY7/uh//78A1hMkkROMJq9l27oLQ==} + engines: {node: '>=18'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.27.2': + resolution: {integrity: sha512-sRdU18mcKf7F+YgheI/zGf5alZatMUTKj/jNS6l744f9u3WFu4v7twcUI9vu4mknF4Y9aDlblIie0IM+5xxaqQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [win32] + + '@eslint-community/eslint-plugin-eslint-comments@4.4.1': + resolution: {integrity: sha512-lb/Z/MzbTf7CaVYM9WCFNQZ4L1yi3ev2fsFPF99h31ljhSEyUoyEsKsNWiU+qD1glbYTDJdqgyaLKtyTkkqtuQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 + + '@eslint-community/eslint-utils@4.9.1': + resolution: {integrity: sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + + '@eslint-community/regexpp@4.12.2': + resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + + '@eslint/compat@1.2.4': + resolution: {integrity: sha512-S8ZdQj/N69YAtuqFt7653jwcvuUj131+6qGLUyDqfDg1OIoBQ66OCuXC473YQfO2AaxITTutiRQiDwoo7ZLYyg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^9.10.0 + peerDependenciesMeta: + eslint: + optional: true + + '@eslint/config-array@0.21.1': + resolution: {integrity: sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/config-helpers@0.4.2': + resolution: {integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/core@0.17.0': + resolution: {integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/eslintrc@3.2.0': + resolution: {integrity: sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/eslintrc@3.3.3': + resolution: {integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/js@9.17.0': + resolution: {integrity: sha512-Sxc4hqcs1kTu0iID3kcZDW3JHq2a77HO9P8CP6YEA/FpH3Ll8UXE2r/86Rz9YJLKme39S9vU5OWNjC6Xl0Cr3w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/js@9.39.2': + resolution: {integrity: sha512-q1mjIoW1VX4IvSocvM/vbTiveKC4k9eLrajNEuSsmjymSDEbpGddtpfOoN7YGAqBK3NG+uqo8ia4PDTt8buCYA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/object-schema@2.1.7': + resolution: {integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/plugin-kit@0.4.1': + resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@humanfs/core@0.19.1': + resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==} + engines: {node: '>=18.18.0'} + + '@humanfs/node@0.16.7': + resolution: {integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==} + engines: {node: '>=18.18.0'} + + '@humanwhocodes/module-importer@1.0.1': + resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} + engines: {node: '>=12.22'} + + '@humanwhocodes/retry@0.4.3': + resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} + engines: {node: '>=18.18'} + + '@istanbuljs/schema@0.1.3': + resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} + engines: {node: '>=8'} + + '@jridgewell/gen-mapping@0.3.13': + resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} + + '@jridgewell/remapping@2.3.5': + resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} + + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} + + '@jridgewell/sourcemap-codec@1.5.5': + resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} + + '@jridgewell/trace-mapping@0.3.31': + resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + + '@nhcarrigan/eslint-config@5.2.0': + resolution: {integrity: sha512-YpTTqhviKMlRwKF+RC/GYiA5i2jTCmg8uftuiufldneNV5HMbGpTfBbV7tpa8++5mpYJc4+eZaf40QbDiz84dQ==} + engines: {node: '>=22', pnpm: '>=9'} + peerDependencies: + eslint: '>=9' + playwright: '>=1' + react: '>=18' + typescript: '>=5' + vitest: '>=2' + + '@nhcarrigan/logger@1.1.1': + resolution: {integrity: sha512-P6OEQFHDtf6psybYGljuCxkSW6DLQCsx1aZZ3w4YKBXHBFjDbhuvpM9K1kPhVN48hakitx2WPLEoIFr6YZELYw==} + + '@nhcarrigan/typescript-config@4.0.0': + resolution: {integrity: sha512-969HVha7A/Sg77fuMwOm6p14a+7C5iE6g55OD71srqwKIgksQl+Ex/hAI/pyzTQFDQ/FBJbpnHlR4Ov25QV/rw==} + engines: {node: '20', pnpm: '9'} + peerDependencies: + typescript: '>=5.5.2' + + '@nodelib/fs.scandir@2.1.5': + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} + + '@nodelib/fs.stat@2.0.5': + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} + + '@nodelib/fs.walk@1.2.8': + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} + + '@pkgr/core@0.1.2': + resolution: {integrity: sha512-fdDH1LSGfZdTH2sxdpVMw31BanV28K/Gry0cVFxaNP77neJSkd82mM8ErPNYs9e+0O7SdHBLTDzDgwUuy18RnQ==} + engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + + '@rollup/rollup-android-arm-eabi@4.57.1': + resolution: {integrity: sha512-A6ehUVSiSaaliTxai040ZpZ2zTevHYbvu/lDoeAteHI8QnaosIzm4qwtezfRg1jOYaUmnzLX1AOD6Z+UJjtifg==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.57.1': + resolution: {integrity: sha512-dQaAddCY9YgkFHZcFNS/606Exo8vcLHwArFZ7vxXq4rigo2bb494/xKMMwRRQW6ug7Js6yXmBZhSBRuBvCCQ3w==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.57.1': + resolution: {integrity: sha512-crNPrwJOrRxagUYeMn/DZwqN88SDmwaJ8Cvi/TN1HnWBU7GwknckyosC2gd0IqYRsHDEnXf328o9/HC6OkPgOg==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.57.1': + resolution: {integrity: sha512-Ji8g8ChVbKrhFtig5QBV7iMaJrGtpHelkB3lsaKzadFBe58gmjfGXAOfI5FV0lYMH8wiqsxKQ1C9B0YTRXVy4w==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-freebsd-arm64@4.57.1': + resolution: {integrity: sha512-R+/WwhsjmwodAcz65guCGFRkMb4gKWTcIeLy60JJQbXrJ97BOXHxnkPFrP+YwFlaS0m+uWJTstrUA9o+UchFug==} + cpu: [arm64] + os: [freebsd] + + '@rollup/rollup-freebsd-x64@4.57.1': + resolution: {integrity: sha512-IEQTCHeiTOnAUC3IDQdzRAGj3jOAYNr9kBguI7MQAAZK3caezRrg0GxAb6Hchg4lxdZEI5Oq3iov/w/hnFWY9Q==} + cpu: [x64] + os: [freebsd] + + '@rollup/rollup-linux-arm-gnueabihf@4.57.1': + resolution: {integrity: sha512-F8sWbhZ7tyuEfsmOxwc2giKDQzN3+kuBLPwwZGyVkLlKGdV1nvnNwYD0fKQ8+XS6hp9nY7B+ZeK01EBUE7aHaw==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm-musleabihf@4.57.1': + resolution: {integrity: sha512-rGfNUfn0GIeXtBP1wL5MnzSj98+PZe/AXaGBCRmT0ts80lU5CATYGxXukeTX39XBKsxzFpEeK+Mrp9faXOlmrw==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm64-gnu@4.57.1': + resolution: {integrity: sha512-MMtej3YHWeg/0klK2Qodf3yrNzz6CGjo2UntLvk2RSPlhzgLvYEB3frRvbEF2wRKh1Z2fDIg9KRPe1fawv7C+g==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-arm64-musl@4.57.1': + resolution: {integrity: sha512-1a/qhaaOXhqXGpMFMET9VqwZakkljWHLmZOX48R0I/YLbhdxr1m4gtG1Hq7++VhVUmf+L3sTAf9op4JlhQ5u1Q==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-loong64-gnu@4.57.1': + resolution: {integrity: sha512-QWO6RQTZ/cqYtJMtxhkRkidoNGXc7ERPbZN7dVW5SdURuLeVU7lwKMpo18XdcmpWYd0qsP1bwKPf7DNSUinhvA==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-loong64-musl@4.57.1': + resolution: {integrity: sha512-xpObYIf+8gprgWaPP32xiN5RVTi/s5FCR+XMXSKmhfoJjrpRAjCuuqQXyxUa/eJTdAE6eJ+KDKaoEqjZQxh3Gw==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-ppc64-gnu@4.57.1': + resolution: {integrity: sha512-4BrCgrpZo4hvzMDKRqEaW1zeecScDCR+2nZ86ATLhAoJ5FQ+lbHVD3ttKe74/c7tNT9c6F2viwB3ufwp01Oh2w==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-ppc64-musl@4.57.1': + resolution: {integrity: sha512-NOlUuzesGauESAyEYFSe3QTUguL+lvrN1HtwEEsU2rOwdUDeTMJdO5dUYl/2hKf9jWydJrO9OL/XSSf65R5+Xw==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.57.1': + resolution: {integrity: sha512-ptA88htVp0AwUUqhVghwDIKlvJMD/fmL/wrQj99PRHFRAG6Z5nbWoWG4o81Nt9FT+IuqUQi+L31ZKAFeJ5Is+A==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-riscv64-musl@4.57.1': + resolution: {integrity: sha512-S51t7aMMTNdmAMPpBg7OOsTdn4tySRQvklmL3RpDRyknk87+Sp3xaumlatU+ppQ+5raY7sSTcC2beGgvhENfuw==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-s390x-gnu@4.57.1': + resolution: {integrity: sha512-Bl00OFnVFkL82FHbEqy3k5CUCKH6OEJL54KCyx2oqsmZnFTR8IoNqBF+mjQVcRCT5sB6yOvK8A37LNm/kPJiZg==} + cpu: [s390x] + os: [linux] + + '@rollup/rollup-linux-x64-gnu@4.57.1': + resolution: {integrity: sha512-ABca4ceT4N+Tv/GtotnWAeXZUZuM/9AQyCyKYyKnpk4yoA7QIAuBt6Hkgpw8kActYlew2mvckXkvx0FfoInnLg==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-linux-x64-musl@4.57.1': + resolution: {integrity: sha512-HFps0JeGtuOR2convgRRkHCekD7j+gdAuXM+/i6kGzQtFhlCtQkpwtNzkNj6QhCDp7DRJ7+qC/1Vg2jt5iSOFw==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-openbsd-x64@4.57.1': + resolution: {integrity: sha512-H+hXEv9gdVQuDTgnqD+SQffoWoc0Of59AStSzTEj/feWTBAnSfSD3+Dql1ZruJQxmykT/JVY0dE8Ka7z0DH1hw==} + cpu: [x64] + os: [openbsd] + + '@rollup/rollup-openharmony-arm64@4.57.1': + resolution: {integrity: sha512-4wYoDpNg6o/oPximyc/NG+mYUejZrCU2q+2w6YZqrAs2UcNUChIZXjtafAiiZSUc7On8v5NyNj34Kzj/Ltk6dQ==} + cpu: [arm64] + os: [openharmony] + + '@rollup/rollup-win32-arm64-msvc@4.57.1': + resolution: {integrity: sha512-O54mtsV/6LW3P8qdTcamQmuC990HDfR71lo44oZMZlXU4tzLrbvTii87Ni9opq60ds0YzuAlEr/GNwuNluZyMQ==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.57.1': + resolution: {integrity: sha512-P3dLS+IerxCT/7D2q2FYcRdWRl22dNbrbBEtxdWhXrfIMPP9lQhb5h4Du04mdl5Woq05jVCDPCMF7Ub0NAjIew==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-gnu@4.57.1': + resolution: {integrity: sha512-VMBH2eOOaKGtIJYleXsi2B8CPVADrh+TyNxJ4mWPnKfLB/DBUmzW+5m1xUrcwWoMfSLagIRpjUFeW5CO5hyciQ==} + cpu: [x64] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.57.1': + resolution: {integrity: sha512-mxRFDdHIWRxg3UfIIAwCm6NzvxG0jDX/wBN6KsQFTvKFqqg9vTrWUE68qEjHt19A5wwx5X5aUi2zuZT7YR0jrA==} + cpu: [x64] + os: [win32] + + '@rtsao/scc@1.1.0': + resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} + + '@standard-schema/spec@1.1.0': + resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==} + + '@stylistic/eslint-plugin@2.12.1': + resolution: {integrity: sha512-fubZKIHSPuo07FgRTn6S4Nl0uXPRPYVNpyZzIDGfp7Fny6JjNus6kReLD7NI380JXi4HtUTSOZ34LBuNPO1XLQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=8.40.0' + + '@types/chai@5.2.3': + resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==} + + '@types/deep-eql@4.0.2': + resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==} + + '@types/estree@1.0.8': + resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} + + '@types/json-schema@7.0.15': + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + + '@types/json5@0.0.29': + resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} + + '@types/node-cron@3.0.11': + resolution: {integrity: sha512-0ikrnug3/IyneSHqCBeslAhlK2aBfYek1fGo4bP4QnZPmiqSGRK+Oy7ZMisLWkesffJvQ1cqAcBnJC+8+nxIAg==} + + '@types/node@25.2.0': + resolution: {integrity: sha512-DZ8VwRFUNzuqJ5khrvwMXHmvPe+zGayJhr2CDNiKB1WBE1ST8Djl00D0IC4vvNmHMdj6DlbYRIaFE7WHjlDl5w==} + + '@types/normalize-package-data@2.4.4': + resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} + + '@types/semver@7.7.1': + resolution: {integrity: sha512-FmgJfu+MOcQ370SD0ev7EI8TlCAfKYU+B4m5T3yXc1CiRN94g/SZPtsCkk506aUDtlMnFZvasDwHHUcZUEaYuA==} + + '@typescript-eslint/eslint-plugin@8.19.0': + resolution: {integrity: sha512-NggSaEZCdSrFddbctrVjkVZvFC6KGfKfNK0CU7mNK/iKHGKbzT4Wmgm08dKpcZECBu9f5FypndoMyRHkdqfT1Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <5.8.0' + + '@typescript-eslint/parser@8.19.0': + resolution: {integrity: sha512-6M8taKyOETY1TKHp0x8ndycipTVgmp4xtg5QpEZzXxDhNvvHOJi5rLRkLr8SK3jTgD5l4fTlvBiRdfsuWydxBw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <5.8.0' + + '@typescript-eslint/project-service@8.54.0': + resolution: {integrity: sha512-YPf+rvJ1s7MyiWM4uTRhE4DvBXrEV+d8oC3P9Y2eT7S+HBS0clybdMIPnhiATi9vZOYDc7OQ1L/i6ga6NFYK/g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <6.0.0' + + '@typescript-eslint/scope-manager@7.18.0': + resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==} + engines: {node: ^18.18.0 || >=20.0.0} + + '@typescript-eslint/scope-manager@8.19.0': + resolution: {integrity: sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/scope-manager@8.54.0': + resolution: {integrity: sha512-27rYVQku26j/PbHYcVfRPonmOlVI6gihHtXFbTdB5sb6qA0wdAQAbyXFVarQ5t4HRojIz64IV90YtsjQSSGlQg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/tsconfig-utils@8.54.0': + resolution: {integrity: sha512-dRgOyT2hPk/JwxNMZDsIXDgyl9axdJI3ogZ2XWhBPsnZUv+hPesa5iuhdYt2gzwA9t8RE5ytOJ6xB0moV0Ujvw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <6.0.0' + + '@typescript-eslint/type-utils@8.19.0': + resolution: {integrity: sha512-TZs0I0OSbd5Aza4qAMpp1cdCYVnER94IziudE3JU328YUHgWu9gwiwhag+fuLeJ2LkWLXI+F/182TbG+JaBdTg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <5.8.0' + + '@typescript-eslint/types@7.18.0': + resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==} + engines: {node: ^18.18.0 || >=20.0.0} + + '@typescript-eslint/types@8.19.0': + resolution: {integrity: sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/types@8.54.0': + resolution: {integrity: sha512-PDUI9R1BVjqu7AUDsRBbKMtwmjWcn4J3le+5LpcFgWULN3LvHC5rkc9gCVxbrsrGmO1jfPybN5s6h4Jy+OnkAA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/typescript-estree@7.18.0': + resolution: {integrity: sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==} + engines: {node: ^18.18.0 || >=20.0.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@typescript-eslint/typescript-estree@8.19.0': + resolution: {integrity: sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <5.8.0' + + '@typescript-eslint/typescript-estree@8.54.0': + resolution: {integrity: sha512-BUwcskRaPvTk6fzVWgDPdUndLjB87KYDrN5EYGetnktoeAvPtO4ONHlAZDnj5VFnUANg0Sjm7j4usBlnoVMHwA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <6.0.0' + + '@typescript-eslint/utils@7.18.0': + resolution: {integrity: sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==} + engines: {node: ^18.18.0 || >=20.0.0} + peerDependencies: + eslint: ^8.56.0 + + '@typescript-eslint/utils@8.19.0': + resolution: {integrity: sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <5.8.0' + + '@typescript-eslint/utils@8.54.0': + resolution: {integrity: sha512-9Cnda8GS57AQakvRyG0PTejJNlA2xhvyNtEVIMlDWOOeEyBkYWhGPnfrIAnqxLMTSTo6q8g12XVjjev5l1NvMA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <6.0.0' + + '@typescript-eslint/visitor-keys@7.18.0': + resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} + engines: {node: ^18.18.0 || >=20.0.0} + + '@typescript-eslint/visitor-keys@8.19.0': + resolution: {integrity: sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/visitor-keys@8.54.0': + resolution: {integrity: sha512-VFlhGSl4opC0bprJiItPQ1RfUhGDIBokcPwaFH4yiBCaNPeld/9VeXbiPO1cLyorQi1G1vL+ecBk1x8o1axORA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@vitest/coverage-istanbul@4.0.18': + resolution: {integrity: sha512-0OhjP30owEDihYTZGWuq20rNtV1RjjJs1Mv4MaZIKcFBmiLUXX7HJLX4fU7wE+Mrc3lQxI2HKq6WrSXi5FGuCQ==} + peerDependencies: + vitest: 4.0.18 + + '@vitest/coverage-v8@4.0.18': + resolution: {integrity: sha512-7i+N2i0+ME+2JFZhfuz7Tg/FqKtilHjGyGvoHYQ6iLV0zahbsJ9sljC9OcFcPDbhYKCet+sG8SsVqlyGvPflZg==} + peerDependencies: + '@vitest/browser': 4.0.18 + vitest: 4.0.18 + peerDependenciesMeta: + '@vitest/browser': + optional: true + + '@vitest/eslint-plugin@1.1.24': + resolution: {integrity: sha512-7IaENe4NNy33g0iuuy5bHY69JYYRjpv4lMx6H5Wp30W7ez2baLHwxsXF5TM4wa8JDYZt8ut99Ytoj7GiDO01hw==} + peerDependencies: + '@typescript-eslint/utils': '>= 8.0' + eslint: '>= 8.57.0' + typescript: '>= 5.0.0' + vitest: '*' + peerDependenciesMeta: + typescript: + optional: true + vitest: + optional: true + + '@vitest/expect@4.0.18': + resolution: {integrity: sha512-8sCWUyckXXYvx4opfzVY03EOiYVxyNrHS5QxX3DAIi5dpJAAkyJezHCP77VMX4HKA2LDT/Jpfo8i2r5BE3GnQQ==} + + '@vitest/mocker@4.0.18': + resolution: {integrity: sha512-HhVd0MDnzzsgevnOWCBj5Otnzobjy5wLBe4EdeeFGv8luMsGcYqDuFRMcttKWZA5vVO8RFjexVovXvAM4JoJDQ==} + peerDependencies: + msw: ^2.4.9 + vite: ^6.0.0 || ^7.0.0-0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + + '@vitest/pretty-format@4.0.18': + resolution: {integrity: sha512-P24GK3GulZWC5tz87ux0m8OADrQIUVDPIjjj65vBXYG17ZeU3qD7r+MNZ1RNv4l8CGU2vtTRqixrOi9fYk/yKw==} + + '@vitest/runner@4.0.18': + resolution: {integrity: sha512-rpk9y12PGa22Jg6g5M3UVVnTS7+zycIGk9ZNGN+m6tZHKQb7jrP7/77WfZy13Y/EUDd52NDsLRQhYKtv7XfPQw==} + + '@vitest/snapshot@4.0.18': + resolution: {integrity: sha512-PCiV0rcl7jKQjbgYqjtakly6T1uwv/5BQ9SwBLekVg/EaYeQFPiXcgrC2Y7vDMA8dM1SUEAEV82kgSQIlXNMvA==} + + '@vitest/spy@4.0.18': + resolution: {integrity: sha512-cbQt3PTSD7P2OARdVW3qWER5EGq7PHlvE+QfzSC0lbwO+xnt7+XH06ZzFjFRgzUX//JmpxrCu92VdwvEPlWSNw==} + + '@vitest/utils@4.0.18': + resolution: {integrity: sha512-msMRKLMVLWygpK3u2Hybgi4MNjcYJvwTb0Ru09+fOyCXIgT5raYP041DRRdiJiI3k/2U6SEbAETB3YtBrUkCFA==} + + acorn-jsx@5.3.2: + resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} + peerDependencies: + acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + + acorn@7.4.1: + resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==} + engines: {node: '>=0.4.0'} + hasBin: true + + acorn@8.15.0: + resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} + engines: {node: '>=0.4.0'} + hasBin: true + + ajv@6.12.6: + resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + + ansi-styles@4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} + + are-docs-informative@0.0.2: + resolution: {integrity: sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==} + engines: {node: '>=14'} + + argparse@2.0.1: + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + + array-buffer-byte-length@1.0.2: + resolution: {integrity: sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==} + engines: {node: '>= 0.4'} + + array-includes@3.1.9: + resolution: {integrity: sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==} + engines: {node: '>= 0.4'} + + array-union@2.1.0: + resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} + engines: {node: '>=8'} + + array.prototype.findlast@1.2.5: + resolution: {integrity: sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==} + engines: {node: '>= 0.4'} + + array.prototype.findlastindex@1.2.6: + resolution: {integrity: sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==} + engines: {node: '>= 0.4'} + + array.prototype.flat@1.3.3: + resolution: {integrity: sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==} + engines: {node: '>= 0.4'} + + array.prototype.flatmap@1.3.3: + resolution: {integrity: sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==} + engines: {node: '>= 0.4'} + + array.prototype.tosorted@1.1.4: + resolution: {integrity: sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==} + engines: {node: '>= 0.4'} + + arraybuffer.prototype.slice@1.0.4: + resolution: {integrity: sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==} + engines: {node: '>= 0.4'} + + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} + + ast-v8-to-istanbul@0.3.11: + resolution: {integrity: sha512-Qya9fkoofMjCBNVdWINMjB5KZvkYfaO9/anwkWnjxibpWUxo5iHl2sOdP7/uAqaRuUYuoo8rDwnbaaKVFxoUvw==} + + async-function@1.0.0: + resolution: {integrity: sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==} + engines: {node: '>= 0.4'} + + asynckit@0.4.0: + resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} + + available-typed-arrays@1.0.7: + resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} + engines: {node: '>= 0.4'} + + axios@1.13.4: + resolution: {integrity: sha512-1wVkUaAO6WyaYtCkcYCOx12ZgpGf9Zif+qXa4n+oYzK558YryKqiL6UWwd5DqiH3VRW0GYhTZQ/vlgJrCoNQlg==} + + balanced-match@1.0.2: + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + + baseline-browser-mapping@2.9.19: + resolution: {integrity: sha512-ipDqC8FrAl/76p2SSWKSI+H9tFwm7vYqXQrItCuiVPt26Km0jS+NzSsBWAaBusvSbQcfJG+JitdMm+wZAgTYqg==} + hasBin: true + + brace-expansion@1.1.12: + resolution: {integrity: sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==} + + brace-expansion@2.0.2: + resolution: {integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==} + + braces@3.0.3: + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} + engines: {node: '>=8'} + + browserslist@4.28.1: + resolution: {integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + + builtin-modules@3.3.0: + resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} + engines: {node: '>=6'} + + call-bind-apply-helpers@1.0.2: + resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==} + engines: {node: '>= 0.4'} + + call-bind@1.0.8: + resolution: {integrity: sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==} + engines: {node: '>= 0.4'} + + call-bound@1.0.4: + resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} + engines: {node: '>= 0.4'} + + callsites@3.1.0: + resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} + engines: {node: '>=6'} + + caniuse-lite@1.0.30001767: + resolution: {integrity: sha512-34+zUAMhSH+r+9eKmYG+k2Rpt8XttfE4yXAjoZvkAPs15xcYQhyBYdalJ65BzivAvGRMViEjy6oKr/S91loekQ==} + + chai@6.2.2: + resolution: {integrity: sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==} + engines: {node: '>=18'} + + chalk@4.1.2: + resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} + engines: {node: '>=10'} + + ci-info@4.4.0: + resolution: {integrity: sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==} + engines: {node: '>=8'} + + clean-regexp@1.0.0: + resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} + engines: {node: '>=4'} + + color-convert@2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + + color-name@1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + + combined-stream@1.0.8: + resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} + engines: {node: '>= 0.8'} + + comment-parser@1.4.1: + resolution: {integrity: sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==} + engines: {node: '>= 12.0.0'} + + concat-map@0.0.1: + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + + convert-source-map@2.0.0: + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + + core-js-compat@3.48.0: + resolution: {integrity: sha512-OM4cAF3D6VtH/WkLtWvyNC56EZVXsZdU3iqaMG2B4WvYrlqU831pc4UtG5yp0sE9z8Y02wVN7PjW5Zf9Gt0f1Q==} + + cross-spawn@7.0.6: + resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} + engines: {node: '>= 8'} + + data-view-buffer@1.0.2: + resolution: {integrity: sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==} + engines: {node: '>= 0.4'} + + data-view-byte-length@1.0.2: + resolution: {integrity: sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==} + engines: {node: '>= 0.4'} + + data-view-byte-offset@1.0.1: + resolution: {integrity: sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==} + engines: {node: '>= 0.4'} + + debug@3.2.7: + resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + debug@4.4.3: + resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + deep-is@0.1.4: + resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + + define-data-property@1.1.4: + resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} + engines: {node: '>= 0.4'} + + define-properties@1.2.1: + resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} + engines: {node: '>= 0.4'} + + delayed-stream@1.0.0: + resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} + engines: {node: '>=0.4.0'} + + dir-glob@3.0.1: + resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} + engines: {node: '>=8'} + + doctrine@2.1.0: + resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} + engines: {node: '>=0.10.0'} + + dunder-proto@1.0.1: + resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} + engines: {node: '>= 0.4'} + + electron-to-chromium@1.5.286: + resolution: {integrity: sha512-9tfDXhJ4RKFNerfjdCcZfufu49vg620741MNs26a9+bhLThdB+plgMeou98CAaHu/WATj2iHOOHTp1hWtABj2A==} + + error-ex@1.3.4: + resolution: {integrity: sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==} + + es-abstract@1.24.1: + resolution: {integrity: sha512-zHXBLhP+QehSSbsS9Pt23Gg964240DPd6QCf8WpkqEXxQ7fhdZzYsocOr5u7apWonsS5EjZDmTF+/slGMyasvw==} + engines: {node: '>= 0.4'} + + es-define-property@1.0.1: + resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} + engines: {node: '>= 0.4'} + + es-errors@1.3.0: + resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} + engines: {node: '>= 0.4'} + + es-iterator-helpers@1.2.2: + resolution: {integrity: sha512-BrUQ0cPTB/IwXj23HtwHjS9n7O4h9FX94b4xc5zlTHxeLgTAdzYUDyy6KdExAl9lbN5rtfe44xpjpmj9grxs5w==} + engines: {node: '>= 0.4'} + + es-module-lexer@1.7.0: + resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} + + es-object-atoms@1.1.1: + resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} + engines: {node: '>= 0.4'} + + es-set-tostringtag@2.1.0: + resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==} + engines: {node: '>= 0.4'} + + es-shim-unscopables@1.1.0: + resolution: {integrity: sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==} + engines: {node: '>= 0.4'} + + es-to-primitive@1.3.0: + resolution: {integrity: sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==} + engines: {node: '>= 0.4'} + + esbuild@0.27.2: + resolution: {integrity: sha512-HyNQImnsOC7X9PMNaCIeAm4ISCQXs5a5YasTXVliKv4uuBo1dKrG0A+uQS8M5eXjVMnLg3WgXaKvprHlFJQffw==} + engines: {node: '>=18'} + hasBin: true + + escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} + + escape-string-regexp@1.0.5: + resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} + engines: {node: '>=0.8.0'} + + escape-string-regexp@4.0.0: + resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} + engines: {node: '>=10'} + + eslint-import-resolver-node@0.3.9: + resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} + + eslint-module-utils@2.12.1: + resolution: {integrity: sha512-L8jSWTze7K2mTg0vos/RuLRS5soomksDPoJLXIslC7c8Wmut3bx7CPpJijDcBZtxQ5lrbUdM+s0OlNbz0DCDNw==} + engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: '*' + eslint-import-resolver-node: '*' + eslint-import-resolver-typescript: '*' + eslint-import-resolver-webpack: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint: + optional: true + eslint-import-resolver-node: + optional: true + eslint-import-resolver-typescript: + optional: true + eslint-import-resolver-webpack: + optional: true + + eslint-plugin-deprecation@3.0.0: + resolution: {integrity: sha512-JuVLdNg/uf0Adjg2tpTyYoYaMbwQNn/c78P1HcccokvhtRphgnRjZDKmhlxbxYptppex03zO76f97DD/yQHv7A==} + peerDependencies: + eslint: ^8.0.0 + typescript: ^4.2.4 || ^5.0.0 + + eslint-plugin-import@2.31.0: + resolution: {integrity: sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==} + engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9 + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + + eslint-plugin-jsdoc@50.6.1: + resolution: {integrity: sha512-UWyaYi6iURdSfdVVqvfOs2vdCVz0J40O/z/HTsv2sFjdjmdlUI/qlKLOTmwbPQ2tAfQnE5F9vqx+B+poF71DBQ==} + engines: {node: '>=18'} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 + + eslint-plugin-playwright@2.1.0: + resolution: {integrity: sha512-wMbHOehofSB1cBdzz2CLaCYaKNLeTQ0YnOW+7AHa281TJqlpEJUBgTHbRUYOUxiXphfWwOyTPvgr6vvEmArbSA==} + engines: {node: '>=16.6.0'} + peerDependencies: + eslint: '>=8.40.0' + + eslint-plugin-react@7.37.3: + resolution: {integrity: sha512-DomWuTQPFYZwF/7c9W2fkKkStqZmBd3uugfqBYLdkZ3Hii23WzZuOLUskGxB8qkSKqftxEeGL1TB2kMhrce0jA==} + engines: {node: '>=4'} + peerDependencies: + eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 + + eslint-plugin-sort-keys-fix@1.1.2: + resolution: {integrity: sha512-DNPHFGCA0/hZIsfODbeLZqaGY/+q3vgtshF85r+YWDNCQ2apd9PNs/zL6ttKm0nD1IFwvxyg3YOTI7FHl4unrw==} + engines: {node: '>=0.10.0'} + + eslint-plugin-unicorn@56.0.1: + resolution: {integrity: sha512-FwVV0Uwf8XPfVnKSGpMg7NtlZh0G0gBarCaFcMUOoqPxXryxdYxTRRv4kH6B9TFCVIrjRXG+emcxIk2ayZilog==} + engines: {node: '>=18.18'} + peerDependencies: + eslint: '>=8.56.0' + + eslint-scope@8.4.0: + resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + eslint-visitor-keys@1.3.0: + resolution: {integrity: sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==} + engines: {node: '>=4'} + + eslint-visitor-keys@3.4.3: + resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + eslint-visitor-keys@4.2.1: + resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + eslint@9.39.2: + resolution: {integrity: sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + hasBin: true + peerDependencies: + jiti: '*' + peerDependenciesMeta: + jiti: + optional: true + + espree@10.4.0: + resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + espree@6.2.1: + resolution: {integrity: sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw==} + engines: {node: '>=6.0.0'} + + esquery@1.7.0: + resolution: {integrity: sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==} + engines: {node: '>=0.10'} + + esrecurse@4.3.0: + resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} + engines: {node: '>=4.0'} + + estraverse@5.3.0: + resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} + engines: {node: '>=4.0'} + + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + + esutils@2.0.3: + resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} + engines: {node: '>=0.10.0'} + + expect-type@1.3.0: + resolution: {integrity: sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==} + engines: {node: '>=12.0.0'} + + fast-deep-equal@3.1.3: + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + + fast-glob@3.3.3: + resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==} + engines: {node: '>=8.6.0'} + + fast-json-stable-stringify@2.1.0: + resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + + fast-levenshtein@2.0.6: + resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + + fastq@1.20.1: + resolution: {integrity: sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==} + + fdir@6.5.0: + resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} + engines: {node: '>=12.0.0'} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + + file-entry-cache@8.0.0: + resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} + engines: {node: '>=16.0.0'} + + fill-range@7.1.1: + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} + engines: {node: '>=8'} + + find-up@4.1.0: + resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} + engines: {node: '>=8'} + + find-up@5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + + flat-cache@4.0.1: + resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} + engines: {node: '>=16'} + + flatted@3.3.3: + resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==} + + follow-redirects@1.15.11: + resolution: {integrity: sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==} + engines: {node: '>=4.0'} + peerDependencies: + debug: '*' + peerDependenciesMeta: + debug: + optional: true + + for-each@0.3.5: + resolution: {integrity: sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==} + engines: {node: '>= 0.4'} + + form-data@4.0.5: + resolution: {integrity: sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==} + engines: {node: '>= 6'} + + fsevents@2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + + function.prototype.name@1.1.8: + resolution: {integrity: sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==} + engines: {node: '>= 0.4'} + + functions-have-names@1.2.3: + resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} + + generator-function@2.0.1: + resolution: {integrity: sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g==} + engines: {node: '>= 0.4'} + + gensync@1.0.0-beta.2: + resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} + engines: {node: '>=6.9.0'} + + get-intrinsic@1.3.0: + resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} + engines: {node: '>= 0.4'} + + get-proto@1.0.1: + resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} + engines: {node: '>= 0.4'} + + get-symbol-description@1.1.0: + resolution: {integrity: sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==} + engines: {node: '>= 0.4'} + + glob-parent@5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + + glob-parent@6.0.2: + resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} + engines: {node: '>=10.13.0'} + + globals@13.24.0: + resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} + engines: {node: '>=8'} + + globals@14.0.0: + resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} + engines: {node: '>=18'} + + globals@15.14.0: + resolution: {integrity: sha512-OkToC372DtlQeje9/zHIo5CT8lRP/FUgEOKBEhU4e0abL7J7CD24fD9ohiLN5hagG/kWCYj4K5oaxxtj2Z0Dig==} + engines: {node: '>=18'} + + globalthis@1.0.4: + resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} + engines: {node: '>= 0.4'} + + globby@11.1.0: + resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} + engines: {node: '>=10'} + + gopd@1.2.0: + resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} + engines: {node: '>= 0.4'} + + graphemer@1.4.0: + resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} + + has-bigints@1.1.0: + resolution: {integrity: sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==} + engines: {node: '>= 0.4'} + + has-flag@4.0.0: + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} + + has-property-descriptors@1.0.2: + resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} + + has-proto@1.2.0: + resolution: {integrity: sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==} + engines: {node: '>= 0.4'} + + has-symbols@1.1.0: + resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} + engines: {node: '>= 0.4'} + + has-tostringtag@1.0.2: + resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} + engines: {node: '>= 0.4'} + + hasown@2.0.2: + resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} + engines: {node: '>= 0.4'} + + hosted-git-info@2.8.9: + resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} + + html-escaper@2.0.2: + resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} + + ignore@5.3.2: + resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} + engines: {node: '>= 4'} + + import-fresh@3.3.1: + resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} + engines: {node: '>=6'} + + imurmurhash@0.1.4: + resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} + engines: {node: '>=0.8.19'} + + indent-string@4.0.0: + resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} + engines: {node: '>=8'} + + internal-slot@1.1.0: + resolution: {integrity: sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==} + engines: {node: '>= 0.4'} + + is-array-buffer@3.0.5: + resolution: {integrity: sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==} + engines: {node: '>= 0.4'} + + is-arrayish@0.2.1: + resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + + is-async-function@2.1.1: + resolution: {integrity: sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==} + engines: {node: '>= 0.4'} + + is-bigint@1.1.0: + resolution: {integrity: sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==} + engines: {node: '>= 0.4'} + + is-boolean-object@1.2.2: + resolution: {integrity: sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==} + engines: {node: '>= 0.4'} + + is-builtin-module@3.2.1: + resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} + engines: {node: '>=6'} + + is-callable@1.2.7: + resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} + engines: {node: '>= 0.4'} + + is-core-module@2.16.1: + resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==} + engines: {node: '>= 0.4'} + + is-data-view@1.0.2: + resolution: {integrity: sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==} + engines: {node: '>= 0.4'} + + is-date-object@1.1.0: + resolution: {integrity: sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==} + engines: {node: '>= 0.4'} + + is-extglob@2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + + is-finalizationregistry@1.1.1: + resolution: {integrity: sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==} + engines: {node: '>= 0.4'} + + is-generator-function@1.1.2: + resolution: {integrity: sha512-upqt1SkGkODW9tsGNG5mtXTXtECizwtS2kA161M+gJPc1xdb/Ax629af6YrTwcOeQHbewrPNlE5Dx7kzvXTizA==} + engines: {node: '>= 0.4'} + + is-glob@4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + + is-map@2.0.3: + resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==} + engines: {node: '>= 0.4'} + + is-negative-zero@2.0.3: + resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==} + engines: {node: '>= 0.4'} + + is-number-object@1.1.1: + resolution: {integrity: sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==} + engines: {node: '>= 0.4'} + + is-number@7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + + is-regex@1.2.1: + resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==} + engines: {node: '>= 0.4'} + + is-set@2.0.3: + resolution: {integrity: sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==} + engines: {node: '>= 0.4'} + + is-shared-array-buffer@1.0.4: + resolution: {integrity: sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==} + engines: {node: '>= 0.4'} + + is-string@1.1.1: + resolution: {integrity: sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==} + engines: {node: '>= 0.4'} + + is-symbol@1.1.1: + resolution: {integrity: sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==} + engines: {node: '>= 0.4'} + + is-typed-array@1.1.15: + resolution: {integrity: sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==} + engines: {node: '>= 0.4'} + + is-weakmap@2.0.2: + resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==} + engines: {node: '>= 0.4'} + + is-weakref@1.1.1: + resolution: {integrity: sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==} + engines: {node: '>= 0.4'} + + is-weakset@2.0.4: + resolution: {integrity: sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==} + engines: {node: '>= 0.4'} + + isarray@2.0.5: + resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} + + isexe@2.0.0: + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + + istanbul-lib-coverage@3.2.2: + resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} + engines: {node: '>=8'} + + istanbul-lib-instrument@6.0.3: + resolution: {integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==} + engines: {node: '>=10'} + + istanbul-lib-report@3.0.1: + resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==} + engines: {node: '>=10'} + + istanbul-reports@3.2.0: + resolution: {integrity: sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==} + engines: {node: '>=8'} + + iterator.prototype@1.1.5: + resolution: {integrity: sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==} + engines: {node: '>= 0.4'} + + js-tokens@10.0.0: + resolution: {integrity: sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==} + + js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + + js-yaml@4.1.1: + resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==} + hasBin: true + + jsdoc-type-pratt-parser@4.1.0: + resolution: {integrity: sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==} + engines: {node: '>=12.0.0'} + + jsesc@0.5.0: + resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} + hasBin: true + + jsesc@3.1.0: + resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} + engines: {node: '>=6'} + hasBin: true + + json-buffer@3.0.1: + resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} + + json-parse-even-better-errors@2.3.1: + resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + + json-schema-traverse@0.4.1: + resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + + json-stable-stringify-without-jsonify@1.0.1: + resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + + json5@1.0.2: + resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==} + hasBin: true + + json5@2.2.3: + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} + hasBin: true + + jsx-ast-utils@3.3.5: + resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==} + engines: {node: '>=4.0'} + + keyv@4.5.4: + resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} + + levn@0.4.1: + resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} + engines: {node: '>= 0.8.0'} + + lines-and-columns@1.2.4: + resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + + locate-path@5.0.0: + resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} + engines: {node: '>=8'} + + locate-path@6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + + lodash.merge@4.6.2: + resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + + loose-envify@1.4.0: + resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} + hasBin: true + + lru-cache@5.1.1: + resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + + magic-string@0.30.21: + resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} + + magicast@0.5.1: + resolution: {integrity: sha512-xrHS24IxaLrvuo613F719wvOIv9xPHFWQHuvGUBmPnCA/3MQxKI3b+r7n1jAoDHmsbC5bRhTZYR77invLAxVnw==} + + make-dir@4.0.0: + resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} + engines: {node: '>=10'} + + math-intrinsics@1.1.0: + resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} + engines: {node: '>= 0.4'} + + merge2@1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} + + micromatch@4.0.8: + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} + engines: {node: '>=8.6'} + + mime-db@1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + + mime-types@2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + + min-indent@1.0.1: + resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} + engines: {node: '>=4'} + + minimatch@3.1.2: + resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} + + minimatch@9.0.5: + resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} + engines: {node: '>=16 || 14 >=14.17'} + + minimist@1.2.8: + resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + + nanoid@3.3.11: + resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + natural-compare@1.4.0: + resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + + node-cron@4.2.1: + resolution: {integrity: sha512-lgimEHPE/QDgFlywTd8yTR61ptugX3Qer29efeyWw2rv259HtGBNn1vZVmp8lB9uo9wC0t/AT4iGqXxia+CJFg==} + engines: {node: '>=6.0.0'} + + node-releases@2.0.27: + resolution: {integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==} + + normalize-package-data@2.5.0: + resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} + + object-assign@4.1.1: + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} + + object-inspect@1.13.4: + resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==} + engines: {node: '>= 0.4'} + + object-keys@1.1.1: + resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} + engines: {node: '>= 0.4'} + + object.assign@4.1.7: + resolution: {integrity: sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==} + engines: {node: '>= 0.4'} + + object.entries@1.1.9: + resolution: {integrity: sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==} + engines: {node: '>= 0.4'} + + object.fromentries@2.0.8: + resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==} + engines: {node: '>= 0.4'} + + object.groupby@1.0.3: + resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==} + engines: {node: '>= 0.4'} + + object.values@1.2.1: + resolution: {integrity: sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==} + engines: {node: '>= 0.4'} + + obug@2.1.1: + resolution: {integrity: sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==} + + optionator@0.9.4: + resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} + engines: {node: '>= 0.8.0'} + + own-keys@1.0.1: + resolution: {integrity: sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==} + engines: {node: '>= 0.4'} + + p-limit@2.3.0: + resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} + engines: {node: '>=6'} + + p-limit@3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + + p-locate@4.1.0: + resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} + engines: {node: '>=8'} + + p-locate@5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + + p-try@2.2.0: + resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} + engines: {node: '>=6'} + + parent-module@1.0.1: + resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} + engines: {node: '>=6'} + + parse-imports@2.2.1: + resolution: {integrity: sha512-OL/zLggRp8mFhKL0rNORUTR4yBYujK/uU+xZL+/0Rgm2QE4nLO9v8PzEweSJEbMGKmDRjJE4R3IMJlL2di4JeQ==} + engines: {node: '>= 18'} + + parse-json@5.2.0: + resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} + engines: {node: '>=8'} + + path-exists@4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + + path-key@3.1.1: + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} + + path-parse@1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + + path-type@4.0.0: + resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} + engines: {node: '>=8'} + + pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} + + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + + picomatch@2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + + picomatch@4.0.3: + resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==} + engines: {node: '>=12'} + + playwright-core@1.58.1: + resolution: {integrity: sha512-bcWzOaTxcW+VOOGBCQgnaKToLJ65d6AqfLVKEWvexyS3AS6rbXl+xdpYRMGSRBClPvyj44njOWoxjNdL/H9UNg==} + engines: {node: '>=18'} + hasBin: true + + playwright@1.58.1: + resolution: {integrity: sha512-+2uTZHxSCcxjvGc5C891LrS1/NlxglGxzrC4seZiVjcYVQfUa87wBL6rTDqzGjuoWNjnBzRqKmF6zRYGMvQUaQ==} + engines: {node: '>=18'} + hasBin: true + + pluralize@8.0.0: + resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} + engines: {node: '>=4'} + + possible-typed-array-names@1.1.0: + resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==} + engines: {node: '>= 0.4'} + + postcss@8.5.6: + resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==} + engines: {node: ^10 || ^12 || >=14} + + prelude-ls@1.2.1: + resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} + engines: {node: '>= 0.8.0'} + + prop-types@15.8.1: + resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} + + proxy-from-env@1.1.0: + resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} + + punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} + + queue-microtask@1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + + react-is@16.13.1: + resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} + + react@19.2.4: + resolution: {integrity: sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==} + engines: {node: '>=0.10.0'} + + read-pkg-up@7.0.1: + resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} + engines: {node: '>=8'} + + read-pkg@5.2.0: + resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} + engines: {node: '>=8'} + + reflect.getprototypeof@1.0.10: + resolution: {integrity: sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==} + engines: {node: '>= 0.4'} + + regexp-tree@0.1.27: + resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} + hasBin: true + + regexp.prototype.flags@1.5.4: + resolution: {integrity: sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==} + engines: {node: '>= 0.4'} + + regjsparser@0.10.0: + resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==} + hasBin: true + + requireindex@1.2.0: + resolution: {integrity: sha512-L9jEkOi3ASd9PYit2cwRfyppc9NoABujTP8/5gFcbERmo5jUoAKovIC3fsF17pkTnGsrByysqX+Kxd2OTNI1ww==} + engines: {node: '>=0.10.5'} + + resolve-from@4.0.0: + resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} + engines: {node: '>=4'} + + resolve@1.22.11: + resolution: {integrity: sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ==} + engines: {node: '>= 0.4'} + hasBin: true + + resolve@2.0.0-next.5: + resolution: {integrity: sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==} + hasBin: true + + reusify@1.1.0: + resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + + rollup@4.57.1: + resolution: {integrity: sha512-oQL6lgK3e2QZeQ7gcgIkS2YZPg5slw37hYufJ3edKlfQSGGm8ICoxswK15ntSzF/a8+h7ekRy7k7oWc3BQ7y8A==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + + run-parallel@1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + + safe-array-concat@1.1.3: + resolution: {integrity: sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==} + engines: {node: '>=0.4'} + + safe-push-apply@1.0.0: + resolution: {integrity: sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==} + engines: {node: '>= 0.4'} + + safe-regex-test@1.1.0: + resolution: {integrity: sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==} + engines: {node: '>= 0.4'} + + semver@5.7.2: + resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} + hasBin: true + + semver@6.3.1: + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + hasBin: true + + semver@7.7.3: + resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} + engines: {node: '>=10'} + hasBin: true + + set-function-length@1.2.2: + resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} + engines: {node: '>= 0.4'} + + set-function-name@2.0.2: + resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==} + engines: {node: '>= 0.4'} + + set-proto@1.0.0: + resolution: {integrity: sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==} + engines: {node: '>= 0.4'} + + shebang-command@2.0.0: + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} + + shebang-regex@3.0.0: + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} + + side-channel-list@1.0.0: + resolution: {integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==} + engines: {node: '>= 0.4'} + + side-channel-map@1.0.1: + resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==} + engines: {node: '>= 0.4'} + + side-channel-weakmap@1.0.2: + resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==} + engines: {node: '>= 0.4'} + + side-channel@1.1.0: + resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==} + engines: {node: '>= 0.4'} + + siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + + slash@3.0.0: + resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} + engines: {node: '>=8'} + + slashes@3.0.12: + resolution: {integrity: sha512-Q9VME8WyGkc7pJf6QEkj3wE+2CnvZMI+XJhwdTPR8Z/kWQRXi7boAWLDibRPyHRTUTPx5FaU7MsyrjI3yLB4HA==} + + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + + spdx-correct@3.2.0: + resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} + + spdx-exceptions@2.5.0: + resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} + + spdx-expression-parse@3.0.1: + resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} + + spdx-expression-parse@4.0.0: + resolution: {integrity: sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==} + + spdx-license-ids@3.0.22: + resolution: {integrity: sha512-4PRT4nh1EImPbt2jASOKHX7PB7I+e4IWNLvkKFDxNhJlfjbYlleYQh285Z/3mPTHSAK/AvdMmw5BNNuYH8ShgQ==} + + stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + + std-env@3.10.0: + resolution: {integrity: sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==} + + stop-iteration-iterator@1.1.0: + resolution: {integrity: sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==} + engines: {node: '>= 0.4'} + + string.prototype.matchall@4.0.12: + resolution: {integrity: sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==} + engines: {node: '>= 0.4'} + + string.prototype.repeat@1.0.0: + resolution: {integrity: sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==} + + string.prototype.trim@1.2.10: + resolution: {integrity: sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==} + engines: {node: '>= 0.4'} + + string.prototype.trimend@1.0.9: + resolution: {integrity: sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==} + engines: {node: '>= 0.4'} + + string.prototype.trimstart@1.0.8: + resolution: {integrity: sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==} + engines: {node: '>= 0.4'} + + strip-bom@3.0.0: + resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} + engines: {node: '>=4'} + + strip-indent@3.0.0: + resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} + engines: {node: '>=8'} + + strip-json-comments@3.1.1: + resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} + engines: {node: '>=8'} + + supports-color@7.2.0: + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} + + supports-preserve-symlinks-flag@1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + + synckit@0.9.3: + resolution: {integrity: sha512-JJoOEKTfL1urb1mDoEblhD9NhEbWmq9jHEMEnxoC4ujUaZ4itA8vKgwkFAyNClgxplLi9tsUKX+EduK0p/l7sg==} + engines: {node: ^14.18.0 || >=16.0.0} + + tinybench@2.9.0: + resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} + + tinyexec@1.0.2: + resolution: {integrity: sha512-W/KYk+NFhkmsYpuHq5JykngiOCnxeVL8v8dFnqxSD8qEEdRfXk1SDM6JzNqcERbcGYj9tMrDQBYV9cjgnunFIg==} + engines: {node: '>=18'} + + tinyglobby@0.2.15: + resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==} + engines: {node: '>=12.0.0'} + + tinyrainbow@3.0.3: + resolution: {integrity: sha512-PSkbLUoxOFRzJYjjxHJt9xro7D+iilgMX/C9lawzVuYiIdcihh9DXmVibBe8lmcFrRi/VzlPjBxbN7rH24q8/Q==} + engines: {node: '>=14.0.0'} + + to-regex-range@5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + + ts-api-utils@1.4.3: + resolution: {integrity: sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==} + engines: {node: '>=16'} + peerDependencies: + typescript: '>=4.2.0' + + ts-api-utils@2.4.0: + resolution: {integrity: sha512-3TaVTaAv2gTiMB35i3FiGJaRfwb3Pyn/j3m/bfAvGe8FB7CF6u+LMYqYlDh7reQf7UNvoTvdfAqHGmPGOSsPmA==} + engines: {node: '>=18.12'} + peerDependencies: + typescript: '>=4.8.4' + + tsconfig-paths@3.15.0: + resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==} + + tslib@2.8.1: + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + + type-check@0.4.0: + resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} + engines: {node: '>= 0.8.0'} + + type-fest@0.20.2: + resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} + engines: {node: '>=10'} + + type-fest@0.6.0: + resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} + engines: {node: '>=8'} + + type-fest@0.8.1: + resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} + engines: {node: '>=8'} + + typed-array-buffer@1.0.3: + resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==} + engines: {node: '>= 0.4'} + + typed-array-byte-length@1.0.3: + resolution: {integrity: sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==} + engines: {node: '>= 0.4'} + + typed-array-byte-offset@1.0.4: + resolution: {integrity: sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==} + engines: {node: '>= 0.4'} + + typed-array-length@1.0.7: + resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==} + engines: {node: '>= 0.4'} + + typescript@5.9.3: + resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} + engines: {node: '>=14.17'} + hasBin: true + + unbox-primitive@1.1.0: + resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==} + engines: {node: '>= 0.4'} + + undici-types@7.16.0: + resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==} + + update-browserslist-db@1.2.3: + resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + + uri-js@4.4.1: + resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + + validate-npm-package-license@3.0.4: + resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} + + vite@7.3.1: + resolution: {integrity: sha512-w+N7Hifpc3gRjZ63vYBXA56dvvRlNWRczTdmCBBa+CotUzAPf5b7YMdMR/8CQoeYE5LX3W4wj6RYTgonm1b9DA==} + engines: {node: ^20.19.0 || >=22.12.0} + hasBin: true + peerDependencies: + '@types/node': ^20.19.0 || >=22.12.0 + jiti: '>=1.21.0' + less: ^4.0.0 + lightningcss: ^1.21.0 + sass: ^1.70.0 + sass-embedded: ^1.70.0 + stylus: '>=0.54.8' + sugarss: ^5.0.0 + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + '@types/node': + optional: true + jiti: + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + yaml: + optional: true + + vitest@4.0.18: + resolution: {integrity: sha512-hOQuK7h0FGKgBAas7v0mSAsnvrIgAvWmRFjmzpJ7SwFHH3g1k2u37JtYwOwmEKhK6ZO3v9ggDBBm0La1LCK4uQ==} + engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@opentelemetry/api': ^1.9.0 + '@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0 + '@vitest/browser-playwright': 4.0.18 + '@vitest/browser-preview': 4.0.18 + '@vitest/browser-webdriverio': 4.0.18 + '@vitest/ui': 4.0.18 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@opentelemetry/api': + optional: true + '@types/node': + optional: true + '@vitest/browser-playwright': + optional: true + '@vitest/browser-preview': + optional: true + '@vitest/browser-webdriverio': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + + which-boxed-primitive@1.1.1: + resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==} + engines: {node: '>= 0.4'} + + which-builtin-type@1.2.1: + resolution: {integrity: sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==} + engines: {node: '>= 0.4'} + + which-collection@1.0.2: + resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==} + engines: {node: '>= 0.4'} + + which-typed-array@1.1.20: + resolution: {integrity: sha512-LYfpUkmqwl0h9A2HL09Mms427Q1RZWuOHsukfVcKRq9q95iQxdw0ix1JQrqbcDR9PH1QDwf5Qo8OZb5lksZ8Xg==} + engines: {node: '>= 0.4'} + + which@2.0.2: + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} + hasBin: true + + why-is-node-running@2.3.0: + resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==} + engines: {node: '>=8'} + hasBin: true + + word-wrap@1.2.5: + resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} + engines: {node: '>=0.10.0'} + + yallist@3.1.1: + resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + + yocto-queue@0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} + +snapshots: + + '@babel/code-frame@7.29.0': + dependencies: + '@babel/helper-validator-identifier': 7.28.5 + js-tokens: 4.0.0 + picocolors: 1.1.1 + + '@babel/compat-data@7.29.0': {} + + '@babel/core@7.29.0': + dependencies: + '@babel/code-frame': 7.29.0 + '@babel/generator': 7.29.0 + '@babel/helper-compilation-targets': 7.28.6 + '@babel/helper-module-transforms': 7.28.6(@babel/core@7.29.0) + '@babel/helpers': 7.28.6 + '@babel/parser': 7.29.0 + '@babel/template': 7.28.6 + '@babel/traverse': 7.29.0 + '@babel/types': 7.29.0 + '@jridgewell/remapping': 2.3.5 + convert-source-map: 2.0.0 + debug: 4.4.3 + gensync: 1.0.0-beta.2 + json5: 2.2.3 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + + '@babel/generator@7.29.0': + dependencies: + '@babel/parser': 7.29.0 + '@babel/types': 7.29.0 + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 + jsesc: 3.1.0 + + '@babel/helper-compilation-targets@7.28.6': + dependencies: + '@babel/compat-data': 7.29.0 + '@babel/helper-validator-option': 7.27.1 + browserslist: 4.28.1 + lru-cache: 5.1.1 + semver: 6.3.1 + + '@babel/helper-globals@7.28.0': {} + + '@babel/helper-module-imports@7.28.6': + dependencies: + '@babel/traverse': 7.29.0 + '@babel/types': 7.29.0 + transitivePeerDependencies: + - supports-color + + '@babel/helper-module-transforms@7.28.6(@babel/core@7.29.0)': + dependencies: + '@babel/core': 7.29.0 + '@babel/helper-module-imports': 7.28.6 + '@babel/helper-validator-identifier': 7.28.5 + '@babel/traverse': 7.29.0 + transitivePeerDependencies: + - supports-color + + '@babel/helper-string-parser@7.27.1': {} + + '@babel/helper-validator-identifier@7.28.5': {} + + '@babel/helper-validator-option@7.27.1': {} + + '@babel/helpers@7.28.6': + dependencies: + '@babel/template': 7.28.6 + '@babel/types': 7.29.0 + + '@babel/parser@7.29.0': + dependencies: + '@babel/types': 7.29.0 + + '@babel/template@7.28.6': + dependencies: + '@babel/code-frame': 7.29.0 + '@babel/parser': 7.29.0 + '@babel/types': 7.29.0 + + '@babel/traverse@7.29.0': + dependencies: + '@babel/code-frame': 7.29.0 + '@babel/generator': 7.29.0 + '@babel/helper-globals': 7.28.0 + '@babel/parser': 7.29.0 + '@babel/template': 7.28.6 + '@babel/types': 7.29.0 + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + '@babel/types@7.29.0': + dependencies: + '@babel/helper-string-parser': 7.27.1 + '@babel/helper-validator-identifier': 7.28.5 + + '@bcoe/v8-coverage@1.0.2': {} + + '@es-joy/jsdoccomment@0.49.0': + dependencies: + comment-parser: 1.4.1 + esquery: 1.7.0 + jsdoc-type-pratt-parser: 4.1.0 + + '@esbuild/aix-ppc64@0.27.2': + optional: true + + '@esbuild/android-arm64@0.27.2': + optional: true + + '@esbuild/android-arm@0.27.2': + optional: true + + '@esbuild/android-x64@0.27.2': + optional: true + + '@esbuild/darwin-arm64@0.27.2': + optional: true + + '@esbuild/darwin-x64@0.27.2': + optional: true + + '@esbuild/freebsd-arm64@0.27.2': + optional: true + + '@esbuild/freebsd-x64@0.27.2': + optional: true + + '@esbuild/linux-arm64@0.27.2': + optional: true + + '@esbuild/linux-arm@0.27.2': + optional: true + + '@esbuild/linux-ia32@0.27.2': + optional: true + + '@esbuild/linux-loong64@0.27.2': + optional: true + + '@esbuild/linux-mips64el@0.27.2': + optional: true + + '@esbuild/linux-ppc64@0.27.2': + optional: true + + '@esbuild/linux-riscv64@0.27.2': + optional: true + + '@esbuild/linux-s390x@0.27.2': + optional: true + + '@esbuild/linux-x64@0.27.2': + optional: true + + '@esbuild/netbsd-arm64@0.27.2': + optional: true + + '@esbuild/netbsd-x64@0.27.2': + optional: true + + '@esbuild/openbsd-arm64@0.27.2': + optional: true + + '@esbuild/openbsd-x64@0.27.2': + optional: true + + '@esbuild/openharmony-arm64@0.27.2': + optional: true + + '@esbuild/sunos-x64@0.27.2': + optional: true + + '@esbuild/win32-arm64@0.27.2': + optional: true + + '@esbuild/win32-ia32@0.27.2': + optional: true + + '@esbuild/win32-x64@0.27.2': + optional: true + + '@eslint-community/eslint-plugin-eslint-comments@4.4.1(eslint@9.39.2)': + dependencies: + escape-string-regexp: 4.0.0 + eslint: 9.39.2 + ignore: 5.3.2 + + '@eslint-community/eslint-utils@4.9.1(eslint@9.39.2)': + dependencies: + eslint: 9.39.2 + eslint-visitor-keys: 3.4.3 + + '@eslint-community/regexpp@4.12.2': {} + + '@eslint/compat@1.2.4(eslint@9.39.2)': + optionalDependencies: + eslint: 9.39.2 + + '@eslint/config-array@0.21.1': + dependencies: + '@eslint/object-schema': 2.1.7 + debug: 4.4.3 + minimatch: 3.1.2 + transitivePeerDependencies: + - supports-color + + '@eslint/config-helpers@0.4.2': + dependencies: + '@eslint/core': 0.17.0 + + '@eslint/core@0.17.0': + dependencies: + '@types/json-schema': 7.0.15 + + '@eslint/eslintrc@3.2.0': + dependencies: + ajv: 6.12.6 + debug: 4.4.3 + espree: 10.4.0 + globals: 14.0.0 + ignore: 5.3.2 + import-fresh: 3.3.1 + js-yaml: 4.1.1 + minimatch: 3.1.2 + strip-json-comments: 3.1.1 + transitivePeerDependencies: + - supports-color + + '@eslint/eslintrc@3.3.3': + dependencies: + ajv: 6.12.6 + debug: 4.4.3 + espree: 10.4.0 + globals: 14.0.0 + ignore: 5.3.2 + import-fresh: 3.3.1 + js-yaml: 4.1.1 + minimatch: 3.1.2 + strip-json-comments: 3.1.1 + transitivePeerDependencies: + - supports-color + + '@eslint/js@9.17.0': {} + + '@eslint/js@9.39.2': {} + + '@eslint/object-schema@2.1.7': {} + + '@eslint/plugin-kit@0.4.1': + dependencies: + '@eslint/core': 0.17.0 + levn: 0.4.1 + + '@humanfs/core@0.19.1': {} + + '@humanfs/node@0.16.7': + dependencies: + '@humanfs/core': 0.19.1 + '@humanwhocodes/retry': 0.4.3 + + '@humanwhocodes/module-importer@1.0.1': {} + + '@humanwhocodes/retry@0.4.3': {} + + '@istanbuljs/schema@0.1.3': {} + + '@jridgewell/gen-mapping@0.3.13': + dependencies: + '@jridgewell/sourcemap-codec': 1.5.5 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/remapping@2.3.5': + dependencies: + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/resolve-uri@3.1.2': {} + + '@jridgewell/sourcemap-codec@1.5.5': {} + + '@jridgewell/trace-mapping@0.3.31': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.5 + + '@nhcarrigan/eslint-config@5.2.0(@typescript-eslint/utils@8.54.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(playwright@1.58.1)(react@19.2.4)(typescript@5.9.3)(vitest@4.0.18(@types/node@25.2.0))': + dependencies: + '@eslint-community/eslint-plugin-eslint-comments': 4.4.1(eslint@9.39.2) + '@eslint/compat': 1.2.4(eslint@9.39.2) + '@eslint/eslintrc': 3.2.0 + '@eslint/js': 9.17.0 + '@stylistic/eslint-plugin': 2.12.1(eslint@9.39.2)(typescript@5.9.3) + '@typescript-eslint/eslint-plugin': 8.19.0(@typescript-eslint/parser@8.19.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3) + '@typescript-eslint/parser': 8.19.0(eslint@9.39.2)(typescript@5.9.3) + '@vitest/eslint-plugin': 1.1.24(@typescript-eslint/utils@8.54.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3)(vitest@4.0.18(@types/node@25.2.0)) + eslint: 9.39.2 + eslint-plugin-deprecation: 3.0.0(eslint@9.39.2)(typescript@5.9.3) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.19.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2) + eslint-plugin-jsdoc: 50.6.1(eslint@9.39.2) + eslint-plugin-playwright: 2.1.0(eslint@9.39.2) + eslint-plugin-react: 7.37.3(eslint@9.39.2) + eslint-plugin-sort-keys-fix: 1.1.2 + eslint-plugin-unicorn: 56.0.1(eslint@9.39.2) + globals: 15.14.0 + playwright: 1.58.1 + react: 19.2.4 + typescript: 5.9.3 + vitest: 4.0.18(@types/node@25.2.0) + transitivePeerDependencies: + - '@typescript-eslint/utils' + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + + '@nhcarrigan/logger@1.1.1': {} + + '@nhcarrigan/typescript-config@4.0.0(typescript@5.9.3)': + dependencies: + typescript: 5.9.3 + + '@nodelib/fs.scandir@2.1.5': + dependencies: + '@nodelib/fs.stat': 2.0.5 + run-parallel: 1.2.0 + + '@nodelib/fs.stat@2.0.5': {} + + '@nodelib/fs.walk@1.2.8': + dependencies: + '@nodelib/fs.scandir': 2.1.5 + fastq: 1.20.1 + + '@pkgr/core@0.1.2': {} + + '@rollup/rollup-android-arm-eabi@4.57.1': + optional: true + + '@rollup/rollup-android-arm64@4.57.1': + optional: true + + '@rollup/rollup-darwin-arm64@4.57.1': + optional: true + + '@rollup/rollup-darwin-x64@4.57.1': + optional: true + + '@rollup/rollup-freebsd-arm64@4.57.1': + optional: true + + '@rollup/rollup-freebsd-x64@4.57.1': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.57.1': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.57.1': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.57.1': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.57.1': + optional: true + + '@rollup/rollup-linux-loong64-gnu@4.57.1': + optional: true + + '@rollup/rollup-linux-loong64-musl@4.57.1': + optional: true + + '@rollup/rollup-linux-ppc64-gnu@4.57.1': + optional: true + + '@rollup/rollup-linux-ppc64-musl@4.57.1': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.57.1': + optional: true + + '@rollup/rollup-linux-riscv64-musl@4.57.1': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.57.1': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.57.1': + optional: true + + '@rollup/rollup-linux-x64-musl@4.57.1': + optional: true + + '@rollup/rollup-openbsd-x64@4.57.1': + optional: true + + '@rollup/rollup-openharmony-arm64@4.57.1': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.57.1': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.57.1': + optional: true + + '@rollup/rollup-win32-x64-gnu@4.57.1': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.57.1': + optional: true + + '@rtsao/scc@1.1.0': {} + + '@standard-schema/spec@1.1.0': {} + + '@stylistic/eslint-plugin@2.12.1(eslint@9.39.2)(typescript@5.9.3)': + dependencies: + '@typescript-eslint/utils': 8.54.0(eslint@9.39.2)(typescript@5.9.3) + eslint: 9.39.2 + eslint-visitor-keys: 4.2.1 + espree: 10.4.0 + estraverse: 5.3.0 + picomatch: 4.0.3 + transitivePeerDependencies: + - supports-color + - typescript + + '@types/chai@5.2.3': + dependencies: + '@types/deep-eql': 4.0.2 + assertion-error: 2.0.1 + + '@types/deep-eql@4.0.2': {} + + '@types/estree@1.0.8': {} + + '@types/json-schema@7.0.15': {} + + '@types/json5@0.0.29': {} + + '@types/node-cron@3.0.11': {} + + '@types/node@25.2.0': + dependencies: + undici-types: 7.16.0 + + '@types/normalize-package-data@2.4.4': {} + + '@types/semver@7.7.1': {} + + '@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3)': + dependencies: + '@eslint-community/regexpp': 4.12.2 + '@typescript-eslint/parser': 8.19.0(eslint@9.39.2)(typescript@5.9.3) + '@typescript-eslint/scope-manager': 8.19.0 + '@typescript-eslint/type-utils': 8.19.0(eslint@9.39.2)(typescript@5.9.3) + '@typescript-eslint/utils': 8.19.0(eslint@9.39.2)(typescript@5.9.3) + '@typescript-eslint/visitor-keys': 8.19.0 + eslint: 9.39.2 + graphemer: 1.4.0 + ignore: 5.3.2 + natural-compare: 1.4.0 + ts-api-utils: 1.4.3(typescript@5.9.3) + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/parser@8.19.0(eslint@9.39.2)(typescript@5.9.3)': + dependencies: + '@typescript-eslint/scope-manager': 8.19.0 + '@typescript-eslint/types': 8.19.0 + '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.9.3) + '@typescript-eslint/visitor-keys': 8.19.0 + debug: 4.4.3 + eslint: 9.39.2 + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/project-service@8.54.0(typescript@5.9.3)': + dependencies: + '@typescript-eslint/tsconfig-utils': 8.54.0(typescript@5.9.3) + '@typescript-eslint/types': 8.54.0 + debug: 4.4.3 + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/scope-manager@7.18.0': + dependencies: + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/visitor-keys': 7.18.0 + + '@typescript-eslint/scope-manager@8.19.0': + dependencies: + '@typescript-eslint/types': 8.19.0 + '@typescript-eslint/visitor-keys': 8.19.0 + + '@typescript-eslint/scope-manager@8.54.0': + dependencies: + '@typescript-eslint/types': 8.54.0 + '@typescript-eslint/visitor-keys': 8.54.0 + + '@typescript-eslint/tsconfig-utils@8.54.0(typescript@5.9.3)': + dependencies: + typescript: 5.9.3 + + '@typescript-eslint/type-utils@8.19.0(eslint@9.39.2)(typescript@5.9.3)': + dependencies: + '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.9.3) + '@typescript-eslint/utils': 8.19.0(eslint@9.39.2)(typescript@5.9.3) + debug: 4.4.3 + eslint: 9.39.2 + ts-api-utils: 1.4.3(typescript@5.9.3) + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/types@7.18.0': {} + + '@typescript-eslint/types@8.19.0': {} + + '@typescript-eslint/types@8.54.0': {} + + '@typescript-eslint/typescript-estree@7.18.0(typescript@5.9.3)': + dependencies: + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/visitor-keys': 7.18.0 + debug: 4.4.3 + globby: 11.1.0 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.7.3 + ts-api-utils: 1.4.3(typescript@5.9.3) + optionalDependencies: + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/typescript-estree@8.19.0(typescript@5.9.3)': + dependencies: + '@typescript-eslint/types': 8.19.0 + '@typescript-eslint/visitor-keys': 8.19.0 + debug: 4.4.3 + fast-glob: 3.3.3 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.7.3 + ts-api-utils: 1.4.3(typescript@5.9.3) + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/typescript-estree@8.54.0(typescript@5.9.3)': + dependencies: + '@typescript-eslint/project-service': 8.54.0(typescript@5.9.3) + '@typescript-eslint/tsconfig-utils': 8.54.0(typescript@5.9.3) + '@typescript-eslint/types': 8.54.0 + '@typescript-eslint/visitor-keys': 8.54.0 + debug: 4.4.3 + minimatch: 9.0.5 + semver: 7.7.3 + tinyglobby: 0.2.15 + ts-api-utils: 2.4.0(typescript@5.9.3) + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/utils@7.18.0(eslint@9.39.2)(typescript@5.9.3)': + dependencies: + '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.2) + '@typescript-eslint/scope-manager': 7.18.0 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.9.3) + eslint: 9.39.2 + transitivePeerDependencies: + - supports-color + - typescript + + '@typescript-eslint/utils@8.19.0(eslint@9.39.2)(typescript@5.9.3)': + dependencies: + '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.2) + '@typescript-eslint/scope-manager': 8.19.0 + '@typescript-eslint/types': 8.19.0 + '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.9.3) + eslint: 9.39.2 + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/utils@8.54.0(eslint@9.39.2)(typescript@5.9.3)': + dependencies: + '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.2) + '@typescript-eslint/scope-manager': 8.54.0 + '@typescript-eslint/types': 8.54.0 + '@typescript-eslint/typescript-estree': 8.54.0(typescript@5.9.3) + eslint: 9.39.2 + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/visitor-keys@7.18.0': + dependencies: + '@typescript-eslint/types': 7.18.0 + eslint-visitor-keys: 3.4.3 + + '@typescript-eslint/visitor-keys@8.19.0': + dependencies: + '@typescript-eslint/types': 8.19.0 + eslint-visitor-keys: 4.2.1 + + '@typescript-eslint/visitor-keys@8.54.0': + dependencies: + '@typescript-eslint/types': 8.54.0 + eslint-visitor-keys: 4.2.1 + + '@vitest/coverage-istanbul@4.0.18(vitest@4.0.18(@types/node@25.2.0))': + dependencies: + '@istanbuljs/schema': 0.1.3 + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 + istanbul-lib-coverage: 3.2.2 + istanbul-lib-instrument: 6.0.3 + istanbul-lib-report: 3.0.1 + istanbul-reports: 3.2.0 + magicast: 0.5.1 + obug: 2.1.1 + tinyrainbow: 3.0.3 + vitest: 4.0.18(@types/node@25.2.0) + transitivePeerDependencies: + - supports-color + + '@vitest/coverage-v8@4.0.18(vitest@4.0.18(@types/node@25.2.0))': + dependencies: + '@bcoe/v8-coverage': 1.0.2 + '@vitest/utils': 4.0.18 + ast-v8-to-istanbul: 0.3.11 + istanbul-lib-coverage: 3.2.2 + istanbul-lib-report: 3.0.1 + istanbul-reports: 3.2.0 + magicast: 0.5.1 + obug: 2.1.1 + std-env: 3.10.0 + tinyrainbow: 3.0.3 + vitest: 4.0.18(@types/node@25.2.0) + + '@vitest/eslint-plugin@1.1.24(@typescript-eslint/utils@8.54.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2)(typescript@5.9.3)(vitest@4.0.18(@types/node@25.2.0))': + dependencies: + '@typescript-eslint/utils': 8.54.0(eslint@9.39.2)(typescript@5.9.3) + eslint: 9.39.2 + optionalDependencies: + typescript: 5.9.3 + vitest: 4.0.18(@types/node@25.2.0) + + '@vitest/expect@4.0.18': + dependencies: + '@standard-schema/spec': 1.1.0 + '@types/chai': 5.2.3 + '@vitest/spy': 4.0.18 + '@vitest/utils': 4.0.18 + chai: 6.2.2 + tinyrainbow: 3.0.3 + + '@vitest/mocker@4.0.18(vite@7.3.1(@types/node@25.2.0))': + dependencies: + '@vitest/spy': 4.0.18 + estree-walker: 3.0.3 + magic-string: 0.30.21 + optionalDependencies: + vite: 7.3.1(@types/node@25.2.0) + + '@vitest/pretty-format@4.0.18': + dependencies: + tinyrainbow: 3.0.3 + + '@vitest/runner@4.0.18': + dependencies: + '@vitest/utils': 4.0.18 + pathe: 2.0.3 + + '@vitest/snapshot@4.0.18': + dependencies: + '@vitest/pretty-format': 4.0.18 + magic-string: 0.30.21 + pathe: 2.0.3 + + '@vitest/spy@4.0.18': {} + + '@vitest/utils@4.0.18': + dependencies: + '@vitest/pretty-format': 4.0.18 + tinyrainbow: 3.0.3 + + acorn-jsx@5.3.2(acorn@7.4.1): + dependencies: + acorn: 7.4.1 + + acorn-jsx@5.3.2(acorn@8.15.0): + dependencies: + acorn: 8.15.0 + + acorn@7.4.1: {} + + acorn@8.15.0: {} + + ajv@6.12.6: + dependencies: + fast-deep-equal: 3.1.3 + fast-json-stable-stringify: 2.1.0 + json-schema-traverse: 0.4.1 + uri-js: 4.4.1 + + ansi-styles@4.3.0: + dependencies: + color-convert: 2.0.1 + + are-docs-informative@0.0.2: {} + + argparse@2.0.1: {} + + array-buffer-byte-length@1.0.2: + dependencies: + call-bound: 1.0.4 + is-array-buffer: 3.0.5 + + array-includes@3.1.9: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-object-atoms: 1.1.1 + get-intrinsic: 1.3.0 + is-string: 1.1.1 + math-intrinsics: 1.1.0 + + array-union@2.1.0: {} + + array.prototype.findlast@1.2.5: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.1 + es-shim-unscopables: 1.1.0 + + array.prototype.findlastindex@1.2.6: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.1 + es-shim-unscopables: 1.1.0 + + array.prototype.flat@1.3.3: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-shim-unscopables: 1.1.0 + + array.prototype.flatmap@1.3.3: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-shim-unscopables: 1.1.0 + + array.prototype.tosorted@1.1.4: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-errors: 1.3.0 + es-shim-unscopables: 1.1.0 + + arraybuffer.prototype.slice@1.0.4: + dependencies: + array-buffer-byte-length: 1.0.2 + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + is-array-buffer: 3.0.5 + + assertion-error@2.0.1: {} + + ast-v8-to-istanbul@0.3.11: + dependencies: + '@jridgewell/trace-mapping': 0.3.31 + estree-walker: 3.0.3 + js-tokens: 10.0.0 + + async-function@1.0.0: {} + + asynckit@0.4.0: {} + + available-typed-arrays@1.0.7: + dependencies: + possible-typed-array-names: 1.1.0 + + axios@1.13.4: + dependencies: + follow-redirects: 1.15.11 + form-data: 4.0.5 + proxy-from-env: 1.1.0 + transitivePeerDependencies: + - debug + + balanced-match@1.0.2: {} + + baseline-browser-mapping@2.9.19: {} + + brace-expansion@1.1.12: + dependencies: + balanced-match: 1.0.2 + concat-map: 0.0.1 + + brace-expansion@2.0.2: + dependencies: + balanced-match: 1.0.2 + + braces@3.0.3: + dependencies: + fill-range: 7.1.1 + + browserslist@4.28.1: + dependencies: + baseline-browser-mapping: 2.9.19 + caniuse-lite: 1.0.30001767 + electron-to-chromium: 1.5.286 + node-releases: 2.0.27 + update-browserslist-db: 1.2.3(browserslist@4.28.1) + + builtin-modules@3.3.0: {} + + call-bind-apply-helpers@1.0.2: + dependencies: + es-errors: 1.3.0 + function-bind: 1.1.2 + + call-bind@1.0.8: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-define-property: 1.0.1 + get-intrinsic: 1.3.0 + set-function-length: 1.2.2 + + call-bound@1.0.4: + dependencies: + call-bind-apply-helpers: 1.0.2 + get-intrinsic: 1.3.0 + + callsites@3.1.0: {} + + caniuse-lite@1.0.30001767: {} + + chai@6.2.2: {} + + chalk@4.1.2: + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + + ci-info@4.4.0: {} + + clean-regexp@1.0.0: + dependencies: + escape-string-regexp: 1.0.5 + + color-convert@2.0.1: + dependencies: + color-name: 1.1.4 + + color-name@1.1.4: {} + + combined-stream@1.0.8: + dependencies: + delayed-stream: 1.0.0 + + comment-parser@1.4.1: {} + + concat-map@0.0.1: {} + + convert-source-map@2.0.0: {} + + core-js-compat@3.48.0: + dependencies: + browserslist: 4.28.1 + + cross-spawn@7.0.6: + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + + data-view-buffer@1.0.2: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + is-data-view: 1.0.2 + + data-view-byte-length@1.0.2: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + is-data-view: 1.0.2 + + data-view-byte-offset@1.0.1: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + is-data-view: 1.0.2 + + debug@3.2.7: + dependencies: + ms: 2.1.3 + + debug@4.4.3: + dependencies: + ms: 2.1.3 + + deep-is@0.1.4: {} + + define-data-property@1.1.4: + dependencies: + es-define-property: 1.0.1 + es-errors: 1.3.0 + gopd: 1.2.0 + + define-properties@1.2.1: + dependencies: + define-data-property: 1.1.4 + has-property-descriptors: 1.0.2 + object-keys: 1.1.1 + + delayed-stream@1.0.0: {} + + dir-glob@3.0.1: + dependencies: + path-type: 4.0.0 + + doctrine@2.1.0: + dependencies: + esutils: 2.0.3 + + dunder-proto@1.0.1: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-errors: 1.3.0 + gopd: 1.2.0 + + electron-to-chromium@1.5.286: {} + + error-ex@1.3.4: + dependencies: + is-arrayish: 0.2.1 + + es-abstract@1.24.1: + dependencies: + array-buffer-byte-length: 1.0.2 + arraybuffer.prototype.slice: 1.0.4 + available-typed-arrays: 1.0.7 + call-bind: 1.0.8 + call-bound: 1.0.4 + data-view-buffer: 1.0.2 + data-view-byte-length: 1.0.2 + data-view-byte-offset: 1.0.1 + es-define-property: 1.0.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.1 + es-set-tostringtag: 2.1.0 + es-to-primitive: 1.3.0 + function.prototype.name: 1.1.8 + get-intrinsic: 1.3.0 + get-proto: 1.0.1 + get-symbol-description: 1.1.0 + globalthis: 1.0.4 + gopd: 1.2.0 + has-property-descriptors: 1.0.2 + has-proto: 1.2.0 + has-symbols: 1.1.0 + hasown: 2.0.2 + internal-slot: 1.1.0 + is-array-buffer: 3.0.5 + is-callable: 1.2.7 + is-data-view: 1.0.2 + is-negative-zero: 2.0.3 + is-regex: 1.2.1 + is-set: 2.0.3 + is-shared-array-buffer: 1.0.4 + is-string: 1.1.1 + is-typed-array: 1.1.15 + is-weakref: 1.1.1 + math-intrinsics: 1.1.0 + object-inspect: 1.13.4 + object-keys: 1.1.1 + object.assign: 4.1.7 + own-keys: 1.0.1 + regexp.prototype.flags: 1.5.4 + safe-array-concat: 1.1.3 + safe-push-apply: 1.0.0 + safe-regex-test: 1.1.0 + set-proto: 1.0.0 + stop-iteration-iterator: 1.1.0 + string.prototype.trim: 1.2.10 + string.prototype.trimend: 1.0.9 + string.prototype.trimstart: 1.0.8 + typed-array-buffer: 1.0.3 + typed-array-byte-length: 1.0.3 + typed-array-byte-offset: 1.0.4 + typed-array-length: 1.0.7 + unbox-primitive: 1.1.0 + which-typed-array: 1.1.20 + + es-define-property@1.0.1: {} + + es-errors@1.3.0: {} + + es-iterator-helpers@1.2.2: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-errors: 1.3.0 + es-set-tostringtag: 2.1.0 + function-bind: 1.1.2 + get-intrinsic: 1.3.0 + globalthis: 1.0.4 + gopd: 1.2.0 + has-property-descriptors: 1.0.2 + has-proto: 1.2.0 + has-symbols: 1.1.0 + internal-slot: 1.1.0 + iterator.prototype: 1.1.5 + safe-array-concat: 1.1.3 + + es-module-lexer@1.7.0: {} + + es-object-atoms@1.1.1: + dependencies: + es-errors: 1.3.0 + + es-set-tostringtag@2.1.0: + dependencies: + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + has-tostringtag: 1.0.2 + hasown: 2.0.2 + + es-shim-unscopables@1.1.0: + dependencies: + hasown: 2.0.2 + + es-to-primitive@1.3.0: + dependencies: + is-callable: 1.2.7 + is-date-object: 1.1.0 + is-symbol: 1.1.1 + + esbuild@0.27.2: + optionalDependencies: + '@esbuild/aix-ppc64': 0.27.2 + '@esbuild/android-arm': 0.27.2 + '@esbuild/android-arm64': 0.27.2 + '@esbuild/android-x64': 0.27.2 + '@esbuild/darwin-arm64': 0.27.2 + '@esbuild/darwin-x64': 0.27.2 + '@esbuild/freebsd-arm64': 0.27.2 + '@esbuild/freebsd-x64': 0.27.2 + '@esbuild/linux-arm': 0.27.2 + '@esbuild/linux-arm64': 0.27.2 + '@esbuild/linux-ia32': 0.27.2 + '@esbuild/linux-loong64': 0.27.2 + '@esbuild/linux-mips64el': 0.27.2 + '@esbuild/linux-ppc64': 0.27.2 + '@esbuild/linux-riscv64': 0.27.2 + '@esbuild/linux-s390x': 0.27.2 + '@esbuild/linux-x64': 0.27.2 + '@esbuild/netbsd-arm64': 0.27.2 + '@esbuild/netbsd-x64': 0.27.2 + '@esbuild/openbsd-arm64': 0.27.2 + '@esbuild/openbsd-x64': 0.27.2 + '@esbuild/openharmony-arm64': 0.27.2 + '@esbuild/sunos-x64': 0.27.2 + '@esbuild/win32-arm64': 0.27.2 + '@esbuild/win32-ia32': 0.27.2 + '@esbuild/win32-x64': 0.27.2 + + escalade@3.2.0: {} + + escape-string-regexp@1.0.5: {} + + escape-string-regexp@4.0.0: {} + + eslint-import-resolver-node@0.3.9: + dependencies: + debug: 3.2.7 + is-core-module: 2.16.1 + resolve: 1.22.11 + transitivePeerDependencies: + - supports-color + + eslint-module-utils@2.12.1(@typescript-eslint/parser@8.19.0(eslint@9.39.2)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint@9.39.2): + dependencies: + debug: 3.2.7 + optionalDependencies: + '@typescript-eslint/parser': 8.19.0(eslint@9.39.2)(typescript@5.9.3) + eslint: 9.39.2 + eslint-import-resolver-node: 0.3.9 + transitivePeerDependencies: + - supports-color + + eslint-plugin-deprecation@3.0.0(eslint@9.39.2)(typescript@5.9.3): + dependencies: + '@typescript-eslint/utils': 7.18.0(eslint@9.39.2)(typescript@5.9.3) + eslint: 9.39.2 + ts-api-utils: 1.4.3(typescript@5.9.3) + tslib: 2.8.1 + typescript: 5.9.3 + transitivePeerDependencies: + - supports-color + + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.19.0(eslint@9.39.2)(typescript@5.9.3))(eslint@9.39.2): + dependencies: + '@rtsao/scc': 1.1.0 + array-includes: 3.1.9 + array.prototype.findlastindex: 1.2.6 + array.prototype.flat: 1.3.3 + array.prototype.flatmap: 1.3.3 + debug: 3.2.7 + doctrine: 2.1.0 + eslint: 9.39.2 + eslint-import-resolver-node: 0.3.9 + eslint-module-utils: 2.12.1(@typescript-eslint/parser@8.19.0(eslint@9.39.2)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint@9.39.2) + hasown: 2.0.2 + is-core-module: 2.16.1 + is-glob: 4.0.3 + minimatch: 3.1.2 + object.fromentries: 2.0.8 + object.groupby: 1.0.3 + object.values: 1.2.1 + semver: 6.3.1 + string.prototype.trimend: 1.0.9 + tsconfig-paths: 3.15.0 + optionalDependencies: + '@typescript-eslint/parser': 8.19.0(eslint@9.39.2)(typescript@5.9.3) + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + + eslint-plugin-jsdoc@50.6.1(eslint@9.39.2): + dependencies: + '@es-joy/jsdoccomment': 0.49.0 + are-docs-informative: 0.0.2 + comment-parser: 1.4.1 + debug: 4.4.3 + escape-string-regexp: 4.0.0 + eslint: 9.39.2 + espree: 10.4.0 + esquery: 1.7.0 + parse-imports: 2.2.1 + semver: 7.7.3 + spdx-expression-parse: 4.0.0 + synckit: 0.9.3 + transitivePeerDependencies: + - supports-color + + eslint-plugin-playwright@2.1.0(eslint@9.39.2): + dependencies: + eslint: 9.39.2 + globals: 13.24.0 + + eslint-plugin-react@7.37.3(eslint@9.39.2): + dependencies: + array-includes: 3.1.9 + array.prototype.findlast: 1.2.5 + array.prototype.flatmap: 1.3.3 + array.prototype.tosorted: 1.1.4 + doctrine: 2.1.0 + es-iterator-helpers: 1.2.2 + eslint: 9.39.2 + estraverse: 5.3.0 + hasown: 2.0.2 + jsx-ast-utils: 3.3.5 + minimatch: 3.1.2 + object.entries: 1.1.9 + object.fromentries: 2.0.8 + object.values: 1.2.1 + prop-types: 15.8.1 + resolve: 2.0.0-next.5 + semver: 6.3.1 + string.prototype.matchall: 4.0.12 + string.prototype.repeat: 1.0.0 + + eslint-plugin-sort-keys-fix@1.1.2: + dependencies: + espree: 6.2.1 + esutils: 2.0.3 + natural-compare: 1.4.0 + requireindex: 1.2.0 + + eslint-plugin-unicorn@56.0.1(eslint@9.39.2): + dependencies: + '@babel/helper-validator-identifier': 7.28.5 + '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.2) + ci-info: 4.4.0 + clean-regexp: 1.0.0 + core-js-compat: 3.48.0 + eslint: 9.39.2 + esquery: 1.7.0 + globals: 15.14.0 + indent-string: 4.0.0 + is-builtin-module: 3.2.1 + jsesc: 3.1.0 + pluralize: 8.0.0 + read-pkg-up: 7.0.1 + regexp-tree: 0.1.27 + regjsparser: 0.10.0 + semver: 7.7.3 + strip-indent: 3.0.0 + + eslint-scope@8.4.0: + dependencies: + esrecurse: 4.3.0 + estraverse: 5.3.0 + + eslint-visitor-keys@1.3.0: {} + + eslint-visitor-keys@3.4.3: {} + + eslint-visitor-keys@4.2.1: {} + + eslint@9.39.2: + dependencies: + '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.2) + '@eslint-community/regexpp': 4.12.2 + '@eslint/config-array': 0.21.1 + '@eslint/config-helpers': 0.4.2 + '@eslint/core': 0.17.0 + '@eslint/eslintrc': 3.3.3 + '@eslint/js': 9.39.2 + '@eslint/plugin-kit': 0.4.1 + '@humanfs/node': 0.16.7 + '@humanwhocodes/module-importer': 1.0.1 + '@humanwhocodes/retry': 0.4.3 + '@types/estree': 1.0.8 + ajv: 6.12.6 + chalk: 4.1.2 + cross-spawn: 7.0.6 + debug: 4.4.3 + escape-string-regexp: 4.0.0 + eslint-scope: 8.4.0 + eslint-visitor-keys: 4.2.1 + espree: 10.4.0 + esquery: 1.7.0 + esutils: 2.0.3 + fast-deep-equal: 3.1.3 + file-entry-cache: 8.0.0 + find-up: 5.0.0 + glob-parent: 6.0.2 + ignore: 5.3.2 + imurmurhash: 0.1.4 + is-glob: 4.0.3 + json-stable-stringify-without-jsonify: 1.0.1 + lodash.merge: 4.6.2 + minimatch: 3.1.2 + natural-compare: 1.4.0 + optionator: 0.9.4 + transitivePeerDependencies: + - supports-color + + espree@10.4.0: + dependencies: + acorn: 8.15.0 + acorn-jsx: 5.3.2(acorn@8.15.0) + eslint-visitor-keys: 4.2.1 + + espree@6.2.1: + dependencies: + acorn: 7.4.1 + acorn-jsx: 5.3.2(acorn@7.4.1) + eslint-visitor-keys: 1.3.0 + + esquery@1.7.0: + dependencies: + estraverse: 5.3.0 + + esrecurse@4.3.0: + dependencies: + estraverse: 5.3.0 + + estraverse@5.3.0: {} + + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.8 + + esutils@2.0.3: {} + + expect-type@1.3.0: {} + + fast-deep-equal@3.1.3: {} + + fast-glob@3.3.3: + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.8 + + fast-json-stable-stringify@2.1.0: {} + + fast-levenshtein@2.0.6: {} + + fastq@1.20.1: + dependencies: + reusify: 1.1.0 + + fdir@6.5.0(picomatch@4.0.3): + optionalDependencies: + picomatch: 4.0.3 + + file-entry-cache@8.0.0: + dependencies: + flat-cache: 4.0.1 + + fill-range@7.1.1: + dependencies: + to-regex-range: 5.0.1 + + find-up@4.1.0: + dependencies: + locate-path: 5.0.0 + path-exists: 4.0.0 + + find-up@5.0.0: + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + + flat-cache@4.0.1: + dependencies: + flatted: 3.3.3 + keyv: 4.5.4 + + flatted@3.3.3: {} + + follow-redirects@1.15.11: {} + + for-each@0.3.5: + dependencies: + is-callable: 1.2.7 + + form-data@4.0.5: + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + es-set-tostringtag: 2.1.0 + hasown: 2.0.2 + mime-types: 2.1.35 + + fsevents@2.3.2: + optional: true + + fsevents@2.3.3: + optional: true + + function-bind@1.1.2: {} + + function.prototype.name@1.1.8: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + functions-have-names: 1.2.3 + hasown: 2.0.2 + is-callable: 1.2.7 + + functions-have-names@1.2.3: {} + + generator-function@2.0.1: {} + + gensync@1.0.0-beta.2: {} + + get-intrinsic@1.3.0: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-define-property: 1.0.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.1 + function-bind: 1.1.2 + get-proto: 1.0.1 + gopd: 1.2.0 + has-symbols: 1.1.0 + hasown: 2.0.2 + math-intrinsics: 1.1.0 + + get-proto@1.0.1: + dependencies: + dunder-proto: 1.0.1 + es-object-atoms: 1.1.1 + + get-symbol-description@1.1.0: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + + glob-parent@5.1.2: + dependencies: + is-glob: 4.0.3 + + glob-parent@6.0.2: + dependencies: + is-glob: 4.0.3 + + globals@13.24.0: + dependencies: + type-fest: 0.20.2 + + globals@14.0.0: {} + + globals@15.14.0: {} + + globalthis@1.0.4: + dependencies: + define-properties: 1.2.1 + gopd: 1.2.0 + + globby@11.1.0: + dependencies: + array-union: 2.1.0 + dir-glob: 3.0.1 + fast-glob: 3.3.3 + ignore: 5.3.2 + merge2: 1.4.1 + slash: 3.0.0 + + gopd@1.2.0: {} + + graphemer@1.4.0: {} + + has-bigints@1.1.0: {} + + has-flag@4.0.0: {} + + has-property-descriptors@1.0.2: + dependencies: + es-define-property: 1.0.1 + + has-proto@1.2.0: + dependencies: + dunder-proto: 1.0.1 + + has-symbols@1.1.0: {} + + has-tostringtag@1.0.2: + dependencies: + has-symbols: 1.1.0 + + hasown@2.0.2: + dependencies: + function-bind: 1.1.2 + + hosted-git-info@2.8.9: {} + + html-escaper@2.0.2: {} + + ignore@5.3.2: {} + + import-fresh@3.3.1: + dependencies: + parent-module: 1.0.1 + resolve-from: 4.0.0 + + imurmurhash@0.1.4: {} + + indent-string@4.0.0: {} + + internal-slot@1.1.0: + dependencies: + es-errors: 1.3.0 + hasown: 2.0.2 + side-channel: 1.1.0 + + is-array-buffer@3.0.5: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + get-intrinsic: 1.3.0 + + is-arrayish@0.2.1: {} + + is-async-function@2.1.1: + dependencies: + async-function: 1.0.0 + call-bound: 1.0.4 + get-proto: 1.0.1 + has-tostringtag: 1.0.2 + safe-regex-test: 1.1.0 + + is-bigint@1.1.0: + dependencies: + has-bigints: 1.1.0 + + is-boolean-object@1.2.2: + dependencies: + call-bound: 1.0.4 + has-tostringtag: 1.0.2 + + is-builtin-module@3.2.1: + dependencies: + builtin-modules: 3.3.0 + + is-callable@1.2.7: {} + + is-core-module@2.16.1: + dependencies: + hasown: 2.0.2 + + is-data-view@1.0.2: + dependencies: + call-bound: 1.0.4 + get-intrinsic: 1.3.0 + is-typed-array: 1.1.15 + + is-date-object@1.1.0: + dependencies: + call-bound: 1.0.4 + has-tostringtag: 1.0.2 + + is-extglob@2.1.1: {} + + is-finalizationregistry@1.1.1: + dependencies: + call-bound: 1.0.4 + + is-generator-function@1.1.2: + dependencies: + call-bound: 1.0.4 + generator-function: 2.0.1 + get-proto: 1.0.1 + has-tostringtag: 1.0.2 + safe-regex-test: 1.1.0 + + is-glob@4.0.3: + dependencies: + is-extglob: 2.1.1 + + is-map@2.0.3: {} + + is-negative-zero@2.0.3: {} + + is-number-object@1.1.1: + dependencies: + call-bound: 1.0.4 + has-tostringtag: 1.0.2 + + is-number@7.0.0: {} + + is-regex@1.2.1: + dependencies: + call-bound: 1.0.4 + gopd: 1.2.0 + has-tostringtag: 1.0.2 + hasown: 2.0.2 + + is-set@2.0.3: {} + + is-shared-array-buffer@1.0.4: + dependencies: + call-bound: 1.0.4 + + is-string@1.1.1: + dependencies: + call-bound: 1.0.4 + has-tostringtag: 1.0.2 + + is-symbol@1.1.1: + dependencies: + call-bound: 1.0.4 + has-symbols: 1.1.0 + safe-regex-test: 1.1.0 + + is-typed-array@1.1.15: + dependencies: + which-typed-array: 1.1.20 + + is-weakmap@2.0.2: {} + + is-weakref@1.1.1: + dependencies: + call-bound: 1.0.4 + + is-weakset@2.0.4: + dependencies: + call-bound: 1.0.4 + get-intrinsic: 1.3.0 + + isarray@2.0.5: {} + + isexe@2.0.0: {} + + istanbul-lib-coverage@3.2.2: {} + + istanbul-lib-instrument@6.0.3: + dependencies: + '@babel/core': 7.29.0 + '@babel/parser': 7.29.0 + '@istanbuljs/schema': 0.1.3 + istanbul-lib-coverage: 3.2.2 + semver: 7.7.3 + transitivePeerDependencies: + - supports-color + + istanbul-lib-report@3.0.1: + dependencies: + istanbul-lib-coverage: 3.2.2 + make-dir: 4.0.0 + supports-color: 7.2.0 + + istanbul-reports@3.2.0: + dependencies: + html-escaper: 2.0.2 + istanbul-lib-report: 3.0.1 + + iterator.prototype@1.1.5: + dependencies: + define-data-property: 1.1.4 + es-object-atoms: 1.1.1 + get-intrinsic: 1.3.0 + get-proto: 1.0.1 + has-symbols: 1.1.0 + set-function-name: 2.0.2 + + js-tokens@10.0.0: {} + + js-tokens@4.0.0: {} + + js-yaml@4.1.1: + dependencies: + argparse: 2.0.1 + + jsdoc-type-pratt-parser@4.1.0: {} + + jsesc@0.5.0: {} + + jsesc@3.1.0: {} + + json-buffer@3.0.1: {} + + json-parse-even-better-errors@2.3.1: {} + + json-schema-traverse@0.4.1: {} + + json-stable-stringify-without-jsonify@1.0.1: {} + + json5@1.0.2: + dependencies: + minimist: 1.2.8 + + json5@2.2.3: {} + + jsx-ast-utils@3.3.5: + dependencies: + array-includes: 3.1.9 + array.prototype.flat: 1.3.3 + object.assign: 4.1.7 + object.values: 1.2.1 + + keyv@4.5.4: + dependencies: + json-buffer: 3.0.1 + + levn@0.4.1: + dependencies: + prelude-ls: 1.2.1 + type-check: 0.4.0 + + lines-and-columns@1.2.4: {} + + locate-path@5.0.0: + dependencies: + p-locate: 4.1.0 + + locate-path@6.0.0: + dependencies: + p-locate: 5.0.0 + + lodash.merge@4.6.2: {} + + loose-envify@1.4.0: + dependencies: + js-tokens: 4.0.0 + + lru-cache@5.1.1: + dependencies: + yallist: 3.1.1 + + magic-string@0.30.21: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.5 + + magicast@0.5.1: + dependencies: + '@babel/parser': 7.29.0 + '@babel/types': 7.29.0 + source-map-js: 1.2.1 + + make-dir@4.0.0: + dependencies: + semver: 7.7.3 + + math-intrinsics@1.1.0: {} + + merge2@1.4.1: {} + + micromatch@4.0.8: + dependencies: + braces: 3.0.3 + picomatch: 2.3.1 + + mime-db@1.52.0: {} + + mime-types@2.1.35: + dependencies: + mime-db: 1.52.0 + + min-indent@1.0.1: {} + + minimatch@3.1.2: + dependencies: + brace-expansion: 1.1.12 + + minimatch@9.0.5: + dependencies: + brace-expansion: 2.0.2 + + minimist@1.2.8: {} + + ms@2.1.3: {} + + nanoid@3.3.11: {} + + natural-compare@1.4.0: {} + + node-cron@4.2.1: {} + + node-releases@2.0.27: {} + + normalize-package-data@2.5.0: + dependencies: + hosted-git-info: 2.8.9 + resolve: 1.22.11 + semver: 5.7.2 + validate-npm-package-license: 3.0.4 + + object-assign@4.1.1: {} + + object-inspect@1.13.4: {} + + object-keys@1.1.1: {} + + object.assign@4.1.7: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + es-object-atoms: 1.1.1 + has-symbols: 1.1.0 + object-keys: 1.1.1 + + object.entries@1.1.9: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + es-object-atoms: 1.1.1 + + object.fromentries@2.0.8: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-object-atoms: 1.1.1 + + object.groupby@1.0.3: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.24.1 + + object.values@1.2.1: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + es-object-atoms: 1.1.1 + + obug@2.1.1: {} + + optionator@0.9.4: + dependencies: + deep-is: 0.1.4 + fast-levenshtein: 2.0.6 + levn: 0.4.1 + prelude-ls: 1.2.1 + type-check: 0.4.0 + word-wrap: 1.2.5 + + own-keys@1.0.1: + dependencies: + get-intrinsic: 1.3.0 + object-keys: 1.1.1 + safe-push-apply: 1.0.0 + + p-limit@2.3.0: + dependencies: + p-try: 2.2.0 + + p-limit@3.1.0: + dependencies: + yocto-queue: 0.1.0 + + p-locate@4.1.0: + dependencies: + p-limit: 2.3.0 + + p-locate@5.0.0: + dependencies: + p-limit: 3.1.0 + + p-try@2.2.0: {} + + parent-module@1.0.1: + dependencies: + callsites: 3.1.0 + + parse-imports@2.2.1: + dependencies: + es-module-lexer: 1.7.0 + slashes: 3.0.12 + + parse-json@5.2.0: + dependencies: + '@babel/code-frame': 7.29.0 + error-ex: 1.3.4 + json-parse-even-better-errors: 2.3.1 + lines-and-columns: 1.2.4 + + path-exists@4.0.0: {} + + path-key@3.1.1: {} + + path-parse@1.0.7: {} + + path-type@4.0.0: {} + + pathe@2.0.3: {} + + picocolors@1.1.1: {} + + picomatch@2.3.1: {} + + picomatch@4.0.3: {} + + playwright-core@1.58.1: {} + + playwright@1.58.1: + dependencies: + playwright-core: 1.58.1 + optionalDependencies: + fsevents: 2.3.2 + + pluralize@8.0.0: {} + + possible-typed-array-names@1.1.0: {} + + postcss@8.5.6: + dependencies: + nanoid: 3.3.11 + picocolors: 1.1.1 + source-map-js: 1.2.1 + + prelude-ls@1.2.1: {} + + prop-types@15.8.1: + dependencies: + loose-envify: 1.4.0 + object-assign: 4.1.1 + react-is: 16.13.1 + + proxy-from-env@1.1.0: {} + + punycode@2.3.1: {} + + queue-microtask@1.2.3: {} + + react-is@16.13.1: {} + + react@19.2.4: {} + + read-pkg-up@7.0.1: + dependencies: + find-up: 4.1.0 + read-pkg: 5.2.0 + type-fest: 0.8.1 + + read-pkg@5.2.0: + dependencies: + '@types/normalize-package-data': 2.4.4 + normalize-package-data: 2.5.0 + parse-json: 5.2.0 + type-fest: 0.6.0 + + reflect.getprototypeof@1.0.10: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.1 + get-intrinsic: 1.3.0 + get-proto: 1.0.1 + which-builtin-type: 1.2.1 + + regexp-tree@0.1.27: {} + + regexp.prototype.flags@1.5.4: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-errors: 1.3.0 + get-proto: 1.0.1 + gopd: 1.2.0 + set-function-name: 2.0.2 + + regjsparser@0.10.0: + dependencies: + jsesc: 0.5.0 + + requireindex@1.2.0: {} + + resolve-from@4.0.0: {} + + resolve@1.22.11: + dependencies: + is-core-module: 2.16.1 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + + resolve@2.0.0-next.5: + dependencies: + is-core-module: 2.16.1 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + + reusify@1.1.0: {} + + rollup@4.57.1: + dependencies: + '@types/estree': 1.0.8 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.57.1 + '@rollup/rollup-android-arm64': 4.57.1 + '@rollup/rollup-darwin-arm64': 4.57.1 + '@rollup/rollup-darwin-x64': 4.57.1 + '@rollup/rollup-freebsd-arm64': 4.57.1 + '@rollup/rollup-freebsd-x64': 4.57.1 + '@rollup/rollup-linux-arm-gnueabihf': 4.57.1 + '@rollup/rollup-linux-arm-musleabihf': 4.57.1 + '@rollup/rollup-linux-arm64-gnu': 4.57.1 + '@rollup/rollup-linux-arm64-musl': 4.57.1 + '@rollup/rollup-linux-loong64-gnu': 4.57.1 + '@rollup/rollup-linux-loong64-musl': 4.57.1 + '@rollup/rollup-linux-ppc64-gnu': 4.57.1 + '@rollup/rollup-linux-ppc64-musl': 4.57.1 + '@rollup/rollup-linux-riscv64-gnu': 4.57.1 + '@rollup/rollup-linux-riscv64-musl': 4.57.1 + '@rollup/rollup-linux-s390x-gnu': 4.57.1 + '@rollup/rollup-linux-x64-gnu': 4.57.1 + '@rollup/rollup-linux-x64-musl': 4.57.1 + '@rollup/rollup-openbsd-x64': 4.57.1 + '@rollup/rollup-openharmony-arm64': 4.57.1 + '@rollup/rollup-win32-arm64-msvc': 4.57.1 + '@rollup/rollup-win32-ia32-msvc': 4.57.1 + '@rollup/rollup-win32-x64-gnu': 4.57.1 + '@rollup/rollup-win32-x64-msvc': 4.57.1 + fsevents: 2.3.3 + + run-parallel@1.2.0: + dependencies: + queue-microtask: 1.2.3 + + safe-array-concat@1.1.3: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + get-intrinsic: 1.3.0 + has-symbols: 1.1.0 + isarray: 2.0.5 + + safe-push-apply@1.0.0: + dependencies: + es-errors: 1.3.0 + isarray: 2.0.5 + + safe-regex-test@1.1.0: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + is-regex: 1.2.1 + + semver@5.7.2: {} + + semver@6.3.1: {} + + semver@7.7.3: {} + + set-function-length@1.2.2: + dependencies: + define-data-property: 1.1.4 + es-errors: 1.3.0 + function-bind: 1.1.2 + get-intrinsic: 1.3.0 + gopd: 1.2.0 + has-property-descriptors: 1.0.2 + + set-function-name@2.0.2: + dependencies: + define-data-property: 1.1.4 + es-errors: 1.3.0 + functions-have-names: 1.2.3 + has-property-descriptors: 1.0.2 + + set-proto@1.0.0: + dependencies: + dunder-proto: 1.0.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.1 + + shebang-command@2.0.0: + dependencies: + shebang-regex: 3.0.0 + + shebang-regex@3.0.0: {} + + side-channel-list@1.0.0: + dependencies: + es-errors: 1.3.0 + object-inspect: 1.13.4 + + side-channel-map@1.0.1: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + object-inspect: 1.13.4 + + side-channel-weakmap@1.0.2: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + get-intrinsic: 1.3.0 + object-inspect: 1.13.4 + side-channel-map: 1.0.1 + + side-channel@1.1.0: + dependencies: + es-errors: 1.3.0 + object-inspect: 1.13.4 + side-channel-list: 1.0.0 + side-channel-map: 1.0.1 + side-channel-weakmap: 1.0.2 + + siginfo@2.0.0: {} + + slash@3.0.0: {} + + slashes@3.0.12: {} + + source-map-js@1.2.1: {} + + spdx-correct@3.2.0: + dependencies: + spdx-expression-parse: 3.0.1 + spdx-license-ids: 3.0.22 + + spdx-exceptions@2.5.0: {} + + spdx-expression-parse@3.0.1: + dependencies: + spdx-exceptions: 2.5.0 + spdx-license-ids: 3.0.22 + + spdx-expression-parse@4.0.0: + dependencies: + spdx-exceptions: 2.5.0 + spdx-license-ids: 3.0.22 + + spdx-license-ids@3.0.22: {} + + stackback@0.0.2: {} + + std-env@3.10.0: {} + + stop-iteration-iterator@1.1.0: + dependencies: + es-errors: 1.3.0 + internal-slot: 1.1.0 + + string.prototype.matchall@4.0.12: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.1 + get-intrinsic: 1.3.0 + gopd: 1.2.0 + has-symbols: 1.1.0 + internal-slot: 1.1.0 + regexp.prototype.flags: 1.5.4 + set-function-name: 2.0.2 + side-channel: 1.1.0 + + string.prototype.repeat@1.0.0: + dependencies: + define-properties: 1.2.1 + es-abstract: 1.24.1 + + string.prototype.trim@1.2.10: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-data-property: 1.1.4 + define-properties: 1.2.1 + es-abstract: 1.24.1 + es-object-atoms: 1.1.1 + has-property-descriptors: 1.0.2 + + string.prototype.trimend@1.0.9: + dependencies: + call-bind: 1.0.8 + call-bound: 1.0.4 + define-properties: 1.2.1 + es-object-atoms: 1.1.1 + + string.prototype.trimstart@1.0.8: + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-object-atoms: 1.1.1 + + strip-bom@3.0.0: {} + + strip-indent@3.0.0: + dependencies: + min-indent: 1.0.1 + + strip-json-comments@3.1.1: {} + + supports-color@7.2.0: + dependencies: + has-flag: 4.0.0 + + supports-preserve-symlinks-flag@1.0.0: {} + + synckit@0.9.3: + dependencies: + '@pkgr/core': 0.1.2 + tslib: 2.8.1 + + tinybench@2.9.0: {} + + tinyexec@1.0.2: {} + + tinyglobby@0.2.15: + dependencies: + fdir: 6.5.0(picomatch@4.0.3) + picomatch: 4.0.3 + + tinyrainbow@3.0.3: {} + + to-regex-range@5.0.1: + dependencies: + is-number: 7.0.0 + + ts-api-utils@1.4.3(typescript@5.9.3): + dependencies: + typescript: 5.9.3 + + ts-api-utils@2.4.0(typescript@5.9.3): + dependencies: + typescript: 5.9.3 + + tsconfig-paths@3.15.0: + dependencies: + '@types/json5': 0.0.29 + json5: 1.0.2 + minimist: 1.2.8 + strip-bom: 3.0.0 + + tslib@2.8.1: {} + + type-check@0.4.0: + dependencies: + prelude-ls: 1.2.1 + + type-fest@0.20.2: {} + + type-fest@0.6.0: {} + + type-fest@0.8.1: {} + + typed-array-buffer@1.0.3: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + is-typed-array: 1.1.15 + + typed-array-byte-length@1.0.3: + dependencies: + call-bind: 1.0.8 + for-each: 0.3.5 + gopd: 1.2.0 + has-proto: 1.2.0 + is-typed-array: 1.1.15 + + typed-array-byte-offset@1.0.4: + dependencies: + available-typed-arrays: 1.0.7 + call-bind: 1.0.8 + for-each: 0.3.5 + gopd: 1.2.0 + has-proto: 1.2.0 + is-typed-array: 1.1.15 + reflect.getprototypeof: 1.0.10 + + typed-array-length@1.0.7: + dependencies: + call-bind: 1.0.8 + for-each: 0.3.5 + gopd: 1.2.0 + is-typed-array: 1.1.15 + possible-typed-array-names: 1.1.0 + reflect.getprototypeof: 1.0.10 + + typescript@5.9.3: {} + + unbox-primitive@1.1.0: + dependencies: + call-bound: 1.0.4 + has-bigints: 1.1.0 + has-symbols: 1.1.0 + which-boxed-primitive: 1.1.1 + + undici-types@7.16.0: {} + + update-browserslist-db@1.2.3(browserslist@4.28.1): + dependencies: + browserslist: 4.28.1 + escalade: 3.2.0 + picocolors: 1.1.1 + + uri-js@4.4.1: + dependencies: + punycode: 2.3.1 + + validate-npm-package-license@3.0.4: + dependencies: + spdx-correct: 3.2.0 + spdx-expression-parse: 3.0.1 + + vite@7.3.1(@types/node@25.2.0): + dependencies: + esbuild: 0.27.2 + fdir: 6.5.0(picomatch@4.0.3) + picomatch: 4.0.3 + postcss: 8.5.6 + rollup: 4.57.1 + tinyglobby: 0.2.15 + optionalDependencies: + '@types/node': 25.2.0 + fsevents: 2.3.3 + + vitest@4.0.18(@types/node@25.2.0): + dependencies: + '@vitest/expect': 4.0.18 + '@vitest/mocker': 4.0.18(vite@7.3.1(@types/node@25.2.0)) + '@vitest/pretty-format': 4.0.18 + '@vitest/runner': 4.0.18 + '@vitest/snapshot': 4.0.18 + '@vitest/spy': 4.0.18 + '@vitest/utils': 4.0.18 + es-module-lexer: 1.7.0 + expect-type: 1.3.0 + magic-string: 0.30.21 + obug: 2.1.1 + pathe: 2.0.3 + picomatch: 4.0.3 + std-env: 3.10.0 + tinybench: 2.9.0 + tinyexec: 1.0.2 + tinyglobby: 0.2.15 + tinyrainbow: 3.0.3 + vite: 7.3.1(@types/node@25.2.0) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 25.2.0 + transitivePeerDependencies: + - jiti + - less + - lightningcss + - msw + - sass + - sass-embedded + - stylus + - sugarss + - terser + - tsx + - yaml + + which-boxed-primitive@1.1.1: + dependencies: + is-bigint: 1.1.0 + is-boolean-object: 1.2.2 + is-number-object: 1.1.1 + is-string: 1.1.1 + is-symbol: 1.1.1 + + which-builtin-type@1.2.1: + dependencies: + call-bound: 1.0.4 + function.prototype.name: 1.1.8 + has-tostringtag: 1.0.2 + is-async-function: 2.1.1 + is-date-object: 1.1.0 + is-finalizationregistry: 1.1.1 + is-generator-function: 1.1.2 + is-regex: 1.2.1 + is-weakref: 1.1.1 + isarray: 2.0.5 + which-boxed-primitive: 1.1.1 + which-collection: 1.0.2 + which-typed-array: 1.1.20 + + which-collection@1.0.2: + dependencies: + is-map: 2.0.3 + is-set: 2.0.3 + is-weakmap: 2.0.2 + is-weakset: 2.0.4 + + which-typed-array@1.1.20: + dependencies: + available-typed-arrays: 1.0.7 + call-bind: 1.0.8 + call-bound: 1.0.4 + for-each: 0.3.5 + get-proto: 1.0.1 + gopd: 1.2.0 + has-tostringtag: 1.0.2 + + which@2.0.2: + dependencies: + isexe: 2.0.0 + + why-is-node-running@2.3.0: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + + word-wrap@1.2.5: {} + + yallist@3.1.1: {} + + yocto-queue@0.1.0: {} diff --git a/prod.env b/prod.env new file mode 100644 index 0000000..7599bda --- /dev/null +++ b/prod.env @@ -0,0 +1,7 @@ +# Minori Environment Configuration +# Uses 1Password references - safe to commit! + +# Gitea Authentication +GITEA_TOKEN=op://Personal/Gitea Personal Access Token/credential + +LOG_TOKEN="op://Environment Variables - Naomi/Alert Server/api_auth" \ No newline at end of file diff --git a/src/config.ts b/src/config.ts new file mode 100644 index 0000000..3f3a0ab --- /dev/null +++ b/src/config.ts @@ -0,0 +1,26 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +const config = { + checkInterval: "0 7 * * *", + giteaOrg: "nhcarrigan", + giteaToken: process.env.GITEA_TOKEN ?? "", + giteaUrl: "https://git.nhcarrigan.com", + npmRegistryUrl: "https://registry.npmjs.org", + prBranchPrefix: "dependencies/update-", +}; + +/** + * Validates the configuration. + * @throws Error if required configuration is missing. + */ +const validateConfig = (): void => { + if (config.giteaToken === "") { + throw new Error("GITEA_TOKEN is required"); + } +}; + +export { config, validateConfig }; diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..ca4f2f2 --- /dev/null +++ b/src/index.ts @@ -0,0 +1,75 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +import { Logger } from "@nhcarrigan/logger"; +import cron from "node-cron"; +import { config, validateConfig } from "./config.js"; +import { + UpdateOrchestratorService, +} from "./services/updateOrchestratorService.js"; + +const logger = new Logger("Minori", process.env.LOG_TOKEN ?? ""); + +/** + * Main entry point for the application. + */ +const main = async(): Promise => { + await logger.log("info", "🌸 Minori - Dependency Update Manager"); + await logger.log("info", "=====================================\n"); + + try { + validateConfig(); + } catch (error) { + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- Catch blocks receive unknown type, cast needed for logger.error + await logger.error("Configuration error", error as Error); + process.exit(1); + } + + const orchestrator = new UpdateOrchestratorService(); + + const runOnce = process.env.RUN_ONCE === "true"; + + if (runOnce) { + await logger.log("info", "Running dependency check once...\n"); + await orchestrator.checkAndUpdateAllRepositories(); + process.exit(0); + } else { + await logger.log( + "info", + `Scheduling dependency checks: ${config.checkInterval}`, + ); + await logger.log("info", "Press Ctrl+C to stop\n"); + + await orchestrator.checkAndUpdateAllRepositories(); + + cron.schedule(config.checkInterval, (): void => { + void (async(): Promise => { + await logger.log( + "info", + "\n--- Scheduled dependency check starting ---", + ); + await orchestrator.checkAndUpdateAllRepositories(); + })(); + }); + } +}; + +process.on("SIGINT", (): void => { + void logger.log("info", "\n\n✨ Minori shutting down gracefully..."); + process.exit(0); +}); + +process.on("SIGTERM", (): void => { + void logger.log("info", "\n\n✨ Minori shutting down gracefully..."); + process.exit(0); +}); + +// eslint-disable-next-line unicorn/prefer-top-level-await -- Async main pattern requires .catch() for unhandled rejection handling +main().catch((error: unknown): void => { + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- Catch blocks receive unknown type, cast needed for logger.error + void logger.error("Fatal error", error as Error); + process.exit(1); +}); diff --git a/src/services/dependencyAnalyzerService.ts b/src/services/dependencyAnalyzerService.ts new file mode 100644 index 0000000..6bac91f --- /dev/null +++ b/src/services/dependencyAnalyzerService.ts @@ -0,0 +1,178 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +import { Logger } from "@nhcarrigan/logger"; +import semver from "semver"; +import type { NpmService } from "./npmService.js"; +import type { + DependencyType, + DependencyUpdate, + PackageJson, +} from "../types/package.types.js"; + +const logger = new Logger("DependencyAnalyzer", process.env.LOG_TOKEN ?? ""); + +/** + * Checks if a version string is a valid semver range. + * @param version - The version string to validate. + * @returns True if the version is a valid semver range. + */ +const isValidSemverRange = (version: string): boolean => { + if (version.startsWith("file:")) { + return false; + } + if (version.startsWith("git:")) { + return false; + } + if (version.startsWith("http:")) { + return false; + } + if (version.startsWith("https:")) { + return false; + } + if (version.includes("github:")) { + return false; + } + if (version === "*" || version === "latest") { + return false; + } + + return true; +}; + +/** + * Removes version prefixes for comparison. + * @param version - The version string to sanitise. + * @returns The cleaned version string. + */ +const cleanVersion = (version: string): string => { + return version.replace(/^[<=>^~]/, ""); +}; + +/** + * Determines if an update is needed based on version comparison. + * @param currentVersion - The currently installed version. + * @param latestVersion - The latest available version. + * @returns True if an update is needed. + */ +const shouldUpdate = ( + currentVersion: string, + latestVersion: string, +): boolean => { + try { + if (currentVersion === latestVersion) { + return false; + } + + return semver.lt(currentVersion, latestVersion); + } catch (error) { + void logger.error( + `Error comparing versions: ${currentVersion} vs ${latestVersion}`, + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- Catch blocks receive unknown type, cast needed for logger.error + error as Error, + ); + return false; + } +}; + +/** + * Service for analysing package dependencies and finding updates. + */ +// eslint-disable-next-line stylistic/padded-blocks -- Blank line needed before JSDoc per lines-around-comment rule +class DependencyAnalyzerService { + + /** + * Creates a new DependencyAnalyzerService instance. + * @param npmService - The npm service for fetching package information. + */ + public constructor(private readonly npmService: NpmService) {} + + /** + * Analyses a package.json and finds available updates. + * @param packageJson - The parsed package.json content. + * @returns Array of available dependency updates. + */ + public async analyzePackageJson( + packageJson: PackageJson, + ): Promise> { + const updates: Array = []; + + const dependencyTypes: Array = [ + "dependencies", + "devDependencies", + "peerDependencies", + "optionalDependencies", + ]; + + for (const type of dependencyTypes) { + const deps = packageJson[type]; + if (deps === undefined) { + continue; + } + + for (const [ packageName, currentVersion ] of Object.entries(deps)) { + if (!isValidSemverRange(currentVersion)) { + continue; + } + + // eslint-disable-next-line no-await-in-loop -- Sequential dependency checks are required + const update = await this.checkForUpdate( + packageName, + currentVersion, + type, + ); + if (update !== null) { + updates.push(update); + } + } + } + + return updates; + } + + /** + * Checks if a specific package has an available update. + * @param packageName - The name of the package to check. + * @param currentVersion - The currently installed version. + * @param type - The dependency category (dependencies, devDependencies, etc.). + * @returns The update information or null if no update available. + */ + private async checkForUpdate( + packageName: string, + currentVersion: string, + type: DependencyType, + ): Promise { + try { + const packageInfo = await this.npmService.getPackageInfo(packageName); + if (packageInfo === null) { + return null; + } + + const latestVersion = packageInfo["dist-tags"].latest; + const cleanCurrentVersion = cleanVersion(currentVersion); + + if (shouldUpdate(cleanCurrentVersion, latestVersion)) { + return { + currentVersion, + latestVersion, + packageName, + type, + }; + } + + return null; + } catch (error) { + await logger.error( + `Error checking update for ${packageName}`, + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- Catch blocks receive unknown type, cast needed for logger.error + error as Error, + ); + return null; + } + } +} + +export { DependencyAnalyzerService }; diff --git a/src/services/gitService.ts b/src/services/gitService.ts new file mode 100644 index 0000000..ef7aebd --- /dev/null +++ b/src/services/gitService.ts @@ -0,0 +1,294 @@ +/** + * @copyright nhcarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +import { exec } from "node:child_process"; +import { readFile, rm, writeFile } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { promisify } from "node:util"; +import { config } from "../config.js"; +import type { Logger } from "@nhcarrigan/logger"; + +const execAsync = promisify(exec); + +interface ClonedRepository { + cleanup: ()=> Promise; + path: string; + repoName: string; +} + +type UpdateResult = + | { branchName: string; status: "created" } + | { branchName: string; status: "updated" } + | { error: string; status: "failed" } + | { status: "up-to-date" }; + +interface PackageJsonDeps { + dependencies?: Record; + devDependencies?: Record; +} + +interface UpdatePackageOptions { + logger: Logger; + packageName: string; + repoPath: string; + targetVersion: string; +} + +interface BranchUpdateOptions { + branchName: string; + clonedRepo: ClonedRepository; + logger: Logger; + packageName: string; + targetVersion: string; +} + +/** + * Runs a git command in the specified directory. + * @param logger - The logger instance. + * @param cwd - The working directory. + * @param command - The git command to run. + * @returns The command output. + */ +const runGitCommand = async( + logger: Logger, + cwd: string, + command: string, +): Promise => { + try { + const { stderr, stdout } = await execAsync(command, { cwd }); + if (stderr.length > 0 && !stderr.includes("warning:")) { + void logger.log("debug", `Git stderr: ${stderr}`); + } + return stdout.trim(); + } catch (error: unknown) { + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- Error type needs cast to access stderr property + const gitError = error as Error & { stderr?: string }; + throw new Error( + `Git command failed: ${command}\n${gitError.stderr ?? gitError.message}`, + ); + } +}; + +/** + * Gets the current version of a package from package.json. + * @param repoPath - The repository path. + * @param packageName - The name of the package to look up. + * @returns The current version or null if not found. + */ +const getCurrentVersionOnBranch = async( + repoPath: string, + packageName: string, +): Promise => { + const packageJsonPath = join(repoPath, "package.json"); + const packageJsonContent = await readFile(packageJsonPath, "utf-8"); + // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- Dynamic JSON parsing requires type assertion + const packageJson: PackageJsonDeps = JSON.parse(packageJsonContent); + + return ( + packageJson.dependencies?.[packageName] + ?? packageJson.devDependencies?.[packageName] + ?? null + ); +}; + +/** + * Updates package.json and creates a commit. + * @param options - Configuration for which package to update and where. + */ +const updatePackageAndCommit = async( + options: UpdatePackageOptions, +): Promise => { + const { logger, packageName, repoPath, targetVersion } = options; + const packageJsonPath = join(repoPath, "package.json"); + const packageJsonContent = await readFile(packageJsonPath, "utf-8"); + // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- Dynamic JSON parsing requires type assertion + const packageJson: PackageJsonDeps = JSON.parse(packageJsonContent); + + if (packageJson.dependencies?.[packageName] !== undefined) { + packageJson.dependencies[packageName] = targetVersion; + } + + if (packageJson.devDependencies?.[packageName] !== undefined) { + packageJson.devDependencies[packageName] = targetVersion; + } + + await writeFile(packageJsonPath, `${JSON.stringify(packageJson, null, 2)}\n`); + + void logger.log("info", `Running pnpm install for ${packageName}...`); + await execAsync("pnpm install --no-frozen-lockfile", { cwd: repoPath }); + + await runGitCommand(logger, repoPath, "git add package.json pnpm-lock.yaml"); + const commitMessage = `deps: update ${packageName} to ${targetVersion}`; + await runGitCommand(logger, repoPath, `git commit -m "${commitMessage}"`); +}; + +/** + * Clones a repository to a temporary directory. + * @param logger - The logger instance. + * @param repoName - The repository to clone. + * @param giteaToken - Token for authenticating with the Gitea API. + * @returns The cloned repository information. + */ +const cloneRepository = async( + logger: Logger, + repoName: string, + giteaToken: string, +): Promise => { + const timestamp = Date.now(); + const temporaryPath = join( + tmpdir(), + `minori-${repoName}-${String(timestamp)}`, + ); + + const giteaHost = config.giteaUrl.replace("https://", ""); + const cloneUrl + = `https://minori:${giteaToken}@${giteaHost}/${config.giteaOrg}/${repoName}.git`; + + void logger.log("info", `Cloning ${repoName} to ${temporaryPath}...`); + await execAsync(`git clone ${cloneUrl} ${temporaryPath}`); + + await runGitCommand( + logger, + temporaryPath, + `git config user.email "minori@nhcarrigan.com"`, + ); + await runGitCommand(logger, temporaryPath, `git config user.name "Minori"`); + + return { + cleanup: async(): Promise => { + void logger.log("info", `Cleaning up temp directory for ${repoName}...`); + await rm(temporaryPath, { force: true, recursive: true }); + }, + path: temporaryPath, + repoName: repoName, + }; +}; + +/** + * Handles updating an existing branch with a newer version. + * @param options - The branch update options. + * @returns The update result. + */ +const handleExistingBranch = async( + options: BranchUpdateOptions, +): Promise => { + const { branchName, clonedRepo, logger, packageName, targetVersion } + = options; + const { path: repoPath } = clonedRepo; + + await runGitCommand(logger, repoPath, `git checkout ${branchName}`); + await runGitCommand(logger, repoPath, `git pull origin ${branchName}`); + + const currentVersion = await getCurrentVersionOnBranch(repoPath, packageName); + + if (currentVersion === targetVersion) { + void logger.log( + "info", + `Branch ${branchName} is already on version ${targetVersion}, skipping...`, + ); + await runGitCommand(logger, repoPath, "git checkout main"); + return { status: "up-to-date" }; + } + + void logger.log( + "info", + `Branch ${branchName} has version ${currentVersion ?? "unknown"}, updating to ${targetVersion}...`, + ); + await updatePackageAndCommit({ + logger, + packageName, + repoPath, + targetVersion, + }); + + void logger.log("info", `Pushing updated branch ${branchName}...`); + await runGitCommand(logger, repoPath, `git push origin ${branchName}`); + + await runGitCommand(logger, repoPath, "git checkout main"); + return { branchName: branchName, status: "updated" }; +}; + +/** + * Handles creating a branch for a version update. + * @param options - Configuration for the branch to create. + * @returns The update result. + */ +const handleNewBranch = async( + options: BranchUpdateOptions, +): Promise => { + const { branchName, clonedRepo, logger, packageName, targetVersion } + = options; + const { path: repoPath } = clonedRepo; + + await runGitCommand(logger, repoPath, "git checkout main"); + await runGitCommand(logger, repoPath, `git checkout -b ${branchName}`); + + const currentVersion = await getCurrentVersionOnBranch(repoPath, packageName); + if (currentVersion === null) { + void logger.log("warn", `Package ${packageName} not found in package.json`); + await runGitCommand(logger, repoPath, "git checkout main"); + await runGitCommand(logger, repoPath, `git branch -D ${branchName}`); + return { + error: `Package ${packageName} not found in package.json`, + status: "failed", + }; + } + + await updatePackageAndCommit({ + logger, + packageName, + repoPath, + targetVersion, + }); + + void logger.log("info", `Pushing new branch ${branchName}...`); + await runGitCommand(logger, repoPath, `git push -u origin ${branchName}`); + + await runGitCommand(logger, repoPath, "git checkout main"); + return { branchName: branchName, status: "created" }; +}; + +/** + * Creates or updates a branch for a dependency update. + * @param options - Configuration for the branch operation. + * @returns The result of the operation. + */ +const createOrUpdateBranch = async( + options: BranchUpdateOptions, +): Promise => { + const { branchName, clonedRepo, logger } = options; + const { path: repoPath } = clonedRepo; + + try { + await runGitCommand(logger, repoPath, "git fetch origin"); + const remoteBranches = await runGitCommand( + logger, + repoPath, + "git branch -r", + ); + const branchExists = remoteBranches.includes(`origin/${branchName}`); + + if (branchExists) { + return await handleExistingBranch(options); + } + + return await handleNewBranch(options); + } catch (error: unknown) { + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- Catch blocks receive unknown type, cast needed for logger.error + void logger.error("createOrUpdateBranch", error as Error); + try { + await runGitCommand(logger, repoPath, "git checkout main"); + } catch { + // Ignore cleanup errors + } + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- Catch blocks receive unknown type, cast needed to access message + return { error: (error as Error).message, status: "failed" }; + } +}; + +export type { BranchUpdateOptions, ClonedRepository, UpdateResult }; +export { cloneRepository, createOrUpdateBranch }; diff --git a/src/services/giteaService.ts b/src/services/giteaService.ts new file mode 100644 index 0000000..86432c6 --- /dev/null +++ b/src/services/giteaService.ts @@ -0,0 +1,147 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +import axios, { isAxiosError, type AxiosInstance } from "axios"; +import { config } from "../config.js"; +import type { + GiteaFile, + GiteaPullRequest, + GiteaRepository, +} from "../types/gitea.types.js"; + +interface CreatePullRequestOptions { + base: string; + body: string; + head: string; + owner: string; + repo: string; + title: string; +} + +interface GetFileContentOptions { + owner: string; + path: string; + reference?: string; + repo: string; +} + +/** + * Service for interacting with the Gitea API. + */ +class GiteaService { + private readonly client: AxiosInstance; + + /** + * Creates a new GiteaService instance. + * @throws Error if GITEA_TOKEN environment variable is not set. + */ + public constructor() { + const token = process.env.GITEA_TOKEN; + if (token === undefined || token === "") { + throw new Error("GITEA_TOKEN environment variable is required"); + } + + this.client = axios.create({ + baseURL: `${config.giteaUrl}/api/v1`, + /* eslint-disable @typescript-eslint/naming-convention -- HTTP headers use PascalCase by convention */ + headers: { + "Authorization": `token ${token}`, + "Content-Type": "application/json", + }, + /* eslint-enable @typescript-eslint/naming-convention -- End HTTP headers */ + }); + } + + /** + * Creates a new pull request in a repository. + * @param options - The PR creation options. + * @returns The created pull request. + */ + public async createPullRequest( + options: CreatePullRequestOptions, + ): Promise { + const { base, body, head, owner, repo, title } = options; + const { data } = await this.client.post( + `/repos/${owner}/${repo}/pulls`, + { base, body, head, title }, + ); + return data; + } + + /** + * Gets the content of a file in a repository. + * @param options - Configuration specifying the file path and repository. + * @returns The file content or null if not found. + */ + public async getFileContent( + options: GetFileContentOptions, + ): Promise { + const { owner, path, reference, repo } = options; + try { + const { data } = await this.client.get( + `/repos/${owner}/${repo}/contents/${path}`, + { params: { ref: reference } }, + ); + return data; + } catch (error) { + if (isAxiosError(error) && error.response?.status === 404) { + return null; + } + throw error; + } + } + + /** + * Lists all repositories in the configured organisation. + * @returns Array of non-archived, non-disabled, non-mirror repositories. + */ + public async listOrgRepositories(): Promise> { + const repositories: Array = []; + let page = 1; + const limit = 100; + + let hasMore = true; + while (hasMore) { + // eslint-disable-next-line no-await-in-loop -- Sequential pagination is required here + const { data } = await this.client.get>( + `/orgs/${config.giteaOrg}/repos`, + { params: { limit, page } }, + ); + + if (data.length === 0) { + hasMore = false; + } else { + repositories.push(...data); + page = page + 1; + } + } + + return repositories.filter((repo) => { + return !repo.archived && !repo.disabled && !repo.mirror; + }); + } + + /** + * Lists pull requests in a repository. + * @param owner - The repository owner. + * @param repo - The repository name. + * @param state - The PR state filter. + * @returns Array of pull requests. + */ + public async listPullRequests( + owner: string, + repo: string, + state: "all" | "closed" | "open" = "open", + ): Promise> { + const { data } = await this.client.get>( + `/repos/${owner}/${repo}/pulls`, + { params: { state } }, + ); + return data; + } +} + +export { GiteaService }; diff --git a/src/services/npmService.ts b/src/services/npmService.ts new file mode 100644 index 0000000..dc73e78 --- /dev/null +++ b/src/services/npmService.ts @@ -0,0 +1,216 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +import { Logger } from "@nhcarrigan/logger"; +import axios, { isAxiosError, type AxiosInstance } from "axios"; +import { config } from "../config.js"; +import type { NpmPackageInfo } from "../types/package.types.js"; + +const logger = new Logger("NpmService", process.env.LOG_TOKEN ?? ""); + +/* eslint-disable @typescript-eslint/naming-convention -- GitHub API response types use snake_case property names */ +interface GitHubRelease { + body?: string; + tag_name: string; +} +/* eslint-enable @typescript-eslint/naming-convention -- End GitHub API types */ + +interface ChangelogOptions { + fromVersion: string; + packageName: string; + toVersion: string; +} + +interface GitHubReleaseOptions { + fromVersion: string; + owner: string; + repo: string; + toVersion: string; +} + +/** + * Checks if a version is within a range. + * @param version - The version to check. + * @param from - The lower bound (exclusive). + * @param to - The upper bound (inclusive). + * @returns True if version is in range. + */ +const isVersionInRange = ( + version: string, + from: string, + to: string, +): boolean => { + return version > from && version <= to; +}; + +/** + * Extracts repository information from a GitHub URL. + * @param repoUrl - The repository URL. + * @returns The owner and repo, or null if not a GitHub URL. + */ +const extractGitHubInfo = ( + repoUrl: string, +): { owner: string; repo: string } | null => { + if (!repoUrl.includes("github.com")) { + return null; + } + + const parts = repoUrl.split("github.com/")[1]?.split("/"); + if (parts === undefined || parts.length < 2) { + return null; + } + + const [ owner, repo ] = parts; + + // eslint-disable-next-line capitalized-comments -- v8 coverage ignore directive must be lowercase + /* v8 ignore next 3 -- @preserve */ + if (owner === undefined || repo === undefined) { + return null; + } + + return { owner, repo }; +}; + +/** + * Normalises a repository URL to HTTPS format. + * @param url - The original repository URL. + * @returns The normalised URL. + */ +const normaliseRepoUrl = (url: string): string => { + return url. + replace(/^git\+/, ""). + replace(/\.git$/, ""). + replace(/^git:\/\//, "https://"). + replace(/^ssh:\/\/git@/, "https://"); +}; + +/** + * Fetches release notes from GitHub. + * @param options - The GitHub release fetch options. + * @returns Formatted changelog string. + */ +const fetchGitHubReleases = async( + options: GitHubReleaseOptions, +): Promise => { + const { fromVersion, owner, repo, toVersion } = options; + const fallbackMessage = `Updated from ${fromVersion} to ${toVersion}`; + + try { + const { data: releases } = await axios.get>( + `https://api.github.com/repos/${owner}/${repo}/releases`, + { + /* eslint-disable @typescript-eslint/naming-convention -- HTTP headers use PascalCase by convention */ + headers: { + Accept: "application/vnd.github.v3+json", + }, + /* eslint-enable @typescript-eslint/naming-convention -- End HTTP headers */ + }, + ); + + const relevantReleases = releases.filter((release) => { + const tagName = release.tag_name.replace(/^v/, ""); + return isVersionInRange(tagName, fromVersion, toVersion); + }); + + if (relevantReleases.length === 0) { + return fallbackMessage; + } + + let changelog = `## Changelog\n\n`; + for (const release of relevantReleases) { + const version = release.tag_name; + const body = release.body ?? "No release notes available"; + changelog = `${changelog}### ${version}\n\n${body}\n\n`; + } + + return changelog; + } catch { + return fallbackMessage; + } +}; + +/** + * Service for interacting with the npm registry. + */ +class NpmService { + private readonly client: AxiosInstance; + + /** + * Creates a new NpmService instance. + */ + public constructor() { + this.client = axios.create({ + baseURL: config.npmRegistryUrl, + timeout: 10_000, + }); + } + + /** + * Fetches changelog information for a package update. + * @param options - The changelog fetch options. + * @returns Formatted changelog string. + */ + public async getPackageChangelog(options: ChangelogOptions): Promise { + const { fromVersion, packageName, toVersion } = options; + const fallbackMessage = `Updated from ${fromVersion} to ${toVersion}`; + + try { + const packageInfo = await this.getPackageInfo(packageName); + if (packageInfo === null) { + return `No changelog available for ${packageName}`; + } + + const repository = packageInfo.versions[toVersion]?.repository; + if (repository?.url === undefined) { + return fallbackMessage; + } + + const repoUrl = normaliseRepoUrl(repository.url); + const githubInfo = extractGitHubInfo(repoUrl); + + if (githubInfo === null) { + return fallbackMessage; + } + + return await fetchGitHubReleases({ + fromVersion: fromVersion, + owner: githubInfo.owner, + repo: githubInfo.repo, + toVersion: toVersion, + }); + } catch (error) { + void logger.error( + `Error fetching changelog for ${packageName}`, + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- Catch blocks receive unknown type, cast needed for logger.error + error as Error, + ); + return fallbackMessage; + } + } + + /** + * Fetches package information from the npm registry. + * @param packageName - The name of the package to look up. + * @returns Package info or null if not found. + */ + public async getPackageInfo( + packageName: string, + ): Promise { + try { + const { data } = await this.client.get( + `/${encodeURIComponent(packageName)}`, + ); + return data; + } catch (error) { + if (isAxiosError(error) && error.response?.status === 404) { + return null; + } + throw error; + } + } +} + +export { NpmService }; diff --git a/src/services/updateOrchestratorService.ts b/src/services/updateOrchestratorService.ts new file mode 100644 index 0000000..2b11319 --- /dev/null +++ b/src/services/updateOrchestratorService.ts @@ -0,0 +1,258 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +import { Logger } from "@nhcarrigan/logger"; +import { config } from "../config.js"; +import { DependencyAnalyzerService } from "./dependencyAnalyzerService.js"; +import { GiteaService } from "./giteaService.js"; +import { + cloneRepository, + createOrUpdateBranch, + type ClonedRepository, +} from "./gitService.js"; +import { NpmService } from "./npmService.js"; +import type { GiteaRepository } from "../types/gitea.types.js"; +import type { DependencyUpdate, PackageJson } from "../types/package.types.js"; + +const logger = new Logger("UpdateOrchestrator", process.env.LOG_TOKEN ?? ""); + +/** + * Strips version prefix characters from a version string. + * @param version - The version string with potential prefixes. + * @returns The version without prefix characters. + */ +const stripVersionPrefix = (version: string): string => { + return version.replace(/^[<=>^~]*/, ""); +}; + +/** + * Generates the body content for a PR. + * @param update - The dependency update information. + * @param changelog - The changelog content. + * @returns The formatted PR body. + */ +const generatePRBody = ( + update: DependencyUpdate, + changelog: string, +): string => { + return `## Dependency Update + +Updates **${update.packageName}** from \`${update.currentVersion}\` to \`${update.latestVersion}\`. + +### Type +${update.type} + +### Changelog +${changelog} + +--- +✨ This PR was created by Minori, your friendly dependency updater! 🌸`; +}; + +/** + * Logs the result of a branch update operation. + * @param update - The dependency update being processed. + * @param result - The branch update operation result. + * @param result.error - Error message if the operation failed. + * @param result.status - The operation status (up-to-date, failed, updated, created). + * @returns True if the PR should be created, false otherwise. + */ +const logBranchUpdateResult = async( + update: DependencyUpdate, + result: { error?: string; status: string }, +): Promise => { + if (result.status === "up-to-date") { + await logger.log( + "info", + ` ${update.packageName} branch already at ${update.latestVersion}, skipping...`, + ); + return false; + } + if (result.status === "failed") { + await logger.log( + "warn", + ` Failed to update ${update.packageName}: ${result.error ?? "Unknown error"}`, + ); + return false; + } + if (result.status === "updated") { + await logger.log( + "info", + ` Updated existing branch for ${update.packageName} to ${update.latestVersion}`, + ); + return false; + } + return true; +}; + +/** + * Service for orchestrating dependency updates across repositories. + */ +class UpdateOrchestratorService { + private readonly dependencyAnalyzer: DependencyAnalyzerService; + private readonly giteaService: GiteaService; + private readonly giteaToken: string; + private readonly npmService: NpmService; + + /** + * Creates a new UpdateOrchestratorService instance. + * @throws Error if GITEA_TOKEN environment variable is not set. + */ + public constructor() { + const token = process.env.GITEA_TOKEN; + if (token === undefined || token === "") { + throw new Error("GITEA_TOKEN environment variable is required"); + } + this.giteaToken = token; + this.giteaService = new GiteaService(); + this.npmService = new NpmService(); + this.dependencyAnalyzer = new DependencyAnalyzerService(this.npmService); + } + + /** + * Checks and updates dependencies for all repositories. + */ + public async checkAndUpdateAllRepositories(): Promise { + await logger.log( + "info", + "Starting dependency update check for all repositories...", + ); + + const repositories = await this.giteaService.listOrgRepositories(); + await logger.log( + "info", + `Found ${String(repositories.length)} repositories to check`, + ); + + for (const repo of repositories) { + try { + // eslint-disable-next-line no-await-in-loop -- Sequential repository processing is required + await this.processRepository(repo); + } catch (error) { + // eslint-disable-next-line no-await-in-loop -- Sequential processing is required + await logger.error( + `Error processing repository ${repo.name}`, + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- Catch blocks receive unknown type + error as Error, + ); + } + } + + await logger.log("info", "Dependency update check complete!"); + } + + /** + * Creates or updates a PR for a dependency update. + * @param repo - The repository information. + * @param update - The dependency update details. + * @param clonedRepo - The cloned repository. + */ + private async createUpdatePR( + repo: GiteaRepository, + update: DependencyUpdate, + clonedRepo: ClonedRepository, + ): Promise { + const branchName + = `${config.prBranchPrefix}${update.packageName.replaceAll(/[/@]/g, "-")}`; + + try { + const result = await createOrUpdateBranch({ + branchName: branchName, + clonedRepo: clonedRepo, + logger: logger, + packageName: update.packageName, + targetVersion: update.latestVersion, + }); + + const shouldCreatePR = await logBranchUpdateResult(update, result); + if (!shouldCreatePR) { + return; + } + + const changelog = await this.npmService.getPackageChangelog({ + fromVersion: stripVersionPrefix(update.currentVersion), + packageName: update.packageName, + toVersion: update.latestVersion, + }); + + await this.giteaService.createPullRequest({ + base: repo.default_branch, + body: generatePRBody(update, changelog), + head: branchName, + owner: config.giteaOrg, + repo: repo.name, + title: `deps: update ${update.packageName} to ${update.latestVersion}`, + }); + + await logger.log("info", ` Created PR for ${update.packageName}`); + } catch (error) { + await logger.error( + ` Error creating PR for ${update.packageName}`, + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- Catch blocks receive unknown type + error as Error, + ); + } + } + + /** + * Processes a single repository for dependency updates. + * @param repo - The repository to process. + */ + private async processRepository(repo: GiteaRepository): Promise { + await logger.log("info", `\nChecking repository: ${repo.name}`); + + const packageJsonFile = await this.giteaService.getFileContent({ + owner: config.giteaOrg, + path: "package.json", + reference: repo.default_branch, + repo: repo.name, + }); + + if (packageJsonFile === null || packageJsonFile.type !== "file") { + await logger.log("info", ` No package.json found, skipping...`); + return; + } + + const packageJsonContent = Buffer.from( + packageJsonFile.content ?? "", + "base64", + ).toString("utf-8"); + // eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- Dynamic JSON parsing requires type assertion + const packageJson: PackageJson = JSON.parse( + packageJsonContent, + ) as PackageJson; + + const updates + = await this.dependencyAnalyzer.analyzePackageJson(packageJson); + + if (updates.length === 0) { + await logger.log("info", ` All dependencies are up to date!`); + return; + } + + await logger.log( + "info", + ` Found ${String(updates.length)} dependencies to update`, + ); + + const clonedRepo = await cloneRepository( + logger, + repo.name, + this.giteaToken, + ); + + try { + for (const update of updates) { + // eslint-disable-next-line no-await-in-loop -- Sequential update processing is required + await this.createUpdatePR(repo, update, clonedRepo); + } + } finally { + await clonedRepo.cleanup(); + } + } +} + +export { UpdateOrchestratorService }; diff --git a/src/types/gitea.types.ts b/src/types/gitea.types.ts new file mode 100644 index 0000000..d598599 --- /dev/null +++ b/src/types/gitea.types.ts @@ -0,0 +1,44 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +/* eslint-disable @typescript-eslint/naming-convention -- Gitea API response types use snake_case property names */ +interface GiteaRepository { + archived: boolean; + clone_url: string; + default_branch: string; + disabled: boolean; + full_name: string; + id: number; + mirror: boolean; + name: string; +} + +interface GiteaFile { + content?: string; + encoding?: string; + path: string; + sha: string; + type: string; +} + +interface GiteaPullRequest { + base: { + ref: string; + sha: string; + }; + body: string; + head: { + ref: string; + sha: string; + }; + id: number; + number: number; + state: "closed" | "open"; + title: string; +} +/* eslint-enable @typescript-eslint/naming-convention -- End Gitea API types */ + +export type { GiteaFile, GiteaPullRequest, GiteaRepository }; diff --git a/src/types/package.types.ts b/src/types/package.types.ts new file mode 100644 index 0000000..bd6aa72 --- /dev/null +++ b/src/types/package.types.ts @@ -0,0 +1,59 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +type DependencyType = + | "dependencies" + | "devDependencies" + | "optionalDependencies" + | "peerDependencies"; + +interface PackageJson { + dependencies?: Record; + devDependencies?: Record; + name?: string; + optionalDependencies?: Record; + peerDependencies?: Record; + version?: string; +} + +interface DependencyUpdate { + currentVersion: string; + latestVersion: string; + packageName: string; + type: DependencyType; +} + +/* eslint-disable @typescript-eslint/naming-convention -- Npm registry API response uses hyphenated property names */ +interface NpmPackageInfo { + "dist-tags": { + [key: string]: string; + latest: string; + }; + "name": string; + "versions": Record< + string, + { + repository?: { + url?: string; + }; + version: string; + } + >; +} +/* eslint-enable @typescript-eslint/naming-convention -- End npm API types */ + +interface ChangelogInfo { + changes: string; + version: string; +} + +export type { + ChangelogInfo, + DependencyType, + DependencyUpdate, + NpmPackageInfo, + PackageJson, +}; diff --git a/src/utils/logger.ts b/src/utils/logger.ts new file mode 100644 index 0000000..491e338 --- /dev/null +++ b/src/utils/logger.ts @@ -0,0 +1,11 @@ +/** + * @copyright nhcarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +import { Logger } from "@nhcarrigan/logger"; + +const logger = new Logger("Minori", process.env.LOG_TOKEN ?? ""); + +export { logger }; diff --git a/test/config.spec.ts b/test/config.spec.ts new file mode 100644 index 0000000..7b8eab2 --- /dev/null +++ b/test/config.spec.ts @@ -0,0 +1,71 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +/* eslint-disable vitest/valid-expect -- Test expectations don't need messages */ +/* eslint-disable max-nested-callbacks -- Vitest structure requires nested callbacks */ + +import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; + +describe("config", () => { + const originalEnvironment = process.env; + + beforeEach(() => { + vi.resetModules(); + process.env = { ...originalEnvironment }; + }); + + afterEach(() => { + process.env = originalEnvironment; + }); + + it("should have the correct default values", async() => { + expect.assertions(5); + process.env.GITEA_TOKEN = "test-token"; + const { config } = await import("../src/config.js"); + + expect(config.checkInterval).toBe("0 7 * * *"); + expect(config.giteaOrg).toBe("nhcarrigan"); + expect(config.giteaUrl).toBe("https://git.nhcarrigan.com"); + expect(config.npmRegistryUrl).toBe("https://registry.npmjs.org"); + expect(config.prBranchPrefix).toBe("dependencies/update-"); + }); + + it("should use GITEA_TOKEN from environment", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "my-secret-token"; + const { config } = await import("../src/config.js"); + + expect(config.giteaToken).toBe("my-secret-token"); + }); + + it("should default giteaToken to empty string when not set", async() => { + expect.assertions(1); + delete process.env.GITEA_TOKEN; + const { config } = await import("../src/config.js"); + + expect(config.giteaToken).toBe(""); + }); + + it("should not throw when GITEA_TOKEN is set", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "valid-token"; + const { validateConfig } = await import("../src/config.js"); + + expect(() => { + validateConfig(); + }).not.toThrow(); + }); + + it("should throw when GITEA_TOKEN is empty", async() => { + expect.assertions(1); + delete process.env.GITEA_TOKEN; + const { validateConfig } = await import("../src/config.js"); + + expect(() => { + validateConfig(); + }).toThrow("GITEA_TOKEN is required"); + }); +}); diff --git a/test/index.spec.ts b/test/index.spec.ts new file mode 100644 index 0000000..0e5f974 --- /dev/null +++ b/test/index.spec.ts @@ -0,0 +1,16 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +/* eslint-disable vitest/valid-expect -- Test expectations don't need messages */ + +import { describe, expect, it } from "vitest"; + +describe("index", () => { + it("should export from the module", () => { + expect.assertions(1); + expect(true).toBeTruthy(); + }); +}); diff --git a/test/services/dependencyAnalyzerService.spec.ts b/test/services/dependencyAnalyzerService.spec.ts new file mode 100644 index 0000000..7b338bc --- /dev/null +++ b/test/services/dependencyAnalyzerService.spec.ts @@ -0,0 +1,294 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +/* eslint-disable vitest/valid-expect -- Test expectations don't need messages */ +/* eslint-disable max-lines-per-function -- Test suites require many test cases */ +/* eslint-disable @typescript-eslint/naming-convention -- Test data uses npm package names and destructured imports */ +/* eslint-disable @typescript-eslint/consistent-type-assertions -- Required for mocking */ + +import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; + +vi.mock("@nhcarrigan/logger", () => { + return { + + Logger: class MockLogger { + public error = vi.fn(); + public log = vi.fn(); + }, + }; +}); + +interface MockNpmService { + getPackageChangelog: ReturnType; + getPackageInfo: ReturnType; +} + +const createMockNpmService = (): MockNpmService => { + return { + getPackageChangelog: vi.fn(), + getPackageInfo: vi.fn(), + }; +}; + +describe("dependencyAnalyzerService", () => { + beforeEach(() => { + vi.clearAllMocks(); + }); + + afterEach(() => { + vi.resetAllMocks(); + }); + + it("should return empty array when no dependencies", async() => { + expect.assertions(1); + const mockNpmService = createMockNpmService(); + const { DependencyAnalyzerService } + = await import("../../src/services/dependencyAnalyzerService.js"); + const analyzerService = new DependencyAnalyzerService( + mockNpmService as Parameters[0], + ); + const result = await analyzerService.analyzePackageJson({}); + expect(result).toStrictEqual([]); + }); + + it("should find updates for dependencies", async() => { + expect.assertions(2); + const mockNpmService = createMockNpmService(); + mockNpmService.getPackageInfo.mockResolvedValue({ + "dist-tags": { latest: "2.0.0" }, + "name": "test-package", + "versions": {}, + }); + const { DependencyAnalyzerService } + = await import("../../src/services/dependencyAnalyzerService.js"); + const analyzerService = new DependencyAnalyzerService( + mockNpmService as Parameters[0], + ); + const result = await analyzerService.analyzePackageJson({ + dependencies: { + "test-package": "1.0.0", + }, + }); + expect(result).toHaveLength(1); + expect(result[0]).toStrictEqual({ + currentVersion: "1.0.0", + latestVersion: "2.0.0", + packageName: "test-package", + type: "dependencies", + }); + }); + + it("should skip file: protocol dependencies", async() => { + expect.assertions(2); + const mockNpmService = createMockNpmService(); + const { DependencyAnalyzerService } + = await import("../../src/services/dependencyAnalyzerService.js"); + const analyzerService = new DependencyAnalyzerService( + mockNpmService as Parameters[0], + ); + const result = await analyzerService.analyzePackageJson({ + dependencies: { + "local-package": "file:../local-package", + }, + }); + expect(result).toStrictEqual([]); + expect(mockNpmService.getPackageInfo).not.toHaveBeenCalled(); + }); + + it("should skip git: protocol dependencies", async() => { + expect.assertions(1); + const mockNpmService = createMockNpmService(); + const { DependencyAnalyzerService } + = await import("../../src/services/dependencyAnalyzerService.js"); + const analyzerService = new DependencyAnalyzerService( + mockNpmService as Parameters[0], + ); + const result = await analyzerService.analyzePackageJson({ + dependencies: { + "git-package": "git:github.com/user/repo", + }, + }); + expect(result).toStrictEqual([]); + }); + + it("should skip http: protocol dependencies", async() => { + expect.assertions(1); + const mockNpmService = createMockNpmService(); + const { DependencyAnalyzerService } + = await import("../../src/services/dependencyAnalyzerService.js"); + const analyzerService = new DependencyAnalyzerService( + mockNpmService as Parameters[0], + ); + const result = await analyzerService.analyzePackageJson({ + dependencies: { + "http-package": "http://example.com/package.tgz", + }, + }); + expect(result).toStrictEqual([]); + }); + + it("should skip https: protocol dependencies", async() => { + expect.assertions(1); + const mockNpmService = createMockNpmService(); + const { DependencyAnalyzerService } + = await import("../../src/services/dependencyAnalyzerService.js"); + const analyzerService = new DependencyAnalyzerService( + mockNpmService as Parameters[0], + ); + const result = await analyzerService.analyzePackageJson({ + dependencies: { + "https-package": "https://example.com/package.tgz", + }, + }); + expect(result).toStrictEqual([]); + }); + + it("should skip github: shorthand dependencies", async() => { + expect.assertions(1); + const mockNpmService = createMockNpmService(); + const { DependencyAnalyzerService } + = await import("../../src/services/dependencyAnalyzerService.js"); + const analyzerService = new DependencyAnalyzerService( + mockNpmService as Parameters[0], + ); + const result = await analyzerService.analyzePackageJson({ + dependencies: { + "github-package": "github:user/repo", + }, + }); + expect(result).toStrictEqual([]); + }); + + it("should skip * version dependencies", async() => { + expect.assertions(1); + const mockNpmService = createMockNpmService(); + const { DependencyAnalyzerService } + = await import("../../src/services/dependencyAnalyzerService.js"); + const analyzerService = new DependencyAnalyzerService( + mockNpmService as Parameters[0], + ); + const result = await analyzerService.analyzePackageJson({ + dependencies: { + "star-package": "*", + }, + }); + expect(result).toStrictEqual([]); + }); + + it("should skip latest version dependencies", async() => { + expect.assertions(1); + const mockNpmService = createMockNpmService(); + const { DependencyAnalyzerService } + = await import("../../src/services/dependencyAnalyzerService.js"); + const analyzerService = new DependencyAnalyzerService( + mockNpmService as Parameters[0], + ); + const result = await analyzerService.analyzePackageJson({ + dependencies: { + "latest-package": "latest", + }, + }); + expect(result).toStrictEqual([]); + }); + + it("should not include packages that are already up-to-date", async() => { + expect.assertions(1); + const mockNpmService = createMockNpmService(); + mockNpmService.getPackageInfo.mockResolvedValue({ + "dist-tags": { latest: "1.0.0" }, + "name": "test-package", + "versions": {}, + }); + const { DependencyAnalyzerService } + = await import("../../src/services/dependencyAnalyzerService.js"); + const analyzerService = new DependencyAnalyzerService( + mockNpmService as Parameters[0], + ); + const result = await analyzerService.analyzePackageJson({ + dependencies: { + "test-package": "1.0.0", + }, + }); + expect(result).toStrictEqual([]); + }); + + it("should handle packages not found on npm", async() => { + expect.assertions(1); + const mockNpmService = createMockNpmService(); + mockNpmService.getPackageInfo.mockResolvedValue(null); + const { DependencyAnalyzerService } + = await import("../../src/services/dependencyAnalyzerService.js"); + const analyzerService = new DependencyAnalyzerService( + mockNpmService as Parameters[0], + ); + const result = await analyzerService.analyzePackageJson({ + dependencies: { + "non-existent": "1.0.0", + }, + }); + expect(result).toStrictEqual([]); + }); + + it("should handle version prefixes like ^", async() => { + expect.assertions(2); + const mockNpmService = createMockNpmService(); + mockNpmService.getPackageInfo.mockResolvedValue({ + "dist-tags": { latest: "2.0.0" }, + "name": "test-package", + "versions": {}, + }); + const { DependencyAnalyzerService } + = await import("../../src/services/dependencyAnalyzerService.js"); + const analyzerService = new DependencyAnalyzerService( + mockNpmService as Parameters[0], + ); + const result = await analyzerService.analyzePackageJson({ + dependencies: { + "test-package": "^1.0.0", + }, + }); + expect(result).toHaveLength(1); + expect(result[0]?.currentVersion).toBe("^1.0.0"); + }); + + it("should handle npm errors gracefully", async() => { + expect.assertions(1); + const mockNpmService = createMockNpmService(); + mockNpmService.getPackageInfo.mockRejectedValue(new Error("Network error")); + const { DependencyAnalyzerService } + = await import("../../src/services/dependencyAnalyzerService.js"); + const analyzerService = new DependencyAnalyzerService( + mockNpmService as Parameters[0], + ); + const result = await analyzerService.analyzePackageJson({ + dependencies: { + "test-package": "1.0.0", + }, + }); + expect(result).toStrictEqual([]); + }); + + it("should handle semver comparison errors", async() => { + expect.assertions(1); + const mockNpmService = createMockNpmService(); + mockNpmService.getPackageInfo.mockResolvedValue({ + "dist-tags": { latest: "invalid-version" }, + "name": "test-package", + "versions": {}, + }); + const { DependencyAnalyzerService } + = await import("../../src/services/dependencyAnalyzerService.js"); + const analyzerService = new DependencyAnalyzerService( + mockNpmService as Parameters[0], + ); + const result = await analyzerService.analyzePackageJson({ + dependencies: { + "test-package": "also-invalid", + }, + }); + expect(result).toStrictEqual([]); + }); +}); diff --git a/test/services/gitService.spec.ts b/test/services/gitService.spec.ts new file mode 100644 index 0000000..14786a5 --- /dev/null +++ b/test/services/gitService.spec.ts @@ -0,0 +1,366 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +/* eslint-disable vitest/valid-expect -- Test expectations don't need messages */ +/* eslint-disable max-lines-per-function -- Test suites require many test cases */ +/* eslint-disable @typescript-eslint/naming-convention -- Test data uses npm package names and destructured imports */ +/* eslint-disable @typescript-eslint/consistent-type-assertions -- Required for mocking */ +/* eslint-disable max-nested-callbacks -- Vitest structure requires nested callbacks */ +/* eslint-disable stylistic/max-len -- Test files have long import paths */ +/* eslint-disable max-lines -- Test suites require many test cases */ +/* eslint-disable vitest/no-conditional-in-test -- Discriminated unions require type narrowing */ +/* eslint-disable vitest/no-conditional-expect -- Discriminated unions require type narrowing */ + +import { readFile, rm, writeFile } from "node:fs/promises"; +import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import type { Logger } from "@nhcarrigan/logger"; + +const mockExecAsync = vi.fn(); + +vi.mock("node:child_process", () => { + return { + exec: vi.fn(), + }; +}); + +vi.mock("node:fs/promises", () => { + return { + readFile: vi.fn(), + rm: vi.fn(), + writeFile: vi.fn(), + }; +}); + +vi.mock("node:os", () => { + return { + tmpdir: vi.fn(() => { + return "/tmp"; + }), + }; +}); + +vi.mock("node:util", () => { + return { + promisify: vi.fn(() => { + return mockExecAsync; + }), + }; +}); + +interface MockClonedRepo { + cleanup: ReturnType; + path: string; + repoName: string; +} + +const createMockClonedRepo = (): MockClonedRepo => { + return { + cleanup: vi.fn(), + path: "/tmp/minori-test-repo-123", + repoName: "test-repo", + }; +}; + +const createMockLogger = (): Logger => { + return { + error: vi.fn(), + log: vi.fn(), + } as unknown as Logger; +}; + +describe("gitService", () => { + // eslint-disable-next-line @typescript-eslint/init-declarations -- Reassigned in beforeEach + let mockLogger: Logger; + + beforeEach(() => { + vi.clearAllMocks(); + process.env.GITEA_TOKEN = "test-token"; + mockLogger = createMockLogger(); + }); + + afterEach(() => { + vi.resetAllMocks(); + }); + + it("should clone a repository to a temporary directory", async() => { + expect.assertions(3); + mockExecAsync.mockResolvedValue({ stderr: "", stdout: "" }); + const { cloneRepository } = await import("../../src/services/gitService.js"); + const result = await cloneRepository( + mockLogger, + "test-repo", + "test-token", + ); + expect(result.repoName).toBe("test-repo"); + expect(result.path).toMatch(/^\/tmp\/minori-test-repo-\d+$/u); + expect(typeof result.cleanup).toBe("function"); + }); + + it("should configure git user email and name", async() => { + expect.assertions(1); + mockExecAsync.mockResolvedValue({ stderr: "", stdout: "" }); + const { cloneRepository } = await import("../../src/services/gitService.js"); + await cloneRepository(mockLogger, "test-repo", "test-token"); + expect(mockExecAsync).toHaveBeenCalledWith( + expect.stringContaining("git clone"), + ); + }); + + it("should cleanup temporary directory when cleanup is called", async() => { + expect.assertions(1); + mockExecAsync.mockResolvedValue({ stderr: "", stdout: "" }); + vi.mocked(rm).mockResolvedValue(undefined); + const { cloneRepository } = await import("../../src/services/gitService.js"); + const result = await cloneRepository( + mockLogger, + "test-repo", + "test-token", + ); + await result.cleanup(); + expect(rm).toHaveBeenCalledWith( + result.path, + { force: true, recursive: true }, + ); + }); + + it("should create a new branch when it does not exist", async() => { + expect.assertions(2); + mockExecAsync.mockResolvedValue({ stderr: "", stdout: "" }); + vi.mocked(readFile).mockResolvedValue(JSON.stringify({ + dependencies: { + "test-package": "1.0.0", + }, + })); + vi.mocked(writeFile).mockResolvedValue(undefined); + const { createOrUpdateBranch } = await import("../../src/services/gitService.js"); + const mockClonedRepo = createMockClonedRepo(); + const result = await createOrUpdateBranch({ + branchName: "dependencies/update-test-package", + clonedRepo: mockClonedRepo, + logger: mockLogger, + packageName: "test-package", + targetVersion: "2.0.0", + }); + expect(result.status).toBe("created"); + if (result.status === "created") { + expect(result.branchName).toBe("dependencies/update-test-package"); + } + }); + + it("should update an existing branch when behind", async() => { + expect.assertions(1); + mockExecAsync.mockImplementation((command: string) => { + if (command.includes("git branch -r")) { + return Promise.resolve({ + stderr: "", + stdout: " origin/dependencies/update-test-package\n", + }); + } + return Promise.resolve({ stderr: "", stdout: "" }); + }); + vi.mocked(readFile).mockResolvedValue(JSON.stringify({ + dependencies: { "test-package": "1.5.0" }, + })); + vi.mocked(writeFile).mockResolvedValue(undefined); + const { createOrUpdateBranch } = await import("../../src/services/gitService.js"); + const mockClonedRepo = createMockClonedRepo(); + const result = await createOrUpdateBranch({ + branchName: "dependencies/update-test-package", + clonedRepo: mockClonedRepo, + logger: mockLogger, + packageName: "test-package", + targetVersion: "2.0.0", + }); + expect(result.status).toBe("updated"); + }); + + it("should skip when branch is already up-to-date", async() => { + expect.assertions(1); + mockExecAsync.mockImplementation((command: string) => { + if (command.includes("git branch -r")) { + return Promise.resolve({ + stderr: "", + stdout: " origin/dependencies/update-test-package\n", + }); + } + return Promise.resolve({ stderr: "", stdout: "" }); + }); + vi.mocked(readFile).mockResolvedValue(JSON.stringify({ + dependencies: { "test-package": "2.0.0" }, + })); + const { createOrUpdateBranch } = await import("../../src/services/gitService.js"); + const mockClonedRepo = createMockClonedRepo(); + const result = await createOrUpdateBranch({ + branchName: "dependencies/update-test-package", + clonedRepo: mockClonedRepo, + logger: mockLogger, + packageName: "test-package", + targetVersion: "2.0.0", + }); + expect(result.status).toBe("up-to-date"); + }); + + it("should fail when package is not found", async() => { + expect.assertions(2); + mockExecAsync.mockResolvedValue({ stderr: "", stdout: "" }); + vi.mocked(readFile).mockResolvedValue(JSON.stringify({ + dependencies: {}, + })); + const { createOrUpdateBranch } = await import("../../src/services/gitService.js"); + const mockClonedRepo = createMockClonedRepo(); + const result = await createOrUpdateBranch({ + branchName: "dependencies/update-test-package", + clonedRepo: mockClonedRepo, + logger: mockLogger, + packageName: "test-package", + targetVersion: "2.0.0", + }); + expect(result.status).toBe("failed"); + if (result.status === "failed") { + expect(result.error).toContain("not found"); + } + }); + + it("should handle git command errors", async() => { + expect.assertions(1); + const error = new Error("Git command failed") as Error & { stderr: string }; + error.stderr = "fatal: error"; + mockExecAsync.mockRejectedValueOnce(error); + const { createOrUpdateBranch } = await import("../../src/services/gitService.js"); + const mockClonedRepo = createMockClonedRepo(); + const result = await createOrUpdateBranch({ + branchName: "dependencies/update-test-package", + clonedRepo: mockClonedRepo, + logger: mockLogger, + packageName: "test-package", + targetVersion: "2.0.0", + }); + expect(result.status).toBe("failed"); + }); + + it("should update devDependencies", async() => { + expect.assertions(1); + mockExecAsync.mockResolvedValue({ stderr: "", stdout: "" }); + vi.mocked(readFile).mockResolvedValue(JSON.stringify({ + devDependencies: { + "test-package": "1.0.0", + }, + })); + vi.mocked(writeFile).mockResolvedValue(undefined); + const { createOrUpdateBranch } = await import("../../src/services/gitService.js"); + const mockClonedRepo = createMockClonedRepo(); + const result = await createOrUpdateBranch({ + branchName: "dependencies/update-test-package", + clonedRepo: mockClonedRepo, + logger: mockLogger, + packageName: "test-package", + targetVersion: "2.0.0", + }); + expect(result.status).toBe("created"); + }); + + it("should handle cleanup errors gracefully", async() => { + expect.assertions(1); + const error = new Error("Git command failed"); + mockExecAsync. + mockRejectedValueOnce(error). + mockRejectedValueOnce(new Error("Cleanup failed")); + const { createOrUpdateBranch } = await import("../../src/services/gitService.js"); + const mockClonedRepo = createMockClonedRepo(); + const result = await createOrUpdateBranch({ + branchName: "dependencies/update-test-package", + clonedRepo: mockClonedRepo, + logger: mockLogger, + packageName: "test-package", + targetVersion: "2.0.0", + }); + expect(result.status).toBe("failed"); + }); + + it("should log git stderr when it does not contain warnings", async() => { + expect.assertions(1); + mockExecAsync.mockImplementation((command: string) => { + if (command.includes("git fetch")) { + return Promise.resolve({ stderr: "some error message", stdout: "" }); + } + return Promise.resolve({ stderr: "", stdout: "" }); + }); + vi.mocked(readFile).mockResolvedValue(JSON.stringify({ + dependencies: { "test-package": "1.0.0" }, + })); + vi.mocked(writeFile).mockResolvedValue(undefined); + const { createOrUpdateBranch } = await import("../../src/services/gitService.js"); + const mockClonedRepo = createMockClonedRepo(); + await createOrUpdateBranch({ + branchName: "dependencies/update-test-package", + clonedRepo: mockClonedRepo, + logger: mockLogger, + packageName: "test-package", + targetVersion: "2.0.0", + }); + expect(mockLogger.log).toHaveBeenCalledWith( + "debug", + expect.stringContaining("Git stderr"), + ); + }); + + it("should log 'unknown' when package not found on existing branch", async() => { + expect.assertions(1); + mockExecAsync.mockImplementation((command: string) => { + if (command.includes("git branch -r")) { + return Promise.resolve({ + stderr: "", + stdout: " origin/dependencies/update-test-package\n", + }); + } + return Promise.resolve({ stderr: "", stdout: "" }); + }); + vi.mocked(readFile).mockResolvedValue(JSON.stringify({ + dependencies: { "other-package": "1.0.0" }, + })); + vi.mocked(writeFile).mockResolvedValue(undefined); + const { createOrUpdateBranch } = await import("../../src/services/gitService.js"); + const mockClonedRepo = createMockClonedRepo(); + await createOrUpdateBranch({ + branchName: "dependencies/update-test-package", + clonedRepo: mockClonedRepo, + logger: mockLogger, + packageName: "test-package", + targetVersion: "2.0.0", + }); + expect(mockLogger.log).toHaveBeenCalledWith( + "info", + expect.stringContaining("unknown"), + ); + }); + + it("should update both dependencies and devDependencies", async() => { + expect.assertions(3); + mockExecAsync.mockResolvedValue({ stderr: "", stdout: "" }); + vi.mocked(readFile).mockResolvedValue(JSON.stringify({ + dependencies: { "test-package": "1.0.0" }, + devDependencies: { "test-package": "1.0.0" }, + })); + vi.mocked(writeFile).mockResolvedValue(undefined); + const { createOrUpdateBranch } = await import("../../src/services/gitService.js"); + const mockClonedRepo = createMockClonedRepo(); + const result = await createOrUpdateBranch({ + branchName: "dependencies/update-test-package", + clonedRepo: mockClonedRepo, + logger: mockLogger, + packageName: "test-package", + targetVersion: "2.0.0", + }); + expect(result.status).toBe("created"); + const writeCall = vi.mocked(writeFile).mock.calls[0]; + const writtenContent = JSON.parse(writeCall?.[1] as string) as { + dependencies: Record; + devDependencies: Record; + }; + expect(writtenContent.dependencies["test-package"]).toBe("2.0.0"); + expect(writtenContent.devDependencies["test-package"]).toBe("2.0.0"); + }); +}); diff --git a/test/services/giteaService.spec.ts b/test/services/giteaService.spec.ts new file mode 100644 index 0000000..5e03157 --- /dev/null +++ b/test/services/giteaService.spec.ts @@ -0,0 +1,309 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +/* eslint-disable vitest/valid-expect -- Test expectations don't need messages */ +/* eslint-disable max-lines-per-function -- Test suites require many test cases */ +/* eslint-disable @typescript-eslint/consistent-type-assertions -- Required for mocking */ +/* eslint-disable @typescript-eslint/consistent-type-imports -- Dynamic imports */ +/* eslint-disable @typescript-eslint/naming-convention -- Environment variables and Gitea API format */ +/* eslint-disable max-nested-callbacks -- Vitest structure requires nested callbacks */ +/* eslint-disable vitest/require-to-throw-message -- Generic throw assertion */ + +import axios, { AxiosError, type AxiosResponse } from "axios"; +import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { GiteaService } from "../../src/services/giteaService.js"; + +vi.mock("axios", async() => { + const actualAxios = await vi.importActual("axios"); + return { + + AxiosError: actualAxios.AxiosError, + default: { + create: vi.fn(() => { + return { + get: vi.fn(), + post: vi.fn(), + }; + }), + }, + isAxiosError: actualAxios.isAxiosError, + }; +}); + +interface MockRepository { + archived: boolean; + cloneUrl: string; + defaultBranch: string; + disabled: boolean; + fullName: string; + id: number; + mirror: boolean; + name: string; +} + +const createMockRepository = ( + overrides: Partial & { name: string; id: number }, +): Record => { + return { + archived: overrides.archived ?? false, + + clone_url: overrides.cloneUrl ?? "url", + + default_branch: overrides.defaultBranch ?? "main", + disabled: overrides.disabled ?? false, + + full_name: overrides.fullName ?? `nhcarrigan/${overrides.name}`, + id: overrides.id, + mirror: overrides.mirror ?? false, + name: overrides.name, + }; +}; + +describe("giteaService", () => { + // eslint-disable-next-line @typescript-eslint/init-declarations -- Reassigned in beforeEach + let giteaService: GiteaService; + // eslint-disable-next-line @typescript-eslint/init-declarations -- Reassigned in beforeEach + let mockGet: ReturnType; + // eslint-disable-next-line @typescript-eslint/init-declarations -- Reassigned in beforeEach + let mockPost: ReturnType; + const originalEnvironment = process.env; + + beforeEach(() => { + vi.clearAllMocks(); + process.env = { ...originalEnvironment, GITEA_TOKEN: "test-token" }; + + mockGet = vi.fn(); + mockPost = vi.fn(); + vi.mocked(axios.create).mockReturnValue({ + get: mockGet, + post: mockPost, + } as unknown as ReturnType); + + giteaService = new GiteaService(); + }); + + afterEach(() => { + process.env = originalEnvironment; + vi.resetAllMocks(); + }); + + it("should throw when GITEA_TOKEN is not set", () => { + expect.assertions(1); + process.env.GITEA_TOKEN = ""; + expect(() => { + return new GiteaService(); + }).toThrow("GITEA_TOKEN environment variable is required"); + }); + + it("should throw when GITEA_TOKEN is undefined", () => { + expect.assertions(1); + delete process.env.GITEA_TOKEN; + expect(() => { + return new GiteaService(); + }).toThrow("GITEA_TOKEN environment variable is required"); + }); + + it("should create axios client with correct configuration", () => { + expect.assertions(1); + expect(axios.create).toHaveBeenCalledWith({ + baseURL: "https://git.nhcarrigan.com/api/v1", + headers: { + + "Authorization": "token test-token", + + "Content-Type": "application/json", + }, + }); + }); + + it("should create a pull request", async() => { + expect.assertions(2); + const mockPullRequest = { + base: { ref: "main", sha: "abc123" }, + body: "Test body", + head: { ref: "feature", sha: "def456" }, + id: 1, + number: 1, + state: "open", + title: "Test PR", + }; + mockPost.mockResolvedValueOnce({ data: mockPullRequest }); + const result = await giteaService.createPullRequest({ + base: "main", + body: "Test body", + head: "feature", + owner: "test-owner", + repo: "test-repo", + title: "Test PR", + }); + expect(result).toStrictEqual(mockPullRequest); + expect(mockPost).toHaveBeenCalledWith( + "/repos/test-owner/test-repo/pulls", + { base: "main", body: "Test body", head: "feature", title: "Test PR" }, + ); + }); + + it("should return file content when found", async() => { + expect.assertions(2); + const mockFile = { + content: "SGVsbG8gV29ybGQ=", + encoding: "base64", + path: "package.json", + sha: "abc123", + type: "file", + }; + mockGet.mockResolvedValueOnce({ data: mockFile }); + const result = await giteaService.getFileContent({ + owner: "test-owner", + path: "package.json", + reference: "main", + repo: "test-repo", + }); + expect(result).toStrictEqual(mockFile); + expect(mockGet).toHaveBeenCalledWith( + "/repos/test-owner/test-repo/contents/package.json", + { params: { ref: "main" } }, + ); + }); + + it("should return null when file is not found (404)", async() => { + expect.assertions(1); + const axiosError = new AxiosError("Not Found"); + axiosError.response = { status: 404 } as AxiosResponse; + mockGet.mockRejectedValueOnce(axiosError); + const result = await giteaService.getFileContent({ + owner: "test-owner", + path: "non-existent.json", + repo: "test-repo", + }); + expect(result).toBeNull(); + }); + + it("should throw for non-404 errors", async() => { + expect.assertions(1); + const axiosError = new AxiosError("Server Error"); + axiosError.response = { status: 500 } as AxiosResponse; + mockGet.mockRejectedValueOnce(axiosError); + await expect( + giteaService.getFileContent({ + owner: "test-owner", + path: "package.json", + repo: "test-repo", + }), + ).rejects.toThrow(); + }); + + it("should fetch all repositories with pagination", async() => { + expect.assertions(2); + const page1 = Array.from({ length: 100 }, (_, index) => { + return createMockRepository({ + cloneUrl: `https://git.nhcarrigan.com/nhcarrigan/repo-${String(index)}.git`, + fullName: `nhcarrigan/repo-${String(index)}`, + id: index, + name: `repo-${String(index)}`, + }); + }); + const page2 = [ + createMockRepository({ + cloneUrl: "https://git.nhcarrigan.com/nhcarrigan/repo-100.git", + fullName: "nhcarrigan/repo-100", + id: 100, + name: "repo-100", + }), + ]; + mockGet. + mockResolvedValueOnce({ data: page1 }). + mockResolvedValueOnce({ data: page2 }). + mockResolvedValueOnce({ data: [] }); + const result = await giteaService.listOrgRepositories(); + expect(result).toHaveLength(101); + expect(mockGet).toHaveBeenCalledTimes(3); + }); + + it("should filter out archived repositories", async() => { + expect.assertions(2); + const repos = [ + createMockRepository({ archived: true, id: 1, name: "archived-repo" }), + createMockRepository({ id: 2, name: "active-repo" }), + ]; + mockGet. + mockResolvedValueOnce({ data: repos }). + mockResolvedValueOnce({ data: [] }); + const result = await giteaService.listOrgRepositories(); + expect(result).toHaveLength(1); + expect(result[0]?.name).toBe("active-repo"); + }); + + it("should filter out disabled repositories", async() => { + expect.assertions(2); + const repos = [ + createMockRepository({ disabled: true, id: 1, name: "disabled-repo" }), + createMockRepository({ id: 2, name: "enabled-repo" }), + ]; + mockGet. + mockResolvedValueOnce({ data: repos }). + mockResolvedValueOnce({ data: [] }); + const result = await giteaService.listOrgRepositories(); + expect(result).toHaveLength(1); + expect(result[0]?.name).toBe("enabled-repo"); + }); + + it("should filter out mirror repositories", async() => { + expect.assertions(2); + const repos = [ + createMockRepository({ id: 1, mirror: true, name: "mirror-repo" }), + createMockRepository({ id: 2, name: "source-repo" }), + ]; + mockGet. + mockResolvedValueOnce({ data: repos }). + mockResolvedValueOnce({ data: [] }); + const result = await giteaService.listOrgRepositories(); + expect(result).toHaveLength(1); + expect(result[0]?.name).toBe("source-repo"); + }); + + it("should list pull requests with default state", async() => { + expect.assertions(2); + const mockPullRequests = [ + { + base: { ref: "main", sha: "abc" }, + body: "PR 1", + head: { ref: "feature-1", sha: "def" }, + id: 1, + number: 1, + state: "open", + title: "PR 1", + }, + ]; + mockGet.mockResolvedValueOnce({ data: mockPullRequests }); + const result = await giteaService.listPullRequests("owner", "repo"); + expect(result).toStrictEqual(mockPullRequests); + expect(mockGet).toHaveBeenCalledWith( + "/repos/owner/repo/pulls", + { params: { state: "open" } }, + ); + }); + + it("should list pull requests with specified state", async() => { + expect.assertions(1); + mockGet.mockResolvedValueOnce({ data: [] }); + await giteaService.listPullRequests("owner", "repo", "all"); + expect(mockGet).toHaveBeenCalledWith( + "/repos/owner/repo/pulls", + { params: { state: "all" } }, + ); + }); + + it("should list closed pull requests", async() => { + expect.assertions(1); + mockGet.mockResolvedValueOnce({ data: [] }); + await giteaService.listPullRequests("owner", "repo", "closed"); + expect(mockGet).toHaveBeenCalledWith( + "/repos/owner/repo/pulls", + { params: { state: "closed" } }, + ); + }); +}); diff --git a/test/services/npmService.spec.ts b/test/services/npmService.spec.ts new file mode 100644 index 0000000..20d6b7b --- /dev/null +++ b/test/services/npmService.spec.ts @@ -0,0 +1,334 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +/* eslint-disable vitest/valid-expect -- Test expectations don't need messages */ +/* eslint-disable max-lines-per-function -- Test suites require many test cases */ +/* eslint-disable @typescript-eslint/naming-convention -- Test data uses npm package names */ +/* eslint-disable @typescript-eslint/consistent-type-assertions -- Required for mocking */ +/* eslint-disable @typescript-eslint/consistent-type-imports -- Dynamic imports */ +/* eslint-disable vitest/require-to-throw-message -- Generic throw assertion */ +/* eslint-disable stylistic/max-len -- Test files have long URLs */ + +import axios, { AxiosError, type AxiosResponse } from "axios"; +import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { NpmService } from "../../src/services/npmService.js"; + +vi.mock("axios", async() => { + const actualAxios = await vi.importActual("axios"); + return { + + AxiosError: actualAxios.AxiosError, + default: { + create: vi.fn(() => { + return { + get: vi.fn(), + }; + }), + get: vi.fn(), + }, + isAxiosError: actualAxios.isAxiosError, + }; +}); + +vi.mock("@nhcarrigan/logger", () => { + return { + + Logger: class MockLogger { + public error = vi.fn(); + public log = vi.fn(); + }, + }; +}); + +const createMockPackageInfo = ( + version: string, + repositoryUrl?: string, +): Record => { + const versionData: Record = { version }; + if (repositoryUrl !== undefined) { + versionData.repository = { url: repositoryUrl }; + } + return { + "dist-tags": { latest: version }, + "name": "test-package", + "versions": { [version]: versionData }, + }; +}; + +describe("npmService", () => { + // eslint-disable-next-line @typescript-eslint/init-declarations -- Reassigned in beforeEach + let npmService: NpmService; + // eslint-disable-next-line @typescript-eslint/init-declarations -- Reassigned in beforeEach + let mockGet: ReturnType; + + beforeEach(() => { + vi.clearAllMocks(); + process.env.GITEA_TOKEN = "test-token"; + + mockGet = vi.fn(); + vi.mocked(axios.create).mockReturnValue({ + get: mockGet, + } as unknown as ReturnType); + + npmService = new NpmService(); + }); + + afterEach(() => { + vi.resetAllMocks(); + }); + + it("should return package info when found", async() => { + expect.assertions(2); + const mockPackageInfo = { + "dist-tags": { latest: "2.0.0" }, + "name": "test-package", + "versions": { + "2.0.0": { + repository: { url: "https://github.com/test/test.git" }, + version: "2.0.0", + }, + }, + }; + mockGet.mockResolvedValueOnce({ data: mockPackageInfo }); + const result = await npmService.getPackageInfo("test-package"); + expect(result).toStrictEqual(mockPackageInfo); + expect(mockGet).toHaveBeenCalledWith("/test-package"); + }); + + it("should return null when package is not found (404)", async() => { + expect.assertions(1); + const axiosError = new AxiosError("Not Found"); + axiosError.response = { status: 404 } as AxiosResponse; + mockGet.mockRejectedValueOnce(axiosError); + const result = await npmService.getPackageInfo("non-existent-package"); + expect(result).toBeNull(); + }); + + it("should throw for non-404 errors", async() => { + expect.assertions(1); + const axiosError = new AxiosError("Server Error"); + axiosError.response = { status: 500 } as AxiosResponse; + mockGet.mockRejectedValueOnce(axiosError); + await expect( + npmService.getPackageInfo("test-package"), + ).rejects.toThrow(); + }); + + it("should encode scoped package names", async() => { + expect.assertions(1); + const mockPackageInfo = { + "dist-tags": { latest: "1.0.0" }, + "name": "@scope/package", + "versions": {}, + }; + mockGet.mockResolvedValueOnce({ data: mockPackageInfo }); + await npmService.getPackageInfo("@scope/package"); + expect(mockGet).toHaveBeenCalledWith("/%40scope%2Fpackage"); + }); + + it("should return fallback when package info is null", async() => { + expect.assertions(1); + const axiosError = new AxiosError("Not Found"); + axiosError.response = { status: 404 } as AxiosResponse; + mockGet.mockRejectedValueOnce(axiosError); + const result = await npmService.getPackageChangelog({ + fromVersion: "1.0.0", + packageName: "non-existent", + toVersion: "2.0.0", + }); + expect(result).toBe("No changelog available for non-existent"); + }); + + it("should return fallback when repository URL is undefined", async() => { + expect.assertions(1); + const mockPackageInfo = createMockPackageInfo("2.0.0"); + mockGet.mockResolvedValueOnce({ data: mockPackageInfo }); + const result = await npmService.getPackageChangelog({ + fromVersion: "1.0.0", + packageName: "test-package", + toVersion: "2.0.0", + }); + expect(result).toBe("Updated from 1.0.0 to 2.0.0"); + }); + + it("should return fallback when not a GitHub URL", async() => { + expect.assertions(1); + const mockPackageInfo = createMockPackageInfo( + "2.0.0", + "https://gitlab.com/test/test.git", + ); + mockGet.mockResolvedValueOnce({ data: mockPackageInfo }); + const result = await npmService.getPackageChangelog({ + fromVersion: "1.0.0", + packageName: "test-package", + toVersion: "2.0.0", + }); + expect(result).toBe("Updated from 1.0.0 to 2.0.0"); + }); + + it("should fetch GitHub releases and format changelog", async() => { + expect.assertions(5); + const mockPackageInfo = createMockPackageInfo( + "2.0.0", + "https://github.com/owner/repo.git", + ); + const mockReleases = [ + + { body: "Release notes for 2.0.0", tag_name: "v2.0.0" }, + + { body: "Release notes for 1.5.0", tag_name: "v1.5.0" }, + + { body: "Release notes for 1.0.0", tag_name: "v1.0.0" }, + ]; + mockGet.mockResolvedValueOnce({ data: mockPackageInfo }); + vi.mocked(axios.get).mockResolvedValueOnce({ data: mockReleases }); + const result = await npmService.getPackageChangelog({ + fromVersion: "1.0.0", + packageName: "test-package", + toVersion: "2.0.0", + }); + expect(result).toContain("## Changelog"); + expect(result).toContain("### v2.0.0"); + expect(result).toContain("Release notes for 2.0.0"); + expect(result).toContain("### v1.5.0"); + expect(result).not.toContain("### v1.0.0"); + }); + + it("should return fallback when no relevant releases found", async() => { + expect.assertions(1); + const mockPackageInfo = createMockPackageInfo( + "2.0.0", + "https://github.com/owner/repo.git", + ); + mockGet.mockResolvedValueOnce({ data: mockPackageInfo }); + vi.mocked(axios.get).mockResolvedValueOnce({ data: [] }); + const result = await npmService.getPackageChangelog({ + fromVersion: "1.0.0", + packageName: "test-package", + toVersion: "2.0.0", + }); + expect(result).toBe("Updated from 1.0.0 to 2.0.0"); + }); + + it("should handle GitHub API errors gracefully", async() => { + expect.assertions(1); + const mockPackageInfo = createMockPackageInfo( + "2.0.0", + "https://github.com/owner/repo.git", + ); + mockGet.mockResolvedValueOnce({ data: mockPackageInfo }); + vi.mocked(axios.get).mockRejectedValueOnce(new Error("GitHub API error")); + const result = await npmService.getPackageChangelog({ + fromVersion: "1.0.0", + packageName: "test-package", + toVersion: "2.0.0", + }); + expect(result).toBe("Updated from 1.0.0 to 2.0.0"); + }); + + it("should handle releases without body", async() => { + expect.assertions(1); + const mockPackageInfo = createMockPackageInfo( + "2.0.0", + "https://github.com/owner/repo.git", + ); + const mockReleases = [ + + { tag_name: "v2.0.0" }, + ]; + mockGet.mockResolvedValueOnce({ data: mockPackageInfo }); + vi.mocked(axios.get).mockResolvedValueOnce({ data: mockReleases }); + const result = await npmService.getPackageChangelog({ + fromVersion: "1.0.0", + packageName: "test-package", + toVersion: "2.0.0", + }); + expect(result).toContain("No release notes available"); + }); + + it("should normalise git+ prefixed URLs", async() => { + expect.assertions(1); + const mockPackageInfo = createMockPackageInfo( + "2.0.0", + "git+https://github.com/owner/repo.git", + ); + mockGet.mockResolvedValueOnce({ data: mockPackageInfo }); + vi.mocked(axios.get).mockResolvedValueOnce({ data: [] }); + await npmService.getPackageChangelog({ + fromVersion: "1.0.0", + packageName: "test-package", + toVersion: "2.0.0", + }); + expect(axios.get).toHaveBeenCalledWith( + "https://api.github.com/repos/owner/repo/releases", + expect.any(Object), + ); + }); + + it("should normalise git:// URLs", async() => { + expect.assertions(1); + const mockPackageInfo = createMockPackageInfo( + "2.0.0", + "git://github.com/owner/repo.git", + ); + mockGet.mockResolvedValueOnce({ data: mockPackageInfo }); + vi.mocked(axios.get).mockResolvedValueOnce({ data: [] }); + await npmService.getPackageChangelog({ + fromVersion: "1.0.0", + packageName: "test-package", + toVersion: "2.0.0", + }); + expect(axios.get).toHaveBeenCalledWith( + "https://api.github.com/repos/owner/repo/releases", + expect.any(Object), + ); + }); + + it("should normalise ssh:// URLs", async() => { + expect.assertions(1); + const mockPackageInfo = createMockPackageInfo( + "2.0.0", + "ssh://git@github.com/owner/repo.git", + ); + mockGet.mockResolvedValueOnce({ data: mockPackageInfo }); + vi.mocked(axios.get).mockResolvedValueOnce({ data: [] }); + await npmService.getPackageChangelog({ + fromVersion: "1.0.0", + packageName: "test-package", + toVersion: "2.0.0", + }); + expect(axios.get).toHaveBeenCalledWith( + "https://api.github.com/repos/owner/repo/releases", + expect.any(Object), + ); + }); + + it("should return fallback when GitHub URL has insufficient parts", async() => { + expect.assertions(1); + const mockPackageInfo = createMockPackageInfo( + "2.0.0", + "https://github.com/owner", + ); + mockGet.mockResolvedValueOnce({ data: mockPackageInfo }); + const result = await npmService.getPackageChangelog({ + fromVersion: "1.0.0", + packageName: "test-package", + toVersion: "2.0.0", + }); + expect(result).toBe("Updated from 1.0.0 to 2.0.0"); + }); + + it("should handle errors in getPackageChangelog", async() => { + expect.assertions(1); + mockGet.mockRejectedValueOnce(new Error("Network error")); + const result = await npmService.getPackageChangelog({ + fromVersion: "1.0.0", + packageName: "test-package", + toVersion: "2.0.0", + }); + expect(result).toBe("Updated from 1.0.0 to 2.0.0"); + }); +}); diff --git a/test/services/updateOrchestratorService.spec.ts b/test/services/updateOrchestratorService.spec.ts new file mode 100644 index 0000000..ac3b0ac --- /dev/null +++ b/test/services/updateOrchestratorService.spec.ts @@ -0,0 +1,440 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +/* eslint-disable vitest/valid-expect -- Test expectations don't need messages */ +/* eslint-disable max-lines-per-function -- Test suites require many test cases */ +/* eslint-disable max-lines -- Test suites require many test cases */ +/* eslint-disable @typescript-eslint/naming-convention -- Test data uses npm package names and destructured imports */ + +/* eslint-disable max-nested-callbacks -- Vitest structure requires nested callbacks */ +/* eslint-disable max-classes-per-file -- Mock classes are needed for each service */ + +import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; + +const mockGiteaGetFileContent = vi.fn(); +const mockGiteaListOrgRepositories = vi.fn(); +const mockGiteaCreatePullRequest = vi.fn(); +const mockGiteaListPullRequests = vi.fn(); +const mockNpmGetPackageChangelog = vi.fn(); +const mockNpmGetPackageInfo = vi.fn(); +const mockAnalyzePackageJson = vi.fn(); +const mockCloneRepository = vi.fn(); +const mockCreateOrUpdateBranch = vi.fn(); + +vi.mock("@nhcarrigan/logger", () => { + return { + + Logger: class MockLogger { + public error = vi.fn(); + public log = vi.fn(); + }, + }; +}); + +vi.mock("../../src/services/giteaService.js", () => { + return { + + GiteaService: class MockGiteaService { + public createPullRequest = mockGiteaCreatePullRequest; + public getFileContent = mockGiteaGetFileContent; + public listOrgRepositories = mockGiteaListOrgRepositories; + public listPullRequests = mockGiteaListPullRequests; + }, + }; +}); + +vi.mock("../../src/services/npmService.js", () => { + return { + + NpmService: class MockNpmService { + public getPackageChangelog = mockNpmGetPackageChangelog; + public getPackageInfo = mockNpmGetPackageInfo; + }, + }; +}); + +vi.mock("../../src/services/dependencyAnalyzerService.js", () => { + return { + + DependencyAnalyzerService: class MockDependencyAnalyzerService { + public analyzePackageJson = mockAnalyzePackageJson; + }, + }; +}); + +vi.mock("../../src/services/gitService.js", () => { + return { + cloneRepository: mockCloneRepository, + createOrUpdateBranch: mockCreateOrUpdateBranch, + }; +}); + +const createMockRepo = (name: string): Record => { + return { + archived: false, + clone_url: "url", + default_branch: "main", + disabled: false, + full_name: `nhcarrigan/${name}`, + id: 1, + mirror: false, + name: name, + }; +}; + +interface MockFileContent { + content?: string; + encoding: string; + path: string; + sha: string; + type: string; +} + +const createMockFileContent = ( + packageJson: Record, +): MockFileContent => { + return { + content: Buffer.from(JSON.stringify(packageJson)).toString("base64"), + encoding: "base64", + path: "package.json", + sha: "abc123", + type: "file", + }; +}; + +interface MockUpdate { + currentVersion: string; + latestVersion: string; + packageName: string; + type: "dependencies" | "devDependencies"; +} + +const createMockUpdate = (): MockUpdate => { + return { + currentVersion: "1.0.0", + latestVersion: "2.0.0", + packageName: "test-pkg", + type: "dependencies", + }; +}; + +const createMockClonedRepo = ( + cleanup: ReturnType = vi.fn(), +): Record => { + return { + cleanup: cleanup, + path: "/tmp/test", + repoName: "test-repo", + }; +}; + +describe("updateOrchestratorService", () => { + const originalEnvironment = process.env; + + beforeEach(() => { + vi.clearAllMocks(); + process.env = { ...originalEnvironment, GITEA_TOKEN: "test-token" }; + }); + + afterEach(() => { + process.env = originalEnvironment; + vi.resetModules(); + vi.resetAllMocks(); + }); + + it("should throw when GITEA_TOKEN is not set", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = ""; + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + expect(() => { + return new UpdateOrchestratorService(); + }).toThrow("GITEA_TOKEN environment variable is required"); + }); + + it("should throw when GITEA_TOKEN is undefined", async() => { + expect.assertions(1); + delete process.env.GITEA_TOKEN; + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + expect(() => { + return new UpdateOrchestratorService(); + }).toThrow("GITEA_TOKEN environment variable is required"); + }); + + it("should create instance when GITEA_TOKEN is set", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "valid-token"; + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + expect(() => { + return new UpdateOrchestratorService(); + }).not.toThrow(); + }); + + it("should process all repositories", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "test-token"; + const mockRepos = [ createMockRepo("test-repo") ]; + const mockFileContent = createMockFileContent({ + dependencies: { "test-pkg": "1.0.0" }, + }); + mockGiteaListOrgRepositories.mockResolvedValue(mockRepos); + mockGiteaGetFileContent.mockResolvedValue(mockFileContent); + mockAnalyzePackageJson.mockResolvedValue([]); + mockCloneRepository.mockResolvedValue(createMockClonedRepo()); + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + const service = new UpdateOrchestratorService(); + await service.checkAndUpdateAllRepositories(); + expect(mockGiteaListOrgRepositories).toHaveBeenCalledWith(); + }); + + it("should skip repositories without package.json", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "test-token"; + const mockRepos = [ createMockRepo("no-package") ]; + mockGiteaListOrgRepositories.mockResolvedValue(mockRepos); + mockGiteaGetFileContent.mockResolvedValue(null); + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + const service = new UpdateOrchestratorService(); + await service.checkAndUpdateAllRepositories(); + expect(mockGiteaGetFileContent).toHaveBeenCalledWith({ + owner: "nhcarrigan", + path: "package.json", + reference: "main", + repo: "no-package", + }); + }); + + it("should create PRs for updates", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "test-token"; + const mockRepos = [ createMockRepo("test-repo") ]; + const mockFileContent = createMockFileContent({ + dependencies: { "test-pkg": "1.0.0" }, + }); + const mockUpdates = [ createMockUpdate() ]; + mockGiteaListOrgRepositories.mockResolvedValue(mockRepos); + mockGiteaGetFileContent.mockResolvedValue(mockFileContent); + mockAnalyzePackageJson.mockResolvedValue(mockUpdates); + mockNpmGetPackageChangelog.mockResolvedValue("## Changelog"); + mockCloneRepository.mockResolvedValue(createMockClonedRepo()); + mockCreateOrUpdateBranch.mockResolvedValue({ + branchName: "dependencies/update-test-pkg", + status: "created", + }); + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + const service = new UpdateOrchestratorService(); + await service.checkAndUpdateAllRepositories(); + expect(mockGiteaCreatePullRequest).toHaveBeenCalledWith( + expect.objectContaining({ + base: "main", + head: "dependencies/update-test-pkg", + owner: "nhcarrigan", + repo: "test-repo", + title: "deps: update test-pkg to 2.0.0", + }), + ); + }); + + it("should handle repository processing errors", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "test-token"; + const mockRepos = [ createMockRepo("error-repo") ]; + mockGiteaListOrgRepositories.mockResolvedValue(mockRepos); + mockGiteaGetFileContent.mockRejectedValue(new Error("API error")); + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + const service = new UpdateOrchestratorService(); + await expect( + service.checkAndUpdateAllRepositories(), + ).resolves.not.toThrow(); + }); + + it("should skip when branch is up-to-date", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "test-token"; + const mockRepos = [ createMockRepo("test-repo") ]; + const mockFileContent = createMockFileContent({ + dependencies: { "test-pkg": "1.0.0" }, + }); + const mockUpdates = [ createMockUpdate() ]; + mockGiteaListOrgRepositories.mockResolvedValue(mockRepos); + mockGiteaGetFileContent.mockResolvedValue(mockFileContent); + mockAnalyzePackageJson.mockResolvedValue(mockUpdates); + mockCloneRepository.mockResolvedValue(createMockClonedRepo()); + mockCreateOrUpdateBranch.mockResolvedValue({ + status: "up-to-date", + }); + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + const service = new UpdateOrchestratorService(); + await service.checkAndUpdateAllRepositories(); + expect(mockGiteaCreatePullRequest).not.toHaveBeenCalled(); + }); + + it("should handle failed branch updates", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "test-token"; + const mockRepos = [ createMockRepo("test-repo") ]; + const mockFileContent = createMockFileContent({ + dependencies: { "test-pkg": "1.0.0" }, + }); + const mockUpdates = [ createMockUpdate() ]; + mockGiteaListOrgRepositories.mockResolvedValue(mockRepos); + mockGiteaGetFileContent.mockResolvedValue(mockFileContent); + mockAnalyzePackageJson.mockResolvedValue(mockUpdates); + mockCloneRepository.mockResolvedValue(createMockClonedRepo()); + mockCreateOrUpdateBranch.mockResolvedValue({ + error: "Git error", + status: "failed", + }); + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + const service = new UpdateOrchestratorService(); + await service.checkAndUpdateAllRepositories(); + expect(mockGiteaCreatePullRequest).not.toHaveBeenCalled(); + }); + + it("should handle failed branch updates without error message", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "test-token"; + const mockRepos = [ createMockRepo("test-repo") ]; + const mockFileContent = createMockFileContent({ + dependencies: { "test-pkg": "1.0.0" }, + }); + const mockUpdates = [ createMockUpdate() ]; + mockGiteaListOrgRepositories.mockResolvedValue(mockRepos); + mockGiteaGetFileContent.mockResolvedValue(mockFileContent); + mockAnalyzePackageJson.mockResolvedValue(mockUpdates); + mockCloneRepository.mockResolvedValue(createMockClonedRepo()); + mockCreateOrUpdateBranch.mockResolvedValue({ + status: "failed", + }); + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + const service = new UpdateOrchestratorService(); + await service.checkAndUpdateAllRepositories(); + expect(mockGiteaCreatePullRequest).not.toHaveBeenCalled(); + }); + + it("should handle package.json without content", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "test-token"; + const mockRepos = [ createMockRepo("test-repo") ]; + const mockFileContent: MockFileContent = { + encoding: "base64", + path: "package.json", + sha: "abc123", + type: "file", + }; + mockGiteaListOrgRepositories.mockResolvedValue(mockRepos); + mockGiteaGetFileContent.mockResolvedValue(mockFileContent); + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + const service = new UpdateOrchestratorService(); + await expect( + service.checkAndUpdateAllRepositories(), + ).resolves.not.toThrow(); + }); + + it("should skip PR creation when branch was updated", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "test-token"; + const mockRepos = [ createMockRepo("test-repo") ]; + const mockFileContent = createMockFileContent({ + dependencies: { "test-pkg": "1.0.0" }, + }); + const mockUpdates = [ createMockUpdate() ]; + mockGiteaListOrgRepositories.mockResolvedValue(mockRepos); + mockGiteaGetFileContent.mockResolvedValue(mockFileContent); + mockAnalyzePackageJson.mockResolvedValue(mockUpdates); + mockCloneRepository.mockResolvedValue(createMockClonedRepo()); + mockCreateOrUpdateBranch.mockResolvedValue({ + branchName: "dependencies/update-test-pkg", + status: "updated", + }); + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + const service = new UpdateOrchestratorService(); + await service.checkAndUpdateAllRepositories(); + expect(mockGiteaCreatePullRequest).not.toHaveBeenCalled(); + }); + + it("should handle PR creation errors", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "test-token"; + const mockRepos = [ createMockRepo("test-repo") ]; + const mockFileContent = createMockFileContent({ + dependencies: { "test-pkg": "1.0.0" }, + }); + const mockUpdates = [ createMockUpdate() ]; + mockGiteaListOrgRepositories.mockResolvedValue(mockRepos); + mockGiteaGetFileContent.mockResolvedValue(mockFileContent); + mockAnalyzePackageJson.mockResolvedValue(mockUpdates); + mockNpmGetPackageChangelog.mockResolvedValue("## Changelog"); + mockCloneRepository.mockResolvedValue(createMockClonedRepo()); + mockCreateOrUpdateBranch.mockResolvedValue({ + branchName: "dependencies/update-test-pkg", + status: "created", + }); + mockGiteaCreatePullRequest.mockRejectedValue( + new Error("PR creation failed"), + ); + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + const service = new UpdateOrchestratorService(); + await expect( + service.checkAndUpdateAllRepositories(), + ).resolves.not.toThrow(); + }); + + it("should skip non-file type package.json", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "test-token"; + const mockRepos = [ createMockRepo("test-repo") ]; + const mockFileContent: MockFileContent = { + content: "", + encoding: "base64", + path: "package.json", + sha: "abc123", + type: "dir", + }; + mockGiteaListOrgRepositories.mockResolvedValue(mockRepos); + mockGiteaGetFileContent.mockResolvedValue(mockFileContent); + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + const service = new UpdateOrchestratorService(); + await service.checkAndUpdateAllRepositories(); + expect(mockAnalyzePackageJson).not.toHaveBeenCalled(); + }); + + it("should cleanup cloned repo after processing", async() => { + expect.assertions(1); + process.env.GITEA_TOKEN = "test-token"; + const mockRepos = [ createMockRepo("test-repo") ]; + const mockFileContent = createMockFileContent({ + dependencies: { "test-pkg": "1.0.0" }, + }); + const mockUpdates = [ createMockUpdate() ]; + const mockCleanup = vi.fn(); + mockGiteaListOrgRepositories.mockResolvedValue(mockRepos); + mockGiteaGetFileContent.mockResolvedValue(mockFileContent); + mockAnalyzePackageJson.mockResolvedValue(mockUpdates); + mockCloneRepository.mockResolvedValue(createMockClonedRepo(mockCleanup)); + mockCreateOrUpdateBranch.mockResolvedValue({ + status: "up-to-date", + }); + const { UpdateOrchestratorService } + = await import("../../src/services/updateOrchestratorService.js"); + const service = new UpdateOrchestratorService(); + await service.checkAndUpdateAllRepositories(); + expect(mockCleanup).toHaveBeenCalledWith(); + }); +}); diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..196171f --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,11 @@ +{ + "extends": "@nhcarrigan/typescript-config", + "compilerOptions": { + "outDir": "./prod", + "rootDir": "./src" + }, + "exclude": [ + "vitest.config.ts", + "test/**/*.spec.ts" + ] +} \ No newline at end of file diff --git a/vitest.config.ts b/vitest.config.ts new file mode 100644 index 0000000..57f4439 --- /dev/null +++ b/vitest.config.ts @@ -0,0 +1,29 @@ +/** + * @copyright NHCarrigan + * @license Naomi's Public License + * @author Naomi Carrigan + */ + +import { defineConfig } from "vitest/config"; + +export default defineConfig({ + test: { + coverage: { + exclude: [ + "node_modules/**", + "prod/**", + "test/**", + "*.config.*", + "src/types/**", + "src/utils/logger.ts", + "src/index.ts", + ], + include: [ "src/**/*.ts" ], + provider: "v8", + reporter: [ "text", "html", "lcov" ], + }, + environment: "node", + globals: true, + include: [ "test/**/*.spec.ts" ], + }, +});