diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index ecb0f772..b5417b12 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -1,10 +1,10 @@ +import { transformerTwoslash } from '@shikijs/vitepress-twoslash' import MarkdownItGitHubAlerts from 'markdown-it-github-alerts' -import { defineConfig } from 'vitepress' -import { transformerTwoslash } from '@shikijs/vitepress-twoslash' +import { defineConfig } from 'vitepress' import { groupIconMdPlugin } from 'vitepress-plugin-group-icons' -import { repositoryMeta } from './data/meta' import { description, ogImage, title } from './constance' +import { repositoryMeta } from './data/meta' import vite from './vite.config' diff --git a/docs/.vitepress/data/gen-files.ts b/docs/.vitepress/data/gen-files.ts index 55994c86..46a6e814 100644 --- a/docs/.vitepress/data/gen-files.ts +++ b/docs/.vitepress/data/gen-files.ts @@ -1,12 +1,12 @@ -import 'dotenv/config' +import type { Repository } from './repository.data' import { writeFileSync } from 'node:fs' import { dirname, join } from 'node:path' -import { fileURLToPath } from 'node:url' import { env } from 'node:process' -import { $fetch } from 'ofetch' +import { fileURLToPath } from 'node:url' import { consola } from 'consola' -import type { Repository } from './repository.data' +import { $fetch } from 'ofetch' import { repositoryMeta } from './meta' +import 'dotenv/config' const GITHUB_TOKEN = env.GITHUB_TOKEN diff --git a/docs/.vitepress/plugins/markdownTransform.ts b/docs/.vitepress/plugins/markdownTransform.ts index aa5a38d7..b196788a 100644 --- a/docs/.vitepress/plugins/markdownTransform.ts +++ b/docs/.vitepress/plugins/markdownTransform.ts @@ -1,5 +1,5 @@ -import { basename } from 'node:path' import type { PluginOption } from 'vite' +import { basename } from 'node:path' import { repositoryMeta } from '../data/meta' const repos = repositoryMeta.map(({ name }) => `${name}`) diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts index 9c0c540f..414bb053 100644 --- a/docs/.vitepress/theme/index.ts +++ b/docs/.vitepress/theme/index.ts @@ -1,8 +1,8 @@ -// https://vitepress.dev/guide/custom-theme -import { h } from 'vue' import type { EnhanceAppContext } from 'vitepress' -import DefaultTheme from 'vitepress/theme' import TwoslashFloatingVue from '@shikijs/vitepress-twoslash/client' +import DefaultTheme from 'vitepress/theme' +// https://vitepress.dev/guide/custom-theme +import { h } from 'vue' import CustomLayout from './CustomLayout.vue' import '@shikijs/vitepress-twoslash/style.css' diff --git a/docs/.vitepress/vite.config.ts b/docs/.vitepress/vite.config.ts index 7f5f0425..36b5242c 100644 --- a/docs/.vitepress/vite.config.ts +++ b/docs/.vitepress/vite.config.ts @@ -1,8 +1,8 @@ import { fileURLToPath } from 'node:url' -import { defineConfig } from 'vite' -import Components from 'unplugin-vue-components/vite' import Unocss from 'unocss/vite' import Icons from 'unplugin-icons/vite' +import Components from 'unplugin-vue-components/vite' +import { defineConfig } from 'vite' import { groupIconVitePlugin, localIconLoader } from 'vitepress-plugin-group-icons' import { MarkdownTransform } from './plugins/markdownTransform' diff --git a/package.json b/package.json index 11f840e8..2195deba 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ }, "devDependencies": { "@ampproject/remapping": "^2.3.0", - "@antfu/eslint-config": "^3.0.0", + "@antfu/eslint-config": "^3.7.2", "@antfu/ni": "^0.22.4", "@farmfe/cli": "^1.0.3", "@farmfe/core": "^1.3.12", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c7355785..00cf35f9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -22,8 +22,8 @@ importers: specifier: ^2.3.0 version: 2.3.0 '@antfu/eslint-config': - specifier: ^3.0.0 - version: 3.0.0(@vue/compiler-sfc@3.5.8)(eslint@9.9.1)(typescript@5.5.4)(vitest@2.0.5) + specifier: ^3.7.2 + version: 3.7.2(@vue/compiler-sfc@3.5.8)(eslint@9.9.1)(typescript@5.5.4)(vitest@2.0.5) '@antfu/ni': specifier: ^0.22.4 version: 0.22.4 @@ -101,7 +101,7 @@ importers: version: 'link:' unplugin-unused: specifier: ^0.1.1 - version: 0.1.1(rollup@4.22.4)(webpack-sources@3.2.3) + version: 0.1.1(rollup@4.22.4) vite: specifier: ^5.4.1 version: 5.4.7(@types/node@20.14.15) @@ -155,10 +155,10 @@ importers: version: link:.. unplugin-icons: specifier: ^0.19.2 - version: 0.19.2(@vue/compiler-sfc@3.5.8)(webpack-sources@3.2.3) + version: 0.19.2(@vue/compiler-sfc@3.5.8) unplugin-vue-components: specifier: ^0.27.4 - version: 0.27.4(rollup@4.22.4)(vue@3.4.38)(webpack-sources@3.2.3) + version: 0.27.4(rollup@4.22.4)(vue@3.4.38) vitepress: specifier: ^1.3.2 version: 1.3.2(@algolia/client-search@5.6.1)(@types/node@20.14.15)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2) @@ -365,20 +365,20 @@ packages: '@jridgewell/trace-mapping': 0.3.25 dev: true - /@antfu/eslint-config@3.0.0(@vue/compiler-sfc@3.5.8)(eslint@9.9.1)(typescript@5.5.4)(vitest@2.0.5): - resolution: {integrity: sha512-3HC35LrsW5kvHyVY2U6yat3Uz20/9Re5137LAKqAtl2tKictef2CmdYk5z+qK4UsaY32MMfg98MhuBbvAvZF1w==} + /@antfu/eslint-config@3.7.2(@vue/compiler-sfc@3.5.8)(eslint@9.9.1)(typescript@5.5.4)(vitest@2.0.5): + resolution: {integrity: sha512-kXyOGlXDqjhG3CzO9udn2oz82s7+XF9wQW1buyvji5i9O3yaJCHvUjRCwqd5RFiU1qCSmUAY7ku3AOCEyVunFg==} hasBin: true peerDependencies: '@eslint-react/eslint-plugin': ^1.5.8 '@prettier/plugin-xml': ^3.4.1 '@unocss/eslint-plugin': '>=0.50.0' astro-eslint-parser: ^1.0.2 - eslint: ^9.5.0 + eslint: ^9.10.0 eslint-plugin-astro: ^1.2.0 eslint-plugin-format: '>=0.1.0' eslint-plugin-react-hooks: ^4.6.0 eslint-plugin-react-refresh: ^0.4.4 - eslint-plugin-solid: ^0.13.2 + eslint-plugin-solid: ^0.14.3 eslint-plugin-svelte: '>=2.35.1' prettier-plugin-astro: ^0.13.0 prettier-plugin-slidev: ^1.0.5 @@ -414,35 +414,35 @@ packages: '@antfu/install-pkg': 0.4.1 '@clack/prompts': 0.7.0 '@eslint-community/eslint-plugin-eslint-comments': 4.4.0(eslint@9.9.1) - '@stylistic/eslint-plugin': 2.7.1(eslint@9.9.1)(typescript@5.5.4) - '@typescript-eslint/eslint-plugin': 8.3.0(@typescript-eslint/parser@8.3.0)(eslint@9.9.1)(typescript@5.5.4) - '@typescript-eslint/parser': 8.3.0(eslint@9.9.1)(typescript@5.5.4) - '@vitest/eslint-plugin': 1.1.0(eslint@9.9.1)(typescript@5.5.4)(vitest@2.0.5) + '@eslint/markdown': 6.1.0(eslint@9.9.1) + '@stylistic/eslint-plugin': 2.8.0(eslint@9.9.1)(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 8.7.0(@typescript-eslint/parser@8.7.0)(eslint@9.9.1)(typescript@5.5.4) + '@typescript-eslint/parser': 8.7.0(eslint@9.9.1)(typescript@5.5.4) + '@vitest/eslint-plugin': 1.1.4(eslint@9.9.1)(typescript@5.5.4)(vitest@2.0.5) eslint: 9.9.1(jiti@2.0.0) eslint-config-flat-gitignore: 0.3.0(eslint@9.9.1) - eslint-flat-config-utils: 0.3.1 + eslint-flat-config-utils: 0.4.0 eslint-merge-processors: 0.1.0(eslint@9.9.1) - eslint-plugin-antfu: 2.3.6(eslint@9.9.1) - eslint-plugin-command: 0.2.3(eslint@9.9.1) - eslint-plugin-import-x: 4.1.1(eslint@9.9.1)(typescript@5.5.4) - eslint-plugin-jsdoc: 50.2.2(eslint@9.9.1) + eslint-plugin-antfu: 2.7.0(eslint@9.9.1) + eslint-plugin-command: 0.2.5(eslint@9.9.1) + eslint-plugin-import-x: 4.3.0(eslint@9.9.1)(typescript@5.5.4) + eslint-plugin-jsdoc: 50.2.5(eslint@9.9.1) eslint-plugin-jsonc: 2.16.0(eslint@9.9.1) - eslint-plugin-markdown: 5.1.0(eslint@9.9.1) - eslint-plugin-n: 17.10.2(eslint@9.9.1) + eslint-plugin-n: 17.10.3(eslint@9.9.1) eslint-plugin-no-only-tests: 3.3.0 - eslint-plugin-perfectionist: 3.3.0(eslint@9.9.1)(typescript@5.5.4)(vue-eslint-parser@9.4.3) + eslint-plugin-perfectionist: 3.7.0(eslint@9.9.1)(typescript@5.5.4)(vue-eslint-parser@9.4.3) eslint-plugin-regexp: 2.6.0(eslint@9.9.1) eslint-plugin-toml: 0.11.1(eslint@9.9.1) eslint-plugin-unicorn: 55.0.0(eslint@9.9.1) - eslint-plugin-unused-imports: 4.1.3(@typescript-eslint/eslint-plugin@8.3.0)(eslint@9.9.1) - eslint-plugin-vue: 9.27.0(eslint@9.9.1) + eslint-plugin-unused-imports: 4.1.4(@typescript-eslint/eslint-plugin@8.7.0)(eslint@9.9.1) + eslint-plugin-vue: 9.28.0(eslint@9.9.1) eslint-plugin-yml: 1.14.0(eslint@9.9.1) eslint-processor-vue-blocks: 0.1.2(@vue/compiler-sfc@3.5.8)(eslint@9.9.1) globals: 15.9.0 jsonc-eslint-parser: 2.4.0 local-pkg: 0.5.0 parse-gitignore: 2.0.0 - picocolors: 1.0.1 + picocolors: 1.1.0 toml-eslint-parser: 0.10.0 vue-eslint-parser: 9.4.3(eslint@9.9.1) yaml-eslint-parser: 1.2.3 @@ -1135,18 +1135,6 @@ packages: dev: true optional: true - /@es-joy/jsdoccomment@0.43.1: - resolution: {integrity: sha512-I238eDtOolvCuvtxrnqtlBaw0BwdQuYqK7eA6XIonicMdOOOb75mqdIzkGDUbS04+1Di007rgm9snFRNeVrOog==} - engines: {node: '>=16'} - dependencies: - '@types/eslint': 8.56.11 - '@types/estree': 1.0.6 - '@typescript-eslint/types': 7.17.0 - comment-parser: 1.4.1 - esquery: 1.6.0 - jsdoc-type-pratt-parser: 4.0.0 - dev: true - /@es-joy/jsdoccomment@0.48.0: resolution: {integrity: sha512-G6QUWIcC+KvSwXNsJyDTHvqUdNoAVJPPgkc3+Uk4WBKqZvoXhlvazOgm9aL0HwihJLQf0l+tOE2UFzXBqCqgDw==} engines: {node: '>=16'} @@ -1803,7 +1791,7 @@ packages: dependencies: escape-string-regexp: 4.0.0 eslint: 9.9.1(jiti@2.0.0) - ignore: 5.3.1 + ignore: 5.3.2 dev: true /@eslint-community/eslint-utils@4.4.0(eslint@9.9.0): @@ -1831,6 +1819,11 @@ packages: engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} dev: true + /@eslint-community/regexpp@4.11.1: + resolution: {integrity: sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + dev: true + /@eslint/compat@1.1.1: resolution: {integrity: sha512-lpHyRyplhGPL5mGEh6M9O5nnKk0Gz4bFI+Zu6tKlPpDUN7XshWvH9C/px4UVm87IAANE0W81CEsNGbS1KlzXpA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1885,6 +1878,20 @@ packages: engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} dev: true + /@eslint/markdown@6.1.0(eslint@9.9.1): + resolution: {integrity: sha512-cX1tyD+aIbhzKrCKe/9M5s2jZhldWGOR+cy7cIVpxG9RkoaN4XU+gG3dy6oEKtBFXjDx06GtP0OGO7jgbqa2DA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: '>=9' + dependencies: + eslint: 9.9.1(jiti@2.0.0) + mdast-util-from-markdown: 2.0.1 + mdast-util-gfm: 3.0.0 + micromark-extension-gfm: 3.0.0 + transitivePeerDependencies: + - supports-color + dev: true + /@eslint/object-schema@2.1.4: resolution: {integrity: sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2765,14 +2772,13 @@ packages: - typescript dev: true - /@stylistic/eslint-plugin@2.7.1(eslint@9.9.1)(typescript@5.5.4): - resolution: {integrity: sha512-JqnHom8CP14oOgPhwTPbn0QgsBJwgNySQSe00V9GQQDlY1tEqZUlK4jM2DIOJ5nE+oXoy51vZWHnHkfZ6rEruw==} + /@stylistic/eslint-plugin@2.8.0(eslint@9.9.1)(typescript@5.5.4): + resolution: {integrity: sha512-Ufvk7hP+bf+pD35R/QfunF793XlSRIC7USr3/EdgduK9j13i2JjmsM0LUz3/foS+jDYp2fzyWZA9N44CPur0Ow==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@types/eslint': 9.6.1 - '@typescript-eslint/utils': 8.3.0(eslint@9.9.1)(typescript@5.5.4) + '@typescript-eslint/utils': 8.7.0(eslint@9.9.1)(typescript@5.5.4) eslint: 9.9.1(jiti@2.0.0) eslint-visitor-keys: 4.0.0 espree: 10.1.0 @@ -2829,20 +2835,6 @@ packages: '@types/ms': 0.7.34 dev: true - /@types/eslint@8.56.11: - resolution: {integrity: sha512-sVBpJMf7UPo/wGecYOpk2aQya2VUGeHhe38WG7/mN5FufNSubf5VT9Uh9Uyp8/eLJpu1/tuhJ/qTo4mhSB4V4Q==} - dependencies: - '@types/estree': 1.0.6 - '@types/json-schema': 7.0.15 - dev: true - - /@types/eslint@9.6.1: - resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==} - dependencies: - '@types/estree': 1.0.6 - '@types/json-schema': 7.0.15 - dev: true - /@types/estree@1.0.5: resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} dev: true @@ -2913,12 +2905,6 @@ packages: '@types/mdurl': 2.0.0 dev: true - /@types/mdast@3.0.15: - resolution: {integrity: sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==} - dependencies: - '@types/unist': 2.0.10 - dev: true - /@types/mdast@4.0.4: resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==} dependencies: @@ -3012,10 +2998,6 @@ packages: resolution: {integrity: sha512-P/oDfpofrdtF5xw433SPALpdSchtJmY7nsJItf8h3KXqOslkbySh8zq4dSWXH2oTjRvJ5PczVEoCZPow6GicLg==} dev: true - /@types/unist@2.0.10: - resolution: {integrity: sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==} - dev: true - /@types/unist@3.0.2: resolution: {integrity: sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==} dev: true @@ -3038,8 +3020,8 @@ packages: '@types/node': 20.14.15 dev: true - /@typescript-eslint/eslint-plugin@8.3.0(@typescript-eslint/parser@8.3.0)(eslint@9.9.1)(typescript@5.5.4): - resolution: {integrity: sha512-FLAIn63G5KH+adZosDYiutqkOkYEx0nvcwNNfJAf+c7Ae/H35qWwTYvPZUKFj5AS+WfHG/WJJfWnDnyNUlp8UA==} + /@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0)(eslint@9.9.1)(typescript@5.5.4): + resolution: {integrity: sha512-RIHOoznhA3CCfSTFiB6kBGLQtB/sox+pJ6jeFu6FxJvqL8qRxq/FfGO/UhsGgQM9oGdXkV4xUgli+dt26biB6A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -3049,15 +3031,15 @@ packages: typescript: optional: true dependencies: - '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 8.3.0(eslint@9.9.1)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 8.3.0 - '@typescript-eslint/type-utils': 8.3.0(eslint@9.9.1)(typescript@5.5.4) - '@typescript-eslint/utils': 8.3.0(eslint@9.9.1)(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.3.0 + '@eslint-community/regexpp': 4.11.1 + '@typescript-eslint/parser': 8.7.0(eslint@9.9.1)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.7.0 + '@typescript-eslint/type-utils': 8.7.0(eslint@9.9.1)(typescript@5.5.4) + '@typescript-eslint/utils': 8.7.0(eslint@9.9.1)(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.7.0 eslint: 9.9.1(jiti@2.0.0) graphemer: 1.4.0 - ignore: 5.3.1 + ignore: 5.3.2 natural-compare: 1.4.0 ts-api-utils: 1.3.0(typescript@5.5.4) typescript: 5.5.4 @@ -3065,8 +3047,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@8.3.0(eslint@9.9.1)(typescript@5.5.4): - resolution: {integrity: sha512-h53RhVyLu6AtpUzVCYLPhZGL5jzTD9fZL+SYf/+hYOx2bDkyQXztXSc4tbvKYHzfMXExMLiL9CWqJmVz6+78IQ==} + /@typescript-eslint/parser@8.7.0(eslint@9.9.1)(typescript@5.5.4): + resolution: {integrity: sha512-lN0btVpj2unxHlNYLI//BQ7nzbMJYBVQX5+pbNXvGYazdlgYonMn4AhhHifQ+J4fGRYA/m1DjaQjx+fDetqBOQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -3075,27 +3057,27 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 8.3.0 - '@typescript-eslint/types': 8.3.0 - '@typescript-eslint/typescript-estree': 8.3.0(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.3.0 - debug: 4.3.6 + '@typescript-eslint/scope-manager': 8.7.0 + '@typescript-eslint/types': 8.7.0 + '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.7.0 + debug: 4.3.7 eslint: 9.9.1(jiti@2.0.0) typescript: 5.5.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/scope-manager@8.3.0: - resolution: {integrity: sha512-mz2X8WcN2nVu5Hodku+IR8GgCOl4C0G/Z1ruaWN4dgec64kDBabuXyPAr+/RgJtumv8EEkqIzf3X2U5DUKB2eg==} + /@typescript-eslint/scope-manager@8.7.0: + resolution: {integrity: sha512-87rC0k3ZlDOuz82zzXRtQ7Akv3GKhHs0ti4YcbAJtaomllXoSO8hi7Ix3ccEvCd824dy9aIX+j3d2UMAfCtVpg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} dependencies: - '@typescript-eslint/types': 8.3.0 - '@typescript-eslint/visitor-keys': 8.3.0 + '@typescript-eslint/types': 8.7.0 + '@typescript-eslint/visitor-keys': 8.7.0 dev: true - /@typescript-eslint/type-utils@8.3.0(eslint@9.9.1)(typescript@5.5.4): - resolution: {integrity: sha512-wrV6qh//nLbfXZQoj32EXKmwHf4b7L+xXLrP3FZ0GOUU72gSvLjeWUl5J5Ue5IwRxIV1TfF73j/eaBapxx99Lg==} + /@typescript-eslint/type-utils@8.7.0(eslint@9.9.1)(typescript@5.5.4): + resolution: {integrity: sha512-tl0N0Mj3hMSkEYhLkjREp54OSb/FI6qyCzfiiclvJvOqre6hsZTGSnHtmFLDU8TIM62G7ygEa1bI08lcuRwEnQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -3103,9 +3085,9 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 8.3.0(typescript@5.5.4) - '@typescript-eslint/utils': 8.3.0(eslint@9.9.1)(typescript@5.5.4) - debug: 4.3.6 + '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.5.4) + '@typescript-eslint/utils': 8.7.0(eslint@9.9.1)(typescript@5.5.4) + debug: 4.3.7 ts-api-utils: 1.3.0(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: @@ -3113,18 +3095,13 @@ packages: - supports-color dev: true - /@typescript-eslint/types@7.17.0: - resolution: {integrity: sha512-a29Ir0EbyKTKHnZWbNsrc/gqfIBqYPwj3F2M+jWE/9bqfEHg0AMtXzkbUkOG6QgEScxh2+Pz9OXe11jHDnHR7A==} - engines: {node: ^18.18.0 || >=20.0.0} - dev: true - - /@typescript-eslint/types@8.3.0: - resolution: {integrity: sha512-y6sSEeK+facMaAyixM36dQ5NVXTnKWunfD1Ft4xraYqxP0lC0POJmIaL/mw72CUMqjY9qfyVfXafMeaUj0noWw==} + /@typescript-eslint/types@8.7.0: + resolution: {integrity: sha512-LLt4BLHFwSfASHSF2K29SZ+ZCsbQOM+LuarPjRUuHm+Qd09hSe3GCeaQbcCr+Mik+0QFRmep/FyZBO6fJ64U3w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} dev: true - /@typescript-eslint/typescript-estree@8.3.0(typescript@5.5.4): - resolution: {integrity: sha512-Mq7FTHl0R36EmWlCJWojIC1qn/ZWo2YiWYc1XVtasJ7FIgjo0MVv9rZWXEE7IK2CGrtwe1dVOxWwqXUdNgfRCA==} + /@typescript-eslint/typescript-estree@8.7.0(typescript@5.5.4): + resolution: {integrity: sha512-MC8nmcGHsmfAKxwnluTQpNqceniT8SteVwd2voYlmiSWGOtjvGXdPl17dYu2797GVscK30Z04WRM28CrKS9WOg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -3132,9 +3109,9 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 8.3.0 - '@typescript-eslint/visitor-keys': 8.3.0 - debug: 4.3.6 + '@typescript-eslint/types': 8.7.0 + '@typescript-eslint/visitor-keys': 8.7.0 + debug: 4.3.7 fast-glob: 3.3.2 is-glob: 4.0.3 minimatch: 9.0.5 @@ -3145,27 +3122,27 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@8.3.0(eslint@9.9.1)(typescript@5.5.4): - resolution: {integrity: sha512-F77WwqxIi/qGkIGOGXNBLV7nykwfjLsdauRB/DOFPdv6LTF3BHHkBpq81/b5iMPSF055oO2BiivDJV4ChvNtXA==} + /@typescript-eslint/utils@8.7.0(eslint@9.9.1)(typescript@5.5.4): + resolution: {integrity: sha512-ZbdUdwsl2X/s3CiyAu3gOlfQzpbuG3nTWKPoIvAu1pu5r8viiJvv2NPN2AqArL35NCYtw/lrPPfM4gxrMLNLPw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.1) - '@typescript-eslint/scope-manager': 8.3.0 - '@typescript-eslint/types': 8.3.0 - '@typescript-eslint/typescript-estree': 8.3.0(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.7.0 + '@typescript-eslint/types': 8.7.0 + '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.5.4) eslint: 9.9.1(jiti@2.0.0) transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/visitor-keys@8.3.0: - resolution: {integrity: sha512-RmZwrTbQ9QveF15m/Cl28n0LXD6ea2CjkhH5rQ55ewz3H24w+AMCJHPVYaZ8/0HoG8Z3cLLFFycRXxeO2tz9FA==} + /@typescript-eslint/visitor-keys@8.7.0: + resolution: {integrity: sha512-b1tx0orFCCh/THWPQa2ZwWzvOeyzzp36vkJYOpVg0u8UVOIsfVrnuC9FqAw9gRKn+rG2VmWQ/zDJZzkxUnj/XQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} dependencies: - '@typescript-eslint/types': 8.3.0 + '@typescript-eslint/types': 8.7.0 eslint-visitor-keys: 3.4.3 dev: true @@ -3413,8 +3390,8 @@ packages: vue: 3.4.38(typescript@5.6.2) dev: true - /@vitest/eslint-plugin@1.1.0(eslint@9.9.1)(typescript@5.5.4)(vitest@2.0.5): - resolution: {integrity: sha512-Ur80Y27Wbw8gFHJ3cv6vypcjXmrx6QHfw+q435h6Q2L+tf+h4Xf5pJTCL4YU/Jps9EVeggQxS85OcUZU7sdXRw==} + /@vitest/eslint-plugin@1.1.4(eslint@9.9.1)(typescript@5.5.4)(vitest@2.0.5): + resolution: {integrity: sha512-kudjgefmJJ7xQ2WfbUU6pZbm7Ou4gLYRaao/8Ynide3G0QhVKHd978sDyWX4KOH0CCMH9cyrGAkFd55eGzJ48Q==} peerDependencies: '@typescript-eslint/utils': '>= 8.0' eslint: '>= 8.57.0' @@ -4182,6 +4159,17 @@ packages: update-browserslist-db: 1.1.0(browserslist@4.23.3) dev: true + /browserslist@4.24.0: + resolution: {integrity: sha512-Rmb62sR1Zpjql25eSanFGEhAxcFwfA1K0GuQcLoaJBAcENegrQut3hYdhXFF1obQfiDyqIW/cLM5HSJ/9k884A==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + dependencies: + caniuse-lite: 1.0.30001664 + electron-to-chromium: 1.5.29 + node-releases: 2.0.18 + update-browserslist-db: 1.1.0(browserslist@4.24.0) + dev: true + /buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} dev: true @@ -4319,6 +4307,10 @@ packages: resolution: {integrity: sha512-XGWQVB8wFQ2+9NZwZ10GxTYC5hk0Fa+q8cSkr0tgvMhYhMHP/QC+WTgrePMDBWiWc/pV+1ik82Al20XOK25Gcw==} dev: true + /caniuse-lite@1.0.30001664: + resolution: {integrity: sha512-AmE7k4dXiNKQipgn7a2xg558IRqPN3jMQY/rOsbxDhrd0tyChwbITBfiwtnqz8bi2M5mIWbxAYBvk7W7QBUS2g==} + dev: true + /case-police@0.6.1: resolution: {integrity: sha512-tOgkG3HhtzNVHU+HVHqbpVJ3CICPDihtlgoM2C4dx0RLeo6qcNVeBgiYJN5Bln+stxKrnKrw89CFgqYQDqwZQg==} hasBin: true @@ -4361,22 +4353,10 @@ 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==} - dev: true - - /character-entities@1.2.4: - resolution: {integrity: sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==} - dev: true - /character-entities@2.0.2: resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==} dev: true - /character-reference-invalid@1.1.4: - resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==} - dev: true - /chardet@0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} dev: true @@ -4769,10 +4749,10 @@ packages: is-what: 4.1.16 dev: true - /core-js-compat@3.37.1: - resolution: {integrity: sha512-9TNiImhKvQqSUkOvk/mMRZzOANTiEVC7WaBNhHcKM7x+/5E1l5NvsysR19zuDQScE8k+kfQXWRN3AtS/eOSHpg==} + /core-js-compat@3.38.1: + resolution: {integrity: sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==} dependencies: - browserslist: 4.23.3 + browserslist: 4.24.0 dev: true /core-js@3.37.1: @@ -4857,6 +4837,18 @@ packages: ms: 2.1.2 dev: true + /debug@4.3.7: + resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.3 + dev: true + /decode-named-character-reference@1.0.2: resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==} dependencies: @@ -5042,6 +5034,10 @@ packages: resolution: {integrity: sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q==} dev: true + /electron-to-chromium@1.5.29: + resolution: {integrity: sha512-PF8n2AlIhCKXQ+gTpiJi0VhcHDb69kYX4MtCiivctc2QD3XuNZ/XIOlbGzt7WAjjEev0TtaH6Cu3arZExm5DOw==} + dev: true + /emoji-regex@10.3.0: resolution: {integrity: sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==} dev: true @@ -5264,10 +5260,9 @@ packages: find-up-simple: 1.0.0 dev: true - /eslint-flat-config-utils@0.3.1: - resolution: {integrity: sha512-eFT3EaoJN1hlN97xw4FIEX//h0TiFUobgl2l5uLkIwhVN9ahGq95Pbs+i1/B5UACA78LO3rco3JzuvxLdTUOPA==} + /eslint-flat-config-utils@0.4.0: + resolution: {integrity: sha512-kfd5kQZC+BMO0YwTol6zxjKX1zAsk8JfSAopbKjKqmENTJcew+yBejuvccAg37cvOrN0Mh+DVbeyznuNWEjt4A==} dependencies: - '@types/eslint': 9.6.1 pathe: 1.1.2 dev: true @@ -5275,7 +5270,7 @@ packages: resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} dependencies: debug: 3.2.7 - is-core-module: 2.15.0 + is-core-module: 2.15.1 resolve: 1.22.8 transitivePeerDependencies: - supports-color @@ -5289,8 +5284,8 @@ packages: eslint: 9.9.1(jiti@2.0.0) dev: true - /eslint-plugin-antfu@2.3.6(eslint@9.9.1): - resolution: {integrity: sha512-31VwbU1Yd4BFNUUPQEazKyP79f3c+ohJtq5iZIuw38JjkRQdQAcF/31Kjr0DOKZXVDkeeNPrttKidrr3xhnhOA==} + /eslint-plugin-antfu@2.7.0(eslint@9.9.1): + resolution: {integrity: sha512-gZM3jq3ouqaoHmUNszb1Zo2Ux7RckSvkGksjLWz9ipBYGSv1EwwBETN6AdiUXn+RpVHXTbEMPAPlXJazcA6+iA==} peerDependencies: eslint: '*' dependencies: @@ -5298,12 +5293,12 @@ packages: eslint: 9.9.1(jiti@2.0.0) dev: true - /eslint-plugin-command@0.2.3(eslint@9.9.1): - resolution: {integrity: sha512-1bBYNfjZg60N2ZpLV5ATYSYyueIJ+zl5yKrTs0UFDdnyu07dNSZ7Xplnc+Wb6SXTdc1sIaoIrnuyhvztcltX6A==} + /eslint-plugin-command@0.2.5(eslint@9.9.1): + resolution: {integrity: sha512-mbCaSHD37MT8nVJnJUz2oeDfhz0wdOjfrqQVWkSpXuj3uU8m7/FK/niV2bL922af3M1js5x7Xcu3PwqWsrahfA==} peerDependencies: eslint: '*' dependencies: - '@es-joy/jsdoccomment': 0.43.1 + '@es-joy/jsdoccomment': 0.48.0 eslint: 9.9.1(jiti@2.0.0) dev: true @@ -5314,24 +5309,23 @@ packages: eslint: '>=8' dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.1) - '@eslint-community/regexpp': 4.11.0 + '@eslint-community/regexpp': 4.11.1 eslint: 9.9.1(jiti@2.0.0) eslint-compat-utils: 0.5.1(eslint@9.9.1) dev: true - /eslint-plugin-import-x@4.1.1(eslint@9.9.1)(typescript@5.5.4): - resolution: {integrity: sha512-dBEM8fACIFNt4H7GoOaRmnH6evJW6JSTJTYYgmRd3vI4geBTjgDM/JyUDKUwIw0HDSyI+u7Vs3vFRXUo/BOAtA==} + /eslint-plugin-import-x@4.3.0(eslint@9.9.1)(typescript@5.5.4): + resolution: {integrity: sha512-PxGzP7gAjF2DLeRnQtbYkkgZDg1intFyYr/XS1LgTYXUDrSXMHGkXx8++6i2eDv2jMs0jfeO6G6ykyeWxiFX7w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 dependencies: - '@typescript-eslint/typescript-estree': 8.3.0(typescript@5.5.4) - '@typescript-eslint/utils': 8.3.0(eslint@9.9.1)(typescript@5.5.4) - debug: 4.3.6 + '@typescript-eslint/utils': 8.7.0(eslint@9.9.1)(typescript@5.5.4) + debug: 4.3.7 doctrine: 3.0.0 eslint: 9.9.1(jiti@2.0.0) eslint-import-resolver-node: 0.3.9 - get-tsconfig: 4.7.6 + get-tsconfig: 4.8.1 is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 @@ -5342,8 +5336,8 @@ packages: - typescript dev: true - /eslint-plugin-jsdoc@50.2.2(eslint@9.9.1): - resolution: {integrity: sha512-i0ZMWA199DG7sjxlzXn5AeYZxpRfMJjDPUl7lL9eJJX8TPRoIaxJU4ys/joP5faM5AXE1eqW/dslCj3uj4Nqpg==} + /eslint-plugin-jsdoc@50.2.5(eslint@9.9.1): + resolution: {integrity: sha512-o3pVL19dSO3et+env3uV2WjrMX8oEqZjBF8lZBpLl9/CgqaRAIx5UaSPfrbHKB/JlHldWOFFGrUeZWmpWUds6g==} engines: {node: '>=18'} peerDependencies: eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 @@ -5351,12 +5345,12 @@ packages: '@es-joy/jsdoccomment': 0.48.0 are-docs-informative: 0.0.2 comment-parser: 1.4.1 - debug: 4.3.6 + debug: 4.3.7 escape-string-regexp: 4.0.0 eslint: 9.9.1(jiti@2.0.0) espree: 10.1.0 esquery: 1.6.0 - parse-imports: 2.1.1 + parse-imports: 2.2.1 semver: 7.6.3 spdx-expression-parse: 4.0.0 synckit: 0.9.1 @@ -5380,20 +5374,8 @@ packages: synckit: 0.6.2 dev: true - /eslint-plugin-markdown@5.1.0(eslint@9.9.1): - resolution: {integrity: sha512-SJeyKko1K6GwI0AN6xeCDToXDkfKZfXcexA6B+O2Wr2btUS9GrC+YgwSyVli5DJnctUHjFXcQ2cqTaAmVoLi2A==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - eslint: '>=8' - dependencies: - eslint: 9.9.1(jiti@2.0.0) - mdast-util-from-markdown: 0.8.5 - transitivePeerDependencies: - - supports-color - dev: true - - /eslint-plugin-n@17.10.2(eslint@9.9.1): - resolution: {integrity: sha512-e+s4eAf5NtJaxPhTNu3qMO0Iz40WANS93w9LQgYcvuljgvDmWi/a3rh+OrNyMHeng6aOWGJO0rCg5lH4zi8yTw==} + /eslint-plugin-n@17.10.3(eslint@9.9.1): + resolution: {integrity: sha512-ySZBfKe49nQZWR1yFaA0v/GsH6Fgp8ah6XV0WDz6CN8WO0ek4McMzb7A2xnf4DCYV43frjCygvb9f/wx7UUxRw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: '>=8.23.0' @@ -5402,9 +5384,9 @@ packages: enhanced-resolve: 5.17.1 eslint: 9.9.1(jiti@2.0.0) eslint-plugin-es-x: 7.8.0(eslint@9.9.1) - get-tsconfig: 4.7.6 + get-tsconfig: 4.8.1 globals: 15.9.0 - ignore: 5.3.1 + ignore: 5.3.2 minimatch: 9.0.5 semver: 7.6.3 dev: true @@ -5414,14 +5396,14 @@ packages: engines: {node: '>=5.0.0'} dev: true - /eslint-plugin-perfectionist@3.3.0(eslint@9.9.1)(typescript@5.5.4)(vue-eslint-parser@9.4.3): - resolution: {integrity: sha512-sGgShkEqDBqIZ3WlenGHwLe1cl3vHKTfeh9b1XXAamaxSC7AY4Os0jdNCXnGJW4l0TlpismT5t2r7CXY7sfKlw==} + /eslint-plugin-perfectionist@3.7.0(eslint@9.9.1)(typescript@5.5.4)(vue-eslint-parser@9.4.3): + resolution: {integrity: sha512-pemhfcR3LDbYVWeveHok9u048yR7GpsnfyPvn6RsDkp/UV7iqBV0y5K0aGb9ZJMsemOyWok7akxGzPLsz+mHKQ==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: astro-eslint-parser: ^1.0.2 eslint: '>=8.0.0' svelte: '>=3.0.0' - svelte-eslint-parser: ^0.41.0 + svelte-eslint-parser: ^0.41.1 vue-eslint-parser: '>=9.0.0' peerDependenciesMeta: astro-eslint-parser: @@ -5433,10 +5415,10 @@ packages: vue-eslint-parser: optional: true dependencies: - '@typescript-eslint/types': 8.3.0 - '@typescript-eslint/utils': 8.3.0(eslint@9.9.1)(typescript@5.5.4) + '@typescript-eslint/types': 8.7.0 + '@typescript-eslint/utils': 8.7.0(eslint@9.9.1)(typescript@5.5.4) eslint: 9.9.1(jiti@2.0.0) - minimatch: 10.0.1 + minimatch: 9.0.5 natural-compare-lite: 1.4.0 vue-eslint-parser: 9.4.3(eslint@9.9.1) transitivePeerDependencies: @@ -5451,7 +5433,7 @@ packages: eslint: '>=8.44.0' dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.1) - '@eslint-community/regexpp': 4.11.0 + '@eslint-community/regexpp': 4.11.1 comment-parser: 1.4.1 eslint: 9.9.1(jiti@2.0.0) jsdoc-type-pratt-parser: 4.1.0 @@ -5466,7 +5448,7 @@ packages: peerDependencies: eslint: '>=6.0.0' dependencies: - debug: 4.3.6 + debug: 4.3.7 eslint: 9.9.1(jiti@2.0.0) eslint-compat-utils: 0.5.1(eslint@9.9.1) lodash: 4.17.21 @@ -5485,7 +5467,7 @@ packages: '@eslint-community/eslint-utils': 4.4.0(eslint@9.9.1) ci-info: 4.0.0 clean-regexp: 1.0.0 - core-js-compat: 3.37.1 + core-js-compat: 3.38.1 eslint: 9.9.1(jiti@2.0.0) esquery: 1.6.0 globals: 15.9.0 @@ -5500,8 +5482,8 @@ packages: strip-indent: 3.0.0 dev: true - /eslint-plugin-unused-imports@4.1.3(@typescript-eslint/eslint-plugin@8.3.0)(eslint@9.9.1): - resolution: {integrity: sha512-lqrNZIZjFMUr7P06eoKtQLwyVRibvG7N+LtfKtObYGizAAGrcqLkc3tDx+iAik2z7q0j/XI3ihjupIqxhFabFA==} + /eslint-plugin-unused-imports@4.1.4(@typescript-eslint/eslint-plugin@8.7.0)(eslint@9.9.1): + resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==} peerDependencies: '@typescript-eslint/eslint-plugin': ^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0 eslint: ^9.0.0 || ^8.0.0 @@ -5509,12 +5491,12 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 8.3.0(@typescript-eslint/parser@8.3.0)(eslint@9.9.1)(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 8.7.0(@typescript-eslint/parser@8.7.0)(eslint@9.9.1)(typescript@5.5.4) eslint: 9.9.1(jiti@2.0.0) dev: true - /eslint-plugin-vue@9.27.0(eslint@9.9.1): - resolution: {integrity: sha512-5Dw3yxEyuBSXTzT5/Ge1X5kIkRTQ3nvBn/VwPwInNiZBSJOO/timWMUaflONnFBzU6NhB68lxnCda7ULV5N7LA==} + /eslint-plugin-vue@9.28.0(eslint@9.9.1): + resolution: {integrity: sha512-ShrihdjIhOTxs+MfWun6oJWuk+g/LAhN+CiuOl/jjkG3l0F2AuK5NMTaWqyvBgkFtpYmyks6P4603mLmhNJW8g==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 @@ -5524,7 +5506,7 @@ packages: globals: 13.24.0 natural-compare: 1.4.0 nth-check: 2.1.1 - postcss-selector-parser: 6.1.1 + postcss-selector-parser: 6.1.2 semver: 7.6.3 vue-eslint-parser: 9.4.3(eslint@9.9.1) xml-name-validator: 4.0.0 @@ -5538,7 +5520,7 @@ packages: peerDependencies: eslint: '>=6.0.0' dependencies: - debug: 4.3.6 + debug: 4.3.7 eslint: 9.9.1(jiti@2.0.0) eslint-compat-utils: 0.5.1(eslint@9.9.1) lodash: 4.17.21 @@ -6277,6 +6259,12 @@ packages: resolve-pkg-maps: 1.0.0 dev: true + /get-tsconfig@4.8.1: + resolution: {integrity: sha512-k9PN+cFBmaLWtVz29SkUoqU5O0slLuHJXt/2P+tMVFT+phsSGXGkp9t3rQIqdz0e+06EHNGs3oM6ZX1s2zHxRg==} + dependencies: + resolve-pkg-maps: 1.0.0 + dev: true + /giget@1.2.3: resolution: {integrity: sha512-8EHPljDvs7qKykr6uw8b+lqLiUc/vUg+KVTI0uND4s63TdsZM2Xus3mflvF0DDG9SiM4RlCkFGL+7aAjRmV7KA==} hasBin: true @@ -6622,6 +6610,11 @@ packages: engines: {node: '>= 4'} dev: true + /ignore@5.3.2: + resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} + engines: {node: '>= 4'} + dev: true + /import-fresh@3.3.0: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} @@ -6718,17 +6711,6 @@ packages: engines: {node: '>= 10'} 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-arrayish@0.2.1: resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} dev: true @@ -6754,8 +6736,11 @@ packages: hasown: 2.0.2 dev: true - /is-decimal@1.0.4: - resolution: {integrity: sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==} + /is-core-module@2.15.1: + resolution: {integrity: sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==} + engines: {node: '>= 0.4'} + dependencies: + hasown: 2.0.2 dev: true /is-docker@2.2.1: @@ -6806,10 +6791,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'} @@ -6989,11 +6970,6 @@ packages: argparse: 2.0.1 dev: true - /jsdoc-type-pratt-parser@4.0.0: - resolution: {integrity: sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==} - engines: {node: '>=12.0.0'} - dev: true - /jsdoc-type-pratt-parser@4.1.0: resolution: {integrity: sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==} engines: {node: '>=12.0.0'} @@ -7396,18 +7372,6 @@ packages: unist-util-visit-parents: 6.0.1 dev: true - /mdast-util-from-markdown@0.8.5: - resolution: {integrity: sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==} - dependencies: - '@types/mdast': 3.0.15 - 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 - dev: true - /mdast-util-from-markdown@2.0.1: resolution: {integrity: sha512-aJEUyzZ6TzlsX2s5B4Of7lN7EQtAxvtradMMglCQDyaTFgse6CmtmdJ15ElnVRlCg1vpNyVtbem0PWzlNieZsA==} dependencies: @@ -7530,10 +7494,6 @@ packages: zwitch: 2.0.4 dev: true - /mdast-util-to-string@2.0.0: - resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==} - dev: true - /mdast-util-to-string@4.0.0: resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} dependencies: @@ -7607,6 +7567,78 @@ packages: micromark-util-types: 2.0.0 dev: true + /micromark-extension-gfm-autolink-literal@2.1.0: + resolution: {integrity: sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==} + dependencies: + micromark-util-character: 2.1.0 + micromark-util-sanitize-uri: 2.0.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + 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.1 + micromark-factory-space: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-normalize-identifier: 2.0.0 + micromark-util-sanitize-uri: 2.0.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + dev: true + + /micromark-extension-gfm-strikethrough@2.1.0: + resolution: {integrity: sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==} + dependencies: + devlop: 1.1.0 + micromark-util-chunked: 2.0.0 + micromark-util-classify-character: 2.0.0 + micromark-util-resolve-all: 2.0.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + dev: true + + /micromark-extension-gfm-table@2.1.0: + resolution: {integrity: sha512-Ub2ncQv+fwD70/l4ou27b4YzfNaCJOvyX4HxXU15m7mpYY+rjuWzsLIPZHJL253Z643RpbcP1oeIJlQ/SKW67g==} + dependencies: + devlop: 1.1.0 + micromark-factory-space: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + dev: true + + /micromark-extension-gfm-tagfilter@2.0.0: + resolution: {integrity: sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==} + dependencies: + micromark-util-types: 2.0.0 + 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.0.0 + micromark-util-character: 2.1.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + 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.0 + micromark-extension-gfm-tagfilter: 2.0.0 + micromark-extension-gfm-task-list-item: 2.1.0 + micromark-util-combine-extensions: 2.0.0 + micromark-util-types: 2.0.0 + dev: true + /micromark-factory-destination@2.0.0: resolution: {integrity: sha512-j9DGrQLm/Uhl2tCzcbLhy5kXsgkHUrjJHg4fFAeoMRwJmJerT9aw4FEhIbZStWN8A3qMwOp1uzHr4UL8AInxtA==} dependencies: @@ -7737,15 +7769,6 @@ packages: resolution: {integrity: sha512-oNh6S2WMHWRZrmutsRmDDfkzKtxF+bc2VxLC9dvtrDIRFln627VsFP6fLMgTryGDljgLPjkrzQSDcPrjPyDJ5w==} dev: true - /micromark@2.11.4: - resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} - dependencies: - debug: 4.3.6 - parse-entities: 2.0.0 - transitivePeerDependencies: - - supports-color - dev: true - /micromark@4.0.0: resolution: {integrity: sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ==} dependencies: @@ -7825,13 +7848,6 @@ packages: resolution: {integrity: sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==} dev: true - /minimatch@10.0.1: - resolution: {integrity: sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==} - engines: {node: 20 || >=22} - dependencies: - brace-expansion: 2.0.1 - dev: true - /minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} dependencies: @@ -8239,24 +8255,13 @@ packages: 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-gitignore@2.0.0: resolution: {integrity: sha512-RmVuCHWsfu0QPNW+mraxh/xjQVw/lhUCUru8Zni3Ctq3AoMhpDTq0OVdKS6iesd6Kqb7viCV3isAL43dciOSog==} engines: {node: '>=14'} dev: true - /parse-imports@2.1.1: - resolution: {integrity: sha512-TDT4HqzUiTMO1wJRwg/t/hYk8Wdp3iF/ToMIlAoVQfL1Xs/sTxq1dKWSMjMbQmIarfWKymOyly40+zmPHXMqCA==} + /parse-imports@2.2.1: + resolution: {integrity: sha512-OL/zLggRp8mFhKL0rNORUTR4yBYujK/uU+xZL+/0Rgm2QE4nLO9v8PzEweSJEbMGKmDRjJE4R3IMJlL2di4JeQ==} engines: {node: '>= 18'} dependencies: es-module-lexer: 1.5.4 @@ -8421,8 +8426,8 @@ packages: lilconfig: 3.1.2 dev: true - /postcss-selector-parser@6.1.1: - resolution: {integrity: sha512-b4dlw/9V8A71rLIDsSwVmak9z2DuBUB7CA1/wSdelNEzqsjoSPeADTWNO09lpH49Diy3/JIZ2bSPB1dI3LJCHg==} + /postcss-selector-parser@6.1.2: + resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==} engines: {node: '>=4'} dependencies: cssesc: 3.0.0 @@ -8631,7 +8636,7 @@ packages: resolution: {integrity: sha512-J8rn6v4DBb2nnFqkqwy6/NnTYMcgLA+sLr0iIO41qpv0n+ngb7ksag2tMRl0inb1bbO/esUwzW1vbJi7K0sI0g==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} dependencies: - '@eslint-community/regexpp': 4.11.0 + '@eslint-community/regexpp': 4.11.1 dev: true /regenerator-runtime@0.14.1: @@ -8642,7 +8647,7 @@ packages: resolution: {integrity: sha512-sZuz1dYW/ZsfG17WSAG7eS85r5a0dDsvg+7BiiYR5o6lKCAtUrEwdmRmaGF6rwVj3LcmAeYkOWKEPlbPzN3Y3A==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} dependencies: - '@eslint-community/regexpp': 4.11.0 + '@eslint-community/regexpp': 4.11.1 refa: 0.12.1 dev: true @@ -8857,7 +8862,7 @@ packages: resolution: {integrity: sha512-3A6sD0WYP7+QrjbfNA2FN3FsOaGGFoekCVgTyypy53gPxhbkCIjtO6YWgdrfM+n/8sI8JeXZOIxsHjMTNxQ4nQ==} engines: {node: ^14.0.0 || >=16.0.0} dependencies: - '@eslint-community/regexpp': 4.11.0 + '@eslint-community/regexpp': 4.11.1 refa: 0.12.1 regexp-ast-analysis: 0.7.1 dev: true @@ -9164,13 +9169,17 @@ packages: resolution: {integrity: sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==} dependencies: spdx-exceptions: 2.5.0 - spdx-license-ids: 3.0.18 + spdx-license-ids: 3.0.20 dev: true /spdx-license-ids@3.0.18: resolution: {integrity: sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ==} dev: true + /spdx-license-ids@3.0.20: + resolution: {integrity: sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==} + dev: true + /spdy-transport@3.0.0: resolution: {integrity: sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==} dependencies: @@ -9793,12 +9802,6 @@ packages: '@types/unist': 3.0.2 dev: true - /unist-util-stringify-position@2.0.3: - resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==} - dependencies: - '@types/unist': 2.0.10 - dev: true - /unist-util-stringify-position@4.0.0: resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} dependencies: @@ -9874,7 +9877,7 @@ packages: engines: {node: '>= 0.8'} dev: true - /unplugin-icons@0.19.2(@vue/compiler-sfc@3.5.8)(webpack-sources@3.2.3): + /unplugin-icons@0.19.2(@vue/compiler-sfc@3.5.8): resolution: {integrity: sha512-QkQJ/Iz3PFr/EoiOvFUQYvqbbJZ7Vs3hObKAFHh5eywTU1PQagSNeXKGRD+JpzXSTnUNLtG0u/xEA5Ec2OeANQ==} peerDependencies: '@svgr/core': '>=7.0.0' @@ -9901,26 +9904,26 @@ packages: debug: 4.3.6 kolorist: 1.8.0 local-pkg: 0.5.0 - unplugin: 1.14.1(webpack-sources@3.2.3) + unplugin: 1.14.1 transitivePeerDependencies: - supports-color - webpack-sources dev: true - /unplugin-unused@0.1.1(rollup@4.22.4)(webpack-sources@3.2.3): + /unplugin-unused@0.1.1(rollup@4.22.4): resolution: {integrity: sha512-Vhflt50DZ7KSYQNacsoLD7KJX1M6RhFUbD7ZeHPc37sS5nkY/dM7KPaH7j+4CYzmhNjfkGd/mE6FTdJ9h7e/5A==} engines: {node: '>=18.12.0'} dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.22.4) js-tokens: 9.0.0 pkg-types: 1.2.0 - unplugin: 1.14.1(webpack-sources@3.2.3) + unplugin: 1.14.1 transitivePeerDependencies: - rollup - webpack-sources dev: true - /unplugin-vue-components@0.27.4(rollup@4.22.4)(vue@3.4.38)(webpack-sources@3.2.3): + /unplugin-vue-components@0.27.4(rollup@4.22.4)(vue@3.4.38): resolution: {integrity: sha512-1XVl5iXG7P1UrOMnaj2ogYa5YTq8aoh5jwDPQhemwO/OrXW+lPQKDXd1hMz15qxQPxgb/XXlbgo3HQ2rLEbmXQ==} engines: {node: '>=14'} peerDependencies: @@ -9942,7 +9945,7 @@ packages: magic-string: 0.30.11 minimatch: 9.0.5 mlly: 1.7.1 - unplugin: 1.14.1(webpack-sources@3.2.3) + unplugin: 1.14.1 vue: 3.4.38(typescript@5.6.2) transitivePeerDependencies: - rollup @@ -9950,7 +9953,7 @@ packages: - webpack-sources dev: true - /unplugin@1.14.1(webpack-sources@3.2.3): + /unplugin@1.14.1: resolution: {integrity: sha512-lBlHbfSFPToDYp9pjXlUEFVxYLaue9f9T1HC+4OHlmj+HnMDdz9oZY+erXfoCe/5V/7gKUSY2jpXPb9S7f0f/w==} engines: {node: '>=14.0.0'} peerDependencies: @@ -9960,7 +9963,6 @@ packages: optional: true dependencies: acorn: 8.12.1 - webpack-sources: 3.2.3 webpack-virtual-modules: 0.6.2 dev: true @@ -9980,6 +9982,17 @@ packages: picocolors: 1.1.0 dev: true + /update-browserslist-db@1.1.0(browserslist@4.24.0): + resolution: {integrity: sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + dependencies: + browserslist: 4.24.0 + escalade: 3.2.0 + picocolors: 1.1.0 + dev: true + /uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} dependencies: @@ -10310,7 +10323,7 @@ packages: peerDependencies: eslint: '>=6.0.0' dependencies: - debug: 4.3.6 + debug: 4.3.7 eslint: 9.9.1(jiti@2.0.0) eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 @@ -10719,7 +10732,7 @@ packages: dependencies: eslint-visitor-keys: 3.4.3 lodash: 4.17.21 - yaml: 2.5.0 + yaml: 2.5.1 dev: true /yaml@2.5.0: @@ -10728,6 +10741,12 @@ packages: hasBin: true dev: true + /yaml@2.5.1: + resolution: {integrity: sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==} + engines: {node: '>= 14'} + hasBin: true + dev: true + /yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} diff --git a/scripts/buildFixtures.ts b/scripts/buildFixtures.ts index 17016f70..678ccec7 100644 --- a/scripts/buildFixtures.ts +++ b/scripts/buildFixtures.ts @@ -1,5 +1,5 @@ -import { join, resolve } from 'path' import { execSync } from 'child_process' +import { join, resolve } from 'path' import process from 'process' import fs from 'fs-extra' import c from 'picocolors' diff --git a/src/define.ts b/src/define.ts index 19692a67..64266910 100644 --- a/src/define.ts +++ b/src/define.ts @@ -1,9 +1,9 @@ +import type { UnpluginFactory, UnpluginInstance } from './types' import { getEsbuildPlugin } from './esbuild' import { getFarmPlugin } from './farm' import { getRolldownPlugin } from './rolldown' import { getRollupPlugin } from './rollup' import { getRspackPlugin } from './rspack' -import type { UnpluginFactory, UnpluginInstance } from './types' import { getVitePlugin } from './vite' import { getWebpackPlugin } from './webpack' diff --git a/src/esbuild/index.ts b/src/esbuild/index.ts index 4def8b0d..b2a63cc3 100644 --- a/src/esbuild/index.ts +++ b/src/esbuild/index.ts @@ -1,8 +1,6 @@ -import fs from 'fs' -import path from 'path' -import type { SourceMap } from 'rollup' import type { RawSourceMap } from '@ampproject/remapping' import type { OnLoadOptions, OnLoadResult, PluginBuild } from 'esbuild' +import type { SourceMap } from 'rollup' import type { EsbuildPlugin, UnpluginContextMeta, @@ -10,6 +8,8 @@ import type { UnpluginInstance, UnpluginOptions, } from '../types' +import fs from 'fs' +import path from 'path' import { combineSourcemaps, createBuildContext, @@ -133,7 +133,7 @@ export function getEsbuildPlugin>( return { name: (plugins.length === 1 ? plugins[0].name : meta.esbuildHostName) - ?? `unplugin-host:${plugins.map(p => p.name).join(':')}`, + ?? `unplugin-host:${plugins.map(p => p.name).join(':')}`, setup: setupPlugins, } } diff --git a/src/esbuild/utils.ts b/src/esbuild/utils.ts index cedbb5b0..31ddd7ed 100644 --- a/src/esbuild/utils.ts +++ b/src/esbuild/utils.ts @@ -1,13 +1,13 @@ -import fs from 'fs' -import path from 'path' -import { Buffer } from 'buffer' -import remapping from '@ampproject/remapping' -import { Parser } from 'acorn' import type { DecodedSourceMap, EncodedSourceMap } from '@ampproject/remapping' import type { Loader, Location, Message, PartialMessage } from 'esbuild' import type { SourceMap } from 'rollup' -import type { UnpluginBuildContext, UnpluginContext, UnpluginMessage } from '../types' import type { EsbuildPluginBuild } from '.' +import type { UnpluginBuildContext, UnpluginContext, UnpluginMessage } from '../types' +import { Buffer } from 'buffer' +import fs from 'fs' +import path from 'path' +import remapping from '@ampproject/remapping' +import { Parser } from 'acorn' export * from '../utils' diff --git a/src/farm/context.ts b/src/farm/context.ts index b59571ab..5085d4ff 100644 --- a/src/farm/context.ts +++ b/src/farm/context.ts @@ -1,8 +1,8 @@ +import type { CompilationContext } from '@farmfe/core' +import type { UnpluginBuildContext, UnpluginContext } from '../types' import { Buffer } from 'buffer' import { extname } from 'path' import { Parser } from 'acorn' -import type { CompilationContext } from '@farmfe/core' -import type { UnpluginBuildContext, UnpluginContext } from '../types' export function createFarmContext( context: CompilationContext, diff --git a/src/farm/index.ts b/src/farm/index.ts index 347348b2..d0ed9c47 100644 --- a/src/farm/index.ts +++ b/src/farm/index.ts @@ -1,4 +1,3 @@ -import path from 'path' import type { CompilationContext, JsPlugin, @@ -8,7 +7,6 @@ import type { PluginTransformHookParam, PluginTransformHookResult, } from '@farmfe/core' -import { toArray } from '../utils' import type { JsPluginExtended, TransformResult, @@ -17,7 +15,11 @@ import type { UnpluginInstance, UnpluginOptions, } from '../types' +import type { WatchChangeEvents } from './utils' +import path from 'path' +import { toArray } from '../utils' import { createFarmContext, unpluginContext } from './context' + import { convertEnforceToPriority, convertWatchEventChange, @@ -29,8 +31,6 @@ import { transformQuery, } from './utils' -import type { WatchChangeEvents } from './utils' - export function getFarmPlugin< UserOptions = Record, Nested extends boolean = boolean, diff --git a/src/farm/utils.ts b/src/farm/utils.ts index a1caa569..dd3eb855 100644 --- a/src/farm/utils.ts +++ b/src/farm/utils.ts @@ -1,6 +1,6 @@ +import type { TransformResult } from '../types' import path from 'path' import * as querystring from 'querystring' -import type { TransformResult } from '../types' export * from '../utils' diff --git a/src/rolldown/index.ts b/src/rolldown/index.ts index 03fe524a..99c17e00 100644 --- a/src/rolldown/index.ts +++ b/src/rolldown/index.ts @@ -1,5 +1,5 @@ -import { toRollupPlugin } from '../rollup' import type { RolldownPlugin, UnpluginContextMeta, UnpluginFactory, UnpluginInstance } from '../types' +import { toRollupPlugin } from '../rollup' import { toArray } from '../utils' export function getRolldownPlugin, Nested extends boolean = boolean>( diff --git a/src/rspack/context.ts b/src/rspack/context.ts index e267b3b8..787d0a7a 100644 --- a/src/rspack/context.ts +++ b/src/rspack/context.ts @@ -1,8 +1,8 @@ -import { resolve } from 'path' -import { Buffer } from 'buffer' import type { Compilation, Compiler, LoaderContext } from '@rspack/core' -import { Parser } from 'acorn' import type { UnpluginBuildContext, UnpluginContext, UnpluginMessage } from '../types' +import { Buffer } from 'buffer' +import { resolve } from 'path' +import { Parser } from 'acorn' export function createBuildContext(compiler: Compiler, compilation: Compilation, loaderContext?: LoaderContext): UnpluginBuildContext { return { diff --git a/src/rspack/index.ts b/src/rspack/index.ts index 6be133f6..d5e70b50 100644 --- a/src/rspack/index.ts +++ b/src/rspack/index.ts @@ -1,7 +1,4 @@ -import fs from 'fs' -import { resolve } from 'path' import type { RspackPluginInstance } from '@rspack/core' -import { normalizeAbsolutePath, toArray, transformUse } from '../utils' import type { ResolvedUnpluginOptions, UnpluginContext, @@ -9,8 +6,11 @@ import type { UnpluginFactory, UnpluginInstance, } from '../types' +import fs from 'fs' +import { resolve } from 'path' +import { normalizeAbsolutePath, toArray, transformUse } from '../utils' import { createBuildContext, normalizeMessage } from './context' -import { FakeVirtualModulesPlugin, decodeVirtualModuleId, encodeVirtualModuleId, isVirtualModuleId } from './utils' +import { decodeVirtualModuleId, encodeVirtualModuleId, FakeVirtualModulesPlugin, isVirtualModuleId } from './utils' const TRANSFORM_LOADER = resolve( __dirname, diff --git a/src/rspack/loaders/load.ts b/src/rspack/loaders/load.ts index d4189919..3bbb31c0 100644 --- a/src/rspack/loaders/load.ts +++ b/src/rspack/loaders/load.ts @@ -1,6 +1,6 @@ import type { LoaderContext } from '@rspack/core' -import { createBuildContext, createContext } from '../context' import { normalizeAbsolutePath } from '../../utils' +import { createBuildContext, createContext } from '../context' import { decodeVirtualModuleId, isVirtualModuleId } from '../utils' export default async function load(this: LoaderContext, source: string, map: any) { diff --git a/src/rspack/utils.ts b/src/rspack/utils.ts index 96c89dd1..5ac55c8c 100644 --- a/src/rspack/utils.ts +++ b/src/rspack/utils.ts @@ -1,7 +1,7 @@ -import fs from 'fs' -import { basename, dirname, resolve } from 'path' import type { Compiler } from '@rspack/core' import type { ResolvedUnpluginOptions } from '../types' +import fs from 'fs' +import { basename, dirname, resolve } from 'path' export function encodeVirtualModuleId(id: string, plugin: ResolvedUnpluginOptions): string { return resolve(plugin.__virtualModulePrefix, encodeURIComponent(id)) diff --git a/src/types.ts b/src/types.ts index 461a28a8..1e4fd1e3 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,22 +1,22 @@ +import type { CompilationContext as FarmCompilationContext, JsPlugin as FarmPlugin } from '@farmfe/core' +import type { Compilation as RspackCompilation, Compiler as RspackCompiler, LoaderContext as RspackLoaderContext, RspackPluginInstance } from '@rspack/core' +import type { BuildOptions, Plugin as EsbuildPlugin, Loader } from 'esbuild' +import type { Plugin as RolldownPlugin } from 'rolldown' import type { AstNode, EmittedAsset, PluginContextMeta as RollupContextMeta, Plugin as RollupPlugin, SourceMapInput } from 'rollup' -import type { Compilation as WebpackCompilation, Compiler as WebpackCompiler, LoaderContext as WebpackLoaderContext, WebpackPluginInstance } from 'webpack' import type { Plugin as VitePlugin } from 'vite' -import type { Plugin as RolldownPlugin } from 'rolldown' -import type { BuildOptions, Plugin as EsbuildPlugin, Loader } from 'esbuild' -import type { Compilation as RspackCompilation, Compiler as RspackCompiler, LoaderContext as RspackLoaderContext, RspackPluginInstance } from '@rspack/core' +import type { Compilation as WebpackCompilation, Compiler as WebpackCompiler, LoaderContext as WebpackLoaderContext, WebpackPluginInstance } from 'webpack' import type VirtualModulesPlugin from 'webpack-virtual-modules' -import type { CompilationContext as FarmCompilationContext, JsPlugin as FarmPlugin } from '@farmfe/core' import type { EsbuildPluginBuild } from './esbuild' export { EsbuildPlugin, - RollupPlugin, RolldownPlugin, - VitePlugin, - WebpackPluginInstance, - RspackPluginInstance, + RollupPlugin, RspackCompiler, + RspackPluginInstance, + VitePlugin, WebpackCompiler, + WebpackPluginInstance, } export type Thenable = T | Promise diff --git a/src/utils.ts b/src/utils.ts index 84fef5cc..767ffc52 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,5 +1,5 @@ -import { isAbsolute, normalize } from 'path' import type { ResolvedUnpluginOptions } from './types' +import { isAbsolute, normalize } from 'path' /** * Normalizes a given path when it's absolute. Normalizing means returning a new path by converting diff --git a/src/vite/index.ts b/src/vite/index.ts index 862c28a9..256df148 100644 --- a/src/vite/index.ts +++ b/src/vite/index.ts @@ -1,5 +1,5 @@ -import { toRollupPlugin } from '../rollup' import type { UnpluginContextMeta, UnpluginFactory, UnpluginInstance, VitePlugin } from '../types' +import { toRollupPlugin } from '../rollup' import { toArray } from '../utils' export function getVitePlugin, Nested extends boolean = boolean>( diff --git a/src/webpack/context.ts b/src/webpack/context.ts index da2d8a20..5c5c1507 100644 --- a/src/webpack/context.ts +++ b/src/webpack/context.ts @@ -1,10 +1,10 @@ -import { resolve } from 'path' +import type { Compilation, Compiler, LoaderContext } from 'webpack' +import type { UnpluginBuildContext, UnpluginContext, UnpluginMessage } from '../types' import { Buffer } from 'buffer' -import process from 'process' import { createRequire } from 'module' -import type { Compilation, Compiler, LoaderContext } from 'webpack' +import { resolve } from 'path' +import process from 'process' import { Parser } from 'acorn' -import type { UnpluginBuildContext, UnpluginContext, UnpluginMessage } from '../types' interface ContextOptions { addWatchFile: (file: string) => void diff --git a/src/webpack/index.ts b/src/webpack/index.ts index 6dea6a02..169b4f0f 100644 --- a/src/webpack/index.ts +++ b/src/webpack/index.ts @@ -1,9 +1,9 @@ +import type { ResolvePluginInstance, Resolver } from 'webpack' +import type { ResolvedUnpluginOptions, UnpluginContext, UnpluginContextMeta, UnpluginFactory, UnpluginInstance, WebpackCompiler } from '../types' import fs from 'fs' import { resolve } from 'path' import process from 'process' import VirtualModulesPlugin from 'webpack-virtual-modules' -import type { ResolvePluginInstance, Resolver } from 'webpack' -import type { ResolvedUnpluginOptions, UnpluginContext, UnpluginContextMeta, UnpluginFactory, UnpluginInstance, WebpackCompiler } from '../types' import { normalizeAbsolutePath, shouldLoad, toArray, transformUse } from '../utils' import { contextOptionsFromCompilation, createBuildContext, normalizeMessage } from './context' diff --git a/src/webpack/loaders/load.ts b/src/webpack/loaders/load.ts index 16a1010c..1bbd28db 100644 --- a/src/webpack/loaders/load.ts +++ b/src/webpack/loaders/load.ts @@ -1,6 +1,6 @@ import type { LoaderContext } from 'webpack' -import { createBuildContext, createContext } from '../context' import { normalizeAbsolutePath, resolveQuery } from '../../utils' +import { createBuildContext, createContext } from '../context' export default async function load(this: LoaderContext<{ unpluginName: string }>, source: string, map: any) { const callback = this.async() diff --git a/src/webpack/loaders/transform.ts b/src/webpack/loaders/transform.ts index f4fe960e..9f0ae5e5 100644 --- a/src/webpack/loaders/transform.ts +++ b/src/webpack/loaders/transform.ts @@ -1,6 +1,6 @@ import type { LoaderContext } from 'webpack' -import { createBuildContext, createContext } from '../context' import { resolveQuery } from '../../utils' +import { createBuildContext, createContext } from '../context' export default async function transform(this: LoaderContext<{ unpluginName: string }>, source: string, map: any) { const callback = this.async() diff --git a/test/fixtures/transform/src/main.js b/test/fixtures/transform/src/main.js index 3d84918e..c5375638 100644 --- a/test/fixtures/transform/src/main.js +++ b/test/fixtures/transform/src/main.js @@ -1,5 +1,5 @@ import { msg1 } from './nontarget' -import { msg2 } from './target' import { msg3 } from './query?query-param=query-value' +import { msg2 } from './target' console.log(msg1, msg2, msg3) diff --git a/test/unit-tests/id-consistency/id-consistency.test.ts b/test/unit-tests/id-consistency/id-consistency.test.ts index f56fa073..95dfb341 100644 --- a/test/unit-tests/id-consistency/id-consistency.test.ts +++ b/test/unit-tests/id-consistency/id-consistency.test.ts @@ -1,8 +1,8 @@ -import * as path from 'path' -import type { Mock } from 'vitest' -import { afterEach, describe, expect, it, vi } from 'vitest' import type { UnpluginOptions, VitePlugin } from 'unplugin' +import type { Mock } from 'vitest' +import * as path from 'path' import { createUnplugin } from 'unplugin' +import { afterEach, describe, expect, it, vi } from 'vitest' import { build, toArray } from '../utils' const entryFilePath = path.resolve(__dirname, './test-src/entry.js') diff --git a/test/unit-tests/id-consistency/test-src/proxy-export.js b/test/unit-tests/id-consistency/test-src/proxy-export.js index 862f2b59..8cf3fe88 100644 --- a/test/unit-tests/id-consistency/test-src/proxy-export.js +++ b/test/unit-tests/id-consistency/test-src/proxy-export.js @@ -1,2 +1,2 @@ -export { named } from './sub-folder/named-export' export { default as proxiedDefault } from './default-export' +export { named } from './sub-folder/named-export' diff --git a/test/unit-tests/resolve-id-external/resolve-id-external.test.ts b/test/unit-tests/resolve-id-external/resolve-id-external.test.ts index d27917f3..39a10b83 100644 --- a/test/unit-tests/resolve-id-external/resolve-id-external.test.ts +++ b/test/unit-tests/resolve-id-external/resolve-id-external.test.ts @@ -1,7 +1,7 @@ -import * as path from 'path' -import { afterEach, describe, expect, it, vi } from 'vitest' import type { VitePlugin } from 'unplugin' +import * as path from 'path' import { createUnplugin } from 'unplugin' +import { afterEach, describe, expect, it, vi } from 'vitest' import { build, toArray } from '../utils' const entryFilePath = path.resolve(__dirname, './test-src/entry.js') diff --git a/test/unit-tests/resolve-id/resolve-id.test.ts b/test/unit-tests/resolve-id/resolve-id.test.ts index 028536af..13327752 100644 --- a/test/unit-tests/resolve-id/resolve-id.test.ts +++ b/test/unit-tests/resolve-id/resolve-id.test.ts @@ -1,8 +1,8 @@ -import * as path from 'path' -import type { Mock } from 'vitest' -import { afterEach, describe, expect, it, vi } from 'vitest' import type { UnpluginBuildContext, UnpluginContext, UnpluginOptions, VitePlugin } from 'unplugin' +import type { Mock } from 'vitest' +import * as path from 'path' import { createUnplugin } from 'unplugin' +import { afterEach, describe, expect, it, vi } from 'vitest' import { build, toArray } from '../utils' function createUnpluginWithCallback(resolveIdCallback: UnpluginOptions['resolveId']) { diff --git a/test/unit-tests/resolve-id/test-src/proxy-export.js b/test/unit-tests/resolve-id/test-src/proxy-export.js index 4e6de84a..2a09730b 100644 --- a/test/unit-tests/resolve-id/test-src/proxy-export.js +++ b/test/unit-tests/resolve-id/test-src/proxy-export.js @@ -1,2 +1,2 @@ -export { named } from './named-export' export { default as proxiedDefault } from './default-export' +export { named } from './named-export' diff --git a/test/unit-tests/utils.ts b/test/unit-tests/utils.ts index 0f8df5d5..70193bf5 100644 --- a/test/unit-tests/utils.ts +++ b/test/unit-tests/utils.ts @@ -1,8 +1,8 @@ -import * as vite from 'vite' -import * as rollup from 'rollup' -import * as webpack from 'webpack' import * as rspack from '@rspack/core' import * as esbuild from 'esbuild' +import * as rollup from 'rollup' +import * as vite from 'vite' +import * as webpack from 'webpack' export * from '../../src/utils' diff --git a/test/unit-tests/write-bundle/write-bundle.test.ts b/test/unit-tests/write-bundle/write-bundle.test.ts index 50bd387f..50e98944 100644 --- a/test/unit-tests/write-bundle/write-bundle.test.ts +++ b/test/unit-tests/write-bundle/write-bundle.test.ts @@ -1,10 +1,10 @@ -import * as path from 'path' -import * as fs from 'fs' -import type { Mock } from 'vitest' -import { afterEach, beforeAll, describe, expect, it, vi } from 'vitest' +import type { RspackOptions } from '@rspack/core' import type { UnpluginOptions, VitePlugin } from 'unplugin' +import type { Mock } from 'vitest' +import * as fs from 'fs' +import * as path from 'path' import { createUnplugin } from 'unplugin' -import type { RspackOptions } from '@rspack/core' +import { afterEach, beforeAll, describe, expect, it, vi } from 'vitest' import { build, toArray, webpackVersion } from '../utils' function createUnpluginWithCallback(writeBundleCallback: UnpluginOptions['writeBundle']) {