From b470e3df78202c14a2679ad1c8d2b44fcbcaf17d Mon Sep 17 00:00:00 2001 From: Gregor Becker Date: Tue, 24 Nov 2026 09:36:30 +0100 Subject: [PATCH 1/2] chore(deps): update eslint to v10 and @antfu/eslint-config to v10 `@antfu/eslint-config` dropped the legacy `.eslintrc` format, so the config moves to `eslint.config.js`. Everything else is the new rule set's autofix: sorted imports / exports / JSON keys, comma member delimiters and line breaks in multi-item literals and ternaries. No behaviour changes. - `jsdoc/require-returns-description` is turned off: the JSDoc here types the return value and describes it in the summary. - The pnpm plugin adds its recommended `pnpm-workspace.yaml` settings (`trustPolicy: no-downgrade`, `shellEmulator`); they only apply from pnpm 10 on. - README: utility headings are `###` now (no skipped level) and the sponsors image has alt text. --- .eslintrc | 3 - README.md | 24 +- build.config.ts | 7 +- eslint.config.js | 9 + package.json | 8 +- pnpm-lock.yaml | 2840 ++++++++++++++++++++++--------- pnpm-workspace.yaml | 4 + src/helper.ts | 108 +- src/index.ts | 24 +- src/middleware.ts | 8 +- src/nuxt.ts | 2 +- src/runtime/nitro-plugin.ts | 10 +- test/already-encoded.test.ts | 79 +- test/body-types.test.ts | 52 +- test/compression-stream.test.ts | 6 +- test/compression-v1.test.ts | 9 +- test/compression.test.ts | 11 +- test/dist-bundling.test.ts | 10 +- test/middleware.test.ts | 4 +- test/negotiation.test.ts | 106 +- test/nuxt-plugin.test.ts | 91 +- test/zstd.test.ts | 8 +- tsconfig.json | 22 +- 23 files changed, 2449 insertions(+), 996 deletions(-) delete mode 100644 .eslintrc create mode 100644 eslint.config.js diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 09c2e42..0000000 --- a/.eslintrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "@antfu" -} diff --git a/README.md b/README.md index 424ae72..e1d5b60 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,8 @@ Example using listhen for an elega ```ts import { createApp, eventHandler, toNodeListener } from 'h3' -import { listen } from 'listhen' import { useCompressionStream } from 'h3-compression' +import { listen } from 'listhen' const app = createApp({ onBeforeResponse: useCompressionStream }) // or { onBeforeResponse: useCompression } app.use( @@ -166,7 +166,9 @@ Branch on it yourself with the exported predicate: ```ts import { isZstdSupported } from 'h3-compression' -app.use(compression({ zstd: isZstdSupported() })) +app.use(compression({ + zstd: isZstdSupported() +})) ``` ## Nuxt 3 & 4 @@ -192,7 +194,13 @@ export default defineNuxtConfig({ brotli: false, // stream path only — zlib always prefers brotli zstd: false, // needs Node >= 22.15 method: undefined, // force one method instead of negotiating - contentTypes: ['text/', 'application/json', 'application/javascript', 'application/xml', 'image/svg+xml'], + contentTypes: [ + 'text/', + 'application/json', + 'application/javascript', + 'application/xml', + 'image/svg+xml' + ], exclude: ['/_nuxt', '/__nuxt'], routeRules: true, // also compress cached (swr/isr) routes and /server/api threshold: 0, // skip bodies smaller than this many bytes @@ -259,7 +267,7 @@ before calling it. H3-compression has a concept of composable utilities that accept `event` (from `eventHandler((event) => {})`) as their first argument and `response` as their second. -#### Zlib Compression +### Zlib Compression - `useGZipCompression(event, response)` - `useDeflateCompression(event, response)` @@ -268,7 +276,7 @@ H3-compression has a concept of composable utilities that accept `event` (from ` - `useCompression(event, response, options?)`  – pass `{ zstd: true }` to include zstd - `compress(event, response, method?, options?)`  – low-level helper; negotiates when `method` is omitted -#### Stream Compression +### Stream Compression - `useGZipCompressionStream(event, response)` - `useDeflateCompressionStream(event, response)` @@ -277,7 +285,7 @@ H3-compression has a concept of composable utilities that accept `event` (from ` - `useCompressionStream(event, response, options?)`  – pass `{ brotli: true }` / `{ zstd: true }` - `compressStream(event, response, method?, options?)`  – low-level helper; negotiates when `method` is omitted -#### Middleware (h3 v2) +### Middleware (h3 v2) - `compression(method | options?)`  – middleware using zlib (brotli, gzip, deflate, opt-in zstd) - `compressionStream(method | options?)`  – stream middleware (gzip, deflate, opt-in brotli / zstd) @@ -285,7 +293,7 @@ H3-compression has a concept of composable utilities that accept `event` (from ` - `compressResponseStream(event, value, method?, options?)`  – low-level stream helper returning a compressed `Response` - `isZstdSupported()`  – whether the runtime can compress with zstd -#### Nuxt +### Nuxt - `h3-compression/nuxt`  – the Nuxt module, configured under the `compression` key @@ -293,7 +301,7 @@ H3-compression has a concept of composable utilities that accept `event` (from `

- + Sponsors

diff --git a/build.config.ts b/build.config.ts index 700c430..495bed3 100644 --- a/build.config.ts +++ b/build.config.ts @@ -16,7 +16,12 @@ export default defineBuildConfig({ declaration: true, }, ], - externals: ['@nuxt/kit', '@nuxt/schema', 'h3', 'h3-compression'], + externals: [ + '@nuxt/kit', + '@nuxt/schema', + 'h3', + 'h3-compression', + ], declaration: true, clean: true, rollup: { diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..cd45844 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,9 @@ +import antfu from '@antfu/eslint-config' + +export default antfu({}, { + rules: { + // The JSDoc in this repo documents the return type (`@returns { boolean }`) + // and describes the value in the summary above it. + 'jsdoc/require-returns-description': 'off', + }, +}) diff --git a/package.json b/package.json index 3f2d516..69757eb 100644 --- a/package.json +++ b/package.json @@ -55,9 +55,9 @@ } }, "files": [ - "dist", "LICENSE", - "README.md" + "README.md", + "dist" ], "engines": { "node": ">=20.11.1" @@ -83,7 +83,7 @@ } }, "devDependencies": { - "@antfu/eslint-config": "^0.41.0", + "@antfu/eslint-config": "^10.0.0", "@antfu/ni": "^0.21.6", "@antfu/utils": "^0.7.6", "@nuxt/kit": "^3.13.0", @@ -92,7 +92,7 @@ "@types/supertest": "^2.0.12", "@vitest/coverage-v8": "^0.34.3", "bumpp": "^9.2.0", - "eslint": "^8.48.0", + "eslint": "^10.15.0", "esno": "^0.17.0", "h3": "2.0.8", "lint-staged": "^14.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 03c489f..3403c91 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: devDependencies: '@antfu/eslint-config': - specifier: ^0.41.0 - version: 0.41.0(eslint@8.48.0)(typescript@5.2.2) + specifier: ^10.0.0 + version: 10.0.0(@typescript-eslint/typescript-estree@6.4.1)(@typescript-eslint/utils@6.4.1)(@vue/compiler-sfc@3.3.4)(eslint@10.15.0)(typescript@5.2.2)(vitest@0.34.3) '@antfu/ni': specifier: ^0.21.6 version: 0.21.6 @@ -36,8 +36,8 @@ importers: specifier: ^9.2.0 version: 9.2.0 eslint: - specifier: ^8.48.0 - version: 8.48.0 + specifier: ^10.15.0 + version: 10.15.0 esno: specifier: ^0.17.0 version: 0.17.0 @@ -89,7 +89,7 @@ importers: version: 0.8.2(nuxt@3.7.0)(rollup@3.28.1)(vite@4.4.9) nuxt: specifier: ^3.7.0 - version: 3.7.0(@types/node@22.20.1)(eslint@8.48.0)(rollup@3.28.1)(typescript@5.2.2) + version: 3.7.0(@types/node@22.20.1)(eslint@10.15.0)(rollup@3.28.1)(typescript@5.2.2) packages: @@ -106,100 +106,131 @@ packages: '@jridgewell/trace-mapping': 0.3.17 dev: true - /@antfu/eslint-config-basic@0.41.0(@typescript-eslint/eslint-plugin@6.4.1)(@typescript-eslint/parser@6.4.1)(eslint@8.48.0)(typescript@5.2.2): - resolution: {integrity: sha512-zcwFv+nEV/NroeeVWriNdnIGd9soOLRG8wIiVz4VVJ0BjONrqQR56HLG/gDxH/1GUYBnQCEcVxGUmegce08cnw==} - peerDependencies: - eslint: '>=7.4.0' - dependencies: - eslint: 8.48.0 - eslint-plugin-antfu: 0.41.0(eslint@8.48.0)(typescript@5.2.2) - eslint-plugin-eslint-comments: 3.2.0(eslint@8.48.0) - eslint-plugin-html: 7.1.0 - eslint-plugin-import: /eslint-plugin-i@2.28.0-2(@typescript-eslint/parser@6.4.1)(eslint@8.48.0) - eslint-plugin-jsonc: 2.9.0(eslint@8.48.0) - eslint-plugin-markdown: 3.0.1(eslint@8.48.0) - eslint-plugin-n: 16.0.2(eslint@8.48.0) - eslint-plugin-no-only-tests: 3.1.0 - eslint-plugin-promise: 6.1.1(eslint@8.48.0) - eslint-plugin-unicorn: 48.0.1(eslint@8.48.0) - eslint-plugin-unused-imports: 3.0.0(@typescript-eslint/eslint-plugin@6.4.1)(eslint@8.48.0) - eslint-plugin-yml: 1.8.0(eslint@8.48.0) - jsonc-eslint-parser: 2.3.0 - yaml-eslint-parser: 1.2.2 - transitivePeerDependencies: - - '@typescript-eslint/eslint-plugin' - - '@typescript-eslint/parser' - - eslint-import-resolver-typescript - - eslint-import-resolver-webpack - - supports-color - - typescript - dev: true - - /@antfu/eslint-config-ts@0.41.0(eslint@8.48.0)(typescript@5.2.2): - resolution: {integrity: sha512-ng3GYpJGZgrxGwBVda/MgUpveH3LbEqdPCFi1+S5e62W4kf8rmEVbhc0I8w7/aKN0uNqir5SInYg8gob2maDAQ==} - peerDependencies: - eslint: '>=7.4.0' - typescript: '>=3.9' - dependencies: - '@antfu/eslint-config-basic': 0.41.0(@typescript-eslint/eslint-plugin@6.4.1)(@typescript-eslint/parser@6.4.1)(eslint@8.48.0)(typescript@5.2.2) - '@typescript-eslint/eslint-plugin': 6.4.1(@typescript-eslint/parser@6.4.1)(eslint@8.48.0)(typescript@5.2.2) - '@typescript-eslint/parser': 6.4.1(eslint@8.48.0)(typescript@5.2.2) - eslint: 8.48.0 - eslint-plugin-jest: 27.2.3(@typescript-eslint/eslint-plugin@6.4.1)(eslint@8.48.0)(typescript@5.2.2) - typescript: 5.2.2 - transitivePeerDependencies: - - eslint-import-resolver-typescript - - eslint-import-resolver-webpack - - jest - - supports-color - dev: true - - /@antfu/eslint-config-vue@0.41.0(@typescript-eslint/eslint-plugin@6.4.1)(@typescript-eslint/parser@6.4.1)(eslint@8.48.0)(typescript@5.2.2): - resolution: {integrity: sha512-iJiEGRUgRmT3mQCmGl0hTMwq/ShXRjRPjpgsDcphKJyEF06ZIR/4gxHn+utQRLT2hD39DQN8gk0ZbpV3gWtf/g==} + /@antfu/eslint-config@10.0.0(@typescript-eslint/typescript-estree@6.4.1)(@typescript-eslint/utils@6.4.1)(@vue/compiler-sfc@3.3.4)(eslint@10.15.0)(typescript@5.2.2)(vitest@0.34.3): + resolution: {integrity: sha512-SwFOW3AHjzUAhWn56bycanHEeSV2LLkVvMLY14hoFNi5zYqfwf92mWj0wX/8p24iR8IwvRmsNwxMTXQZMcOsHQ==} + hasBin: true peerDependencies: - eslint: '>=7.4.0' + '@angular-eslint/eslint-plugin': ^21.1.0 + '@angular-eslint/eslint-plugin-template': ^21.1.0 + '@angular-eslint/template-parser': ^21.1.0 + '@eslint-react/eslint-plugin': ^5.6.0 + '@next/eslint-plugin-next': '>=15.0.0' + '@prettier/plugin-xml': ^3.4.1 + '@unocss/eslint-plugin': '>=0.50.0' + astro-eslint-parser: '>=1.0.2' + eslint: ^9.10.0 || ^10.0.0 + eslint-plugin-astro: '>=1.2.0' + eslint-plugin-erasable-syntax-only: ^0.7.1 + eslint-plugin-format: '>=0.1.0' + eslint-plugin-jsx-a11y: '>=6.10.2' + eslint-plugin-react-refresh: ^0.5.0 + eslint-plugin-slop: '>=0.1.1' + eslint-plugin-solid: ^0.17.0 + eslint-plugin-sonarjs: '>=4.0.0' + eslint-plugin-svelte: '>=2.35.1' + eslint-plugin-vuejs-accessibility: ^2.4.1 + prettier-plugin-astro: ^0.14.0 + prettier-plugin-slidev: ^1.0.5 + svelte-eslint-parser: '>=0.37.0' + peerDependenciesMeta: + '@angular-eslint/eslint-plugin': + optional: true + '@angular-eslint/eslint-plugin-template': + optional: true + '@angular-eslint/template-parser': + optional: true + '@eslint-react/eslint-plugin': + optional: true + '@next/eslint-plugin-next': + optional: true + '@prettier/plugin-xml': + optional: true + '@unocss/eslint-plugin': + optional: true + astro-eslint-parser: + optional: true + eslint-plugin-astro: + optional: true + eslint-plugin-erasable-syntax-only: + optional: true + eslint-plugin-format: + optional: true + eslint-plugin-jsx-a11y: + optional: true + eslint-plugin-react-refresh: + optional: true + eslint-plugin-slop: + optional: true + eslint-plugin-solid: + optional: true + eslint-plugin-sonarjs: + optional: true + eslint-plugin-svelte: + optional: true + eslint-plugin-vuejs-accessibility: + optional: true + prettier-plugin-astro: + optional: true + prettier-plugin-slidev: + optional: true + svelte-eslint-parser: + optional: true dependencies: - '@antfu/eslint-config-basic': 0.41.0(@typescript-eslint/eslint-plugin@6.4.1)(@typescript-eslint/parser@6.4.1)(eslint@8.48.0)(typescript@5.2.2) - '@antfu/eslint-config-ts': 0.41.0(eslint@8.48.0)(typescript@5.2.2) - eslint: 8.48.0 - eslint-plugin-vue: 9.17.0(eslint@8.48.0) - local-pkg: 0.4.3 + '@antfu/install-pkg': 2.1.0 + '@clack/prompts': 1.9.0 + '@e18e/eslint-plugin': 0.8.1(eslint@10.15.0) + '@eslint-community/eslint-plugin-eslint-comments': 4.8.1(eslint@10.15.0) + '@eslint/markdown': 8.0.3 + '@stylistic/eslint-plugin': 5.10.0(eslint@10.15.0) + '@typescript-eslint/eslint-plugin': 8.74.0(@typescript-eslint/parser@8.74.0)(eslint@10.15.0)(typescript@5.2.2) + '@typescript-eslint/parser': 8.74.0(eslint@10.15.0)(typescript@5.2.2) + '@vitest/eslint-plugin': 1.6.28(@typescript-eslint/eslint-plugin@8.74.0)(eslint@10.15.0)(typescript@5.2.2)(vitest@0.34.3) + ansis: 4.5.0 + cac: 7.1.1 + eslint: 10.15.0 + eslint-config-flat-gitignore: 2.4.0(eslint@10.15.0) + eslint-flat-config-utils: 3.2.0 + eslint-merge-processors: 2.0.0(eslint@10.15.0) + eslint-plugin-antfu: 3.3.1(eslint@10.15.0) + eslint-plugin-command: 4.0.0(@typescript-eslint/typescript-estree@6.4.1)(@typescript-eslint/utils@6.4.1)(eslint@10.15.0) + eslint-plugin-import-lite: 0.6.0(eslint@10.15.0) + eslint-plugin-jsdoc: 65.5.3(eslint@10.15.0)(typescript@5.2.2) + eslint-plugin-jsonc: 3.4.2(eslint@10.15.0) + eslint-plugin-n: 18.5.0(eslint@10.15.0)(typescript@5.2.2) + eslint-plugin-no-only-tests: 3.4.0 + eslint-plugin-perfectionist: 5.14.0(eslint@10.15.0)(typescript@5.2.2) + eslint-plugin-pnpm: 1.9.1(eslint@10.15.0) + eslint-plugin-regexp: 3.3.3(eslint@10.15.0) + eslint-plugin-toml: 1.5.0(eslint@10.15.0) + eslint-plugin-unicorn: 78.0.0(eslint@10.15.0)(typescript@5.2.2) + eslint-plugin-unused-imports: 4.4.1(@typescript-eslint/eslint-plugin@8.74.0)(eslint@10.15.0) + eslint-plugin-vue: 10.12.1(@stylistic/eslint-plugin@5.10.0)(@typescript-eslint/parser@8.74.0)(eslint@10.15.0)(vue-eslint-parser@10.4.2) + eslint-plugin-yml: 3.10.0(eslint@10.15.0) + eslint-processor-vue-blocks: 2.0.0(@vue/compiler-sfc@3.3.4)(eslint@10.15.0) + globals: 17.14.0 + local-pkg: 1.2.1 + parse-gitignore: 2.0.0 + toml-eslint-parser: 1.0.3 + vue-eslint-parser: 10.4.2(eslint@10.15.0) + yaml-eslint-parser: 2.1.0 transitivePeerDependencies: - - '@typescript-eslint/eslint-plugin' - - '@typescript-eslint/parser' - - eslint-import-resolver-typescript - - eslint-import-resolver-webpack - - jest + - '@eslint/json' + - '@typescript-eslint/typescript-estree' + - '@typescript-eslint/utils' + - '@typescript/native' + - '@vue/compiler-sfc' + - oxlint - supports-color + - ts-declaration-location - typescript + - vitest dev: true - /@antfu/eslint-config@0.41.0(eslint@8.48.0)(typescript@5.2.2): - resolution: {integrity: sha512-510DginDPdzf45O6HOah3cK6NHXxobBc43IdBQCQmUGb+av9LIJjrd1idThFoyFh6m05iZ4YX/mhnhhJFqLiNw==} - peerDependencies: - eslint: '>=7.4.0' - dependencies: - '@antfu/eslint-config-vue': 0.41.0(@typescript-eslint/eslint-plugin@6.4.1)(@typescript-eslint/parser@6.4.1)(eslint@8.48.0)(typescript@5.2.2) - '@typescript-eslint/eslint-plugin': 6.4.1(@typescript-eslint/parser@6.4.1)(eslint@8.48.0)(typescript@5.2.2) - '@typescript-eslint/parser': 6.4.1(eslint@8.48.0)(typescript@5.2.2) - eslint: 8.48.0 - eslint-plugin-eslint-comments: 3.2.0(eslint@8.48.0) - eslint-plugin-html: 7.1.0 - eslint-plugin-import: /eslint-plugin-i@2.28.0-2(@typescript-eslint/parser@6.4.1)(eslint@8.48.0) - eslint-plugin-jsonc: 2.9.0(eslint@8.48.0) - eslint-plugin-n: 16.0.2(eslint@8.48.0) - eslint-plugin-promise: 6.1.1(eslint@8.48.0) - eslint-plugin-unicorn: 48.0.1(eslint@8.48.0) - eslint-plugin-vue: 9.17.0(eslint@8.48.0) - eslint-plugin-yml: 1.8.0(eslint@8.48.0) - jsonc-eslint-parser: 2.3.0 - yaml-eslint-parser: 1.2.2 - transitivePeerDependencies: - - eslint-import-resolver-typescript - - eslint-import-resolver-webpack - - jest - - supports-color - - typescript + /@antfu/install-pkg@2.1.0: + resolution: {integrity: sha512-sdg9NxU3zR4Mnawfbc/x6GB5Wf17WYud5qOuEuxXjaKpYpMkISSJEjItGebXJ2bQ4DIcly4NYH23mtkGJjvKUw==} + dependencies: + package-manager-detector: 1.9.0 + tinyexec: 1.3.1 dev: true /@antfu/ni@0.21.6: @@ -517,12 +548,118 @@ packages: resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} dev: true + /@cacheable/memory@2.2.0: + resolution: {integrity: sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ==} + dependencies: + '@cacheable/utils': 2.5.0 + '@keyv/bigmap': 1.3.1(keyv@5.6.0) + hookified: 1.15.1 + keyv: 5.6.0 + dev: true + + /@cacheable/utils@2.5.0: + resolution: {integrity: sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA==} + dependencies: + hashery: 1.5.1 + keyv: 5.6.0 + dev: true + + /@clack/core@1.6.0: + resolution: {integrity: sha512-4GZynIB2IIe431odxesswvWTCP6orvqd6e2b07b3VFWBQRqUqIHc/EPIZwFoKS692QBp+ooPuXKaJV8g4kXuYA==} + engines: {node: '>= 20.12.0'} + dependencies: + fast-string-width: 3.0.2 + fast-wrap-ansi: 0.2.2 + sisteransi: 2.0.0 + dev: true + + /@clack/prompts@1.9.0: + resolution: {integrity: sha512-tEj8X2No2A1c9NDnZECxiiJ8TP3vmFlN9tLlLeSaMqVW4tUmVG2R4qpv/eP4zymWxnymYLkLcIYVV0VcWj3RCQ==} + engines: {node: '>= 20.12.0'} + dependencies: + '@clack/core': 1.6.0 + fast-string-width: 3.0.2 + fast-wrap-ansi: 0.2.2 + sisteransi: 2.0.0 + dev: true + /@cloudflare/kv-asset-handler@0.3.0: resolution: {integrity: sha512-9CB/MKf/wdvbfkUdfrj+OkEwZ5b7rws0eogJ4293h+7b6KX5toPwym+VQKmILafNB9YiehqY0DlNrDcDhdWHSQ==} dependencies: mime: 3.0.0 dev: true + /@e18e/eslint-plugin@0.8.1(eslint@10.15.0): + resolution: {integrity: sha512-OV3T7l0r52/IglskdAuoO+BJyzsCs7AcIHpwpBMlIMO0+3RHskM2h5MuHdLuesIhSRhwCURGMKtp/XwnfXrfxg==} + peerDependencies: + eslint: ^9.0.0 || ^10.0.0 + oxlint: ^1.72.0 + peerDependenciesMeta: + eslint: + optional: true + oxlint: + optional: true + dependencies: + empathic: 2.1.0 + eslint: 10.15.0 + module-replacements: 3.4.0 + verkit: 0.4.1 + dev: true + + /@es-joy/escodegen@5.0.1: + resolution: {integrity: sha512-0sOnDSVMt7Zg5qmXz4ab1yOXrUi0QmSPqpm5d547puNdJxT0J+Xdip2F/5j07nuE1pW131AX5jFUvOIfZPYNRg==} + engines: {node: ^22.16.0 || >=24.0.0} + hasBin: true + dependencies: + '@es-joy/estraverse': 7.1.1 + '@es-joy/esutils': 3.0.0 + '@es-joy/jsdoccomment': 1.2.1 + '@types/estree': 1.0.10 + esprima: 4.0.1 + optionator: 0.9.4 + optionalDependencies: + source-map: 0.8.0 + dev: true + + /@es-joy/estraverse@7.1.1: + resolution: {integrity: sha512-h2d737iS0LFAqypZOmXizu54qAbHofI/RpD30Zom03O6BCXKHuFevWKPcGarZbGq82h7qSBb5G6kLdhTMO+caw==} + engines: {node: '>=4.0'} + dev: true + + /@es-joy/esutils@3.0.0: + resolution: {integrity: sha512-K8M2b2ixqOiF5B+qYJIWIznFtvbD8biX2mj31pXmXAaTRUUd2x6anAFZk4GVGXz7sX9tOkx+z6TaQc/paeVCeg==} + engines: {node: ^22.16.0 || >=24.0.0} + dependencies: + '@types/estree': 1.0.10 + dev: true + + /@es-joy/jsdoccomment@0.92.0: + resolution: {integrity: sha512-WivZqV5jPTYDQJgIMp0hTsyQESKYNY6yCJr4b0l84tYtQntkAMkc6zARh2vlRQyeg4aYHPUkCUDpvr2IWAiGpQ==} + engines: {node: ^22.22.2 || >=24.15.0} + dependencies: + '@types/estree': 1.0.10 + '@typescript-eslint/types': 8.74.0 + comment-parser: 1.4.7 + esquery: 1.7.0 + jsdoc-type-pratt-parser: 9.0.1 + dev: true + + /@es-joy/jsdoccomment@1.2.1: + resolution: {integrity: sha512-x7OYWicHr3qYEiHeYNIVQD6AXjzU9YE1sOk0jtPkEbbMRUiergcQCHoRFRQpqHivivH0B0ZzexrvTx5An34ZJQ==} + engines: {node: ^22.22.2 || >=24.15.0} + dependencies: + '@types/estree': 1.0.10 + '@typescript-eslint/types': 8.74.0 + comment-parser: 1.4.9 + esquery: 1.7.0 + jsdoc-type-pratt-parser: 9.5.0 + dev: true + + /@es-joy/resolve.exports@1.2.0: + resolution: {integrity: sha512-Q9hjxWI5xBM+qW2enxfe8wDKdFWMfd0Z29k5ZJnuBqD/CasY5Zryj09aCA6owbGATWz+39p5uIdaHXpopOcG8g==} + engines: {node: '>=10'} + dev: true + /@esbuild-kit/cjs-loader@2.4.2: resolution: {integrity: sha512-BDXFbYOJzT/NBEtp71cvsrGPwGAMGRB/349rwKuoxNSiKjPraNNnlK6MIIabViCjqZugu6j+xeMDlEkWdHHJSg==} dependencies: @@ -1138,41 +1275,125 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils@4.4.0(eslint@8.48.0): + /@eslint-community/eslint-plugin-eslint-comments@4.8.1(eslint@10.15.0): + resolution: {integrity: sha512-vafrdi15JHBFh1qWOAucyJwlEEuhdoMof28jOdKdgnwZ7bXwd6v4wzHYSmAVLwnx0yc7bqAtfJ0EZQV1WAzV/Q==} + 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 || ^10.0.0 + dependencies: + escape-string-regexp: 4.0.0 + eslint: 10.15.0 + ignore: 7.0.6 + dev: true + + /@eslint-community/eslint-utils@4.10.1(eslint@10.15.0): + resolution: {integrity: sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + dependencies: + eslint: 10.15.0 + eslint-visitor-keys: 3.4.3 + dev: true + + /@eslint-community/eslint-utils@4.4.0(eslint@10.15.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 8.48.0 + eslint: 10.15.0 eslint-visitor-keys: 3.4.3 dev: true - /@eslint-community/regexpp@4.6.2: - resolution: {integrity: sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==} + /@eslint-community/regexpp@4.12.3: + resolution: {integrity: sha512-R76UKbvsqI68DJJVTVyqFKqU98CN4+B+acxNfEA2IFarSzP0SjtKf/3+fFiXzTyv5Fj3PxLkGHe2wnVWWMxobQ==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} dev: true - /@eslint/eslintrc@2.1.2: - resolution: {integrity: sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /@eslint/compat@2.1.1(eslint@10.15.0): + resolution: {integrity: sha512-rMcy8GSrwNzcISX/BlTDY/GLB4eCopEuy9woIls3To+15OLxykZrxxq+WUcylCPCQ6F4MujjBM1DX5V1aqI3Vw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + peerDependencies: + eslint: ^8.40 || 9 || 10 + peerDependenciesMeta: + eslint: + optional: true dependencies: - ajv: 6.12.6 + '@eslint/core': 1.2.1 + eslint: 10.15.0 + dev: true + + /@eslint/config-array@0.23.6: + resolution: {integrity: sha512-WrTH7nioI9QPY4NZGnsywmecswJdgeq4BCM76qok9VgjTO29ZgUzUvcuJLVPYVQM4uDbaPBU0M33R9DIxI8X3w==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + dependencies: + '@eslint/object-schema': 3.0.5 debug: 4.3.4 - espree: 9.6.1 - globals: 13.19.0 - ignore: 5.2.4 - import-fresh: 3.3.0 - js-yaml: 4.1.0 - minimatch: 3.1.2 - strip-json-comments: 3.1.1 + minimatch: 11.0.9 transitivePeerDependencies: - supports-color dev: true - /@eslint/js@8.48.0: - resolution: {integrity: sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /@eslint/config-helpers@0.5.5: + resolution: {integrity: sha512-eIJYKTCECbP/nsKaaruF6LW967mtbQbsw4JTtSVkUQc9MneSkbrgPJAbKl9nWr0ZeowV8BfsarBmPpBzGelA2w==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + dependencies: + '@eslint/core': 1.2.1 + dev: true + + /@eslint/config-helpers@0.7.0: + resolution: {integrity: sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + dependencies: + '@eslint/core': 1.2.1 + dev: true + + /@eslint/core@1.2.1: + resolution: {integrity: sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + dependencies: + '@types/json-schema': 7.0.15 + dev: true + + /@eslint/css-tree@4.1.3: + resolution: {integrity: sha512-3WQJPt+KXGZ6H6ielW9EnKSJyIL0s2H2a6ILgdtj7w1vj0HOy7quWJ2ZAscVIVNT/Z49PqvqQ7qrWiDBpRUBeQ==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + dependencies: + mdn-data: 2.37.2 + source-map-js: 1.2.4 + dev: true + + /@eslint/markdown@8.0.3: + resolution: {integrity: sha512-rBTSSShrq7e4O+PWfeE4azH4/CWPNrC+VGxBXiW00o3vYVJnznsZiDayj3KC9JztIMVRZxZHn2nrDIUau/4j7A==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + dependencies: + '@eslint/core': 1.2.1 + '@eslint/plugin-kit': 0.7.3 + github-slugger: 2.0.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-frontmatter: 2.0.1 + mdast-util-gfm: 3.1.0 + mdast-util-math: 3.0.0 + micromark-extension-frontmatter: 2.0.0 + micromark-extension-gfm: 3.0.0 + micromark-extension-math: 3.1.0 + micromark-util-normalize-identifier: 2.0.1 + transitivePeerDependencies: + - supports-color + dev: true + + /@eslint/object-schema@3.0.5: + resolution: {integrity: sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + dev: true + + /@eslint/plugin-kit@0.7.3: + resolution: {integrity: sha512-IkO+/KEUvwbVpiURZg+P7zF74z5Jxe0UgJxVni+RtoHQ6IZieXaO02kmadomap/q+l6bc/jdPGGqTjhuZnuz1Q==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + dependencies: + '@eslint/core': 1.2.1 + levn: 0.4.1 dev: true /@hapi/hoek@9.3.0: @@ -1185,15 +1406,25 @@ packages: '@hapi/hoek': 9.3.0 dev: true - /@humanwhocodes/config-array@0.11.10: - resolution: {integrity: sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==} - engines: {node: '>=10.10.0'} + /@humanfs/core@0.19.2: + resolution: {integrity: sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==} + engines: {node: '>=18.18.0'} dependencies: - '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.4 - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color + '@humanfs/types': 0.15.0 + dev: true + + /@humanfs/node@0.16.8: + resolution: {integrity: sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==} + engines: {node: '>=18.18.0'} + dependencies: + '@humanfs/core': 0.19.2 + '@humanfs/types': 0.15.0 + '@humanwhocodes/retry': 0.4.3 + dev: true + + /@humanfs/types@0.15.0: + resolution: {integrity: sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==} + engines: {node: '>=18.18.0'} dev: true /@humanwhocodes/module-importer@1.0.1: @@ -1201,8 +1432,9 @@ packages: engines: {node: '>=12.22'} dev: true - /@humanwhocodes/object-schema@1.2.1: - resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} + /@humanwhocodes/retry@0.4.3: + resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} + engines: {node: '>=18.18'} dev: true /@ioredis/commands@1.2.0: @@ -1221,6 +1453,10 @@ packages: wrap-ansi-cjs: /wrap-ansi@7.0.0 dev: true + /@isaacs/nonrecursive-glob-match@1.1.0: + resolution: {integrity: sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw==} + dev: true + /@istanbuljs/schema@0.1.3: resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} engines: {node: '>=8'} @@ -1309,6 +1545,21 @@ packages: type-detect: 4.0.8 dev: true + /@keyv/bigmap@1.3.1(keyv@5.6.0): + resolution: {integrity: sha512-WbzE9sdmQtKy8vrNPa9BRnwZh5UF4s1KTmSK0KUVLo3eff5BlQNNWDnFOouNpKfPKDnms9xynJjsMYjMaT/aFQ==} + engines: {node: '>= 18'} + peerDependencies: + keyv: ^5.6.0 + dependencies: + hashery: 1.5.1 + hookified: 1.15.1 + keyv: 5.6.0 + dev: true + + /@keyv/serialize@1.1.1: + resolution: {integrity: sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==} + dev: true + /@kwsites/file-exists@1.1.1: resolution: {integrity: sha512-m9/5YGR18lIwxSFDwfE3oA7bWuq9kdau6ugN4H2rJeyhFQZcG9AgSHkQtSD15a8WvTgfz9aikZMrKPHvbpqFiw==} dependencies: @@ -1459,7 +1710,7 @@ packages: '@nuxt/kit': 3.7.0(rollup@3.28.1) '@nuxt/schema': 3.7.0(rollup@3.28.1) execa: 7.2.0 - nuxt: 3.7.0(@types/node@22.20.1)(eslint@8.48.0)(rollup@3.28.1)(typescript@5.2.2) + nuxt: 3.7.0(@types/node@22.20.1)(eslint@10.15.0)(rollup@3.28.1)(typescript@5.2.2) vite: 4.4.9(@types/node@22.20.1) transitivePeerDependencies: - rollup @@ -1511,7 +1762,7 @@ packages: launch-editor: 2.6.0 local-pkg: 0.4.3 magicast: 0.2.10 - nuxt: 3.7.0(@types/node@22.20.1)(eslint@8.48.0)(rollup@3.28.1)(typescript@5.2.2) + nuxt: 3.7.0(@types/node@22.20.1)(eslint@10.15.0)(rollup@3.28.1)(typescript@5.2.2) nypm: 0.3.1 ofetch: 1.3.3 ohash: 1.1.3 @@ -1659,7 +1910,7 @@ packages: resolution: {integrity: sha512-5gc02Pu1HycOVUWJ8aYsWeeXcSTPe8iX8+KIrhyEtEoOSkY0eMBuo0ssljB8wALuEmepv31DlYe5gpiRwkjESA==} dev: true - /@nuxt/vite-builder@3.7.0(@types/node@22.20.1)(eslint@8.48.0)(rollup@3.28.1)(typescript@5.2.2)(vue@3.3.4): + /@nuxt/vite-builder@3.7.0(@types/node@22.20.1)(eslint@10.15.0)(rollup@3.28.1)(typescript@5.2.2)(vue@3.3.4): resolution: {integrity: sha512-bRJy3KarHrFm/xLGHoHeZyqI/h6c4UFRCF5ngRZ/R9uebJEHuL4UhAioxDLTFu7D0vEeK7XaDgx6+NPLhBg51g==} engines: {node: ^14.18.0 || >=16.10.0} peerDependencies: @@ -1698,7 +1949,7 @@ packages: unplugin: 1.4.0 vite: 4.4.9(@types/node@22.20.1) vite-node: 0.33.0(@types/node@22.20.1) - vite-plugin-checker: 0.6.2(eslint@8.48.0)(typescript@5.2.2)(vite@4.4.9) + vite-plugin-checker: 0.6.2(eslint@10.15.0)(typescript@5.2.2)(vite@4.4.9) vue: 3.3.4 vue-bundle-renderer: 2.0.0 transitivePeerDependencies: @@ -1721,6 +1972,11 @@ packages: - vue-tsc dev: true + /@ota-meshi/ast-token-store@0.3.0: + resolution: {integrity: sha512-XRO0zi2NIUKq2lUk3T1ecFSld1fMWRKE6naRFGkgkdeosx7IslyUKNv5Dcb5PJTja9tHJoFu0v/7yEpAkrkrTg==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + dev: true + /@parcel/watcher-android-arm64@2.3.0: resolution: {integrity: sha512-f4o9eA3dgk0XRT3XhB0UWpWpLnKgrh1IwNJKJ7UJek7eTYccQ8LR7XUWFKqw6aEq5KUNlCcGvSzKqSX/vtWVVA==} engines: {node: '>= 10.0.0'} @@ -1870,6 +2126,11 @@ packages: dev: true optional: true + /@pkgr/core@0.3.6: + resolution: {integrity: sha512-SEeaJLb3qBNF/OaXnaR1NmmBbFYk1zC0ZH/52fATcRPLFg/p791YrcyFFy44Bo9sLaGuSuLp5Q6axbb/O+v/RA==} + engines: {node: ^14.18.0 || >=16.0.0} + dev: true + /@polka/url@1.0.0-next.21: resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==} dev: true @@ -2064,6 +2325,26 @@ packages: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true + /@sindresorhus/base62@1.0.0: + resolution: {integrity: sha512-TeheYy0ILzBEI/CO55CP6zJCSdSWeRtGnHy8U8dWSUH4I68iqTsy7HkMktR4xakThc9jotkPQUXT4ITdbV7cHA==} + engines: {node: '>=18'} + dev: true + + /@stylistic/eslint-plugin@5.10.0(eslint@10.15.0): + resolution: {integrity: sha512-nPK52ZHvot8Ju/0A4ucSX1dcPV2/1clx0kLcH5wDmrE4naKso7TUC/voUyU1O9OTKTrR6MYip6LP0ogEMQ9jPQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^9.0.0 || ^10.0.0 + dependencies: + '@eslint-community/eslint-utils': 4.10.1(eslint@10.15.0) + '@typescript-eslint/types': 8.74.0 + eslint: 10.15.0 + eslint-visitor-keys: 4.2.1 + espree: 10.4.0 + estraverse: 5.3.0 + picomatch: 4.0.5 + dev: true + /@tootallnate/once@2.0.0: resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} engines: {node: '>= 10'} @@ -2101,10 +2382,30 @@ packages: resolution: {integrity: sha512-t73xJJrvdTjXrn4jLS9VSGRbz0nUY3cl2DMGDU48lKl+HR9dbbjW2A9r3g40VA++mQpy6uuHg33gy7du2BKpog==} dev: true + /@types/debug@4.1.13: + resolution: {integrity: sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==} + dependencies: + '@types/ms': 2.1.0 + dev: true + + /@types/esrecurse@4.3.1: + resolution: {integrity: sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==} + dev: true + /@types/estree@1.0.0: resolution: {integrity: sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==} dev: true + /@types/estree@1.0.10: + resolution: {integrity: sha512-lTyOMnOcmRBzdCv6/4zUZCrEhV0xrqQiUZBZtVcbmLHBXKLnN8q89v/wKRF/Q0HbwVsqbIG3o5HDoFl9sduM+g==} + dev: true + + /@types/hast@3.0.5: + resolution: {integrity: sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==} + dependencies: + '@types/unist': 2.0.6 + dev: true + /@types/http-proxy@1.17.11: resolution: {integrity: sha512-HC8G7c1WmaF2ekqpnFq626xd3Zz0uvaqFmBJNRZCGEZCXkvSdJoNFn/8Ygbd9fKNQj8UzLdCETaI0UWPAjK7IA==} dependencies: @@ -2119,12 +2420,24 @@ packages: resolution: {integrity: sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==} dev: true - /@types/mdast@3.0.10: - resolution: {integrity: sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==} + /@types/json-schema@7.0.15: + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + dev: true + + /@types/katex@0.16.8: + resolution: {integrity: sha512-trgaNyfU+Xh2Tc+ABIb44a5AYUpicB3uwirOioeOkNPPbmgRNtcWyDeeFRzjPZENO9Vq8gvVqfhaaXWLlevVwg==} + dev: true + + /@types/mdast@4.0.4: + resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==} dependencies: '@types/unist': 2.0.6 dev: true + /@types/ms@2.1.0: + resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==} + dev: true + /@types/node@20.5.7: resolution: {integrity: sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA==} dev: true @@ -2135,10 +2448,6 @@ packages: undici-types: 6.21.0 dev: true - /@types/normalize-package-data@2.4.1: - resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} - dev: true - /@types/resolve@1.20.2: resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} dev: true @@ -2164,62 +2473,65 @@ packages: resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} dev: true - /@typescript-eslint/eslint-plugin@6.4.1(@typescript-eslint/parser@6.4.1)(eslint@8.48.0)(typescript@5.2.2): - resolution: {integrity: sha512-3F5PtBzUW0dYlq77Lcqo13fv+58KDwUib3BddilE8ajPJT+faGgxmI9Sw+I8ZS22BYwoir9ZhNXcLi+S+I2bkw==} - engines: {node: ^16.0.0 || >=18.0.0} + /@types/unist@3.0.3: + resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} + dev: true + + /@typescript-eslint/eslint-plugin@8.74.0(@typescript-eslint/parser@8.74.0)(eslint@10.15.0)(typescript@5.2.2): + resolution: {integrity: sha512-z3KXk1+Vm+d82ZRplOoC89ho4Rf1da5ju6sx8//92GnN532U62DGPjECXkkVqtYzIv0zoJlpO39SX2Z9tk6LVw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha - eslint: ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@eslint-community/regexpp': 4.6.2 - '@typescript-eslint/parser': 6.4.1(eslint@8.48.0)(typescript@5.2.2) - '@typescript-eslint/scope-manager': 6.4.1 - '@typescript-eslint/type-utils': 6.4.1(eslint@8.48.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.4.1(eslint@8.48.0)(typescript@5.2.2) - '@typescript-eslint/visitor-keys': 6.4.1 - debug: 4.3.4 - eslint: 8.48.0 - graphemer: 1.4.0 - ignore: 5.2.4 + '@typescript-eslint/parser': ^8.74.0 + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' + dependencies: + '@eslint-community/regexpp': 4.12.3 + '@typescript-eslint/parser': 8.74.0(eslint@10.15.0)(typescript@5.2.2) + '@typescript-eslint/scope-manager': 8.74.0 + '@typescript-eslint/type-utils': 8.74.0(eslint@10.15.0)(typescript@5.2.2) + '@typescript-eslint/utils': 8.74.0(eslint@10.15.0)(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 8.74.0 + eslint: 10.15.0 + ignore: 7.0.6 natural-compare: 1.4.0 - semver: 7.5.4 - ts-api-utils: 1.0.1(typescript@5.2.2) + ts-api-utils: 2.5.0(typescript@5.2.2) typescript: 5.2.2 transitivePeerDependencies: + - '@typescript/native' - supports-color dev: true - /@typescript-eslint/parser@6.4.1(eslint@8.48.0)(typescript@5.2.2): - resolution: {integrity: sha512-610G6KHymg9V7EqOaNBMtD1GgpAmGROsmfHJPXNLCU9bfIuLrkdOygltK784F6Crboyd5tBFayPB7Sf0McrQwg==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/parser@8.74.0(eslint@10.15.0)(typescript@5.2.2): + resolution: {integrity: sha512-ecr8AYdig7avVkxaHdQvxHnIJ/mOyliO4Gv/uWF8q69vBew/z3sexqBwHUZX5Vql+Ns0w4sH6gBLkICGbOvJkA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/scope-manager': 6.4.1 - '@typescript-eslint/types': 6.4.1 - '@typescript-eslint/typescript-estree': 6.4.1(typescript@5.2.2) - '@typescript-eslint/visitor-keys': 6.4.1 - debug: 4.3.4 - eslint: 8.48.0 + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' + dependencies: + '@typescript-eslint/scope-manager': 8.74.0 + '@typescript-eslint/types': 8.74.0 + '@typescript-eslint/typescript-estree': 8.74.0(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 8.74.0 + debug: 4.4.3 + eslint: 10.15.0 typescript: 5.2.2 transitivePeerDependencies: + - '@typescript/native' - supports-color dev: true - /@typescript-eslint/scope-manager@5.59.8: - resolution: {integrity: sha512-/w08ndCYI8gxGf+9zKf1vtx/16y8MHrZs5/tnjHhMLNSixuNcJavSX4wAiPf4aS5x41Es9YPCn44MIe4cxIlig==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /@typescript-eslint/project-service@8.74.0(typescript@5.2.2): + resolution: {integrity: sha512-z/mymuE+JlEeSFIv3Mo70EvgG1Zz74Hl0IDfExfXutARAP834bt+MppTD7mVAwmZO0GdxdOAi0jbTam749eH6g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <6.1.0' dependencies: - '@typescript-eslint/types': 5.59.8 - '@typescript-eslint/visitor-keys': 5.59.8 + '@typescript-eslint/tsconfig-utils': 8.74.0(typescript@5.2.2) + '@typescript-eslint/types': 8.74.0 + debug: 4.4.3 + typescript: 5.2.2 + transitivePeerDependencies: + - supports-color dev: true /@typescript-eslint/scope-manager@6.4.1: @@ -2230,29 +2542,40 @@ packages: '@typescript-eslint/visitor-keys': 6.4.1 dev: true - /@typescript-eslint/type-utils@6.4.1(eslint@8.48.0)(typescript@5.2.2): - resolution: {integrity: sha512-7ON8M8NXh73SGZ5XvIqWHjgX2f+vvaOarNliGhjrJnv1vdjG0LVIz+ToYfPirOoBi56jxAKLfsLm40+RvxVVXA==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/scope-manager@8.74.0: + resolution: {integrity: sha512-kpOdpu4CpWN5U38ox3f727DwWRBtUAVhyUJtqTBYe5gf2wYoxac7PgKP14txrxN7ICVtcjlLdzjqfRgpSnDKvQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + dependencies: + '@typescript-eslint/types': 8.74.0 + '@typescript-eslint/visitor-keys': 8.74.0 + dev: true + + /@typescript-eslint/tsconfig-utils@8.74.0(typescript@5.2.2): + resolution: {integrity: sha512-p07wAuaS6BjCYgOSXKJi4YhvTnAf7fiG37e9THcpnYaQEt2QiTTYZWKwUFNgeRiywiMudazhzgddAirZ0GgHtQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + typescript: '>=4.8.4 <6.1.0' dependencies: - '@typescript-eslint/typescript-estree': 6.4.1(typescript@5.2.2) - '@typescript-eslint/utils': 6.4.1(eslint@8.48.0)(typescript@5.2.2) - debug: 4.3.4 - eslint: 8.48.0 - ts-api-utils: 1.0.1(typescript@5.2.2) typescript: 5.2.2 - transitivePeerDependencies: - - supports-color dev: true - /@typescript-eslint/types@5.59.8: - resolution: {integrity: sha512-+uWuOhBTj/L6awoWIg0BlWy0u9TyFpCHrAuQ5bNfxDaZ1Ppb3mx6tUigc74LHcbHpOHuOTOJrBoAnhdHdaea1w==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /@typescript-eslint/type-utils@8.74.0(eslint@10.15.0)(typescript@5.2.2): + resolution: {integrity: sha512-CV3Y3la8l3F9ANfxcfpgSSiQgJTe4IeLEoZV4O/gcW86Ugp8X6SKiQ0vm+QegXaRIbbDMokZZSF3A1CgiU/kPw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' + dependencies: + '@typescript-eslint/types': 8.74.0 + '@typescript-eslint/typescript-estree': 8.74.0(typescript@5.2.2) + '@typescript-eslint/utils': 8.74.0(eslint@10.15.0)(typescript@5.2.2) + debug: 4.4.3 + eslint: 10.15.0 + ts-api-utils: 2.5.0(typescript@5.2.2) + typescript: 5.2.2 + transitivePeerDependencies: + - '@typescript/native' + - supports-color dev: true /@typescript-eslint/types@6.4.1: @@ -2260,25 +2583,9 @@ packages: engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@5.59.8(typescript@5.2.2): - resolution: {integrity: sha512-Jy/lPSDJGNow14vYu6IrW790p7HIf/SOV1Bb6lZ7NUkLc2iB2Z9elESmsaUtLw8kVqogSbtLH9tut5GCX1RLDg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 5.59.8 - '@typescript-eslint/visitor-keys': 5.59.8 - debug: 4.3.4 - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.8.5 - tsutils: 3.21.0(typescript@5.2.2) - typescript: 5.2.2 - transitivePeerDependencies: - - supports-color + /@typescript-eslint/types@8.74.0: + resolution: {integrity: sha512-MpnMrJCVNpP1iVL8NiHkQZgQqIMBH5ewDGUPBh1pqQXwFtMFjsl1M03QcYPXmv6stCKEiF0PN7CGbU1ZbXFzEA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} dev: true /@typescript-eslint/typescript-estree@6.4.1(typescript@5.2.2): @@ -2302,53 +2609,67 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@5.59.8(eslint@8.48.0)(typescript@5.2.2): - resolution: {integrity: sha512-Tr65630KysnNn9f9G7ROF3w1b5/7f6QVCJ+WK9nhIocWmx9F+TmCAcglF26Vm7z8KCTwoKcNEBZrhlklla3CKg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /@typescript-eslint/typescript-estree@8.74.0(typescript@5.2.2): + resolution: {integrity: sha512-wL348k6l92DNG+kPP5rVpKwNBoz7a3xRZy3TPKc1uymQttd7u7gcMv3eENmcuh4CjC4mO3FTM0DYstFXMyDLuw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + '@typescript/native': npm:typescript@>=7.1.0-dev.20261009.1 || >=7.1.0-beta <7.1.0-dev + typescript: '>=4.8.4 <6.1.0' + peerDependenciesMeta: + '@typescript/native': + optional: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.48.0) - '@types/json-schema': 7.0.12 - '@types/semver': 7.5.0 - '@typescript-eslint/scope-manager': 5.59.8 - '@typescript-eslint/types': 5.59.8 - '@typescript-eslint/typescript-estree': 5.59.8(typescript@5.2.2) - eslint: 8.48.0 - eslint-scope: 5.1.1 + '@typescript-eslint/project-service': 8.74.0(typescript@5.2.2) + '@typescript-eslint/tsconfig-utils': 8.74.0(typescript@5.2.2) + '@typescript-eslint/types': 8.74.0 + '@typescript-eslint/visitor-keys': 8.74.0 + debug: 4.4.3 + minimatch: 11.0.9 semver: 7.8.5 + tinyglobby: 0.2.17 + ts-api-utils: 2.5.0(typescript@5.2.2) + typescript: 5.2.2 transitivePeerDependencies: - supports-color - - typescript dev: true - /@typescript-eslint/utils@6.4.1(eslint@8.48.0)(typescript@5.2.2): + /@typescript-eslint/utils@6.4.1(eslint@10.15.0)(typescript@5.2.2): resolution: {integrity: sha512-F/6r2RieNeorU0zhqZNv89s9bDZSovv3bZQpUNOmmQK1L80/cV4KEu95YUJWi75u5PhboFoKUJBnZ4FQcoqhDw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.48.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@10.15.0) '@types/json-schema': 7.0.12 '@types/semver': 7.5.0 '@typescript-eslint/scope-manager': 6.4.1 '@typescript-eslint/types': 6.4.1 '@typescript-eslint/typescript-estree': 6.4.1(typescript@5.2.2) - eslint: 8.48.0 + eslint: 10.15.0 semver: 7.8.5 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/visitor-keys@5.59.8: - resolution: {integrity: sha512-pJhi2ms0x0xgloT7xYabil3SGGlojNNKjK/q6dB3Ey0uJLMjK2UDGJvHieiyJVW/7C3KI+Z4Q3pEHkm4ejA+xQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.59.8 - eslint-visitor-keys: 3.4.3 - dev: true - + /@typescript-eslint/utils@8.74.0(eslint@10.15.0)(typescript@5.2.2): + resolution: {integrity: sha512-IpWXPxXXomzxyTcvjhZJexgdvtTR1TooLAPpuxzaGqQ8BHll1lf4Ysp/BTE/l0U5TJ+x1j7B4bEM8pLRrvY+XA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' + dependencies: + '@eslint-community/eslint-utils': 4.10.1(eslint@10.15.0) + '@typescript-eslint/scope-manager': 8.74.0 + '@typescript-eslint/types': 8.74.0 + '@typescript-eslint/typescript-estree': 8.74.0(typescript@5.2.2) + eslint: 10.15.0 + typescript: 5.2.2 + transitivePeerDependencies: + - '@typescript/native' + - supports-color + dev: true + /@typescript-eslint/visitor-keys@6.4.1: resolution: {integrity: sha512-y/TyRJsbZPkJIZQXrHfdnxVnxyKegnpEvnRGNam7s3TRR2ykGefEWOhaef00/UUN3IZxizS7BTO3svd3lCOJRQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -2357,6 +2678,14 @@ packages: eslint-visitor-keys: 3.4.3 dev: true + /@typescript-eslint/visitor-keys@8.74.0: + resolution: {integrity: sha512-XSZmOtMUbWCBIM+2BK134FyMFxmll1mW2mPLk/PSwYQYzGIPMgJAqL929U4qXVizLv7Xq5b7r41/o7Ombuwk0g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + dependencies: + '@typescript-eslint/types': 8.74.0 + eslint-visitor-keys: 5.0.1 + dev: true + /@unhead/dom@1.3.9: resolution: {integrity: sha512-bTbPFjXjmk8MC0cBC+7Bgf0Mcw62gsE2XqOhMH/qQo6NP4vR2XGxqy054Y7MGurznR1JVAqxUiU3cR/oxWFk3g==} dependencies: @@ -2403,7 +2732,7 @@ packages: dependencies: '@mapbox/node-pre-gyp': 1.0.11 '@rollup/pluginutils': 4.2.1 - acorn: 8.10.0 + acorn: 8.18.0 async-sema: 3.1.1 bindings: 1.5.0 estree-walker: 2.0.2 @@ -2465,6 +2794,33 @@ packages: - supports-color dev: true + /@vitest/eslint-plugin@1.6.28(@typescript-eslint/eslint-plugin@8.74.0)(eslint@10.15.0)(typescript@5.2.2)(vitest@0.34.3): + resolution: {integrity: sha512-2QorUqhTIR7gaDkANEBTjuG2SE5MJgFaWElINyq9bIaOEJXycZUliu5xYSzG6QRLunWopYshgcRs2vW2CTRqGA==} + engines: {node: '>=22'} + peerDependencies: + '@typescript-eslint/eslint-plugin': '*' + eslint: '>=8.57.0' + typescript: '>=6.0.0' + vitest: '*' + peerDependenciesMeta: + '@typescript-eslint/eslint-plugin': + optional: true + typescript: + optional: true + vitest: + optional: true + dependencies: + '@typescript-eslint/eslint-plugin': 8.74.0(@typescript-eslint/parser@8.74.0)(eslint@10.15.0)(typescript@5.2.2) + '@typescript-eslint/scope-manager': 8.74.0 + '@typescript-eslint/utils': 8.74.0(eslint@10.15.0)(typescript@5.2.2) + eslint: 10.15.0 + typescript: 5.2.2 + vitest: 0.34.3 + transitivePeerDependencies: + - '@typescript/native' + - supports-color + dev: true + /@vitest/expect@0.34.3: resolution: {integrity: sha512-F8MTXZUYRBVsYL1uoIft1HHWhwDbSzwAU9Zgh8S6WFC3YgVb4AnFV2GXO3P5Em8FjEYaZtTnQYoNwwBrlOMXgg==} dependencies: @@ -2641,12 +2997,12 @@ packages: resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} dev: true - /acorn-jsx@5.3.2(acorn@8.10.0): + /acorn-jsx@5.3.2(acorn@8.18.0): resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - acorn: 8.10.0 + acorn: 8.18.0 dev: true /acorn-walk@8.2.0: @@ -2699,8 +3055,8 @@ packages: indent-string: 4.0.0 dev: true - /ajv@6.12.6: - resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + /ajv@6.15.0: + resolution: {integrity: sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==} dependencies: fast-deep-equal: 3.1.3 fast-json-stable-stringify: 2.1.0 @@ -2768,6 +3124,11 @@ packages: engines: {node: '>=12'} dev: true + /ansis@4.5.0: + resolution: {integrity: sha512-KwIVkfFfJSSzBmZhDGuTmkhWqTdyB5oNVzzznBJbBZ5bZtHiqSrcugRF0RKJKT4Ss3d7ZrcjnlFVDlQNmtWfWw==} + engines: {node: '>=14'} + dev: true + /anymatch@3.1.3: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} @@ -2829,6 +3190,11 @@ packages: zip-stream: 4.1.0 dev: true + /are-docs-informative@0.1.2: + resolution: {integrity: sha512-ivIO3M7NYwWxOmC0uU9wBGF/c6b8VdKmYuIbH6cwpvfw8W5MttFaecUmMqOl77D/rZU9ipN/eB1E17ry+SEI4Q==} + engines: {node: '>=18'} + dev: true + /are-we-there-yet@2.0.0: resolution: {integrity: sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==} engines: {node: '>=10'} @@ -2851,6 +3217,10 @@ packages: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} dev: true + /argparse@3.0.4: + resolution: {integrity: sha512-fwWK3Zq22l4XJJjx5mcBHGikIk+hJqO+32dPm0Jur7+rtG5x1scOjSfdT9ZKeWHPpsya/l0HHK4tDImBkTrtvA==} + dev: true + /array-union@2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} @@ -2945,10 +3315,21 @@ packages: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} dev: true + /balanced-match@4.0.4: + resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==} + engines: {node: 18 || 20 || >=22} + dev: true + /base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} dev: true + /baseline-browser-mapping@2.11.39: + resolution: {integrity: sha512-Q9buOYhr2ggrEZpImICecZTJHCCd8yXkRUokFlUEQ8uiD6oP82F4W4jWnhOHZYV+wlvrC51V7Wy0ULyWjil5Wg==} + engines: {node: '>=6.0.0'} + hasBin: true + dev: true + /big-integer@1.6.51: resolution: {integrity: sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==} engines: {node: '>=0.6'} @@ -3022,6 +3403,13 @@ packages: balanced-match: 1.0.2 dev: true + /brace-expansion@5.1.0: + resolution: {integrity: sha512-aa11Dv491GKnYqxaul3aRJ0szew7yMJMfZPnqD44NjGrZXoj62l41OEDDpdpC4eE2P88vBFfLuSyRhpG91NUvg==} + engines: {node: 20 || >=22} + dependencies: + balanced-match: 4.0.4 + dev: true + /braces@3.0.2: resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} engines: {node: '>=8'} @@ -3040,6 +3428,18 @@ packages: update-browserslist-db: 1.0.11(browserslist@4.21.10) dev: true + /browserslist@4.29.6: + resolution: {integrity: sha512-CmVVIQ3RVc5HxYEc9X84GvxK/C8C1wH8TlKAiO7uTxF8PDwt7r8t9Qk3J9NkMOVzX5O/HbLv3yzxZg9HPrnI9w==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + dependencies: + baseline-browser-mapping: 2.11.39 + caniuse-lite: 1.0.30001827 + electron-to-chromium: 1.5.493 + node-releases: 2.0.65 + update-browserslist-db: 1.4.0(browserslist@4.29.6) + dev: true + /buffer-alloc-unsafe@1.1.0: resolution: {integrity: sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==} dev: true @@ -3075,6 +3475,11 @@ packages: engines: {node: '>=6'} dev: true + /builtin-modules@5.5.0: + resolution: {integrity: sha512-2uhx+Lkzc2fnAcNEpzbJziSzwdv6cJjxxsi9oByBhSuy2wffAPzmazVDiWJk2xDKULFONl5gNOEOLOupQ8gsPg==} + engines: {node: '>=18.20'} + dev: true + /builtins@5.0.1: resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==} dependencies: @@ -3155,6 +3560,11 @@ packages: engines: {node: '>=8'} dev: true + /cac@7.1.1: + resolution: {integrity: sha512-8zc+h51HxpodKsA7L4PpBNd+9qlrfuUcyUDE5a793BJfN4NZgwk7v9NmrY3ptZ+Sk0+ToigxSzkb47AsEgyizw==} + engines: {node: '>=20.19.0'} + dev: true + /cacache@17.1.4: resolution: {integrity: sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -3191,6 +3601,16 @@ packages: unique-filename: 3.0.0 dev: true + /cacheable@2.5.0: + resolution: {integrity: sha512-60cyAOytib/OzBw1JNSoSV/boK1AtHryDIjvVBk7XbN4ugfkM3+Sry7fEjNgPMGgOjuaZPAp8ruZ0Cxafwyq9g==} + dependencies: + '@cacheable/memory': 2.2.0 + '@cacheable/utils': 2.5.0 + hookified: 1.15.1 + keyv: 5.6.0 + qified: 0.10.1 + dev: true + /call-bind@1.0.2: resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} dependencies: @@ -3202,11 +3622,6 @@ packages: resolution: {integrity: sha512-wCyFsDQkKPwwF8BDwOiWNx/9K45L/hvggQiDbve+viMNMQnWhrlYIuBk09offfwCRtCO9P6XwUttufzU11WCVw==} dev: true - /callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} - dev: true - /camelcase@6.3.0: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} @@ -3230,6 +3645,14 @@ packages: resolution: {integrity: sha512-Jj917pJtYg9HSJBF95HVX3Cdr89JUyLT4IZ8SvM5aDRni95swKgYi3TgYLH5hnGfPE/U1dg6IfZ50UsIlLkwSA==} dev: true + /caniuse-lite@1.0.30001827: + resolution: {integrity: sha512-YWEDr46gSO81M8w6uPbaIy4++IXsirx2asUqvllNiD4BPf75ibxclUjWEqp8ObCenRv+UM2n5Y8xuRPT8V8FrQ==} + dev: true + + /ccount@2.0.1: + resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} + dev: true + /chai@4.3.7: resolution: {integrity: sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==} engines: {node: '>=4'} @@ -3266,16 +3689,12 @@ packages: engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} dev: true - /character-entities-legacy@1.1.4: - resolution: {integrity: sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==} + /change-case@5.4.4: + resolution: {integrity: sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w==} dev: true - /character-entities@1.2.4: - resolution: {integrity: sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==} - dev: true - - /character-reference-invalid@1.1.4: - resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==} + /character-entities@2.0.2: + resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==} dev: true /check-error@1.0.2: @@ -3314,6 +3733,11 @@ packages: engines: {node: '>=8'} dev: true + /ci-info@4.5.0: + resolution: {integrity: sha512-d1uM8k5UZEyPza1n/MG3ko8nKupKN0KJpFsipgPcgaCCvV+IqIfJ+NzTjetlLM+UcXZx3+cLrNr76+eAO7G1Mw==} + engines: {node: '>=8'} + dev: true + /citty@0.1.3: resolution: {integrity: sha512-tb6zTEb2BDSrzFedqFYFUKUuKNaxVJWCm7o02K4kADGkBDyyiz7D40rDMpguczdZyAN3aetd5fhpB01HkreNyg==} dependencies: @@ -3326,13 +3750,6 @@ packages: consola: 3.4.2 dev: true - /clean-regexp@1.0.0: - resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} - engines: {node: '>=4'} - dependencies: - escape-string-regexp: 1.0.5 - dev: true - /clean-stack@2.2.0: resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} engines: {node: '>=6'} @@ -3447,6 +3864,16 @@ packages: engines: {node: '>= 12'} dev: true + /comment-parser@1.4.7: + resolution: {integrity: sha512-0h+uSNtQGW3D98eQt3jJ8L06Fves8hncB4V/PKdw/Qb8Hnk19VaKuTr55UNRYiSoVa7WwrFls+rh3ux9agmkeQ==} + engines: {node: '>= 12.0.0'} + dev: true + + /comment-parser@1.4.9: + resolution: {integrity: sha512-+2AvZKjJaNq9GQljm3tr0utwrig5BL+jgJGvz5rDpGKNIp+ojcRXWUwBbh/sGIi1QCprR6PsKFakub+w1v+4hQ==} + engines: {node: '>= 12.0.0'} + dev: true + /commondir@1.0.1: resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} dev: true @@ -3505,6 +3932,13 @@ packages: resolution: {integrity: sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==} dev: true + /core-js-compat@3.51.0: + resolution: {integrity: sha512-52r6fkXgxv4GLMjmFcMWRx7X9bw071xTTdrDcdyPGRqU2oE+9pCG0bAOMifSBdLw0JRBZKEF0q3B55qPlLuE8g==} + engines: {node: '>=6.4.0'} + dependencies: + browserslist: 4.29.6 + dev: true + /core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} dev: true @@ -3536,6 +3970,15 @@ packages: which: 2.0.2 dev: true + /cross-spawn@7.0.6: + resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} + engines: {node: '>= 8'} + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + dev: true + /css-declaration-sorter@6.4.1(postcss@8.4.29): resolution: {integrity: sha512-rtdthzxKuyq6IzqX6jEcIzQF/YqccluefyCYheovBOLhFT/drQA9zj/UbRAa9J7C0o6EG6u3E6g+vKkay7/k3g==} engines: {node: ^10 || ^12 || >=14} @@ -3671,19 +4114,20 @@ packages: ms: 2.0.0 dev: true - /debug@3.2.7: - resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + /debug@4.3.4: + resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + engines: {node: '>=6.0'} peerDependencies: supports-color: '*' peerDependenciesMeta: supports-color: optional: true dependencies: - ms: 2.1.3 + ms: 2.1.2 dev: true - /debug@4.3.4: - resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + /debug@4.4.3: + resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} engines: {node: '>=6.0'} peerDependencies: supports-color: '*' @@ -3691,7 +4135,13 @@ packages: supports-color: optional: true dependencies: - ms: 2.1.2 + ms: 2.1.3 + dev: true + + /decode-named-character-reference@1.3.0: + resolution: {integrity: sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==} + dependencies: + character-entities: 2.0.2 dev: true /decompress-tar@4.1.1: @@ -3826,6 +4276,11 @@ packages: engines: {node: '>= 0.8'} dev: true + /dequal@2.0.3: + resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} + engines: {node: '>=6'} + dev: true + /destr@2.0.1: resolution: {integrity: sha512-M1Ob1zPSIvlARiJUkKqvAZ3VAqQY6Jcuth/pBKQ2b1dX/Qx0OnJ8Vux6J2H5PTMQeRzWrrbTu70VxBfv/OPDJA==} dev: true @@ -3839,6 +4294,11 @@ packages: engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} dev: true + /detect-indent@7.0.2: + resolution: {integrity: sha512-y+8xyqdGLL+6sh0tVeHcfP/QDd8gUgbasolJJpY7NgeQGSZ739bDtSiaiDgtoicy+mtYB81dKLxO9xRhCyIB3A==} + engines: {node: '>=12.20'} + dev: true + /detect-libc@1.0.3: resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==} engines: {node: '>=0.10'} @@ -3854,6 +4314,12 @@ packages: resolution: {integrity: sha512-KqFl6pOgOW+Y6wJgu80rHpo2/3H07vr8ntR9rkkFIRETewbf5GaYYcakYfiKz89K+sLsuPkQIZaXDMjUObZwWg==} dev: true + /devlop@1.1.0: + resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} + dependencies: + dequal: 2.0.3 + dev: true + /dezalgo@1.0.4: resolution: {integrity: sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==} dependencies: @@ -3866,6 +4332,11 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dev: true + /diff-sequences@29.6.3: + resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dev: true + /diff@5.1.0: resolution: {integrity: sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==} engines: {node: '>=0.3.1'} @@ -3878,20 +4349,6 @@ packages: path-type: 4.0.0 dev: true - /doctrine@2.1.0: - resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} - engines: {node: '>=0.10.0'} - dependencies: - esutils: 2.0.3 - dev: true - - /doctrine@3.0.0: - resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} - engines: {node: '>=6.0.0'} - dependencies: - esutils: 2.0.3 - dev: true - /dom-serializer@2.0.0: resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==} dependencies: @@ -3952,6 +4409,10 @@ packages: resolution: {integrity: sha512-cSMwIAd8yUh54VwitVRVvHK66QqHWE39C3DRj8SWiXitEpVSY3wNPD9y1pxQtLIi4w3UdzF9klLsmuPshz09DQ==} dev: true + /electron-to-chromium@1.5.493: + resolution: {integrity: sha512-/Wto2sKd0EpepzMqwSP2il2TNc+rnBDF6k1poCvhRKpaSSD4sLGRBE+FydqHs2QwcW9cXKLVDqnauzJy1oByYw==} + dev: true + /emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} dev: true @@ -3960,6 +4421,11 @@ packages: resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} dev: true + /empathic@2.1.0: + resolution: {integrity: sha512-AnfC1ATldl49/cvZdLPDjBfrRNwbDO05aibiOtzQu3qtlbJtomNLhF30HEtn/7iBz50dlMECqATo3fG0LrdEgw==} + engines: {node: '>=14'} + dev: true + /encodeurl@1.0.2: resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} engines: {node: '>= 0.8'} @@ -3996,11 +4462,29 @@ packages: tapable: 2.2.1 dev: true + /enhanced-resolve@5.27.0: + resolution: {integrity: sha512-Do6BB2xzlcc/odFg+XEYyneAx4T/WfywO71yw9ePS2tVfRsf7JVR4mUeELadIeHzixkzbG5DpluiEFPi2WGfYQ==} + engines: {node: '>=10.13.0'} + dependencies: + graceful-fs: 4.2.10 + tapable: 2.3.4 + dev: true + /entities@4.3.1: resolution: {integrity: sha512-o4q/dYJlmyjP2zfnaWDUC6A3BQFmVTX+tZPezK7k0GLSU9QYCauscf5Y+qcEPzKL+EixVouYDgLQK5H9GrLpkg==} engines: {node: '>=0.12'} dev: true + /entities@8.1.0: + resolution: {integrity: sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==} + engines: {node: '>=20.19.0'} + dev: true + + /entities@9.0.0: + resolution: {integrity: sha512-oJFNDJg3kTPwAD1cNn2+WmUq4wFoo09npc3Ydf1D7ED4smRiWrsKnaLxykrTWgyGEcusc87P5dxlAleol9kpkg==} + engines: {node: '>=20.19.0'} + dev: true + /env-paths@2.2.1: resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} engines: {node: '>=6'} @@ -4017,12 +4501,6 @@ packages: prr: 1.0.1 dev: true - /error-ex@1.3.2: - resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} - dependencies: - is-arrayish: 0.2.1 - dev: true - /error-stack-parser-es@0.1.1: resolution: {integrity: sha512-g/9rfnvnagiNf+DRMHEVGuGuIBlCIMDFoTA616HaP2l9PlCjGjVhD98PNbVSJvmK4TttqT5mV5tInMhoFgi+aA==} dev: true @@ -4130,6 +4608,11 @@ packages: engines: {node: '>=6'} dev: true + /escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} + dev: true + /escape-html@1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} dev: true @@ -4149,272 +4632,361 @@ packages: engines: {node: '>=12'} dev: true - /eslint-import-resolver-node@0.3.7: - resolution: {integrity: sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==} + /eslint-compat-utils@0.5.1(eslint@10.15.0): + resolution: {integrity: sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q==} + engines: {node: '>=12'} + peerDependencies: + eslint: '>=6.0.0' dependencies: - debug: 3.2.7 - is-core-module: 2.12.1 - resolve: 1.22.3 - transitivePeerDependencies: - - supports-color + eslint: 10.15.0 + semver: 7.8.5 dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.4.1)(eslint-import-resolver-node@0.3.7)(eslint@8.48.0): - resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} - engines: {node: '>=4'} + /eslint-config-flat-gitignore@2.4.0(eslint@10.15.0): + resolution: {integrity: sha512-JhYC+V7qEDiCDsbJcVP8fxNc62fk4+i91YLP/YvmVHlkaQ8Xo99olYN8MO5COdxl7onGlsrfZVONe5NYsZP1UA==} + peerDependencies: + eslint: ^9.5.0 || ^10.0.0 + dependencies: + '@eslint/compat': 2.1.1(eslint@10.15.0) + eslint: 10.15.0 + dev: true + + /eslint-flat-config-utils@3.2.0: + resolution: {integrity: sha512-PHgo1X5uqIorJONLVD9BIaOSdoYFD3z/AeJljdqDPlWVRpeCYkDbK9k0AXoYVqqNJr6FEYIEr5Rm2TSktLQcHw==} + dependencies: + '@eslint/config-helpers': 0.5.5 + pathe: 2.0.3 + dev: true + + /eslint-json-compat-utils@0.2.3(eslint@10.15.0)(jsonc-eslint-parser@3.3.0): + resolution: {integrity: sha512-RbBmDFyu7FqnjE8F0ZxPNzx5UaptdeS9Uu50r7A+D7s/+FCX+ybiyViYEgFUaFIFqSWJgZRTpL5d8Kanxxl2lQ==} + engines: {node: '>=12'} peerDependencies: - '@typescript-eslint/parser': '*' + '@eslint/json': '*' eslint: '*' - eslint-import-resolver-node: '*' - eslint-import-resolver-typescript: '*' - eslint-import-resolver-webpack: '*' + jsonc-eslint-parser: ^2.4.0 || ^3.0.0 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: + '@eslint/json': optional: true dependencies: - '@typescript-eslint/parser': 6.4.1(eslint@8.48.0)(typescript@5.2.2) - debug: 3.2.7 - eslint: 8.48.0 - eslint-import-resolver-node: 0.3.7 - transitivePeerDependencies: - - supports-color + eslint: 10.15.0 + esquery: 1.7.0 + jsonc-eslint-parser: 3.3.0 dev: true - /eslint-plugin-antfu@0.41.0(eslint@8.48.0)(typescript@5.2.2): - resolution: {integrity: sha512-JeEeDZgz7oqYPYWYNQHdXrKaW2nhJz/70jeMZUkaNjVp72cpsJPH3idiEhIhGu3wjFdsOMCoEkboT/DQXlCaqA==} + /eslint-merge-processors@2.0.0(eslint@10.15.0): + resolution: {integrity: sha512-sUuhSf3IrJdGooquEUB5TNpGNpBoQccbnaLHsb1XkBLUPPqCNivCpY05ZcpCOiV9uHwO2yxXEWVczVclzMxYlA==} + peerDependencies: + eslint: '*' dependencies: - '@typescript-eslint/utils': 6.4.1(eslint@8.48.0)(typescript@5.2.2) - transitivePeerDependencies: - - eslint - - supports-color - - typescript + eslint: 10.15.0 dev: true - /eslint-plugin-es-x@7.2.0(eslint@8.48.0): - resolution: {integrity: sha512-9dvv5CcvNjSJPqnS5uZkqb3xmbeqRLnvXKK7iI5+oK/yTusyc46zbBZKENGsOfojm/mKfszyZb+wNqNPAPeGXA==} - engines: {node: ^14.18.0 || >=16.0.0} + /eslint-plugin-antfu@3.3.1(eslint@10.15.0): + resolution: {integrity: sha512-SP1Wmq8EPgXOMWE3SNGS6T7sCcKYOId5vLU8hUO0VFMJ7PwaMYEqFNdp0jlL6vnsT1h1LCKuRmoed1ktRjWHjA==} peerDependencies: - eslint: '>=8' + eslint: '*' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.48.0) - '@eslint-community/regexpp': 4.6.2 - eslint: 8.48.0 + eslint: 10.15.0 dev: true - /eslint-plugin-eslint-comments@3.2.0(eslint@8.48.0): - resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} - engines: {node: '>=6.5.0'} + /eslint-plugin-command@4.0.0(@typescript-eslint/typescript-estree@6.4.1)(@typescript-eslint/utils@6.4.1)(eslint@10.15.0): + resolution: {integrity: sha512-mM1UdKu39YF5nUBVbA+PaVvpB3R3Niwjes8CQ8rJTTbgIThgrfQILgDqmtpAAQL1xGaolCoES1SfiwzwPVGkXQ==} + engines: {node: ^22.22.2 || >=24.15.0} peerDependencies: - eslint: '>=4.19.1' + '@typescript-eslint/typescript-estree': '*' + '@typescript-eslint/utils': '*' + eslint: '*' dependencies: - escape-string-regexp: 1.0.5 - eslint: 8.48.0 - ignore: 5.2.4 + '@es-joy/jsdoccomment': 0.92.0 + '@typescript-eslint/typescript-estree': 6.4.1(typescript@5.2.2) + '@typescript-eslint/utils': 6.4.1(eslint@10.15.0)(typescript@5.2.2) + eslint: 10.15.0 dev: true - /eslint-plugin-html@7.1.0: - resolution: {integrity: sha512-fNLRraV/e6j8e3XYOC9xgND4j+U7b1Rq+OygMlLcMg+wI/IpVbF+ubQa3R78EjKB9njT6TQOlcK5rFKBVVtdfg==} + /eslint-plugin-es-x@7.8.0(eslint@10.15.0): + resolution: {integrity: sha512-7Ds8+wAAoV3T+LAKeu39Y5BzXCrGKrcISfgKEqTS4BDN8SFEDQd0S43jiQ8vIa3wUKD07qitZdfzlenSi8/0qQ==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + eslint: '>=8' dependencies: - htmlparser2: 8.0.1 + '@eslint-community/eslint-utils': 4.10.1(eslint@10.15.0) + '@eslint-community/regexpp': 4.12.3 + eslint: 10.15.0 + eslint-compat-utils: 0.5.1(eslint@10.15.0) dev: true - /eslint-plugin-i@2.28.0-2(@typescript-eslint/parser@6.4.1)(eslint@8.48.0): - resolution: {integrity: sha512-z48kG4qmE4TmiLcxbmvxMT5ycwvPkXaWW0XpU1L768uZaTbiDbxsHMEdV24JHlOR1xDsPpKW39BfP/pRdYIwFA==} - engines: {node: '>=12'} - deprecated: Please migrate to the brand new `eslint-plugin-import-x` instead + /eslint-plugin-import-lite@0.6.0(eslint@10.15.0): + resolution: {integrity: sha512-80vevx2A7i3H7n1/6pqDO8cc5wRz6OwLDvIyVl9UflBV1N1f46e9Ihzi65IOLYoSxM6YykK2fTw1xm0Ixx6aTQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^7.2.0 || ^8 + eslint: ^9.0.0 || ^10.0.0 dependencies: - debug: 3.2.7 - doctrine: 2.1.0 - eslint: 8.48.0 - eslint-import-resolver-node: 0.3.7 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.4.1)(eslint-import-resolver-node@0.3.7)(eslint@8.48.0) - get-tsconfig: 4.6.2 - is-glob: 4.0.3 - minimatch: 3.1.2 - resolve: 1.22.3 - semver: 7.8.5 - transitivePeerDependencies: - - '@typescript-eslint/parser' - - eslint-import-resolver-typescript - - eslint-import-resolver-webpack - - supports-color + eslint: 10.15.0 dev: true - /eslint-plugin-jest@27.2.3(@typescript-eslint/eslint-plugin@6.4.1)(eslint@8.48.0)(typescript@5.2.2): - resolution: {integrity: sha512-sRLlSCpICzWuje66Gl9zvdF6mwD5X86I4u55hJyFBsxYOsBCmT5+kSUjf+fkFWVMMgpzNEupjW8WzUqi83hJAQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + /eslint-plugin-jsdoc@65.5.3(eslint@10.15.0)(typescript@5.2.2): + resolution: {integrity: sha512-w1BF4iconGSedJPeRymmGc2dyG3nyAT004I+Vf1vPF/W2c/eJhbOdp0kTWoLCTdtIKq5xw6dezR8+jqSU9/Cvw==} + engines: {node: ^22.22.2 || >=24.15.0} peerDependencies: - '@typescript-eslint/eslint-plugin': ^5.0.0 || ^6.0.0 - eslint: ^7.0.0 || ^8.0.0 - jest: '*' + eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 + typescript: '*' peerDependenciesMeta: - '@typescript-eslint/eslint-plugin': - optional: true - jest: + typescript: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.4.1(@typescript-eslint/parser@6.4.1)(eslint@8.48.0)(typescript@5.2.2) - '@typescript-eslint/utils': 5.59.8(eslint@8.48.0)(typescript@5.2.2) - eslint: 8.48.0 + '@es-joy/escodegen': 5.0.1 + '@es-joy/jsdoccomment': 1.2.1 + '@es-joy/resolve.exports': 1.2.0 + '@typescript-eslint/utils': 8.74.0(eslint@10.15.0)(typescript@5.2.2) + are-docs-informative: 0.1.2 + comment-parser: 1.4.9 + debug: 4.4.3 + escape-string-regexp: 5.0.0 + eslint: 10.15.0 + espree: 11.2.0 + esquery: 1.7.0 + html-entities: 2.6.0 + object-deep-merge: 2.0.1 + parse-imports-exports: 0.2.4 + semver: 7.8.6 + spdx-expression-parse: 5.0.0 + to-valid-identifier: 1.0.0 + typescript: 5.2.2 transitivePeerDependencies: + - '@typescript/native' - supports-color - - typescript dev: true - /eslint-plugin-jsonc@2.9.0(eslint@8.48.0): - resolution: {integrity: sha512-RK+LeONVukbLwT2+t7/OY54NJRccTXh/QbnXzPuTLpFMVZhPuq1C9E07+qWenGx7rrQl0kAalAWl7EmB+RjpGA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /eslint-plugin-jsonc@3.4.2(eslint@10.15.0): + resolution: {integrity: sha512-q5xzjCYFQuhFomTbctXzd3STfDJ8XduvaigjQmMEbP2gzSKrc58y3Fv6D775/cIK1/sRUn+4kpljiU2iW8k0zw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} peerDependencies: - eslint: '>=6.0.0' - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.48.0) - eslint: 8.48.0 - jsonc-eslint-parser: 2.3.0 + eslint: '>=9.38.0' + dependencies: + '@eslint-community/eslint-utils': 4.10.1(eslint@10.15.0) + '@eslint/core': 1.2.1 + '@eslint/plugin-kit': 0.7.3 + '@ota-meshi/ast-token-store': 0.3.0 + diff-sequences: 29.6.3 + eslint: 10.15.0 + eslint-json-compat-utils: 0.2.3(eslint@10.15.0)(jsonc-eslint-parser@3.3.0) + jsonc-eslint-parser: 3.3.0 natural-compare: 1.4.0 - dev: true - - /eslint-plugin-markdown@3.0.1(eslint@8.48.0): - resolution: {integrity: sha512-8rqoc148DWdGdmYF6WSQFT3uQ6PO7zXYgeBpHAOAakX/zpq+NvFYbDA/H7PYzHajwtmaOzAwfxyl++x0g1/N9A==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - eslint: 8.48.0 - mdast-util-from-markdown: 0.8.5 + synckit: 0.11.13 transitivePeerDependencies: - - supports-color + - '@eslint/json' dev: true - /eslint-plugin-n@16.0.2(eslint@8.48.0): - resolution: {integrity: sha512-Y66uDfUNbBzypsr0kELWrIz+5skicECrLUqlWuXawNSLUq3ltGlCwu6phboYYOTSnoTdHgTLrc+5Ydo6KjzZog==} - engines: {node: '>=16.0.0'} + /eslint-plugin-n@18.5.0(eslint@10.15.0)(typescript@5.2.2): + resolution: {integrity: sha512-M7uF6MTN/An+AXqvyIbXq7npJIZOkd5eKo8iMMvWrcDVNyZVdA6TF2lw01aKQfCEidRfpnR78GhAjZorlXNHiw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} peerDependencies: - eslint: '>=7.0.0' + eslint: '>=8.57.1' + ts-declaration-location: ^1.0.6 + typescript: '>=5.0.0' + peerDependenciesMeta: + ts-declaration-location: + optional: true + typescript: + optional: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.48.0) - builtins: 5.0.1 - eslint: 8.48.0 - eslint-plugin-es-x: 7.2.0(eslint@8.48.0) - ignore: 5.2.4 - is-core-module: 2.12.1 - minimatch: 3.1.2 - resolve: 1.22.3 - semver: 7.5.4 + '@eslint-community/eslint-utils': 4.10.1(eslint@10.15.0) + enhanced-resolve: 5.27.0 + eslint: 10.15.0 + eslint-plugin-es-x: 7.8.0(eslint@10.15.0) + get-tsconfig: 4.14.3 + globals: 15.15.0 + globrex: 0.1.2 + ignore: 5.3.2 + js-yaml: 5.5.0 + semver: 7.8.5 + typescript: 5.2.2 dev: true - /eslint-plugin-no-only-tests@3.1.0: - resolution: {integrity: sha512-Lf4YW/bL6Un1R6A76pRZyE1dl1vr31G/ev8UzIc/geCgFWyrKil8hVjYqWVKGB/UIGmb6Slzs9T0wNezdSVegw==} + /eslint-plugin-no-only-tests@3.4.0: + resolution: {integrity: sha512-4S3/9Nb7A2tiMcpzEQE9bQSlpeOz6WJkgryBuou/SA8W2x2c8Zf4j0NvTKBjv6qNhF9T79tmkecm/0CHqV0UGg==} engines: {node: '>=5.0.0'} dev: true - /eslint-plugin-promise@6.1.1(eslint@8.48.0): - resolution: {integrity: sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /eslint-plugin-perfectionist@5.14.0(eslint@10.15.0)(typescript@5.2.2): + resolution: {integrity: sha512-z8mINHD3a4lMwtCuBJ5d5oZjfKwFjWF1gVKXxnUr04beCFwFYQP4TWd+182Mnk038n5Wc+LtSuvQMpbnPvdVSg==} + engines: {node: ^20.0.0 || >=22.0.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.45.0 || ^9.0.0 || ^10.0.0 + peerDependenciesMeta: + eslint: + optional: true dependencies: - eslint: 8.48.0 + '@typescript-eslint/types': 8.74.0 + '@typescript-eslint/utils': 8.74.0(eslint@10.15.0)(typescript@5.2.2) + eslint: 10.15.0 + natural-orderby: 5.0.0 + transitivePeerDependencies: + - '@typescript/native' + - supports-color + - typescript dev: true - /eslint-plugin-unicorn@48.0.1(eslint@8.48.0): - resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==} - engines: {node: '>=16'} + /eslint-plugin-pnpm@1.9.1(eslint@10.15.0): + resolution: {integrity: sha512-8++1Egww2cqc9Wylmt7P+xXNMQVCosAZ4m4W4Gc0V5lGea8HFByHTRvUI+ZvvpO8fLXGg2O4MQc90EhuI3mMdQ==} peerDependencies: - eslint: '>=8.44.0' + eslint: ^9.0.0 || ^10.0.0 dependencies: - '@babel/helper-validator-identifier': 7.22.5 - '@eslint-community/eslint-utils': 4.4.0(eslint@8.48.0) - ci-info: 3.8.0 - clean-regexp: 1.0.0 - eslint: 8.48.0 - esquery: 1.5.0 - indent-string: 4.0.0 - is-builtin-module: 3.2.1 - jsesc: 3.0.2 - lodash: 4.17.21 - pluralize: 8.0.0 - read-pkg-up: 7.0.1 - regexp-tree: 0.1.27 - regjsparser: 0.10.0 - semver: 7.5.4 - strip-indent: 3.0.0 + empathic: 2.1.0 + eslint: 10.15.0 + eslint-json-compat-utils: 0.2.3(eslint@10.15.0)(jsonc-eslint-parser@3.3.0) + jsonc-eslint-parser: 3.3.0 + pathe: 2.0.3 + pnpm-workspace-yaml: 1.9.1 + tinyglobby: 0.2.17 + yaml: 2.9.1 + yaml-eslint-parser: 2.1.0 + transitivePeerDependencies: + - '@eslint/json' dev: true - /eslint-plugin-unused-imports@3.0.0(@typescript-eslint/eslint-plugin@6.4.1)(eslint@8.48.0): - resolution: {integrity: sha512-sduiswLJfZHeeBJ+MQaG+xYzSWdRXoSw61DpU13mzWumCkR0ufD0HmO4kdNokjrkluMHpj/7PJeN35pgbhW3kw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /eslint-plugin-regexp@3.3.3(eslint@10.15.0): + resolution: {integrity: sha512-bIpFf1uL9AB6MY5cDUXL2lrfuBA+/WLc1AwC+56OsHWo93zoKQ4EcAQ+wsOxq5ozLC9xfTYAb4Si+0w0Ll1hYA==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} peerDependencies: - '@typescript-eslint/eslint-plugin': ^6.0.0 - eslint: ^8.0.0 - peerDependenciesMeta: - '@typescript-eslint/eslint-plugin': - optional: true + eslint: '>=9.38.0' dependencies: - '@typescript-eslint/eslint-plugin': 6.4.1(@typescript-eslint/parser@6.4.1)(eslint@8.48.0)(typescript@5.2.2) - eslint: 8.48.0 - eslint-rule-composer: 0.3.0 + '@eslint-community/eslint-utils': 4.4.0(eslint@10.15.0) + '@eslint-community/regexpp': 4.12.3 + comment-parser: 1.4.9 + eslint: 10.15.0 + jsdoc-type-pratt-parser: 9.5.0 + refa: 0.12.1 + regexp-ast-analysis: 0.7.1 + scslre: 0.3.0 dev: true - /eslint-plugin-vue@9.17.0(eslint@8.48.0): - resolution: {integrity: sha512-r7Bp79pxQk9I5XDP0k2dpUC7Ots3OSWgvGZNu3BxmKK6Zg7NgVtcOB6OCna5Kb9oQwJPl5hq183WD0SY5tZtIQ==} - engines: {node: ^14.17.0 || >=16.0.0} + /eslint-plugin-toml@1.5.0(eslint@10.15.0): + resolution: {integrity: sha512-qBjRywEkKxO2uYOjus//6GVF1r+Hg5QDkRO8RTY6XcaXgWfBU0DhwpFmJa2Ljf0Sz49r7DdZlpKwwHmJ4nmH1Q==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} peerDependencies: - eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 + eslint: '>=9.38.0' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.48.0) - eslint: 8.48.0 - natural-compare: 1.4.0 - nth-check: 2.1.1 - postcss-selector-parser: 6.0.13 - semver: 7.5.4 - vue-eslint-parser: 9.3.1(eslint@8.48.0) - xml-name-validator: 4.0.0 + '@eslint/core': 1.2.1 + '@eslint/plugin-kit': 0.7.3 + '@ota-meshi/ast-token-store': 0.3.0 + debug: 4.3.4 + eslint: 10.15.0 + toml-eslint-parser: 1.0.3 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-yml@1.8.0(eslint@8.48.0): - resolution: {integrity: sha512-fgBiJvXD0P2IN7SARDJ2J7mx8t0bLdG6Zcig4ufOqW5hOvSiFxeUyc2g5I1uIm8AExbo26NNYCcTGZT0MXTsyg==} - engines: {node: ^14.17.0 || >=16.0.0} + /eslint-plugin-unicorn@78.0.0(eslint@10.15.0)(typescript@5.2.2): + resolution: {integrity: sha512-XTDqxcJeAmh2lhgU75TpuMDdFtPDnAU+DCW56nR5UzXTG+uOyvOGjV80O11my7kNb2bYSCPlWa8c4K8/rwlYog==} + engines: {node: '>=22'} peerDependencies: - eslint: '>=6.0.0' + eslint: '>=10.4' + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true dependencies: - debug: 4.3.4 - eslint: 8.48.0 - lodash: 4.17.21 - natural-compare: 1.4.0 - yaml-eslint-parser: 1.2.2 + '@eslint-community/eslint-utils': 4.10.1(eslint@10.15.0) + '@eslint/css-tree': 4.1.3 + browserslist: 4.29.6 + change-case: 5.4.4 + ci-info: 4.5.0 + core-js-compat: 3.51.0 + detect-indent: 7.0.2 + entities: 8.1.0 + eslint: 10.15.0 + find-up-simple: 1.0.1 + globals: 17.14.0 + identifier-regex: 1.1.0 + indent-string: 5.0.0 + is-builtin-module: 5.0.0 + micromark: 4.0.3 + parse5: 8.1.1 + pluralize: 8.0.0 + quote-js-string: 0.1.0 + regjsparser: 0.13.4 + reserved-identifiers: 1.2.0 + semver: 7.8.5 + strip-indent: 4.1.1 + typescript: 5.2.2 + yaml: 2.9.1 transitivePeerDependencies: - supports-color dev: true - /eslint-rule-composer@0.3.0: - resolution: {integrity: sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==} - engines: {node: '>=4.0.0'} + /eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.74.0)(eslint@10.15.0): + resolution: {integrity: sha512-oZGYUz1X3sRMGUB+0cZyK2VcvRX5lm/vB56PgNNcU+7ficUCKm66oZWKUubXWnOuPjQ8PvmXtCViXBMONPe7tQ==} + peerDependencies: + '@typescript-eslint/eslint-plugin': ^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0 + eslint: ^10.0.0 || ^9.0.0 || ^8.0.0 + peerDependenciesMeta: + '@typescript-eslint/eslint-plugin': + optional: true + dependencies: + '@typescript-eslint/eslint-plugin': 8.74.0(@typescript-eslint/parser@8.74.0)(eslint@10.15.0)(typescript@5.2.2) + eslint: 10.15.0 dev: true - /eslint-scope@5.1.1: - resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} - engines: {node: '>=8.0.0'} + /eslint-plugin-vue@10.12.1(@stylistic/eslint-plugin@5.10.0)(@typescript-eslint/parser@8.74.0)(eslint@10.15.0)(vue-eslint-parser@10.4.2): + resolution: {integrity: sha512-Z5hmchVWq4EEOCn131J2p/uS4hjkrC+goPV5c/YApTY68xTqV3K5IYqD0mYGupDvZ6iYoTSuhSZUoWN+gZIqZQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + '@stylistic/eslint-plugin': ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 + '@typescript-eslint/parser': ^7.0.0 || ^8.0.0 + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + vue-eslint-parser: ^10.3.0 + peerDependenciesMeta: + '@stylistic/eslint-plugin': + optional: true + '@typescript-eslint/parser': + optional: true dependencies: - esrecurse: 4.3.0 - estraverse: 4.3.0 + '@eslint-community/eslint-utils': 4.10.1(eslint@10.15.0) + '@stylistic/eslint-plugin': 5.10.0(eslint@10.15.0) + '@typescript-eslint/parser': 8.74.0(eslint@10.15.0)(typescript@5.2.2) + eslint: 10.15.0 + natural-compare: 1.4.0 + nth-check: 2.1.1 + postcss-selector-parser: 7.2.1 + semver: 7.8.5 + vue-eslint-parser: 10.4.2(eslint@10.15.0) + xml-name-validator: 5.0.0 dev: true - /eslint-scope@7.2.2: - resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /eslint-plugin-yml@3.10.0(eslint@10.15.0): + resolution: {integrity: sha512-9Qfg0JMZ0YUPa/m6FwWhzKFDwXf/oGnM+EvTzRkM72UccHuzCFk/L77R6qtABZ/As/UJVvx1lYYcbwgO+gcioA==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24.0.0} + peerDependencies: + eslint: '>=9.38.0' + dependencies: + '@eslint/core': 1.2.1 + '@eslint/plugin-kit': 0.7.3 + '@ota-meshi/ast-token-store': 0.3.0 + diff-sequences: 29.4.3 + escape-string-regexp: 5.0.0 + eslint: 10.15.0 + natural-compare: 1.4.0 + yaml-eslint-parser: 2.1.0 + dev: true + + /eslint-processor-vue-blocks@2.0.0(@vue/compiler-sfc@3.3.4)(eslint@10.15.0): + resolution: {integrity: sha512-u4W0CJwGoWY3bjXAuFpc/b6eK3NQEI8MoeW7ritKj3G3z/WtHrKjkqf+wk8mPEy5rlMGS+k6AZYOw2XBoN/02Q==} + peerDependencies: + '@vue/compiler-sfc': ^3.3.0 + eslint: '>=9.0.0' + dependencies: + '@vue/compiler-sfc': 3.3.4 + eslint: 10.15.0 + dev: true + + /eslint-scope@9.1.2: + resolution: {integrity: sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} dependencies: + '@types/esrecurse': 4.3.1 + '@types/estree': 1.0.10 esrecurse: 4.3.0 estraverse: 5.3.0 dev: true @@ -4424,48 +4996,56 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint@8.48.0: - resolution: {integrity: sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==} - 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} + dev: true + + /eslint-visitor-keys@5.0.1: + resolution: {integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + dev: true + + /eslint@10.15.0: + resolution: {integrity: sha512-+5Wg4p+ze3sG1WErYgUO/3H1IQIfFBymVUA0Fo/XTeBOLS6UQIUekpSJ8sdRkn7O7wjh84b55w/roqavH2aScg==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} hasBin: true + peerDependencies: + jiti: '*' + peerDependenciesMeta: + jiti: + optional: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.48.0) - '@eslint-community/regexpp': 4.6.2 - '@eslint/eslintrc': 2.1.2 - '@eslint/js': 8.48.0 - '@humanwhocodes/config-array': 0.11.10 + '@eslint-community/eslint-utils': 4.10.1(eslint@10.15.0) + '@eslint-community/regexpp': 4.12.3 + '@eslint/config-array': 0.23.6 + '@eslint/config-helpers': 0.7.0 + '@eslint/core': 1.2.1 + '@eslint/plugin-kit': 0.7.3 + '@humanfs/node': 0.16.8 '@humanwhocodes/module-importer': 1.0.1 - '@nodelib/fs.walk': 1.2.8 - ajv: 6.12.6 - chalk: 4.1.2 - cross-spawn: 7.0.3 + '@humanwhocodes/retry': 0.4.3 + '@types/estree': 1.0.10 + ajv: 6.15.0 + cross-spawn: 7.0.6 debug: 4.3.4 - doctrine: 3.0.0 escape-string-regexp: 4.0.0 - eslint-scope: 7.2.2 - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 - esquery: 1.5.0 + eslint-scope: 9.1.2 + eslint-visitor-keys: 5.0.1 + espree: 11.2.0 + esquery: 1.7.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 + file-entry-cache: 11.1.5 find-up: 5.0.0 glob-parent: 6.0.2 - globals: 13.19.0 - graphemer: 1.4.0 ignore: 5.2.4 imurmurhash: 0.1.4 is-glob: 4.0.3 - is-path-inside: 3.0.3 - js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 - lodash.merge: 4.6.2 - minimatch: 3.1.2 + minimatch: 11.0.9 natural-compare: 1.4.0 optionator: 0.9.3 - strip-ansi: 6.0.1 - text-table: 0.2.0 transitivePeerDependencies: - supports-color dev: true @@ -4484,13 +5064,22 @@ packages: tsx: 3.12.7 dev: true - /espree@9.6.1: - resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /espree@10.4.0: + resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} dependencies: - acorn: 8.10.0 - acorn-jsx: 5.3.2(acorn@8.10.0) - eslint-visitor-keys: 3.4.3 + acorn: 8.18.0 + acorn-jsx: 5.3.2(acorn@8.18.0) + eslint-visitor-keys: 4.2.1 + dev: true + + /espree@11.2.0: + resolution: {integrity: sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + dependencies: + acorn: 8.18.0 + acorn-jsx: 5.3.2(acorn@8.18.0) + eslint-visitor-keys: 5.0.1 dev: true /esprima@4.0.1: @@ -4499,8 +5088,8 @@ packages: hasBin: true dev: true - /esquery@1.5.0: - resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} + /esquery@1.7.0: + resolution: {integrity: sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==} engines: {node: '>=0.10'} dependencies: estraverse: 5.3.0 @@ -4513,11 +5102,6 @@ packages: estraverse: 5.3.0 dev: true - /estraverse@4.3.0: - resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} - engines: {node: '>=4.0'} - dev: true - /estraverse@5.3.0: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} @@ -4647,12 +5231,34 @@ packages: resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} dev: true + /fast-string-truncated-width@3.0.3: + resolution: {integrity: sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g==} + dev: true + + /fast-string-width@3.0.2: + resolution: {integrity: sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==} + dependencies: + fast-string-truncated-width: 3.0.3 + dev: true + + /fast-wrap-ansi@0.2.2: + resolution: {integrity: sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==} + dependencies: + fast-string-width: 3.0.2 + dev: true + /fastq@1.13.0: resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==} dependencies: reusify: 1.0.4 dev: true + /fault@2.0.1: + resolution: {integrity: sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==} + dependencies: + format: 0.2.2 + dev: true + /fd-slicer@1.1.0: resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==} dependencies: @@ -4679,11 +5285,10 @@ packages: web-streams-polyfill: 3.2.1 dev: true - /file-entry-cache@6.0.1: - resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} - engines: {node: ^10.12.0 || >=12.0.0} + /file-entry-cache@11.1.5: + resolution: {integrity: sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==} dependencies: - flat-cache: 3.0.4 + flat-cache: 6.1.23 dev: true /file-type@3.9.0: @@ -4712,12 +5317,9 @@ packages: to-regex-range: 5.0.1 dev: true - /find-up@4.1.0: - resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} - engines: {node: '>=8'} - dependencies: - locate-path: 5.0.0 - path-exists: 4.0.0 + /find-up-simple@1.0.1: + resolution: {integrity: sha512-afd4O7zpqHeRyg4PfDQsXmlDe2PfdHtJt6Akt8jOWaApLOZk5JXs6VMR29lz03pRe9mpykrRCYIYxaJYcfpncQ==} + engines: {node: '>=18'} dev: true /find-up@5.0.0: @@ -4728,12 +5330,12 @@ packages: path-exists: 4.0.0 dev: true - /flat-cache@3.0.4: - resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} - engines: {node: ^10.12.0 || >=12.0.0} + /flat-cache@6.1.23: + resolution: {integrity: sha512-f++BY9pTk+983xK1FLzlLpmM0i0z+jHmx3QESGkURMXujQZz1k5wzwX6hjnQ8goaD0B+sYnDK1yZ6MTyZfUaqA==} dependencies: - flatted: 3.2.7 - rimraf: 3.0.2 + cacheable: 2.5.0 + flatted: 3.4.4 + hookified: 1.15.1 dev: true /flat@5.0.2: @@ -4745,6 +5347,10 @@ packages: resolution: {integrity: sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==} dev: true + /flatted@3.4.4: + resolution: {integrity: sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==} + dev: true + /follow-redirects@1.15.2: resolution: {integrity: sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==} engines: {node: '>=4.0'} @@ -4778,6 +5384,11 @@ packages: mime-types: 2.1.35 dev: true + /format@0.2.2: + resolution: {integrity: sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==} + engines: {node: '>=0.4.x'} + dev: true + /formdata-polyfill@4.0.10: resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==} engines: {node: '>=12.20.0'} @@ -4922,6 +5533,12 @@ packages: engines: {node: '>=16'} dev: true + /get-tsconfig@4.14.3: + resolution: {integrity: sha512-++QEw4DIY7WGoukz+/+A/8dGYPT9l9yIadnmSgZ8Rjr3YVSVDipQSO9CdnJo9ePqFqUUqh+wk9uIaoiAwsiPkA==} + dependencies: + resolve-pkg-maps: 1.0.0 + dev: true + /get-tsconfig@4.6.2: resolution: {integrity: sha512-E5XrT4CbbXcXWy+1jChlZmrmCwd5KGx502kDCXJJ7y898TtWW9FwoG5HfOLVRKmlmDGkWN2HM9Ho+/Y8F0sJDg==} dependencies: @@ -4966,6 +5583,10 @@ packages: git-up: 7.0.0 dev: true + /github-slugger@2.0.0: + resolution: {integrity: sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==} + dev: true + /glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} @@ -5026,11 +5647,14 @@ packages: engines: {node: '>=4'} dev: true - /globals@13.19.0: - resolution: {integrity: sha512-dkQ957uSRWHw7CFXLUtUHQI3g3aWApYhfNR2O6jn/907riyTYKVBmxYVROkBcY614FSSeSJh7Xm7SrUWCxvJMQ==} - engines: {node: '>=8'} - dependencies: - type-fest: 0.20.2 + /globals@15.15.0: + resolution: {integrity: sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==} + engines: {node: '>=18'} + dev: true + + /globals@17.14.0: + resolution: {integrity: sha512-UtdkTVyAJePQv0J2M9Xe4L0ruNSDV314XiIJsADI2Zf40bcdAonE/D/OhAU8AT99oij9mhLByb+NvA3QWZYgCg==} + engines: {node: '>=18'} dev: true /globby@11.1.0: @@ -5056,6 +5680,10 @@ packages: slash: 4.0.0 dev: true + /globrex@0.1.2: + resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} + dev: true + /gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} dependencies: @@ -5066,10 +5694,6 @@ packages: resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} dev: true - /graphemer@1.4.0: - resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} - dev: true - /gzip-size@7.0.0: resolution: {integrity: sha512-O1Ld7Dr+nqPnmGpdhzLmMTQ4vAsD+rHwMm1NLUmoUFFymBOMKxCCrtDxqdBRYXdeEPEi3SyoR4TizJLQrnKBNA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -5156,6 +5780,13 @@ packages: resolution: {integrity: sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==} dev: true + /hashery@1.5.1: + resolution: {integrity: sha512-iZyKG96/JwPz1N55vj2Ie2vXbhu440zfUfJvSwEqEbeLluk7NnapfGqa7LH0mOsnDxTF85Mx8/dyR6HfqcbmbQ==} + engines: {node: '>=20'} + dependencies: + hookified: 1.15.1 + dev: true + /hexoid@1.0.0: resolution: {integrity: sha512-QFLV0taWQOZtvIRIAdBChesmogZrtuXvVWsFHZTk2SU+anspqZ2vMnoLg7IE1+Uk16N19APic1BuF8bC8c2m5g==} engines: {node: '>=8'} @@ -5165,8 +5796,12 @@ packages: resolution: {integrity: sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==} dev: true - /hosted-git-info@2.8.9: - resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} + /hookified@1.15.1: + resolution: {integrity: sha512-MvG/clsADq1GPM2KGo2nyfaWVyn9naPiXrqIe4jYjXNZQt238kWyOGrsyc/DmRAQ+Re6yeo6yX/yoNCG5KAEVg==} + dev: true + + /hookified@2.2.0: + resolution: {integrity: sha512-p/LgFzRN5FeoD3DLS6bkUapeye6E4SI6yJs6KetENd18S+FBthqYq2amJUWpt5z0EQwwHemidjY5OqJGEKm5uA==} dev: true /hosted-git-info@7.0.0: @@ -5176,6 +5811,10 @@ packages: lru-cache: 10.0.1 dev: true + /html-entities@2.6.0: + resolution: {integrity: sha512-kig+rMn/QOVRvr7c86gQ8lWXq+Hkv6CbAH1hLu+RG338StTpE8Z0b44SDVaqVu7HGKf27frdmUYEs9hTUX/cLQ==} + dev: true + /html-escaper@2.0.2: resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} dev: true @@ -5185,15 +5824,6 @@ packages: engines: {node: '>=8'} dev: true - /htmlparser2@8.0.1: - resolution: {integrity: sha512-4lVbmc1diZC7GUJQtRQ5yBAeUCL1exyMwmForWkRLnwyzWBFxN633SALPMGYaWZvKe9j1pRZJpauvmxENSp/EA==} - dependencies: - domelementtype: 2.3.0 - domhandler: 5.0.3 - domutils: 3.0.1 - entities: 4.3.1 - dev: true - /http-cache-semantics@4.1.1: resolution: {integrity: sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==} dev: true @@ -5279,6 +5909,13 @@ packages: dev: true optional: true + /identifier-regex@1.1.0: + resolution: {integrity: sha512-SLX4H/vtcYlYnL7XqnuJKHU7Z8517TgsW9nmQiGOgMCjQ8V/deLYu6bEmbGoXe7WMMhc9+EUGyFFneHja8KabA==} + engines: {node: '>=18'} + dependencies: + reserved-identifiers: 1.2.0 + dev: true + /ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} dev: true @@ -5295,6 +5932,11 @@ packages: engines: {node: '>= 4'} dev: true + /ignore@5.3.2: + resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} + engines: {node: '>= 4'} + dev: true + /ignore@7.0.6: resolution: {integrity: sha512-BAg6QkE8W+TuQLrrw0Ugr7HegXduRuuj8/ti2kSOc+jz1dmx8/WNcjr6XGnq5YpDWxFwwaavqD0+jIUOKelTsw==} engines: {node: '>= 4'} @@ -5305,14 +5947,6 @@ packages: engines: {node: '>=10.18.0'} dev: true - /import-fresh@3.3.0: - resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} - engines: {node: '>=6'} - dependencies: - parent-module: 1.0.1 - resolve-from: 4.0.0 - dev: true - /imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} @@ -5323,6 +5957,11 @@ packages: engines: {node: '>=8'} dev: true + /indent-string@5.0.0: + resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==} + engines: {node: '>=12'} + dev: true + /inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} dependencies: @@ -5368,17 +6007,6 @@ packages: resolution: {integrity: sha512-gScdcWHjTGclCU15CIv2r069NoQrys1UeUFFfaO1hL++ytLHkVw7N5nXJmFf3J2LEDMz1PkrvC0m62JEeu1axQ==} dev: true - /is-alphabetical@1.0.4: - resolution: {integrity: sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==} - dev: true - - /is-alphanumerical@1.0.4: - resolution: {integrity: sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==} - dependencies: - is-alphabetical: 1.0.4 - is-decimal: 1.0.4 - dev: true - /is-arguments@1.1.1: resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} engines: {node: '>= 0.4'} @@ -5387,10 +6015,6 @@ packages: has-tostringtag: 1.0.0 dev: true - /is-arrayish@0.2.1: - resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} - dev: true - /is-binary-path@2.1.0: resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} engines: {node: '>=8'} @@ -5405,6 +6029,13 @@ packages: builtin-modules: 3.3.0 dev: true + /is-builtin-module@5.0.0: + resolution: {integrity: sha512-f4RqJKBUe5rQkJ2eJEJBXSticB3hGbN9j0yxxMQFqIW89Jp9WYFtzfTcRlstDKVUTRzSOTLKRfO9vIztenwtxA==} + engines: {node: '>=18.20'} + dependencies: + builtin-modules: 5.5.0 + dev: true + /is-callable@1.2.7: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} @@ -5416,10 +6047,6 @@ packages: has: 1.0.3 dev: true - /is-decimal@1.0.4: - resolution: {integrity: sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==} - dev: true - /is-docker@2.2.1: resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} engines: {node: '>=8'} @@ -5461,10 +6088,6 @@ packages: is-extglob: 2.1.1 dev: true - /is-hexadecimal@1.0.4: - resolution: {integrity: sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==} - dev: true - /is-inside-container@1.0.0: resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==} engines: {node: '>=14.16'} @@ -5643,9 +6266,25 @@ packages: argparse: 2.0.1 dev: true - /jsesc@0.5.0: - resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} + /js-yaml@5.5.0: + resolution: {integrity: sha512-paNr4LFIFPjeeSmwNYdrb8FafLLG/Cr2Af3GjbsHJ5CxIjH4r0c2emlmRdAtpPAieP1gRVzk6buBbVP5gBMGAg==} hasBin: true + dependencies: + argparse: 3.0.4 + dev: true + + /jsdoc-type-pratt-parser@9.0.1: + resolution: {integrity: sha512-1LJ/negRKJxH0+ulOsJYEpUgzIs1DAOz9QctuS4In2LW/Ro3l8C4ej5al+5FU2hBGEOAY3R3SCnP6x8226JMIw==} + engines: {node: ^22.22.2 || >=24.15.0} + dependencies: + '@types/estree': 1.0.10 + dev: true + + /jsdoc-type-pratt-parser@9.5.0: + resolution: {integrity: sha512-Qu/AuBJocEUhxq187P4Ud7xGBHB+NhtrclSrS7Utkr6uNeeh8BrZ5+Ax/AGe8VXQLGY+4oYgbUp04hY8iGsIWA==} + engines: {node: ^22.22.2 || >=24.15.0} + dependencies: + '@types/estree': 1.0.10 dev: true /jsesc@2.5.2: @@ -5654,16 +6293,12 @@ packages: hasBin: true dev: true - /jsesc@3.0.2: - resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} + /jsesc@3.1.0: + resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} engines: {node: '>=6'} hasBin: true dev: true - /json-parse-even-better-errors@2.3.1: - resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} - dev: true - /json-parse-even-better-errors@3.0.0: resolution: {integrity: sha512-iZbGHafX/59r39gPwVPRBGw0QQKnA7tte5pSMrhWOW7swGsVvVTjmfyAV9pNqk8YGT7tRCdxRu8uzcgZwoDooA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -5683,14 +6318,13 @@ packages: hasBin: true dev: true - /jsonc-eslint-parser@2.3.0: - resolution: {integrity: sha512-9xZPKVYp9DxnM3sd1yAsh/d59iIaswDkai8oTxbursfKYbg/ibjX0IzFt35+VZ8iEW453TVTXztnRvYUQlAfUQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /jsonc-eslint-parser@3.3.0: + resolution: {integrity: sha512-hYTGkHGNRZnXOFZ1urhINADoqDrGfpy53cjw+dxk84QE0pUDujQzeUeamNs6Mz44/TKD49z2x6/GVSu4ZrtA+Q==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} dependencies: - acorn: 8.10.0 - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 - semver: 7.5.4 + acorn: 8.18.0 + eslint-visitor-keys: 5.0.1 + verkit: 0.3.2 dev: true /jsonc-parser@3.2.0: @@ -5710,6 +6344,19 @@ packages: engines: {'0': node >= 0.2.0} dev: true + /katex@0.16.47: + resolution: {integrity: sha512-Eeo8Ys1doU1z+x8AZsPpQu+p/QcZBI5PeOo7QGQdy2x2m0MU/hYagBbGOmXwr5KVbEfVuWv9LpnQWeehogurjg==} + hasBin: true + dependencies: + commander: 8.3.0 + dev: true + + /keyv@5.6.0: + resolution: {integrity: sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==} + dependencies: + '@keyv/serialize': 1.1.1 + dev: true + /kleur@3.0.3: resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} engines: {node: '>=6'} @@ -5759,10 +6406,6 @@ packages: engines: {node: '>=10'} dev: true - /lines-and-columns@1.2.4: - resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - dev: true - /lint-staged@14.0.1: resolution: {integrity: sha512-Mw0cL6HXnHN1ag0mN/Dg4g6sr8uf8sn98w2Oc1ECtFto9tvRF7nkXGJRbx8gPlHyoR0pLyBr2lQHbWwmUHe1Sw==} engines: {node: ^16.14.0 || >=18.0.0} @@ -5827,11 +6470,13 @@ packages: engines: {node: '>=14'} dev: true - /locate-path@5.0.0: - resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} - engines: {node: '>=8'} + /local-pkg@1.2.1: + resolution: {integrity: sha512-++gUqRDEvcnN6Zhqrr+y/CkVEHhlrR96vZn3nZZPYzMcBUyBtTKzB9NadClFIsIVSsu+3i9tfk/erqy9kAmt7Q==} + engines: {node: '>=14'} dependencies: - p-locate: 4.1.0 + mlly: 1.8.2 + pkg-types: 2.3.1 + quansync: 0.2.11 dev: true /locate-path@6.0.0: @@ -5869,10 +6514,6 @@ packages: resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} dev: true - /lodash.merge@4.6.2: - resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} - dev: true - /lodash.pick@4.4.0: resolution: {integrity: sha512-hXt6Ul/5yWjfklSGvLQl8vM//l3FtyHZeuelpzK6mm99pNvN9yTDruNZPEJZD1oWrqo+izBmB7oUfWgcCX7s4Q==} dev: true @@ -5900,6 +6541,10 @@ packages: wrap-ansi: 8.1.0 dev: true + /longest-streak@3.1.0: + resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==} + dev: true + /loupe@2.3.6: resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==} dependencies: @@ -5987,100 +6632,514 @@ packages: resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} engines: {node: '>=10'} dependencies: - semver: 7.8.5 + semver: 7.8.5 + dev: true + + /make-fetch-happen@11.1.1: + resolution: {integrity: sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + dependencies: + agentkeepalive: 4.5.0 + cacache: 17.1.4 + http-cache-semantics: 4.1.1 + http-proxy-agent: 5.0.0 + https-proxy-agent: 5.0.1 + is-lambda: 1.0.1 + lru-cache: 7.18.3 + minipass: 5.0.0 + minipass-fetch: 3.0.4 + minipass-flush: 1.0.5 + minipass-pipeline: 1.2.4 + negotiator: 0.6.3 + promise-retry: 2.0.1 + socks-proxy-agent: 7.0.0 + ssri: 10.0.5 + transitivePeerDependencies: + - supports-color + dev: true + + /make-fetch-happen@13.0.0: + resolution: {integrity: sha512-7ThobcL8brtGo9CavByQrQi+23aIfgYU++wg4B87AIS8Rb2ZBt/MEaDqzA00Xwv/jUjAjYkLHjVolYuTLKda2A==} + engines: {node: ^16.14.0 || >=18.0.0} + dependencies: + '@npmcli/agent': 2.0.0 + cacache: 18.0.0 + http-cache-semantics: 4.1.1 + is-lambda: 1.0.1 + minipass: 7.0.3 + minipass-fetch: 3.0.4 + minipass-flush: 1.0.5 + minipass-pipeline: 1.2.4 + negotiator: 0.6.3 + promise-retry: 2.0.1 + ssri: 10.0.5 + dev: true + + /markdown-table@3.1.0: + resolution: {integrity: sha512-xpeSCdM+B+6P3ncfgaB7FoDbtJ30xAe6Z18TGT7AgXJsHqCElCICZovQqdRMm7kHgpTyYv36EupqewoFFSB8vw==} + dev: true + + /mdast-util-find-and-replace@3.0.5: + resolution: {integrity: sha512-of3wZLEBWpK8mSYy8wmKnwyxfUKjhCkXxGLz45DVBqfcahTP37LscCK+0oAZh+ReZ5OunPDkB2zdGMIxrojLhw==} + dependencies: + '@types/mdast': 4.0.4 + escape-string-regexp: 5.0.0 + unist-util-is: 6.0.1 + unist-util-visit-parents: 6.1.0 + dev: true + + /mdast-util-from-markdown@2.1.0: + resolution: {integrity: sha512-KRLgmPaP2H1ul2bpoJkOS+9pAcDAAj9Nu1mqLnh8NLeJG5tlvj42TH80PIGBpROWlRXLk0lDrWNuZCFy/tsB4A==} + dependencies: + '@types/mdast': 4.0.4 + '@types/unist': 3.0.3 + decode-named-character-reference: 1.3.0 + devlop: 1.1.0 + mdast-util-to-string: 4.0.0 + micromark: 4.0.3 + micromark-util-decode-numeric-character-reference: 2.0.2 + micromark-util-decode-string: 2.0.1 + micromark-util-normalize-identifier: 2.0.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + unist-util-stringify-position: 4.0.0 + transitivePeerDependencies: + - supports-color + dev: true + + /mdast-util-frontmatter@2.0.1: + resolution: {integrity: sha512-LRqI9+wdgC25P0URIJY9vwocIzCcksduHQ9OF2joxQoyTNVduwLAFUzjoopuRJbJAReaKrNQKAZKL3uCMugWJA==} + dependencies: + '@types/mdast': 4.0.4 + devlop: 1.1.0 + escape-string-regexp: 5.0.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-to-markdown: 2.2.4 + micromark-extension-frontmatter: 2.0.0 + transitivePeerDependencies: + - supports-color + dev: true + + /mdast-util-gfm-autolink-literal@2.1.2: + resolution: {integrity: sha512-rAlbZBGZfv2YRr6lSFGHTN305KkNawOYRRlbldFyPHnTlHJZwlGdzVwyIDvr3fxbhRbmJOSZc06c8H5Fgfu8Ng==} + dependencies: + '@types/mdast': 4.0.4 + ccount: 2.0.1 + devlop: 1.1.0 + mdast-util-find-and-replace: 3.0.5 + micromark-util-character: 2.1.1 + dev: true + + /mdast-util-gfm-footnote@2.1.0: + resolution: {integrity: sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==} + dependencies: + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-to-markdown: 2.2.4 + micromark-util-normalize-identifier: 2.0.1 + transitivePeerDependencies: + - supports-color + dev: true + + /mdast-util-gfm-strikethrough@2.0.1: + resolution: {integrity: sha512-OuJHqvr455pwu2OaOrir7dbzqs4jlWKOtlu9L6GjcIjjQwNyw02VntQsr/Ek6/A13vgnXfUhBekWRUP1OkNivw==} + dependencies: + '@types/mdast': 4.0.4 + mdast-util-from-markdown: 2.1.0 + mdast-util-to-markdown: 2.2.4 + transitivePeerDependencies: + - supports-color + dev: true + + /mdast-util-gfm-table@2.0.1: + resolution: {integrity: sha512-fiIjPrAy4kz68/eFbPHhsiWDGHhqUSVoU1XsfLM5DsEPXw7MxgiVVyulUggFRckVWeT1KXQXkg5vm3kv4oMSOA==} + dependencies: + '@types/mdast': 4.0.4 + devlop: 1.1.0 + markdown-table: 3.1.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-to-markdown: 2.2.4 + mdast-util-to-string: 4.0.0 + unist-util-visit: 5.2.0 + transitivePeerDependencies: + - supports-color + dev: true + + /mdast-util-gfm-task-list-item@2.0.1: + resolution: {integrity: sha512-jXVO1hvB2hs82g1esi7I9nIJDqiijbQLIyH2jDUb5s7jIAZMr/79h0VHSq7XHKTqpLARRm+DDNjduB7S9+6XZA==} + dependencies: + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-to-markdown: 2.2.4 + transitivePeerDependencies: + - supports-color + dev: true + + /mdast-util-gfm@3.1.0: + resolution: {integrity: sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==} + dependencies: + mdast-util-from-markdown: 2.1.0 + mdast-util-gfm-autolink-literal: 2.1.2 + mdast-util-gfm-footnote: 2.1.0 + mdast-util-gfm-strikethrough: 2.0.1 + mdast-util-gfm-table: 2.0.1 + mdast-util-gfm-task-list-item: 2.0.1 + mdast-util-to-markdown: 2.2.4 + transitivePeerDependencies: + - supports-color + dev: true + + /mdast-util-math@3.0.0: + resolution: {integrity: sha512-Tl9GBNeG/AhJnQM221bJR2HPvLOSnLE/T9cJI9tlc6zwQk2nPk/4f0cHkOdEixQPC/j8UtKDdITswvLAy1OZ1w==} + dependencies: + '@types/hast': 3.0.5 + '@types/mdast': 4.0.4 + devlop: 1.1.0 + longest-streak: 3.1.0 + mdast-util-from-markdown: 2.1.0 + mdast-util-to-markdown: 2.2.4 + unist-util-remove-position: 5.0.0 + transitivePeerDependencies: + - supports-color + dev: true + + /mdast-util-phrasing@4.1.0: + resolution: {integrity: sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==} + dependencies: + '@types/mdast': 4.0.4 + unist-util-is: 6.0.1 + dev: true + + /mdast-util-to-markdown@2.2.4: + resolution: {integrity: sha512-aCsogoZ2Oz1EItAlC12A+/uGuzp+CWlDU0xZ3o5jbJaepLsOu2tlxpvHslnX5dRhspD1gxNVkBtYG0yMiIpXoQ==} + dependencies: + '@types/mdast': 4.0.4 + '@types/unist': 3.0.3 + longest-streak: 3.1.0 + mdast-util-phrasing: 4.1.0 + mdast-util-to-string: 4.0.0 + micromark-util-character: 2.1.1 + micromark-util-classify-character: 2.0.1 + micromark-util-decode-string: 2.0.1 + micromark-util-html-tag-name: 2.0.1 + unist-util-visit: 5.2.0 + zwitch: 2.0.4 + dev: true + + /mdast-util-to-string@4.0.0: + resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} + dependencies: + '@types/mdast': 4.0.4 + dev: true + + /mdn-data@2.0.28: + resolution: {integrity: sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==} + dev: true + + /mdn-data@2.0.30: + resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} + dev: true + + /mdn-data@2.37.2: + resolution: {integrity: sha512-rz9YOBGItdSbe7HcSArUbhiAv4SB/4DKRYg96CSFS2CcIYMbUvBtZlzA1NCbk2AdgbmYwMqwNblLpR441lLeiQ==} + dev: true + + /memory-fs@0.5.0: + resolution: {integrity: sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==} + engines: {node: '>=4.3.0 <5.0.0 || >=5.10'} + dependencies: + errno: 0.1.8 + readable-stream: 2.3.8 + dev: true + + /merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + dev: true + + /merge2@1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} + dev: true + + /methods@1.1.2: + resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} + engines: {node: '>= 0.6'} + dev: true + + /micromark-core-commonmark@2.0.4: + resolution: {integrity: sha512-wxEeE8v8XVvOrxn1TZj74qYhAtTQsSqufHVS3uNVyT1MupXxhyaHk8/9xDNPh9BmL77QNDgWTkZ3RsYHB2ry7w==} + dependencies: + decode-named-character-reference: 1.3.0 + devlop: 1.1.0 + micromark-factory-destination: 2.0.1 + micromark-factory-label: 2.0.1 + micromark-factory-space: 2.1.0 + micromark-factory-title: 2.0.1 + micromark-factory-whitespace: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-chunked: 2.0.1 + micromark-util-classify-character: 2.0.1 + micromark-util-edit-map: 1.0.0 + micromark-util-html-tag-name: 2.0.1 + micromark-util-normalize-identifier: 2.0.1 + micromark-util-resolve-all: 2.0.1 + micromark-util-subtokenize: 2.1.0 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-extension-frontmatter@2.0.0: + resolution: {integrity: sha512-C4AkuM3dA58cgZha7zVnuVxBhDsbttIMiytjgsM2XbHAB2faRVaHRle40558FBN+DJcrLNCoqG5mlrpdU4cRtg==} + dependencies: + fault: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-extension-gfm-autolink-literal@2.1.0: + resolution: {integrity: sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==} + dependencies: + micromark-util-character: 2.1.1 + micromark-util-sanitize-uri: 2.0.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-extension-gfm-footnote@2.1.0: + resolution: {integrity: sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==} + dependencies: + devlop: 1.1.0 + micromark-core-commonmark: 2.0.4 + micromark-factory-space: 2.1.0 + micromark-util-character: 2.1.1 + micromark-util-normalize-identifier: 2.0.1 + micromark-util-sanitize-uri: 2.0.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-extension-gfm-strikethrough@2.1.0: + resolution: {integrity: sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==} + dependencies: + devlop: 1.1.0 + micromark-util-chunked: 2.0.1 + micromark-util-classify-character: 2.0.1 + micromark-util-resolve-all: 2.0.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-extension-gfm-table@2.1.2: + resolution: {integrity: sha512-pRzm4kDTu0MjlmBkxmS9yYhw60nncfcEwu9NNdPFSQEFXS95ZKyIIyTSHu/o3ReBUrLKYEq+7YaXCRn/bPB4MA==} + dependencies: + devlop: 1.1.0 + micromark-factory-space: 2.1.0 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-extension-gfm-tagfilter@2.0.0: + resolution: {integrity: sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==} + dependencies: + micromark-util-types: 2.0.3 + dev: true + + /micromark-extension-gfm-task-list-item@2.1.0: + resolution: {integrity: sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==} + dependencies: + devlop: 1.1.0 + micromark-factory-space: 2.1.0 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-extension-gfm@3.0.0: + resolution: {integrity: sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==} + dependencies: + micromark-extension-gfm-autolink-literal: 2.1.0 + micromark-extension-gfm-footnote: 2.1.0 + micromark-extension-gfm-strikethrough: 2.1.0 + micromark-extension-gfm-table: 2.1.2 + micromark-extension-gfm-tagfilter: 2.0.0 + micromark-extension-gfm-task-list-item: 2.1.0 + micromark-util-combine-extensions: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-extension-math@3.1.0: + resolution: {integrity: sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg==} + dependencies: + '@types/katex': 0.16.8 + devlop: 1.1.0 + katex: 0.16.47 + micromark-factory-space: 2.1.0 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-factory-destination@2.0.1: + resolution: {integrity: sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==} + dependencies: + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-factory-label@2.0.1: + resolution: {integrity: sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==} + dependencies: + devlop: 1.1.0 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-factory-space@2.1.0: + resolution: {integrity: sha512-fS8hnLIjnjvdQIj39Geug8wWsR0HrYZ43KShKxNfwT7t2LOHo/LbWZEzEaSOjwtjdCsjoE6syHhonEzW0zv0+Q==} + dependencies: + micromark-util-character: 2.1.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-factory-title@2.0.1: + resolution: {integrity: sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==} + dependencies: + micromark-factory-space: 2.1.0 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-factory-whitespace@2.0.1: + resolution: {integrity: sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==} + dependencies: + micromark-factory-space: 2.1.0 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-util-character@2.1.1: + resolution: {integrity: sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==} + dependencies: + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-util-chunked@2.0.1: + resolution: {integrity: sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==} + dependencies: + micromark-util-symbol: 2.0.1 + dev: true + + /micromark-util-classify-character@2.0.1: + resolution: {integrity: sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==} + dependencies: + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 + dev: true + + /micromark-util-combine-extensions@2.0.1: + resolution: {integrity: sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==} + dependencies: + micromark-util-chunked: 2.0.1 + micromark-util-types: 2.0.3 dev: true - /make-fetch-happen@11.1.1: - resolution: {integrity: sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + /micromark-util-decode-numeric-character-reference@2.0.2: + resolution: {integrity: sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==} dependencies: - agentkeepalive: 4.5.0 - cacache: 17.1.4 - http-cache-semantics: 4.1.1 - http-proxy-agent: 5.0.0 - https-proxy-agent: 5.0.1 - is-lambda: 1.0.1 - lru-cache: 7.18.3 - minipass: 5.0.0 - minipass-fetch: 3.0.4 - minipass-flush: 1.0.5 - minipass-pipeline: 1.2.4 - negotiator: 0.6.3 - promise-retry: 2.0.1 - socks-proxy-agent: 7.0.0 - ssri: 10.0.5 - transitivePeerDependencies: - - supports-color + micromark-util-symbol: 2.0.1 dev: true - /make-fetch-happen@13.0.0: - resolution: {integrity: sha512-7ThobcL8brtGo9CavByQrQi+23aIfgYU++wg4B87AIS8Rb2ZBt/MEaDqzA00Xwv/jUjAjYkLHjVolYuTLKda2A==} - engines: {node: ^16.14.0 || >=18.0.0} + /micromark-util-decode-string@2.0.1: + resolution: {integrity: sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==} dependencies: - '@npmcli/agent': 2.0.0 - cacache: 18.0.0 - http-cache-semantics: 4.1.1 - is-lambda: 1.0.1 - minipass: 7.0.3 - minipass-fetch: 3.0.4 - minipass-flush: 1.0.5 - minipass-pipeline: 1.2.4 - negotiator: 0.6.3 - promise-retry: 2.0.1 - ssri: 10.0.5 + decode-named-character-reference: 1.3.0 + micromark-util-character: 2.1.1 + micromark-util-decode-numeric-character-reference: 2.0.2 + micromark-util-symbol: 2.0.1 dev: true - /mdast-util-from-markdown@0.8.5: - resolution: {integrity: sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==} + /micromark-util-edit-map@1.0.0: + resolution: {integrity: sha512-Pa2ljlsEL6sVwFaYeyrOLSYbQt73JvGbPOYFq+9AElXiSnfI5Q4465RRZ1sHv7lDjDOnGRDDaqPXqClqWK/q1Q==} dependencies: - '@types/mdast': 3.0.10 - mdast-util-to-string: 2.0.0 - micromark: 2.11.4 - parse-entities: 2.0.0 - unist-util-stringify-position: 2.0.3 - transitivePeerDependencies: - - supports-color + micromark-util-types: 2.0.3 dev: true - /mdast-util-to-string@2.0.0: - resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==} + /micromark-util-encode@2.0.1: + resolution: {integrity: sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==} dev: true - /mdn-data@2.0.28: - resolution: {integrity: sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==} + /micromark-util-html-tag-name@2.0.1: + resolution: {integrity: sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==} dev: true - /mdn-data@2.0.30: - resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} + /micromark-util-normalize-identifier@2.0.1: + resolution: {integrity: sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==} + dependencies: + micromark-util-symbol: 2.0.1 dev: true - /memory-fs@0.5.0: - resolution: {integrity: sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==} - engines: {node: '>=4.3.0 <5.0.0 || >=5.10'} + /micromark-util-resolve-all@2.0.1: + resolution: {integrity: sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==} dependencies: - errno: 0.1.8 - readable-stream: 2.3.8 + micromark-util-types: 2.0.3 dev: true - /merge-stream@2.0.0: - resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + /micromark-util-sanitize-uri@2.0.1: + resolution: {integrity: sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==} + dependencies: + micromark-util-character: 2.1.1 + micromark-util-encode: 2.0.1 + micromark-util-symbol: 2.0.1 dev: true - /merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} + /micromark-util-subtokenize@2.1.0: + resolution: {integrity: sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==} + dependencies: + devlop: 1.1.0 + micromark-util-chunked: 2.0.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 dev: true - /methods@1.1.2: - resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} - engines: {node: '>= 0.6'} + /micromark-util-symbol@2.0.1: + resolution: {integrity: sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==} + dev: true + + /micromark-util-types@2.0.3: + resolution: {integrity: sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg==} dev: true - /micromark@2.11.4: - resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} + /micromark@4.0.3: + resolution: {integrity: sha512-oGYfQzHSG5dOMovQcJ3fyTmZlWAWpi0XA0sJwJs+i6OT88o1+Jtw/8z0CmdowSLxGhhFK89rQ/oXph/wN02PNw==} dependencies: + '@types/debug': 4.1.13 debug: 4.3.4 - parse-entities: 2.0.0 + decode-named-character-reference: 1.3.0 + devlop: 1.1.0 + micromark-core-commonmark: 2.0.4 + micromark-factory-space: 2.1.0 + micromark-util-character: 2.1.1 + micromark-util-chunked: 2.0.1 + micromark-util-combine-extensions: 2.0.1 + micromark-util-decode-numeric-character-reference: 2.0.2 + micromark-util-edit-map: 1.0.0 + micromark-util-encode: 2.0.1 + micromark-util-normalize-identifier: 2.0.1 + micromark-util-resolve-all: 2.0.1 + micromark-util-sanitize-uri: 2.0.1 + micromark-util-subtokenize: 2.1.0 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.3 transitivePeerDependencies: - supports-color dev: true @@ -6139,9 +7198,12 @@ packages: engines: {node: '>=12'} dev: true - /min-indent@1.0.1: - resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} - engines: {node: '>=4'} + /minimatch@11.0.9: + resolution: {integrity: sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==} + engines: {node: 20 || >=22} + dependencies: + '@isaacs/nonrecursive-glob-match': 1.1.0 + brace-expansion: 5.1.0 dev: true /minimatch@3.0.8: @@ -6288,7 +7350,7 @@ packages: /mlly@1.4.0: resolution: {integrity: sha512-ua8PAThnTwpprIaU47EPeZ/bPUVp2QYBbWMphUQpVdBI3Lgqzm5KZQ45Agm3YJedHXaIHl6pBGabaLSUPPSptg==} dependencies: - acorn: 8.10.0 + acorn: 8.18.0 pathe: 1.1.1 pkg-types: 1.3.1 ufo: 1.3.0 @@ -6297,7 +7359,7 @@ packages: /mlly@1.4.1: resolution: {integrity: sha512-SCDs78Q2o09jiZiE2WziwVBEqXQ02XkGdUy45cbJf+BpYRIjArXRJ1Wbowxkb+NaM9DWvS3UC9GiO/6eqvQ/pg==} dependencies: - acorn: 8.10.0 + acorn: 8.18.0 pathe: 1.1.1 pkg-types: 1.3.1 ufo: 1.3.0 @@ -6312,6 +7374,10 @@ packages: ufo: 1.6.4 dev: true + /module-replacements@3.4.0: + resolution: {integrity: sha512-NKBNFM/uAUvSs+LOYfSly4EwrC9bgMoFuEnqNNjcDb910W+5IgS2KMB2ERLm5YZZm7R187jx1dMA9pOPvqbSbw==} + dev: true + /mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -6354,6 +7420,11 @@ packages: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} dev: true + /natural-orderby@5.0.0: + resolution: {integrity: sha512-kKHJhxwpR/Okycz4HhQKKlhWe4ASEfPgkSWNmKFHd7+ezuQlxkA5cM3+XkBPvm1gmHen3w53qsYAv+8GwRrBlg==} + engines: {node: '>=18'} + dev: true + /negotiator@0.6.3: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} @@ -6511,6 +7582,11 @@ packages: resolution: {integrity: sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==} dev: true + /node-releases@2.0.65: + resolution: {integrity: sha512-PfvofsGQ+MiOQIPkX9fU8ELUWmy5zL74CdQaph/ismKszfFkfwXaw0cGiwbwym2hT9k5+mdyl8O5WQ1MD8EHmA==} + engines: {node: '>=18'} + dev: true + /nopt@5.0.0: resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==} engines: {node: '>=6'} @@ -6527,15 +7603,6 @@ packages: abbrev: 1.1.1 dev: true - /normalize-package-data@2.5.0: - resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} - dependencies: - hosted-git-info: 2.8.9 - resolve: 1.22.3 - semver: 5.7.1 - validate-npm-package-license: 3.0.4 - dev: true - /normalize-package-data@6.0.0: resolution: {integrity: sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==} engines: {node: ^16.14.0 || >=18.0.0} @@ -6664,7 +7731,7 @@ packages: fsevents: 2.3.3 dev: true - /nuxt@3.7.0(@types/node@22.20.1)(eslint@8.48.0)(rollup@3.28.1)(typescript@5.2.2): + /nuxt@3.7.0(@types/node@22.20.1)(eslint@10.15.0)(rollup@3.28.1)(typescript@5.2.2): resolution: {integrity: sha512-y0/xHYqwuJt20r26xezjpr74FLWR144dMpwSxZ/O2XXUrQUnyO7vHm3fEY4vi+miKbf343YMH5B78GXAELO/Vw==} engines: {node: ^14.18.0 || >=16.10.0} hasBin: true @@ -6682,7 +7749,7 @@ packages: '@nuxt/schema': 3.7.0(rollup@3.28.1) '@nuxt/telemetry': 2.4.1(rollup@3.28.1) '@nuxt/ui-templates': 1.3.1 - '@nuxt/vite-builder': 3.7.0(@types/node@22.20.1)(eslint@8.48.0)(rollup@3.28.1)(typescript@5.2.2)(vue@3.3.4) + '@nuxt/vite-builder': 3.7.0(@types/node@22.20.1)(eslint@10.15.0)(rollup@3.28.1)(typescript@5.2.2)(vue@3.3.4) '@types/node': 22.20.1 '@unhead/dom': 1.3.9 '@unhead/ssr': 1.3.9 @@ -6776,6 +7843,10 @@ packages: engines: {node: '>=0.10.0'} dev: true + /object-deep-merge@2.0.1: + resolution: {integrity: sha512-aKttDKcU3pyZqKcCkDhsMn70WmZFG2JGDQLP9EcLyTSIFQRCPWLAmBZRLJnrVUrhPG1jETEEbfdgbNtJf1LyMg==} + dev: true + /object-inspect@1.12.3: resolution: {integrity: sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==} dev: true @@ -6883,11 +7954,16 @@ packages: type-check: 0.4.0 dev: true - /p-limit@2.3.0: - resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} - engines: {node: '>=6'} + /optionator@0.9.4: + resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} + engines: {node: '>= 0.8.0'} dependencies: - p-try: 2.2.0 + 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 dev: true /p-limit@3.1.0: @@ -6904,13 +7980,6 @@ packages: yocto-queue: 1.0.0 dev: true - /p-locate@4.1.0: - resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} - engines: {node: '>=8'} - dependencies: - p-limit: 2.3.0 - dev: true - /p-locate@5.0.0: resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} engines: {node: '>=10'} @@ -6925,9 +7994,8 @@ packages: aggregate-error: 3.1.0 dev: true - /p-try@2.2.0: - resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} - engines: {node: '>=6'} + /package-manager-detector@1.9.0: + resolution: {integrity: sha512-zAMfbta9nPA8AKkA4WdmNAT8R8s6Dk0/xwPsqNnRidMFcLo1YkLuPDTgs2f64XdzS8vbLNnoJ+uUIkgbz7oRHA==} dev: true /pacote@17.0.3: @@ -6958,24 +8026,6 @@ packages: - supports-color dev: true - /parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} - dependencies: - callsites: 3.1.0 - dev: true - - /parse-entities@2.0.0: - resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==} - dependencies: - character-entities: 1.2.4 - character-entities-legacy: 1.1.4 - character-reference-invalid: 1.1.4 - is-alphanumerical: 1.0.4 - is-decimal: 1.0.4 - is-hexadecimal: 1.0.4 - dev: true - /parse-git-config@3.0.0: resolution: {integrity: sha512-wXoQGL1D+2COYWCD35/xbiKma1Z15xvZL8cI25wvxzled58V51SJM04Urt/uznS900iQor7QO04SgdfT/XlbuA==} engines: {node: '>=8'} @@ -6984,14 +8034,15 @@ packages: ini: 1.3.8 dev: true - /parse-json@5.2.0: - resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} - engines: {node: '>=8'} + /parse-gitignore@2.0.0: + resolution: {integrity: sha512-RmVuCHWsfu0QPNW+mraxh/xjQVw/lhUCUru8Zni3Ctq3AoMhpDTq0OVdKS6iesd6Kqb7viCV3isAL43dciOSog==} + engines: {node: '>=14'} + dev: true + + /parse-imports-exports@0.2.4: + resolution: {integrity: sha512-4s6vd6dx1AotCx/RCI2m7t7GCh5bDRUtGNvRfHSP2wbBQdMi67pPe7mtzmgwcaQ8VKK/6IB7Glfyu3qdZJPybQ==} dependencies: - '@babel/code-frame': 7.22.13 - error-ex: 1.3.2 - json-parse-even-better-errors: 2.3.1 - lines-and-columns: 1.2.4 + parse-statements: 1.0.11 dev: true /parse-path@7.0.0: @@ -7000,12 +8051,22 @@ packages: protocols: 2.0.1 dev: true + /parse-statements@1.0.11: + resolution: {integrity: sha512-HlsyYdMBnbPQ9Jr/VgJ1YF4scnldvJpJxCVx6KgqPL4dxppsWrJHCIIxQXMJrqGnsRkNPATbeMJ8Yxu7JMsYcA==} + dev: true + /parse-url@8.1.0: resolution: {integrity: sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w==} dependencies: parse-path: 7.0.0 dev: true + /parse5@8.1.1: + resolution: {integrity: sha512-EcR/6WDcU7b2N3vQSxKALCk9lXGtUMQxXio008OEMBE0kavu/7JLfBEeFPzi43nMqVDSbEn3QCK+BMCc9zO//w==} + dependencies: + entities: 9.0.0 + dev: true + /parseurl@1.3.3: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} @@ -7076,6 +8137,10 @@ packages: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} dev: true + /picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + dev: true + /picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -7143,6 +8208,12 @@ packages: engines: {node: '>=4'} dev: true + /pnpm-workspace-yaml@1.9.1: + resolution: {integrity: sha512-Xj/T2X6DNAWbtk/9UQ0/TJRswltiHZevmcMjqoL7WrpJi67lu3qaslU4+I+zJ8wtwqmuvAE0KkB8rbv2ZdogBg==} + dependencies: + yaml: 2.9.1 + dev: true + /pnpm@8.7.0: resolution: {integrity: sha512-HWH4wQ6KWl2/vd6g8fXvt9vVF3IjBzrslTzyMKpGQWiEuUJ6ZCHbp48orQ+T++3ji6VwgyN7NQJD3mseOoznHQ==} engines: {node: '>=16.14'} @@ -7436,6 +8507,13 @@ packages: util-deprecate: 1.0.2 dev: true + /postcss-selector-parser@7.2.1: + resolution: {integrity: sha512-GwxlMgTTXwIom+ebC7an3k6RaJDwklRQQnfiXsLPGicu8FYV/k/+1/9YY2OU2+r938H2t4X0TDxoif+HP2rjzQ==} + engines: {node: '>=4'} + dependencies: + util-deprecate: 1.0.2 + dev: true + /postcss-svgo@6.0.0(postcss@8.4.29): resolution: {integrity: sha512-r9zvj/wGAoAIodn84dR/kFqwhINp5YsJkLoujybWG59grR/IHx+uQ2Zo+IcOwM0jskfYX3R0mo+1Kip1VSNcvw==} engines: {node: ^14 || ^16 || >= 18} @@ -7558,6 +8636,13 @@ packages: engines: {node: '>=6'} dev: true + /qified@0.10.1: + resolution: {integrity: sha512-+Owyggi9IxT1ePKGafcI87ubSmxol6smwJ+RAHDQlx9+9cPwFWDiKFFCPuWhr9ignlGpZ9vDQLw67N4dcTVFEA==} + engines: {node: '>=20'} + dependencies: + hookified: 2.2.0 + dev: true + /qs@6.11.2: resolution: {integrity: sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==} engines: {node: '>=0.6'} @@ -7565,10 +8650,19 @@ packages: side-channel: 1.0.4 dev: true + /quansync@0.2.11: + resolution: {integrity: sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==} + dev: true + /queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} dev: true + /quote-js-string@0.1.0: + resolution: {integrity: sha512-Y3NoRtprEEZQD8RfxMCfS0ZTqc4e+i18OrXEXAvpM6TfC/3y+0L5rNbZiSnbBBEkDfFzbpd8o+cE8q3/anjMGA==} + engines: {node: '>=22'} + dev: true + /radix3@1.1.0: resolution: {integrity: sha512-pNsHDxbGORSvuSScqNJ+3Km6QAVqk8CfsCBIEoDgpqLrkD2f3QM4I7d1ozJJ172OmIcoUcerZaNWqtLkRXTV3A==} dev: true @@ -7628,25 +8722,6 @@ packages: npm-normalize-package-bin: 3.0.1 dev: true - /read-pkg-up@7.0.1: - resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} - engines: {node: '>=8'} - dependencies: - find-up: 4.1.0 - read-pkg: 5.2.0 - type-fest: 0.8.1 - dev: true - - /read-pkg@5.2.0: - resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} - engines: {node: '>=8'} - dependencies: - '@types/normalize-package-data': 2.4.1 - normalize-package-data: 2.5.0 - parse-json: 5.2.0 - type-fest: 0.6.0 - dev: true - /readable-stream@2.3.8: resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} dependencies: @@ -7709,16 +8784,26 @@ packages: redis-errors: 1.2.0 dev: true - /regexp-tree@0.1.27: - resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} - hasBin: true + /refa@0.12.1: + resolution: {integrity: sha512-J8rn6v4DBb2nnFqkqwy6/NnTYMcgLA+sLr0iIO41qpv0n+ngb7ksag2tMRl0inb1bbO/esUwzW1vbJi7K0sI0g==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + dependencies: + '@eslint-community/regexpp': 4.12.3 dev: true - /regjsparser@0.10.0: - resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==} + /regexp-ast-analysis@0.7.1: + resolution: {integrity: sha512-sZuz1dYW/ZsfG17WSAG7eS85r5a0dDsvg+7BiiYR5o6lKCAtUrEwdmRmaGF6rwVj3LcmAeYkOWKEPlbPzN3Y3A==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + dependencies: + '@eslint-community/regexpp': 4.12.3 + refa: 0.12.1 + dev: true + + /regjsparser@0.13.4: + resolution: {integrity: sha512-EWV80YgFaVgFrjGCAsV7oybp4GOxbls5RzBg8OB0nKEVXsBJR1JlV8Di1JhCROg3MzTfe1RI8yitIm1eOs68iA==} hasBin: true dependencies: - jsesc: 0.5.0 + jsesc: 3.1.0 dev: true /require-directory@2.1.1: @@ -7726,9 +8811,9 @@ packages: engines: {node: '>=0.10.0'} dev: true - /resolve-from@4.0.0: - resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} + /reserved-identifiers@1.2.0: + resolution: {integrity: sha512-yE7KUfFvaBFzGPs5H3Ops1RevfUEsDc5Iz65rOwWg4lE8HJSYtle77uul3+573457oHvBKuHYDl/xqUkKpEEdw==} + engines: {node: '>=18'} dev: true /resolve-from@5.0.0: @@ -7863,6 +8948,15 @@ packages: dev: true optional: true + /scslre@0.3.0: + resolution: {integrity: sha512-3A6sD0WYP7+QrjbfNA2FN3FsOaGGFoekCVgTyypy53gPxhbkCIjtO6YWgdrfM+n/8sI8JeXZOIxsHjMTNxQ4nQ==} + engines: {node: ^14.0.0 || >=16.0.0} + dependencies: + '@eslint-community/regexpp': 4.12.3 + refa: 0.12.1 + regexp-ast-analysis: 0.7.1 + dev: true + /scule@1.0.0: resolution: {integrity: sha512-4AsO/FrViE/iDNEPaAQlb77tf0csuq27EsVpy6ett584EcRTp6pTDLoGWVxCD77y5iU5FauOvhsI4o1APwPoSQ==} dev: true @@ -7878,11 +8972,6 @@ packages: commander: 2.20.3 dev: true - /semver@5.7.1: - resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} - hasBin: true - dev: true - /semver@6.3.1: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true @@ -7902,6 +8991,12 @@ packages: hasBin: true dev: true + /semver@7.8.6: + resolution: {integrity: sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==} + engines: {node: '>=10'} + hasBin: true + dev: true + /send@0.18.0: resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==} engines: {node: '>= 0.8.0'} @@ -8033,6 +9128,11 @@ packages: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} dev: true + /sisteransi@2.0.0: + resolution: {integrity: sha512-2WCqLdt12eN6ehLI50S2/ZxoowXU3DD1KVPRyVP0WEsFahrGZZmCdq1K59qjJljMRIDTwx1D9YaRK+hDneBUMg==} + engines: {node: '>=20'} + dev: true + /slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} @@ -8084,6 +9184,11 @@ packages: engines: {node: '>=0.10.0'} dev: true + /source-map-js@1.2.4: + resolution: {integrity: sha512-J7ZjMvHd9O1fcT/5V09QWaaSl2BbWx3F6O08spde82Namf9UB0GxRVIPiNbVsdKkoizHiSpTodo3vp2bAy91MA==} + engines: {node: '>=6.0.0'} + dev: true + /source-map-support@0.5.21: resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} dependencies: @@ -8101,6 +9206,13 @@ packages: engines: {node: '>= 8'} dev: true + /source-map@0.8.0: + resolution: {integrity: sha512-d8EqvL+k/SOXCreS/SUzg2ciyHqBBLcN/yuRjFsbvVhHTE2pgei7oAhmPM7kWFbkX6OSMQfUq4KbkF3au9lhYQ==} + engines: {node: '>= 12'} + requiresBuild: true + dev: true + optional: true + /spdx-correct@3.1.1: resolution: {integrity: sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==} dependencies: @@ -8119,6 +9231,13 @@ packages: spdx-license-ids: 3.0.11 dev: true + /spdx-expression-parse@5.0.0: + resolution: {integrity: sha512-vngmw3Rgn+o2arXNbnZaj5UtOEBuWBfvaI+Wc8GFfykIhA5/vdK9/Sp/XkLv63dykz2rxKDvKEHupF5P0FORcQ==} + dependencies: + spdx-exceptions: 2.3.0 + spdx-license-ids: 3.0.11 + dev: true + /spdx-license-ids@3.0.11: resolution: {integrity: sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==} dev: true @@ -8231,16 +9350,9 @@ packages: engines: {node: '>=12'} dev: true - /strip-indent@3.0.0: - resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} - engines: {node: '>=8'} - dependencies: - min-indent: 1.0.1 - dev: true - - /strip-json-comments@3.1.1: - resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} - engines: {node: '>=8'} + /strip-indent@4.1.1: + resolution: {integrity: sha512-SlyRoSkdh1dYP0PzclLE7r0M9sgbFKKMFXpFRUMNuKhQSbC6VQIGzq3E0qsfvGJaUFJPGv6Ws1NZ/haTAjfbMA==} + engines: {node: '>=12'} dev: true /strip-literal@1.0.1: @@ -8252,7 +9364,7 @@ packages: /strip-literal@1.3.0: resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==} dependencies: - acorn: 8.10.0 + acorn: 8.18.0 dev: true /stylehacks@6.0.0(postcss@8.4.29): @@ -8336,6 +9448,13 @@ packages: picocolors: 1.0.0 dev: true + /synckit@0.11.13: + resolution: {integrity: sha512-eNRKgb3z66Yp3D2CixVujOUvXLFUTij/zVnV8KRyvFdQwpz7I5DS8UfRkTeLzb64u+dkzDSdelE24izu+zSSUg==} + engines: {node: ^14.18.0 || >=16.0.0} + dependencies: + '@pkgr/core': 0.3.6 + dev: true + /tapable@1.1.3: resolution: {integrity: sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==} engines: {node: '>=6'} @@ -8346,6 +9465,11 @@ packages: engines: {node: '>=6'} dev: true + /tapable@2.3.4: + resolution: {integrity: sha512-NHFiWnAbMJxNNpBwiO7jJVGDuqMxT9/oV8v57RR+fgBQShkJil5inGD8/xWy0hjLyHQyX1tu27QANhlz3KBqCg==} + engines: {node: '>=6'} + dev: true + /tar-stream@1.6.2: resolution: {integrity: sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A==} engines: {node: '>= 0.8.0'} @@ -8389,7 +9513,7 @@ packages: hasBin: true dependencies: '@jridgewell/source-map': 0.3.5 - acorn: 8.10.0 + acorn: 8.18.0 commander: 2.20.3 source-map-support: 0.5.21 dev: true @@ -8403,10 +9527,6 @@ packages: minimatch: 3.1.2 dev: true - /text-table@0.2.0: - resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - dev: true - /through@2.3.8: resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} dev: true @@ -8419,6 +9539,11 @@ packages: resolution: {integrity: sha512-kRwSG8Zx4tjF9ZiyH4bhaebu+EDz1BOx9hOigYHlUW4xxI/wKIUQUqo018UlU4ar6ATPBsaMrdbKZ+tmPdohFA==} dev: true + /tinyexec@1.3.1: + resolution: {integrity: sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA==} + engines: {node: '>=18'} + dev: true + /tinyglobby@0.2.17: resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} engines: {node: '>=12.0.0'} @@ -8458,11 +9583,26 @@ packages: is-number: 7.0.0 dev: true + /to-valid-identifier@1.0.0: + resolution: {integrity: sha512-41wJyvKep3yT2tyPqX/4blcfybknGB4D+oETKLs7Q76UiPqRpUJK3hr1nxelyYO0PHKVzJwlu0aCeEAsGI6rpw==} + engines: {node: '>=20'} + dependencies: + '@sindresorhus/base62': 1.0.0 + reserved-identifiers: 1.2.0 + dev: true + /toidentifier@1.0.1: resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} engines: {node: '>=0.6'} dev: true + /toml-eslint-parser@1.0.3: + resolution: {integrity: sha512-A5F0cM6+mDleacLIEUkmfpkBbnHJFV1d2rprHU2MXNk7mlxHq2zGojA+SRvQD1RoMo9gqjZPWEaKG4v1BQ48lw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + dependencies: + eslint-visitor-keys: 5.0.1 + dev: true + /totalist@3.0.1: resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} engines: {node: '>=6'} @@ -8481,24 +9621,19 @@ packages: typescript: 5.2.2 dev: true - /tslib@1.14.1: - resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} + /ts-api-utils@2.5.0(typescript@5.2.2): + resolution: {integrity: sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==} + engines: {node: '>=18.12'} + peerDependencies: + typescript: '>=4.8.4' + dependencies: + typescript: 5.2.2 dev: true /tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} dev: true - /tsutils@3.21.0(typescript@5.2.2): - resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} - engines: {node: '>= 6'} - peerDependencies: - typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' - dependencies: - tslib: 1.14.1 - typescript: 5.2.2 - dev: true - /tsx@3.12.7: resolution: {integrity: sha512-C2Ip+jPmqKd1GWVQDvz/Eyc6QJbGfE7NrR3fx5BpEHMZsEHoIxHL1j+lKdGobr8ovEyqeNkPLSKp6SCSOt7gmw==} hasBin: true @@ -8533,26 +9668,11 @@ packages: engines: {node: '>=4'} dev: true - /type-fest@0.20.2: - resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} - engines: {node: '>=10'} - dev: true - /type-fest@0.21.3: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} dev: true - /type-fest@0.6.0: - resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} - engines: {node: '>=8'} - dev: true - - /type-fest@0.8.1: - resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} - engines: {node: '>=8'} - dev: true - /type-fest@1.4.0: resolution: {integrity: sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==} engines: {node: '>=10'} @@ -8639,7 +9759,7 @@ packages: /unctx@2.3.1: resolution: {integrity: sha512-PhKke8ZYauiqh3FEMVNm7ljvzQiph0Mt3GBRve03IJm7ukfaON2OBK795tLwhbyfzknuRRkW0+Ze+CQUmzOZ+A==} dependencies: - acorn: 8.10.0 + acorn: 8.18.0 estree-walker: 3.0.3 magic-string: 0.30.3 unplugin: 1.4.0 @@ -8716,10 +9836,38 @@ packages: imurmurhash: 0.1.4 dev: true - /unist-util-stringify-position@2.0.3: - resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==} + /unist-util-is@6.0.1: + resolution: {integrity: sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==} dependencies: - '@types/unist': 2.0.6 + '@types/unist': 3.0.3 + dev: true + + /unist-util-remove-position@5.0.0: + resolution: {integrity: sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==} + dependencies: + '@types/unist': 3.0.3 + unist-util-visit: 5.2.0 + dev: true + + /unist-util-stringify-position@4.0.0: + resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} + dependencies: + '@types/unist': 3.0.3 + dev: true + + /unist-util-visit-parents@6.1.0: + resolution: {integrity: sha512-vKXxz6O38sKDj1mtx/k2cWvkkFBuYGx6uGrlzBkVeWCRF/F8sdI0j3Wbkz/5rVNRRuVc8UrgRdbCxNhmYXgP3w==} + dependencies: + '@types/unist': 3.0.3 + unist-util-is: 6.0.1 + dev: true + + /unist-util-visit@5.2.0: + resolution: {integrity: sha512-fpsYs/VVoZxfGY9/j3FQpZmN8wdLJaV1Pt38AaJNZu9uKIHcFU3halCdBveEq1HGKO1OEfJY65w1zvoFV1b3qQ==} + dependencies: + '@types/unist': 3.0.3 + unist-util-is: 6.0.1 + unist-util-visit-parents: 6.1.0 dev: true /universalify@2.0.0: @@ -8757,7 +9905,7 @@ packages: /unplugin@1.4.0: resolution: {integrity: sha512-5x4eIEL6WgbzqGtF9UV8VEC/ehKptPXDS6L2b0mv4FRMkJxRtjaJfOWDd6a8+kYbqsjklix7yWP0N3SUepjXcg==} dependencies: - acorn: 8.10.0 + acorn: 8.18.0 chokidar: 3.5.3 webpack-sources: 3.2.3 webpack-virtual-modules: 0.5.0 @@ -8877,6 +10025,17 @@ packages: picocolors: 1.0.0 dev: true + /update-browserslist-db@1.4.0(browserslist@4.29.6): + resolution: {integrity: sha512-WPJuOnjI9FWDct4fB+ej4Mz8opLaw5CDcZ2t44tFZ0vIQVYWzBhWR3mkixuUj/A7+vY4V9+ApOZ2YYLwdgq46w==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + dependencies: + browserslist: 4.29.6 + escalade: 3.2.0 + picocolors: 1.1.1 + dev: true + /uqr@0.1.2: resolution: {integrity: sha512-MJu7ypHq6QasgF5YRTjqscSzQp/W11zoUk6kvmlH+fmWEs63Y0Eib13hYFwAzagRJcVY8WVnlV+eBDUGMJ5IbA==} dev: true @@ -8928,6 +10087,16 @@ packages: builtins: 5.0.1 dev: true + /verkit@0.3.2: + resolution: {integrity: sha512-zj/ob3UsvJGN0whEAKFp53REA5X66hvffVqoCtVQAakJKnKlH+/PcOfMoFwIG/o4rElqLv/ycAFlx8ZlXUorCg==} + engines: {node: '>=18.12.0'} + dev: true + + /verkit@0.4.1: + resolution: {integrity: sha512-mMVzj0TXExtVdlDEq+Mzp0eyOuyznNpFobNM3uAqe3HVm/Ps2c+u17BligMkZjZCA6EiXpoon8iRTer3iu40SQ==} + engines: {node: '>=18.12.0'} + dev: true + /vite-node@0.33.0(@types/node@22.20.1): resolution: {integrity: sha512-19FpHYbwWWxDr73ruNahC+vtEdza52kA90Qb3La98yZ0xULqV8A5JLNPUff0f5zID4984tW7l3DH2przTJUZSw==} engines: {node: '>=v14.18.0'} @@ -8972,7 +10141,7 @@ packages: - terser dev: true - /vite-plugin-checker@0.6.2(eslint@8.48.0)(typescript@5.2.2)(vite@4.4.9): + /vite-plugin-checker@0.6.2(eslint@10.15.0)(typescript@5.2.2)(vite@4.4.9): resolution: {integrity: sha512-YvvvQ+IjY09BX7Ab+1pjxkELQsBd4rPhWNw8WLBeFVxu/E7O+n6VYAqNsKdK/a2luFlX/sMpoWdGFfg4HvwdJQ==} engines: {node: '>=14.16'} peerDependencies: @@ -9008,7 +10177,7 @@ packages: chalk: 4.1.2 chokidar: 3.5.3 commander: 8.3.0 - eslint: 8.48.0 + eslint: 10.15.0 fast-glob: 3.3.1 fs-extra: 11.1.1 lodash.debounce: 4.0.8 @@ -9256,19 +10425,18 @@ packages: resolution: {integrity: sha512-RutnB7X8c5hjq39NceArgXg28WZtZpGc3+J16ljMiYnFhKvd8hITxSWQSQ5bvldxMDU6gG5mkxl1MTQLXckVSQ==} dev: true - /vue-eslint-parser@9.3.1(eslint@8.48.0): - resolution: {integrity: sha512-Clr85iD2XFZ3lJ52/ppmUDG/spxQu6+MAeHXjjyI4I1NUYZ9xmenQp4N0oaHJhrA8OOxltCVxMRfANGa70vU0g==} - engines: {node: ^14.17.0 || >=16.0.0} + /vue-eslint-parser@10.4.2(eslint@10.15.0): + resolution: {integrity: sha512-WMpzulb50kb6snghzoGzS++62wcOszAk/piYcnvzdStM8Wni/BmogYltpoOFv2eK9hDbXxvwFQgnwZGpAoUfpA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: '>=6.0.0' - dependencies: - debug: 4.3.4 - eslint: 8.48.0 - eslint-scope: 7.2.2 - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 - esquery: 1.5.0 - lodash: 4.17.21 + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + dependencies: + debug: 4.4.3 + eslint: 10.15.0 + eslint-scope: 9.1.2 + eslint-visitor-keys: 5.0.1 + espree: 11.2.0 + esquery: 1.7.0 semver: 7.8.5 transitivePeerDependencies: - supports-color @@ -9385,6 +10553,11 @@ packages: string-width: 5.1.2 dev: true + /word-wrap@1.2.5: + resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} + engines: {node: '>=0.10.0'} + dev: true + /wrap-ansi@7.0.0: resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} engines: {node: '>=10'} @@ -9420,9 +10593,9 @@ packages: optional: true dev: true - /xml-name-validator@4.0.0: - resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} - engines: {node: '>=12'} + /xml-name-validator@5.0.0: + resolution: {integrity: sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==} + engines: {node: '>=18'} dev: true /xtend@4.0.2: @@ -9449,12 +10622,11 @@ packages: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} dev: true - /yaml-eslint-parser@1.2.2: - resolution: {integrity: sha512-pEwzfsKbTrB8G3xc/sN7aw1v6A6c/pKxLAkjclnAyo5g5qOh6eL9WGu0o3cSDQZKrTNk4KL4lQSwZW+nBkANEg==} - engines: {node: ^14.17.0 || >=16.0.0} + /yaml-eslint-parser@2.1.0: + resolution: {integrity: sha512-1zo9KRfp6vIAXBEhWAz09ex3hUwh3T+/6dGbGteHvNseA0Uk4FgQnPES55klZ6cDzSy9FpgKS0D/CoLUvCCj4w==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} dependencies: - eslint-visitor-keys: 3.4.3 - lodash: 4.17.21 + eslint-visitor-keys: 5.0.1 yaml: 2.3.1 dev: true @@ -9463,6 +10635,12 @@ packages: engines: {node: '>= 14'} dev: true + /yaml@2.9.1: + resolution: {integrity: sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==} + engines: {node: '>= 14.6'} + hasBin: true + dev: true + /yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} @@ -9510,3 +10688,7 @@ packages: compress-commons: 4.1.1 readable-stream: 3.6.2 dev: true + + /zwitch@2.0.4: + resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} + dev: true diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index b6e39cd..fcbc64f 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,7 @@ +minimumReleaseAgeExcludePrune: true +trustPolicy: no-downgrade +shellEmulator: true + packages: - playground - examples/* diff --git a/src/helper.ts b/src/helper.ts index daf59af..744f704 100644 --- a/src/helper.ts +++ b/src/helper.ts @@ -1,9 +1,9 @@ -import { promisify } from 'node:util' -import zlib from 'node:zlib' +import type { H3Event } from 'h3' import { Buffer } from 'node:buffer' -import { Duplex, Readable } from 'node:stream' import process from 'node:process' -import type { H3Event } from 'h3' +import { Duplex, Readable } from 'node:stream' +import { promisify } from 'node:util' +import zlib from 'node:zlib' import * as h3 from 'h3' const { getRequestHeader, getResponseHeader, setResponseHeader } = h3 @@ -99,7 +99,9 @@ const CODING_ALIASES: Record = { 'x-gzip': 'gzip' } */ function parseQuality(value: string): number { const quality = Number(value.trim()) - return Number.isFinite(quality) ? Math.min(Math.max(quality, 0), 1) : 0 + return Number.isFinite(quality) + ? Math.min(Math.max(quality, 0), 1) + : 0 } /** @@ -144,7 +146,9 @@ function getAcceptedEncodings(event: H3Event): Map | undefined { if (!header) return undefined - return parseAcceptEncoding(Array.isArray(header) ? header.join(',') : header) + return parseAcceptEncoding(Array.isArray(header) + ? header.join(',') + : header) } /** @@ -349,24 +353,41 @@ function serializeJson(body: unknown): string | undefined { * `undefined` for bodies that can't / shouldn't be buffered (streams, blobs, * responses, empty). */ -function toCompressibleBuffer(body: unknown): { payload: Buffer; json: boolean } | undefined { +function toCompressibleBuffer(body: unknown): { payload: Buffer, json: boolean } | undefined { if (isEmptyBody(body)) return undefined - if (typeof body === 'string') - return { payload: Buffer.from(body), json: false } + if (typeof body === 'string') { + return { + payload: Buffer.from(body), + json: false, + } + } - if (body instanceof Uint8Array) - return { payload: Buffer.from(body), json: false } + if (body instanceof Uint8Array) { + return { + payload: Buffer.from(body), + json: false, + } + } - if (body instanceof ArrayBuffer) - return { payload: Buffer.from(body), json: false } + if (body instanceof ArrayBuffer) { + return { + payload: Buffer.from(body), + json: false, + } + } if (!isJsonBody(body)) return undefined const json = serializeJson(body) - return json === undefined ? undefined : { payload: Buffer.from(json), json: true } + return json === undefined + ? undefined + : { + payload: Buffer.from(json), + json: true, + } } /** @@ -379,24 +400,41 @@ function toCompressibleBuffer(body: unknown): { payload: Buffer; json: boolean } * starts consuming the node stream, so the "not compressed" path must not * touch it. */ -function toStreamSource(body: unknown): { open: () => ReadableStream; json: boolean } | undefined { +function toStreamSource(body: unknown): { open: () => ReadableStream, json: boolean } | undefined { if (isEmptyBody(body)) return undefined - if (isReadableStream(body)) - return { open: () => body, json: false } + if (isReadableStream(body)) { + return { + open: () => body, + json: false, + } + } - if (isNodeStream(body)) - return { open: () => Readable.toWeb(body) as unknown as ReadableStream, json: false } + if (isNodeStream(body)) { + return { + open: () => Readable.toWeb(body) as unknown as ReadableStream, + json: false, + } + } - if (typeof body === 'string' || body instanceof Uint8Array || body instanceof ArrayBuffer || isBlob(body)) - return { open: () => new Response(body as BodyInit).body as ReadableStream, json: false } + if (typeof body === 'string' || body instanceof Uint8Array || body instanceof ArrayBuffer || isBlob(body)) { + return { + open: () => new Response(body as BodyInit).body as ReadableStream, + json: false, + } + } if (!isJsonBody(body)) return undefined const json = serializeJson(body) - return json === undefined ? undefined : { open: () => new Response(json).body as ReadableStream, json: true } + return json === undefined + ? undefined + : { + open: () => new Response(json).body as ReadableStream, + json: true, + } } /** @@ -424,7 +462,9 @@ function getHeader(event: H3Event, response: Partial, name: stri } const value = getResponseHeader(event, name) - return value == null ? undefined : String(value) + return value == null + ? undefined + : String(value) } /** @@ -497,14 +537,20 @@ function mergeVary(vary: string | null | undefined): string { */ function varyOnAcceptEncoding(event: H3Event, response: Partial): void { const headers = response.headers - const key = headers && typeof headers === 'object' ? findHeaderKey(headers, 'vary') : undefined + const key = headers && typeof headers === 'object' + ? findHeaderKey(headers, 'vary') + : undefined if (headers && key !== undefined) { - headers[key] = mergeVary(headers[key] == null ? undefined : String(headers[key])) + headers[key] = mergeVary(headers[key] == null + ? undefined + : String(headers[key])) return } const current = getResponseHeader(event, 'vary') - setResponseHeader(event, 'Vary', mergeVary(current == null ? undefined : String(current))) + setResponseHeader(event, 'Vary', mergeVary(current == null + ? undefined + : String(current))) } /** @@ -552,7 +598,9 @@ export async function compress( varyOnAcceptEncoding(event, response) const encoding = method - ? (acceptsEncoding(event, method) ? method : undefined) + ? (acceptsEncoding(event, method) + ? method + : undefined) : getAnyCompression(event, options) if (!encoding) return @@ -601,7 +649,9 @@ export async function compressStream( varyOnAcceptEncoding(event, response) const encoding = method - ? (acceptsEncoding(event, method) ? method : undefined) + ? (acceptsEncoding(event, method) + ? method + : undefined) : getStreamCompression(event, options) if (!encoding) return @@ -639,7 +689,7 @@ function ensureToResponse(): NonNullable { function cloneResponse( response: Response, body: BodyInit | null, - options: { encoding?: string; vary?: boolean } = {}, + options: { encoding?: string, vary?: boolean } = {}, ): Response { const headers = new Headers(response.headers) diff --git a/src/index.ts b/src/index.ts index a3633bc..8d2ca71 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,29 +1,24 @@ export { - useGZipCompression, - useCompression, useBrotliCompression, + useCompression, useDeflateCompression, + useGZipCompression, useZstdCompression, } from './compression' export { - useGZipCompressionStream, - useDeflateCompressionStream, useBrotliCompressionStream, - useZstdCompressionStream, useCompressionStream, + useDeflateCompressionStream, + useGZipCompressionStream, + useZstdCompressionStream, } from './compressionStream' -export { - compression, - compressionStream, -} from './middleware' - export { compress, - compressStream, compressResponse, compressResponseStream, + compressStream, getAnyCompression, getStreamCompression, isZstdSupported, @@ -32,11 +27,16 @@ export { export type { Compression, CompressionOptions, + RenderResponse, StreamCompression, StreamCompressionOptions, - RenderResponse, } from './helper' +export { + compression, + compressionStream, +} from './middleware' + export type { CompressionMiddleware, CompressionMiddlewareOptions, diff --git a/src/middleware.ts b/src/middleware.ts index 9778827..792877b 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -57,7 +57,9 @@ export interface CompressionStreamOptions extends StreamCompressionOptions { * @returns { CompressionMiddleware } */ export function compression(options?: Compression | CompressionMiddlewareOptions): CompressionMiddleware { - const config: CompressionMiddlewareOptions = typeof options === 'string' ? { method: options } : { ...options } + const config: CompressionMiddlewareOptions = typeof options === 'string' + ? { method: options } + : { ...options } return (event, next) => compressResponse(event, next(), config.method, config) } @@ -89,7 +91,9 @@ export function compression(options?: Compression | CompressionMiddlewareOptions * @returns { CompressionMiddleware } */ export function compressionStream(options?: StreamCompression | CompressionStreamOptions): CompressionMiddleware { - const config: CompressionStreamOptions = typeof options === 'string' ? { method: options } : { ...options } + const config: CompressionStreamOptions = typeof options === 'string' + ? { method: options } + : { ...options } return (event, next) => compressResponseStream(event, next(), config.method, config) } diff --git a/src/nuxt.ts b/src/nuxt.ts index 0828daa..6a913c8 100644 --- a/src/nuxt.ts +++ b/src/nuxt.ts @@ -1,6 +1,6 @@ -import { addServerPlugin, addTemplate, defineNuxtModule } from '@nuxt/kit' import type { Nuxt } from '@nuxt/schema' import type { NuxtCompressionOptions } from './runtime/types' +import { addServerPlugin, addTemplate, defineNuxtModule } from '@nuxt/kit' import { DEFAULT_CONTENT_TYPES, DEFAULT_EXCLUDE } from './runtime/nitro-plugin' export type { NuxtCompressionOptions } from './runtime/types' diff --git a/src/runtime/nitro-plugin.ts b/src/runtime/nitro-plugin.ts index 2316625..34daf4b 100644 --- a/src/runtime/nitro-plugin.ts +++ b/src/runtime/nitro-plugin.ts @@ -4,8 +4,8 @@ import type { H3Event } from 'h3' // standalone module under `dist/runtime/`, where a relative path out of the // directory would not resolve against the bundled `dist/index.mjs`. import type { Compression, RenderResponse, StreamCompression } from 'h3-compression' -import { compress, compressStream } from 'h3-compression' import type { NuxtCompressionOptions } from './types' +import { compress, compressStream } from 'h3-compression' /** * The subset of the Nitro app this plugin touches. Typed structurally so the @@ -52,12 +52,16 @@ export function getPath(event: H3Event): string { return url.pathname const originalUrl = (event as unknown as { node?: { req?: { originalUrl?: string } } }) - .node?.req?.originalUrl + .node + ?.req + ?.originalUrl if (typeof originalUrl === 'string') return originalUrl.split('?')[0] const path = (event as unknown as { path?: string }).path - return typeof path === 'string' ? path.split('?')[0] : '/' + return typeof path === 'string' + ? path.split('?')[0] + : '/' } /** diff --git a/test/already-encoded.test.ts b/test/already-encoded.test.ts index 93b9d76..b5e9343 100644 --- a/test/already-encoded.test.ts +++ b/test/already-encoded.test.ts @@ -1,16 +1,16 @@ -import { Buffer } from 'node:buffer' -import { createServer } from 'node:http' import type { Server } from 'node:http' import type { AddressInfo } from 'node:net' +import { Buffer } from 'node:buffer' +import { createServer } from 'node:http' import { connect } from 'node:net' import zlib from 'node:zlib' -import { afterEach, describe, expect, it } from 'vitest' import * as h3 from 'h3' +import { afterEach, describe, expect, it } from 'vitest' import { compress, - compressStream, compression, compressionStream, + compressStream, useBrotliCompression, useCompression, useCompressionStream, @@ -41,7 +41,9 @@ async function readStream(stream: ReadableStream): Promise { describe.runIf(isV2)('already-encoded responses on the hook path (#24)', () => { function encodedEvent(accept = 'br, gzip') { - const event = mockEvent('/asset.css', { headers: { 'accept-encoding': accept } }) + const event = mockEvent('/asset.css', { + headers: { 'accept-encoding': accept }, + }) event.res.headers.set('content-type', 'text/css') event.res.headers.set('content-encoding', 'br') event.res.headers.set('content-length', String(precompressed.byteLength)) @@ -91,8 +93,13 @@ describe.runIf(isV2)('already-encoded responses on the hook path (#24)', () => { }) it('respects a content-encoding in the render:response header record', async () => { - const event = mockEvent('/', { headers: { 'accept-encoding': 'gzip' } }) - const response = { body: precompressed, headers: { 'Content-Encoding': 'br' } } + const event = mockEvent('/', { + headers: { 'accept-encoding': 'gzip' }, + }) + const response = { + body: precompressed, + headers: { 'Content-Encoding': 'br' }, + } await compress(event, response, 'gzip') await compressStream(event, response, 'gzip') @@ -102,7 +109,9 @@ describe.runIf(isV2)('already-encoded responses on the hook path (#24)', () => { }) it('still compresses a body explicitly marked as identity', async () => { - const event = mockEvent('/', { headers: { 'accept-encoding': 'gzip' } }) + const event = mockEvent('/', { + headers: { 'accept-encoding': 'gzip' }, + }) event.res.headers.set('content-encoding', 'identity') const response = { body: original } @@ -127,7 +136,9 @@ describe.runIf(isV2)('already-encoded responses on the hook path (#24)', () => { describe.runIf(isV2)('stale content-length on the hook path (#24)', () => { function eventWithLength(body: string) { - const event = mockEvent('/', { headers: { 'accept-encoding': 'gzip' } }) + const event = mockEvent('/', { + headers: { 'accept-encoding': 'gzip' }, + }) event.res.headers.set('content-length', String(Buffer.byteLength(body))) return event } @@ -155,8 +166,16 @@ describe.runIf(isV2)('stale content-length on the hook path (#24)', () => { }) it('drops a content-length from the render:response header record', async () => { - const event = mockEvent('/', { headers: { 'accept-encoding': 'gzip' } }) - const response = { body: original, headers: { 'Content-Length': String(original.length), 'Content-Type': 'text/html' } } + const event = mockEvent('/', { + headers: { 'accept-encoding': 'gzip' }, + }) + const response = { + body: original, + headers: { + 'Content-Length': String(original.length), + 'Content-Type': 'text/html', + }, + } await compress(event, response, 'gzip') @@ -164,7 +183,9 @@ describe.runIf(isV2)('stale content-length on the hook path (#24)', () => { }) it('keeps the content-length when nothing is compressed', async () => { - const event = mockEvent('/', { headers: { 'accept-encoding': 'identity' } }) + const event = mockEvent('/', { + headers: { 'accept-encoding': 'identity' }, + }) event.res.headers.set('content-length', String(original.length)) const response = { body: original } @@ -190,8 +211,14 @@ describe.runIf(isV2)('already-encoded responses on the h3 v2 middleware (#24)', } for (const [name, middleware] of [ - ['compression()', compression()], - ['compressionStream()', compressionStream({ brotli: true })], + [ + 'compression()', + compression(), + ], + [ + 'compressionStream()', + compressionStream({ brotli: true }), + ], ] as const) { it(`${name} passes the encoded body through`, async () => { const res = await appWith(middleware).fetch(new Request('http://localhost/asset.css', { @@ -228,7 +255,7 @@ function dechunk(raw: Buffer): Buffer { * hide a doubly-compressed body or a mismatching `Content-Length`. Only the * chunked transfer framing is removed; the body bytes are otherwise untouched. */ -function rawGet(server: Server, path: string, acceptEncoding: string): Promise<{ head: string; body: Buffer }> { +function rawGet(server: Server, path: string, acceptEncoding: string): Promise<{ head: string, body: Buffer }> { const { port } = server.address() as AddressInfo return new Promise((resolve, reject) => { const socket = connect(port, '127.0.0.1', () => { @@ -241,7 +268,12 @@ function rawGet(server: Server, path: string, acceptEncoding: string): Promise<{ const separator = raw.indexOf('\r\n\r\n') const head = raw.subarray(0, separator).toString() const body = raw.subarray(separator + 4) - resolve({ head, body: /^transfer-encoding: chunked/im.test(head) ? dechunk(body) : body }) + resolve({ + head, + body: /^transfer-encoding: chunked/im.test(head) + ? dechunk(body) + : body, + }) }) socket.on('error', reject) }) @@ -280,8 +312,14 @@ describe.runIf(isV1)('already-encoded responses on the h3 v1 app hook (#24)', () for (const [name, hook] of [ ['useBrotliCompression', useBrotliCompression], ['useCompression', useCompression], - ['useCompressionStream', (event: any, response: any) => useCompressionStream(event, response, { brotli: true })], - ['nuxt plugin', (event: any, response: any) => applyCompression(event, response, {})], + [ + 'useCompressionStream', + (event: any, response: any) => useCompressionStream(event, response, { brotli: true }), + ], + [ + 'nuxt plugin', + (event: any, response: any) => applyCompression(event, response, {}), + ], ] as const) { it(`${name} does not compress a pre-compressed asset again`, async () => { const { head, body } = await rawGet(await listen(hook, true), '/asset.css', 'br') @@ -294,7 +332,10 @@ describe.runIf(isV1)('already-encoded responses on the h3 v1 app hook (#24)', () for (const [name, hook] of [ ['useCompression', useCompression], - ['useCompressionStream', (event: any, response: any) => useCompressionStream(event, response)], + [ + 'useCompressionStream', + (event: any, response: any) => useCompressionStream(event, response), + ], ] as const) { it(`${name} drops the stale content-length when compressing`, async () => { const { head, body } = await rawGet(await listen(hook, false), '/asset.css', 'gzip') diff --git a/test/body-types.test.ts b/test/body-types.test.ts index bd55db7..ace75ad 100644 --- a/test/body-types.test.ts +++ b/test/body-types.test.ts @@ -1,9 +1,9 @@ import { Buffer } from 'node:buffer' import { Readable } from 'node:stream' import zlib from 'node:zlib' +import * as h3 from 'h3' import supertest from 'supertest' import { describe, expect, it } from 'vitest' -import * as h3 from 'h3' import { compress, compressStream, useCompression, useCompressionStream } from '../src' import { applyCompression } from '../src/runtime/nitro-plugin' import { isV1, isV2 } from './_version' @@ -15,7 +15,10 @@ import { isV1, isV2 } from './_version' const { createApp, eventHandler, mockEvent, toNodeListener } = h3 as typeof import('h3') -const json = { message: 'hello world', items: [1, 2, 3] } +const json = { + message: 'hello world', + items: [1, 2, 3], +} const text = 'Hello world! '.repeat(50) async function readStream(stream: ReadableStream): Promise { @@ -31,13 +34,18 @@ async function readStream(stream: ReadableStream): Promise { } function eventFor(encoding = 'gzip') { - return mockEvent('/', { headers: { 'accept-encoding': encoding } }) + return mockEvent('/', { + headers: { 'accept-encoding': encoding }, + }) } describe.runIf(isV2)('stream path body types', () => { it.each([ ['an object', json], - ['an array', [1, 2, 3]], + [ + 'an array', + [1, 2, 3], + ], ['a number', 42], ])('serializes %s as JSON', async (_name, body) => { const event = eventFor() @@ -52,7 +60,12 @@ describe.runIf(isV2)('stream path body types', () => { it('streams a node stream', async () => { const event = eventFor() - const response: { body: unknown } = { body: Readable.from([text.slice(0, 100), text.slice(100)]) } + const response: { body: unknown } = { + body: Readable.from([ + text.slice(0, 100), + text.slice(100), + ]), + } await useCompressionStream(event, response) @@ -62,7 +75,9 @@ describe.runIf(isV2)('stream path body types', () => { it('streams a blob', async () => { const event = eventFor() - const response: { body: unknown } = { body: new Blob([text]) } + const response: { body: unknown } = { + body: new Blob([text]), + } await useCompressionStream(event, response) @@ -96,11 +111,26 @@ describe.runIf(isV2)('stream path body types', () => { describe.runIf(isV2)('buffered path body types', () => { it.each([ - ['a node stream', () => Readable.from([text])], - ['a web stream', () => new Response(text).body], - ['a blob', () => new Blob([text])], - ['a Response', () => new Response(text)], - ['an error', () => new Error('boom')], + [ + 'a node stream', + () => Readable.from([text]), + ], + [ + 'a web stream', + () => new Response(text).body, + ], + [ + 'a blob', + () => new Blob([text]), + ], + [ + 'a Response', + () => new Response(text), + ], + [ + 'an error', + () => new Error('boom'), + ], ])('leaves %s alone instead of serializing it', async (_name, create) => { const event = eventFor() const body = create() diff --git a/test/compression-stream.test.ts b/test/compression-stream.test.ts index e3c02bf..ba81a2e 100644 --- a/test/compression-stream.test.ts +++ b/test/compression-stream.test.ts @@ -1,7 +1,7 @@ import { Buffer } from 'node:buffer' import zlib from 'node:zlib' -import { describe, expect, it } from 'vitest' import * as h3 from 'h3' +import { describe, expect, it } from 'vitest' import { useBrotliCompressionStream, useCompressionStream, @@ -17,7 +17,9 @@ const { mockEvent } = h3 as typeof import('h3') const html = '

Hello World

' function eventFor(encoding: string) { - return mockEvent('/', { headers: { 'accept-encoding': encoding } }) + return mockEvent('/', { + headers: { 'accept-encoding': encoding }, + }) } async function readStream(stream: ReadableStream): Promise { diff --git a/test/compression-v1.test.ts b/test/compression-v1.test.ts index cde13ef..b5caf51 100644 --- a/test/compression-v1.test.ts +++ b/test/compression-v1.test.ts @@ -1,9 +1,9 @@ +import type { SuperTest, Test } from 'supertest' import { Buffer } from 'node:buffer' import zlib from 'node:zlib' -import type { SuperTest, Test } from 'supertest' +import * as h3 from 'h3' import supertest from 'supertest' import { beforeEach, describe, expect, it } from 'vitest' -import * as h3 from 'h3' import { isZstdSupported, useCompression, useCompressionStream } from '../src' import { applyCompression } from '../src/runtime/nitro-plugin' import { isV1 } from './_version' @@ -23,7 +23,10 @@ function rawParser(res: any, cb: (err: Error | null, body: Buffer) => void) { const { createApp, eventHandler, toNodeListener } = h3 as typeof import('h3') const html = '

Hello World

' -const json = { message: 'hello world', items: [1, 2, 3, 4, 5] } +const json = { + message: 'hello world', + items: [1, 2, 3, 4, 5], +} function appWith(hook: typeof useCompression) { const app = createApp({ debug: true, onBeforeResponse: hook }) diff --git a/test/compression.test.ts b/test/compression.test.ts index 36ae316..6f714fb 100644 --- a/test/compression.test.ts +++ b/test/compression.test.ts @@ -1,7 +1,7 @@ import type { Buffer } from 'node:buffer' import zlib from 'node:zlib' -import { describe, expect, it } from 'vitest' import * as h3 from 'h3' +import { describe, expect, it } from 'vitest' import { useBrotliCompression, useCompression, @@ -17,7 +17,9 @@ const { mockEvent } = h3 as typeof import('h3') const html = '

Hello World

' function eventFor(encoding: string) { - return mockEvent('/', { headers: { 'accept-encoding': encoding } }) + return mockEvent('/', { + headers: { 'accept-encoding': encoding }, + }) } const decoders: Record Buffer> = { @@ -39,7 +41,10 @@ describe.runIf(isV2)('useCompression (mutable response / nitro path)', () => { it('compresses an object (JSON) body and sets the content-type (#8)', async () => { const event = eventFor('gzip') - const json = { message: 'hello world', items: [1, 2, 3] } + const json = { + message: 'hello world', + items: [1, 2, 3], + } const response: { body: unknown } = { body: json } await useGZipCompression(event, response) diff --git a/test/dist-bundling.test.ts b/test/dist-bundling.test.ts index b10f649..c73ae31 100644 --- a/test/dist-bundling.test.ts +++ b/test/dist-bundling.test.ts @@ -1,7 +1,7 @@ import { execSync } from 'node:child_process' import { existsSync } from 'node:fs' -import { fileURLToPath } from 'node:url' import { dirname, resolve } from 'node:path' +import { fileURLToPath } from 'node:url' import { beforeAll, describe, expect, it } from 'vitest' const root = resolve(dirname(fileURLToPath(import.meta.url)), '..') @@ -52,9 +52,13 @@ describe('downstream bundling (regression for #14 follow-up)', () => { const warnings: string[] = [] const bundle = await rollup({ input: distEntry, - plugins: [stubPlugin() as any], + plugins: [ + stubPlugin() as any, + ], onwarn(warning) { - warnings.push(typeof warning === 'string' ? warning : warning.message) + warnings.push(typeof warning === 'string' + ? warning + : warning.message) }, }) await bundle.generate({ format: 'es' }) diff --git a/test/middleware.test.ts b/test/middleware.test.ts index f0124e0..c1a3a0e 100644 --- a/test/middleware.test.ts +++ b/test/middleware.test.ts @@ -1,9 +1,9 @@ +import type { SuperTest, Test } from 'supertest' import { Buffer } from 'node:buffer' import zlib from 'node:zlib' -import type { SuperTest, Test } from 'supertest' +import * as h3 from 'h3' import supertest from 'supertest' import { beforeEach, describe, expect, it } from 'vitest' -import * as h3 from 'h3' import { compression, compressionStream } from '../src' import { isV2 } from './_version' diff --git a/test/negotiation.test.ts b/test/negotiation.test.ts index a3a33ea..b014dd8 100644 --- a/test/negotiation.test.ts +++ b/test/negotiation.test.ts @@ -1,13 +1,13 @@ import { Buffer } from 'node:buffer' import zlib from 'node:zlib' +import * as h3 from 'h3' import supertest from 'supertest' import { describe, expect, it } from 'vitest' -import * as h3 from 'h3' import { compress, - compressStream, compression, compressionStream, + compressStream, getAnyCompression, getStreamCompression, isZstdSupported, @@ -28,10 +28,14 @@ const hasZstd = isZstdSupported() const html = `

${'Hello world! '.repeat(100)}

` function eventFor(encoding?: string) { - return mockEvent('/', { headers: encoding === undefined ? {} : { 'accept-encoding': encoding } }) + return mockEvent('/', { + headers: encoding === undefined + ? {} + : { 'accept-encoding': encoding }, + }) } -describe.runIf(isV2)('Accept-Encoding negotiation (#25)', () => { +describe.runIf(isV2)('accept-Encoding negotiation (#25)', () => { it.each([ ['br;q=0, gzip', 'gzip'], ['gzip;q=0', undefined], @@ -62,8 +66,16 @@ describe.runIf(isV2)('Accept-Encoding negotiation (#25)', () => { it.each([ ['br, gzip', {}, 'gzip'], ['br;q=1, gzip;q=0.5', {}, 'gzip'], - ['br;q=1, gzip;q=0.5', { brotli: true }, 'br'], - ['br;q=0.5, gzip', { brotli: true }, 'gzip'], + [ + 'br;q=1, gzip;q=0.5', + { brotli: true }, + 'br', + ], + [ + 'br;q=0.5, gzip', + { brotli: true }, + 'gzip', + ], ['gzip;q=0, deflate;q=0.2', {}, 'deflate'], ['gzip;q=0', {}, undefined], ] as const)('getStreamCompression(%j, %j) -> %s', (header, options, expected) => { @@ -78,7 +90,7 @@ describe.runIf(isV2)('Accept-Encoding negotiation (#25)', () => { }) }) -describe.runIf(isV2)('Vary: Accept-Encoding on the hook path (#25)', () => { +describe.runIf(isV2)('vary: Accept-Encoding on the hook path (#25)', () => { it('is set on a compressed response', async () => { const event = eventFor('gzip') const response = { body: html } @@ -125,7 +137,10 @@ describe.runIf(isV2)('Vary: Accept-Encoding on the hook path (#25)', () => { it('updates a Vary in the render:response header record', async () => { const event = eventFor('gzip') - const response = { body: html, headers: { 'Vary': 'Cookie', 'Content-Type': 'text/html' } } + const response = { + body: html, + headers: { 'Vary': 'Cookie', 'Content-Type': 'text/html' }, + } await useCompression(event, response) @@ -187,7 +202,10 @@ describe.runIf(isV2)('Vary: Accept-Encoding on the hook path (#25)', () => { it('applies to the nuxt plugin', async () => { const event = eventFor('br;q=0, gzip') - const response = { body: html, headers: { 'content-type': 'text/html' } } + const response = { + body: html, + headers: { 'content-type': 'text/html' }, + } await applyCompression(event, response, {}) @@ -212,17 +230,49 @@ describe.runIf(isV2)('negotiation on the h3 v2 middleware (#25)', () => { } async function get(app: InstanceType, encoding: string, path = '/') { - return app.fetch(new Request(`http://localhost${path}`, { headers: { 'accept-encoding': encoding } })) + return app.fetch(new Request(`http://localhost${path}`, { + headers: { 'accept-encoding': encoding }, + })) } // The reproduction from the issue. it.each([ - ['compression()', () => compression(), 'br;q=0, gzip', 'gzip'], - ['compression()', () => compression(), 'gzip;q=0', null], - ['compression()', () => compression(), 'gzip;q=0.1, deflate;q=0.9', 'deflate'], - ['compressionStream()', () => compressionStream(), 'br;q=0, gzip', 'gzip'], - ['compressionStream()', () => compressionStream(), 'gzip;q=0', null], - ['compressionStream()', () => compressionStream(), 'gzip;q=0.1, deflate;q=0.9', 'deflate'], + [ + 'compression()', + () => compression(), + 'br;q=0, gzip', + 'gzip', + ], + [ + 'compression()', + () => compression(), + 'gzip;q=0', + null, + ], + [ + 'compression()', + () => compression(), + 'gzip;q=0.1, deflate;q=0.9', + 'deflate', + ], + [ + 'compressionStream()', + () => compressionStream(), + 'br;q=0, gzip', + 'gzip', + ], + [ + 'compressionStream()', + () => compressionStream(), + 'gzip;q=0', + null, + ], + [ + 'compressionStream()', + () => compressionStream(), + 'gzip;q=0.1, deflate;q=0.9', + 'deflate', + ], ] as const)('%s with %j -> %s', async (_name, middleware, encoding, expected) => { const res = await get(appWith(middleware()), encoding) @@ -232,12 +282,17 @@ describe.runIf(isV2)('negotiation on the h3 v2 middleware (#25)', () => { const body = Buffer.from(await res.arrayBuffer()) const decoded = expected === 'gzip' ? zlib.gunzipSync(body) - : expected === 'deflate' ? zlib.inflateSync(body) : body + : expected === 'deflate' + ? zlib.inflateSync(body) + : body expect(decoded.toString()).toEqual(html) }) it('keeps a Vary set by the handler', async () => { - for (const middleware of [compression(), compressionStream()]) { + for (const middleware of [ + compression(), + compressionStream(), + ]) { const res = await get(appWith(middleware, 'Origin'), 'gzip') expect(res.headers.get('vary')).toEqual('Origin, Accept-Encoding') @@ -252,7 +307,10 @@ describe.runIf(isV2)('negotiation on the h3 v2 middleware (#25)', () => { }) it('passes bodyless responses through', async () => { - for (const middleware of [compression(), compressionStream()]) { + for (const middleware of [ + compression(), + compressionStream(), + ]) { for (const path of ['/empty', '/no-content']) { const res = await get(appWith(middleware), 'gzip', path) @@ -273,8 +331,14 @@ describe.runIf(isV1)('negotiation on the h3 v1 app hook (#25)', () => { for (const [name, hook] of [ ['useCompression', useCompression], - ['useCompressionStream', (event: any, response: any) => useCompressionStream(event, response, { brotli: true })], - ['nuxt plugin', (event: any, response: any) => applyCompression(event, response, {})], + [ + 'useCompressionStream', + (event: any, response: any) => useCompressionStream(event, response, { brotli: true }), + ], + [ + 'nuxt plugin', + (event: any, response: any) => applyCompression(event, response, {}), + ], ] as const) { it(`${name} skips an encoding rejected with q=0`, async () => { const result = await appWith(hook).get('/').set('Accept-Encoding', 'br;q=0, gzip') diff --git a/test/nuxt-plugin.test.ts b/test/nuxt-plugin.test.ts index 2225f3b..7b9ad0a 100644 --- a/test/nuxt-plugin.test.ts +++ b/test/nuxt-plugin.test.ts @@ -1,17 +1,17 @@ +import type { NuxtCompressionOptions } from '../src/runtime/types' import { Buffer } from 'node:buffer' import zlib from 'node:zlib' -import { describe, expect, it, vi } from 'vitest' import * as h3 from 'h3' +import { describe, expect, it, vi } from 'vitest' import { - DEFAULT_CONTENT_TYPES, - DEFAULT_EXCLUDE, applyCompression, createCompressionPlugin, + DEFAULT_CONTENT_TYPES, + DEFAULT_EXCLUDE, getContentType, getPath, shouldCompress, } from '../src/runtime/nitro-plugin' -import type { NuxtCompressionOptions } from '../src/runtime/types' import { isV2 } from './_version' // `mockEvent` only exists in h3 v2 — access it lazily so this file still loads @@ -21,7 +21,9 @@ const { mockEvent } = h3 as typeof import('h3') const html = '

Hello World

'.repeat(20) function eventFor(path = '/', encoding = 'gzip') { - return mockEvent(path, { headers: { 'accept-encoding': encoding } }) + return mockEvent(path, { + headers: { 'accept-encoding': encoding }, + }) } async function readStream(stream: ReadableStream): Promise { @@ -50,7 +52,12 @@ describe.runIf(isV2)('nuxt plugin — path handling (#22)', () => { it('prefers the untouched originalUrl over a prefix-stripped path (#22)', () => { // h3 v1 rewrites `event.path` to the remainder for prefix-mounted // handlers, which would defeat the `/_nuxt` exclusion. - const v1Event = { path: '/', node: { req: { originalUrl: '/_nuxt/entry.js?v=1' } } } as any + const v1Event = { + path: '/', + node: { + req: { originalUrl: '/_nuxt/entry.js?v=1' }, + }, + } as any expect(getPath(v1Event)).toEqual('/_nuxt/entry.js') expect(shouldCompress(v1Event, {}, {})).toBe(false) @@ -65,13 +72,17 @@ describe.runIf(isV2)('nuxt plugin — content type handling (#22)', () => { it('prefers the header record handed over by the hook', () => { const event = eventFor() - expect(getContentType(event, { headers: { 'content-type': 'text/html' } })).toEqual('text/html') + expect(getContentType(event, { + headers: { 'content-type': 'text/html' }, + })).toEqual('text/html') }) it('accepts the capitalised header key nitro sometimes uses', () => { const event = eventFor() - expect(getContentType(event, { headers: { 'Content-Type': 'application/json' } })).toEqual('application/json') + expect(getContentType(event, { + headers: { 'Content-Type': 'application/json' }, + })).toEqual('application/json') }) it('falls back to the response headers already set on the event', () => { @@ -87,27 +98,35 @@ describe.runIf(isV2)('nuxt plugin — shouldCompress (#22)', () => { for (const path of DEFAULT_EXCLUDE) { const event = eventFor(`${path}/entry.js`) - expect(shouldCompress(event, { headers: { 'content-type': 'text/javascript' } }, {})).toBe(false) + expect(shouldCompress(event, { + headers: { 'content-type': 'text/javascript' }, + }, {})).toBe(false) } }) it('compresses a normal html route', () => { const event = eventFor('/about') - expect(shouldCompress(event, { headers: { 'content-type': 'text/html' } }, {})).toBe(true) + expect(shouldCompress(event, { + headers: { 'content-type': 'text/html' }, + }, {})).toBe(true) }) it('skips content types outside the allow list', () => { const event = eventFor('/logo.png') - expect(shouldCompress(event, { headers: { 'content-type': 'image/png' } }, {})).toBe(false) + expect(shouldCompress(event, { + headers: { 'content-type': 'image/png' }, + }, {})).toBe(false) }) it('covers every default content type', () => { for (const type of DEFAULT_CONTENT_TYPES) { const event = eventFor('/x') - expect(shouldCompress(event, { headers: { 'content-type': type } }, {})).toBe(true) + expect(shouldCompress(event, { + headers: { 'content-type': type }, + }, {})).toBe(true) } }) @@ -120,11 +139,15 @@ describe.runIf(isV2)('nuxt plugin — shouldCompress (#22)', () => { it('compresses every content type when the list is emptied', () => { const event = eventFor('/logo.png') - expect(shouldCompress(event, { headers: { 'content-type': 'image/png' } }, { contentTypes: [] })).toBe(true) + expect(shouldCompress(event, { + headers: { 'content-type': 'image/png' }, + }, { contentTypes: [] })).toBe(true) }) it('honours a custom exclude list instead of the defaults', () => { - const options: NuxtCompressionOptions = { exclude: ['/private'] } + const options: NuxtCompressionOptions = { + exclude: ['/private'], + } expect(shouldCompress(eventFor('/private/x'), {}, options)).toBe(false) // The defaults no longer apply once overridden. @@ -139,7 +162,7 @@ describe.runIf(isV2)('nuxt plugin — shouldCompress (#22)', () => { describe.runIf(isV2)('nuxt plugin — applyCompression (#22)', () => { it('compresses an allowed response with the negotiated encoding', async () => { const event = eventFor('/about') - const response: { body: unknown; headers: Record } = { + const response: { body: unknown, headers: Record } = { body: html, headers: { 'content-type': 'text/html' }, } @@ -152,7 +175,7 @@ describe.runIf(isV2)('nuxt plugin — applyCompression (#22)', () => { it('leaves an excluded response untouched', async () => { const event = eventFor('/_nuxt/entry.js') - const response: { body: unknown; headers: Record } = { + const response: { body: unknown, headers: Record } = { body: html, headers: { 'content-type': 'text/javascript' }, } @@ -165,7 +188,7 @@ describe.runIf(isV2)('nuxt plugin — applyCompression (#22)', () => { it('skips bodies below the threshold', async () => { const event = eventFor('/about') - const response: { body: unknown; headers: Record } = { + const response: { body: unknown, headers: Record } = { body: 'tiny', headers: { 'content-type': 'text/html' }, } @@ -178,7 +201,7 @@ describe.runIf(isV2)('nuxt plugin — applyCompression (#22)', () => { it('compresses bodies at or above the threshold', async () => { const event = eventFor('/about') - const response: { body: unknown; headers: Record } = { + const response: { body: unknown, headers: Record } = { body: html, headers: { 'content-type': 'text/html' }, } @@ -191,7 +214,7 @@ describe.runIf(isV2)('nuxt plugin — applyCompression (#22)', () => { it('uses the stream path when encoding is "stream"', async () => { const event = eventFor('/about') - const response: { body: unknown; headers: Record } = { + const response: { body: unknown, headers: Record } = { body: html, headers: { 'content-type': 'text/html' }, } @@ -204,18 +227,24 @@ describe.runIf(isV2)('nuxt plugin — applyCompression (#22)', () => { it('picks brotli on the stream path only when enabled', async () => { const withoutFlag = eventFor('/about', 'br, gzip') - await applyCompression(withoutFlag, { body: html, headers: { 'content-type': 'text/html' } }, { encoding: 'stream' }) + await applyCompression(withoutFlag, { + body: html, + headers: { 'content-type': 'text/html' }, + }, { encoding: 'stream' }) expect(withoutFlag.res.headers.get('content-encoding')).toEqual('gzip') const withFlag = eventFor('/about', 'br, gzip') const response: { body: unknown } = { body: html } - await applyCompression(withFlag, { ...response, headers: { 'content-type': 'text/html' } }, { encoding: 'stream', brotli: true }) + await applyCompression(withFlag, { + ...response, + headers: { 'content-type': 'text/html' }, + }, { encoding: 'stream', brotli: true }) expect(withFlag.res.headers.get('content-encoding')).toEqual('br') }) it('honours a forced method over negotiation', async () => { const event = eventFor('/about', 'gzip, deflate') - const response: { body: unknown; headers: Record } = { + const response: { body: unknown, headers: Record } = { body: html, headers: { 'content-type': 'text/html' }, } @@ -231,7 +260,9 @@ describe.runIf(isV2)('nuxt plugin — hook wiring (#22)', () => { function fakeNitro() { const hooks: Record unknown> = {} return { - hooks: { hook: vi.fn((name: string, fn: any) => { hooks[name] = fn }) }, + hooks: { + hook: vi.fn((name: string, fn: any) => { hooks[name] = fn }), + }, registered: hooks, } } @@ -265,7 +296,7 @@ describe.runIf(isV2)('nuxt plugin — hook wiring (#22)', () => { createCompressionPlugin({})(nitro) const event = eventFor('/about') - const response: { body: unknown; headers: Record } = { + const response: { body: unknown, headers: Record } = { body: html, headers: { 'content-type': 'text/html' }, } @@ -281,11 +312,19 @@ describe.runIf(isV2)('nuxt plugin — hook wiring (#22)', () => { createCompressionPlugin({})(nitro) const event = eventFor('/api/items') - const response: { body: unknown } = { body: { items: [1, 2, 3], message: html } } + const response: { body: unknown } = { + body: { + items: [1, 2, 3], + message: html, + }, + } await nitro.registered.beforeResponse(event, response) expect(event.res.headers.get('content-encoding')).toEqual('gzip') - expect(JSON.parse(zlib.gunzipSync(response.body as Buffer).toString())).toEqual({ items: [1, 2, 3], message: html }) + expect(JSON.parse(zlib.gunzipSync(response.body as Buffer).toString())).toEqual({ + items: [1, 2, 3], + message: html, + }) }) }) diff --git a/test/zstd.test.ts b/test/zstd.test.ts index 329c5d0..7fb3881 100644 --- a/test/zstd.test.ts +++ b/test/zstd.test.ts @@ -1,9 +1,9 @@ +import type { SuperTest, Test } from 'supertest' import { Buffer } from 'node:buffer' import zlib from 'node:zlib' -import type { SuperTest, Test } from 'supertest' +import * as h3 from 'h3' import supertest from 'supertest' import { describe, expect, it } from 'vitest' -import * as h3 from 'h3' import { compression, compressionStream, @@ -27,7 +27,9 @@ const html = '

Hello World

' const hasZstd = isZstdSupported() function eventFor(encoding: string) { - return mockEvent('/', { headers: { 'accept-encoding': encoding } }) + return mockEvent('/', { + headers: { 'accept-encoding': encoding }, + }) } // superagent does not auto-decode zstd, so read the raw bytes ourselves. diff --git a/tsconfig.json b/tsconfig.json index 99fbf80..df9afee 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,26 +1,26 @@ { "compilerOptions": { "target": "es2018", - "module": "esnext", "lib": [ "esnext", "dom" ], + "module": "esnext", "moduleResolution": "bundler", - "esModuleInterop": true, - "strict": true, - "strictNullChecks": true, - "resolveJsonModule": true, - "skipLibCheck": true, - "skipDefaultLibCheck": true, - "types": [ - "node" - ], "paths": { "h3-compression": [ "./src/index.ts" ] - } + }, + "resolveJsonModule": true, + "types": [ + "node" + ], + "strict": true, + "strictNullChecks": true, + "esModuleInterop": true, + "skipDefaultLibCheck": true, + "skipLibCheck": true }, "include": [ "src", From a59ba3dc706b0854ed14b24d84a5e0d9b88cdd4c Mon Sep 17 00:00:00 2001 From: Gregor Becker Date: Tue, 24 Nov 2026 09:39:06 +0100 Subject: [PATCH 2/2] ci: run the lint job on Node 24 eslint-plugin-unicorn, pulled in by @antfu/eslint-config 10, uses Set.prototype.union, which Node 20 lacks. Linting is dev tooling only; the test matrix keeps covering the Node 20 runtime floor. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07d3ba1..b5ced85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,13 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v2 + # Lint tooling only — the test matrix below still covers the Node 20 + # runtime floor. `@antfu/eslint-config` (via eslint-plugin-unicorn) + # relies on `Set.prototype.union`, which needs Node 22. - name: Set node uses: actions/setup-node@v3 with: - node-version: 20.x + node-version: 24.x - name: Setup run: npm i -g @antfu/ni