From 548c034f2f15a5b88bed46d0f427f8c692f7ce00 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Tue, 17 Sep 2024 13:26:11 +0200 Subject: [PATCH 01/47] infra: publish releases with provenance (#3119) --- .github/workflows/publish-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 1b6a80505e0..f581d0b63ec 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -4,7 +4,9 @@ on: release: types: [published] -permissions: {} # we use a personal access token to push the release branch +permissions: + # we use a personal access token to push the release branch + id-token: write # required for provenance/signed releases on npm jobs: publish: @@ -56,6 +58,7 @@ jobs: pnpm publish --tag next --no-git-checks env: CYPRESS_INSTALL_BINARY: 0 + NPM_CONFIG_PROVENANCE: true - name: Set latest/next dist-tag run: | From 9029a0b49b78474efa6dd831a21e2e2535021748 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 19 Sep 2024 22:08:18 +0200 Subject: [PATCH 02/47] chore(deps): update devdependencies (major) (#3016) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: ST-DDT --- eslint.config.ts | 2 +- package.json | 4 +- pnpm-lock.yaml | 149 +++++++++-------------------------------------- 3 files changed, 31 insertions(+), 124 deletions(-) diff --git a/eslint.config.ts b/eslint.config.ts index 400a188a50b..05fe235fcf4 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -1,10 +1,10 @@ import { includeIgnoreFile } from '@eslint/compat'; import eslint from '@eslint/js'; import stylistic from '@stylistic/eslint-plugin'; +import eslintPluginVitest from '@vitest/eslint-plugin'; import eslintPluginJsdoc from 'eslint-plugin-jsdoc'; import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'; import eslintPluginUnicorn from 'eslint-plugin-unicorn'; -import eslintPluginVitest from 'eslint-plugin-vitest'; import { dirname, resolve } from 'node:path'; import { fileURLToPath } from 'node:url'; import tseslint from 'typescript-eslint'; diff --git a/package.json b/package.json index 8f246942233..3c8efd1fcf5 100644 --- a/package.json +++ b/package.json @@ -114,8 +114,9 @@ "@types/semver": "7.5.8", "@types/validator": "13.12.1", "@vitest/coverage-v8": "2.1.1", + "@vitest/eslint-plugin": "1.1.4", "@vitest/ui": "2.1.1", - "@vueuse/core": "10.11.1", + "@vueuse/core": "11.1.0", "commit-and-tag-version": "12.4.4", "cypress": "13.14.2", "eslint": "9.10.0", @@ -124,7 +125,6 @@ "eslint-plugin-jsdoc": "50.2.3", "eslint-plugin-prettier": "5.2.1", "eslint-plugin-unicorn": "55.0.0", - "eslint-plugin-vitest": "0.5.4", "jiti": "1.21.6", "npm-run-all2": "6.2.3", "prettier": "3.3.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1dcd47f366a..84e25dd0e0b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,12 +41,15 @@ importers: '@vitest/coverage-v8': specifier: 2.1.1 version: 2.1.1(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0)) + '@vitest/eslint-plugin': + specifier: 1.1.4 + version: 1.1.4(@typescript-eslint/utils@8.6.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0)) '@vitest/ui': specifier: 2.1.1 version: 2.1.1(vitest@2.1.1) '@vueuse/core': - specifier: 10.11.1 - version: 10.11.1(vue@3.5.6(typescript@5.6.2)) + specifier: 11.1.0 + version: 11.1.0(vue@3.5.6(typescript@5.6.2)) commit-and-tag-version: specifier: 12.4.4 version: 12.4.4 @@ -71,9 +74,6 @@ importers: eslint-plugin-unicorn: specifier: 55.0.0 version: 55.0.0(eslint@9.10.0(jiti@1.21.6)) - eslint-plugin-vitest: - specifier: 0.5.4 - version: 0.5.4(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0)) jiti: specifier: 1.21.6 version: 1.21.6 @@ -912,10 +912,6 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@7.18.0': - resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==} - engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/scope-manager@8.5.0': resolution: {integrity: sha512-06JOQ9Qgj33yvBEx6tpC8ecP9o860rsR22hWMEd12WcTRrfaFgHr2RB/CA/B+7BMhHkXT4chg2MyboGdFGawYg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -933,10 +929,6 @@ packages: typescript: optional: true - '@typescript-eslint/types@7.18.0': - resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==} - engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/types@8.5.0': resolution: {integrity: sha512-qjkormnQS5wF9pjSi6q60bKUHH44j2APxfh9TQRXK8wbYVeDYYdYJGIROL87LGZZ2gz3Rbmjc736qyL8deVtdw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -945,15 +937,6 @@ packages: resolution: {integrity: sha512-rojqFZGd4MQxw33SrOy09qIDS8WEldM8JWtKQLAjf/X5mGSeEFh5ixQlxssMNyPslVIk9yzWqXCsV2eFhYrYUw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@7.18.0': - resolution: {integrity: sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/typescript-estree@8.5.0': resolution: {integrity: sha512-vEG2Sf9P8BPQ+d0pxdfndw3xIXaoSjliG0/Ejk7UggByZPKXmJmw3GW5jV2gHNQNawBUyfahoSiCFVov0Ruf7Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -972,12 +955,6 @@ packages: typescript: optional: true - '@typescript-eslint/utils@7.18.0': - resolution: {integrity: sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - '@typescript-eslint/utils@8.5.0': resolution: {integrity: sha512-6yyGYVL0e+VzGYp60wvkBHiqDWOpT63pdMV2CVG4LVDd5uR6q1qQN/7LafBZtAtNIn/mqXjsSeS5ggv/P0iECw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -990,10 +967,6 @@ packages: peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@7.18.0': - resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} - engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/visitor-keys@8.5.0': resolution: {integrity: sha512-yTPqMnbAZJNy2Xq2XU8AdtOW9tJIr+UQb64aXB9f3B1498Zx9JorVgFJcZpEc9UBuCCrdzKID2RGAMkYcDtZOw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1021,6 +994,21 @@ packages: '@vitest/browser': optional: true + '@vitest/eslint-plugin@1.1.4': + resolution: {integrity: sha512-kudjgefmJJ7xQ2WfbUU6pZbm7Ou4gLYRaao/8Ynide3G0QhVKHd978sDyWX4KOH0CCMH9cyrGAkFd55eGzJ48Q==} + peerDependencies: + '@typescript-eslint/utils': '>= 8.0' + eslint: '>= 8.57.0' + typescript: '>= 5.0.0' + vitest: '*' + peerDependenciesMeta: + '@typescript-eslint/utils': + optional: true + typescript: + optional: true + vitest: + optional: true + '@vitest/expect@2.1.1': resolution: {integrity: sha512-YeueunS0HiHiQxk+KEOnq/QMzlUuOzbU1Go+PgAsHvvv3tUkJPm9xWt+6ITNTlzsMXUjmgm5T+U7KBPK2qQV6w==} @@ -1114,9 +1102,6 @@ packages: '@vue/shared@3.5.6': resolution: {integrity: sha512-eidH0HInnL39z6wAt6SFIwBrvGOpDWsDxlw3rCgo1B+CQ1781WzQUSU3YjxgdkcJo9Q8S6LmXTkvI+cLHGkQfA==} - '@vueuse/core@10.11.1': - resolution: {integrity: sha512-guoy26JQktXPcz+0n3GukWIy/JDNKti9v6VEMu6kV2sYBsWuGiTU8OWdg+ADfUbHg3/3DlqySDe7JmdHrktiww==} - '@vueuse/core@11.1.0': resolution: {integrity: sha512-P6dk79QYA6sKQnghrUz/1tHi0n9mrb/iO1WTMk/ElLmTyNqgDeSZ3wcDf6fRBGzRJbeG1dxzEOvLENMjr+E3fg==} @@ -1161,15 +1146,9 @@ packages: universal-cookie: optional: true - '@vueuse/metadata@10.11.1': - resolution: {integrity: sha512-IGa5FXd003Ug1qAZmyE8wF3sJ81xGLSqTqtQ6jaVfkeZ4i5kS2mwQF61yhVqojRnenVew5PldLyRgvdl4YYuSw==} - '@vueuse/metadata@11.1.0': resolution: {integrity: sha512-l9Q502TBTaPYGanl1G+hPgd3QX5s4CGnpXriVBR5fEZ/goI6fvDaVmIl3Td8oKFurOxTmbXvBPSsgrd6eu6HYg==} - '@vueuse/shared@10.11.1': - resolution: {integrity: sha512-LHpC8711VFZlDaYUXEBbFBCQ7GS3dVU9mjOhhMhXP6txTV4EhYQg/KGnQuvt/sPAtoUKq7VVUnL6mVtFoL42sA==} - '@vueuse/shared@11.1.0': resolution: {integrity: sha512-YUtIpY122q7osj+zsNMFAfMTubGz0sn5QzE5gPzAIiCmtt2ha3uQUY1+JPyL4gRCTsLPX82Y9brNbo/aqlA91w==} @@ -1828,19 +1807,6 @@ packages: peerDependencies: eslint: '>=8.56.0' - eslint-plugin-vitest@0.5.4: - resolution: {integrity: sha512-um+odCkccAHU53WdKAw39MY61+1x990uXjSPguUCq3VcEHdqJrOb8OTMrbYlY6f9jAKx7x98kLVlIe3RJeJqoQ==} - engines: {node: ^18.0.0 || >= 20.0.0} - peerDependencies: - '@typescript-eslint/eslint-plugin': '*' - eslint: ^8.57.0 || ^9.0.0 - vitest: '*' - peerDependenciesMeta: - '@typescript-eslint/eslint-plugin': - optional: true - vitest: - optional: true - eslint-scope@8.0.2: resolution: {integrity: sha512-6E4xmrTw5wtxnLA5wYL3WDfhZ/1bUBGOXV0zQvVRDOtrR8D0p6W7fs3JweNYhwRYeGvd/1CKX2se0/2s7Q/nJA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -4430,11 +4396,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@7.18.0': - dependencies: - '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/visitor-keys': 7.18.0 - '@typescript-eslint/scope-manager@8.5.0': dependencies: '@typescript-eslint/types': 8.5.0 @@ -4457,27 +4418,10 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@7.18.0': {} - '@typescript-eslint/types@8.5.0': {} '@typescript-eslint/types@8.6.0': {} - '@typescript-eslint/typescript-estree@7.18.0(typescript@5.6.2)': - dependencies: - '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/visitor-keys': 7.18.0 - debug: 4.3.7(supports-color@8.1.1) - globby: 11.1.0 - is-glob: 4.0.3 - minimatch: 9.0.5 - semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.6.2) - optionalDependencies: - typescript: 5.6.2 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/typescript-estree@8.5.0(typescript@5.6.2)': dependencies: '@typescript-eslint/types': 8.5.0 @@ -4508,17 +4452,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@7.18.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) - '@typescript-eslint/scope-manager': 7.18.0 - '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.2) - eslint: 9.10.0(jiti@1.21.6) - transitivePeerDependencies: - - supports-color - - typescript - '@typescript-eslint/utils@8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) @@ -4541,11 +4474,6 @@ snapshots: - supports-color - typescript - '@typescript-eslint/visitor-keys@7.18.0': - dependencies: - '@typescript-eslint/types': 7.18.0 - eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.5.0': dependencies: '@typescript-eslint/types': 8.5.0 @@ -4581,6 +4509,14 @@ snapshots: transitivePeerDependencies: - supports-color + '@vitest/eslint-plugin@1.1.4(@typescript-eslint/utils@8.6.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0))': + dependencies: + eslint: 9.10.0(jiti@1.21.6) + optionalDependencies: + '@typescript-eslint/utils': 8.6.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + typescript: 5.6.2 + vitest: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0) + '@vitest/expect@2.1.1': dependencies: '@vitest/spy': 2.1.1 @@ -4734,16 +4670,6 @@ snapshots: '@vue/shared@3.5.6': {} - '@vueuse/core@10.11.1(vue@3.5.6(typescript@5.6.2))': - dependencies: - '@types/web-bluetooth': 0.0.20 - '@vueuse/metadata': 10.11.1 - '@vueuse/shared': 10.11.1(vue@3.5.6(typescript@5.6.2)) - vue-demi: 0.14.10(vue@3.5.6(typescript@5.6.2)) - transitivePeerDependencies: - - '@vue/composition-api' - - vue - '@vueuse/core@11.1.0(vue@3.5.6(typescript@5.6.2))': dependencies: '@types/web-bluetooth': 0.0.20 @@ -4765,17 +4691,8 @@ snapshots: - '@vue/composition-api' - vue - '@vueuse/metadata@10.11.1': {} - '@vueuse/metadata@11.1.0': {} - '@vueuse/shared@10.11.1(vue@3.5.6(typescript@5.6.2))': - dependencies: - vue-demi: 0.14.10(vue@3.5.6(typescript@5.6.2)) - transitivePeerDependencies: - - '@vue/composition-api' - - vue - '@vueuse/shared@11.1.0(vue@3.5.6(typescript@5.6.2))': dependencies: vue-demi: 0.14.10(vue@3.5.6(typescript@5.6.2)) @@ -5525,16 +5442,6 @@ snapshots: semver: 7.6.3 strip-indent: 3.0.0 - eslint-plugin-vitest@0.5.4(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0)): - dependencies: - '@typescript-eslint/utils': 7.18.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint: 9.10.0(jiti@1.21.6) - optionalDependencies: - vitest: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0) - transitivePeerDependencies: - - supports-color - - typescript - eslint-scope@8.0.2: dependencies: esrecurse: 4.3.0 From f27f9c5cb8173e577fa61c4e1766856fbea3fcf1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 19 Sep 2024 22:16:58 +0200 Subject: [PATCH 03/47] chore(deps): update dependency vite to v5.4.6 [security] (#3122) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 3c8efd1fcf5..33467e7b776 100644 --- a/package.json +++ b/package.json @@ -139,7 +139,7 @@ "typescript": "5.6.2", "typescript-eslint": "8.5.0", "validator": "13.12.0", - "vite": "5.4.5", + "vite": "5.4.6", "vitepress": "1.3.4", "vitest": "2.1.1", "vue": "3.5.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 84e25dd0e0b..510a75bd174 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -117,8 +117,8 @@ importers: specifier: 13.12.0 version: 13.12.0 vite: - specifier: 5.4.5 - version: 5.4.5(@types/node@20.16.5) + specifier: 5.4.6 + version: 5.4.6(@types/node@20.16.5) vitepress: specifier: 1.3.4 version: 1.3.4(@algolia/client-search@5.4.1)(@types/node@20.16.5)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2) @@ -3467,8 +3467,8 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true - vite@5.4.5: - resolution: {integrity: sha512-pXqR0qtb2bTwLkev4SE3r4abCNioP3GkjvIDLlzziPpXtHgiJIjuKl+1GN6ESOT3wMjG3JTeARopj2SwYaHTOA==} + vite@5.4.6: + resolution: {integrity: sha512-IeL5f8OO5nylsgzd9tq4qD2QqI0k2CQLGrWD0rCN0EQJZpBK5vJAx0I+GDkMOXxQX/OfFHMuLIx6ddAxGX/k+Q==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -4486,9 +4486,9 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue@5.1.3(vite@5.4.5(@types/node@20.16.5))(vue@3.5.6(typescript@5.6.2))': + '@vitejs/plugin-vue@5.1.3(vite@5.4.6(@types/node@20.16.5))(vue@3.5.6(typescript@5.6.2))': dependencies: - vite: 5.4.5(@types/node@20.16.5) + vite: 5.4.6(@types/node@20.16.5) vue: 3.5.6(typescript@5.6.2) '@vitest/coverage-v8@2.1.1(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0))': @@ -4524,13 +4524,13 @@ snapshots: chai: 5.1.1 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.5(@types/node@20.16.5))': + '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.6(@types/node@20.16.5))': dependencies: '@vitest/spy': 2.1.1 estree-walker: 3.0.3 magic-string: 0.30.11 optionalDependencies: - vite: 5.4.5(@types/node@20.16.5) + vite: 5.4.6(@types/node@20.16.5) '@vitest/pretty-format@2.1.1': dependencies: @@ -7116,7 +7116,7 @@ snapshots: cac: 6.7.14 debug: 4.3.7(supports-color@8.1.1) pathe: 1.1.2 - vite: 5.4.5(@types/node@20.16.5) + vite: 5.4.6(@types/node@20.16.5) transitivePeerDependencies: - '@types/node' - less @@ -7128,7 +7128,7 @@ snapshots: - supports-color - terser - vite@5.4.5(@types/node@20.16.5): + vite@5.4.6(@types/node@20.16.5): dependencies: esbuild: 0.21.5 postcss: 8.4.47 @@ -7144,7 +7144,7 @@ snapshots: '@shikijs/core': 1.17.7 '@shikijs/transformers': 1.17.7 '@types/markdown-it': 14.1.2 - '@vitejs/plugin-vue': 5.1.3(vite@5.4.5(@types/node@20.16.5))(vue@3.5.6(typescript@5.6.2)) + '@vitejs/plugin-vue': 5.1.3(vite@5.4.6(@types/node@20.16.5))(vue@3.5.6(typescript@5.6.2)) '@vue/devtools-api': 7.4.5 '@vue/shared': 3.5.6 '@vueuse/core': 11.1.0(vue@3.5.6(typescript@5.6.2)) @@ -7153,7 +7153,7 @@ snapshots: mark.js: 8.11.1 minisearch: 7.1.0 shiki: 1.17.7 - vite: 5.4.5(@types/node@20.16.5) + vite: 5.4.6(@types/node@20.16.5) vue: 3.5.6(typescript@5.6.2) optionalDependencies: postcss: 8.4.47 @@ -7188,7 +7188,7 @@ snapshots: vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0): dependencies: '@vitest/expect': 2.1.1 - '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.5(@types/node@20.16.5)) + '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.6(@types/node@20.16.5)) '@vitest/pretty-format': 2.1.1 '@vitest/runner': 2.1.1 '@vitest/snapshot': 2.1.1 @@ -7203,7 +7203,7 @@ snapshots: tinyexec: 0.3.0 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.5(@types/node@20.16.5) + vite: 5.4.6(@types/node@20.16.5) vite-node: 2.1.1(@types/node@20.16.5) why-is-node-running: 2.3.0 optionalDependencies: From dfbf6c4fb755ae57f1c4b9ddc79898b192006188 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Fri, 20 Sep 2024 08:16:44 +0200 Subject: [PATCH 04/47] refactor(image): deprecate avatarLegacy (#3109) --- src/modules/image/index.ts | 19 ++++++++++++------- test/modules/__snapshots__/image.spec.ts.snap | 6 +++--- test/modules/image.spec.ts | 1 + 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/modules/image/index.ts b/src/modules/image/index.ts index 02b3c31ce87..93a0adf978c 100644 --- a/src/modules/image/index.ts +++ b/src/modules/image/index.ts @@ -1,3 +1,4 @@ +import { deprecated } from '../../internal/deprecated'; import { ModuleBase } from '../../internal/module-base'; /** @@ -24,12 +25,8 @@ export class ImageModule extends ModuleBase { * @since 2.0.1 */ avatar(): string { - const avatarMethod = this.faker.helpers.arrayElement([ - this.avatarLegacy, - this.avatarGitHub, - ]); - - return avatarMethod(); + // Add new avatar providers here, when adding a new one. + return this.avatarGitHub(); } /** @@ -55,9 +52,17 @@ export class ImageModule extends ModuleBase { * // 'https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/170.jpg' * * @since 8.0.0 + * + * @deprecated The links are no longer working. Use `avatar()` instead. */ - // This implementation will change in the future when we tackle https://github.com/faker-js/faker/issues/465. avatarLegacy(): string { + deprecated({ + deprecated: 'faker.image.avatarLegacy()', + proposed: 'faker.image.avatar()', + since: '9.0.1', + until: '10.0.0', + }); + return `https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/${this.faker.number.int( 1249 )}.jpg`; diff --git a/test/modules/__snapshots__/image.spec.ts.snap b/test/modules/__snapshots__/image.spec.ts.snap index 887bb84a261..dac7d0783c4 100644 --- a/test/modules/__snapshots__/image.spec.ts.snap +++ b/test/modules/__snapshots__/image.spec.ts.snap @@ -1,6 +1,6 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`image > 42 > avatar 1`] = `"https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/1188.jpg"`; +exports[`image > 42 > avatar 1`] = `"https://avatars.githubusercontent.com/u/37454012"`; exports[`image > 42 > avatarGitHub 1`] = `"https://avatars.githubusercontent.com/u/37454012"`; @@ -76,7 +76,7 @@ exports[`image > 42 > urlPlaceholder > with width 1`] = `"https://via.placeholde exports[`image > 42 > urlPlaceholder > with width and height 1`] = `"https://via.placeholder.com/128x128/8ead33/1ddf0f.webp?text=benevolentia%20attonbitus%20auctus"`; -exports[`image > 1211 > avatar 1`] = `"https://avatars.githubusercontent.com/u/89347165"`; +exports[`image > 1211 > avatar 1`] = `"https://avatars.githubusercontent.com/u/92852016"`; exports[`image > 1211 > avatarGitHub 1`] = `"https://avatars.githubusercontent.com/u/92852016"`; @@ -152,7 +152,7 @@ exports[`image > 1211 > urlPlaceholder > with width 1`] = `"https://via.placehol exports[`image > 1211 > urlPlaceholder > with width and height 1`] = `"https://via.placeholder.com/128x128/ed4fef/a7fbae.webp?text=dapifer%20usque%20unde"`; -exports[`image > 1337 > avatar 1`] = `"https://cloudflare-ipfs.com/ipfs/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye/avatar/198.jpg"`; +exports[`image > 1337 > avatar 1`] = `"https://avatars.githubusercontent.com/u/26202467"`; exports[`image > 1337 > avatarGitHub 1`] = `"https://avatars.githubusercontent.com/u/26202467"`; diff --git a/test/modules/image.spec.ts b/test/modules/image.spec.ts index d2439985ab2..8624a9650ff 100644 --- a/test/modules/image.spec.ts +++ b/test/modules/image.spec.ts @@ -114,6 +114,7 @@ describe('image', () => { describe('avatarLegacy', () => { it('should return a random avatar url from cloudflare-ipfs', () => { + // eslint-disable-next-line @typescript-eslint/no-deprecated const avatarUrl = faker.image.avatarLegacy(); expect(avatarUrl).toBeTypeOf('string'); From c15b48864ac6cd7a5cb1ba23e4e555c9cdfe1328 Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Sat, 21 Sep 2024 21:20:36 +0700 Subject: [PATCH 05/47] docs: fix definition names in 'Company Name Affix files reorganized' section of migration guide (#3125) --- docs/guide/upgrading.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/guide/upgrading.md b/docs/guide/upgrading.md index 9eae426956b..155107b422f 100644 --- a/docs/guide/upgrading.md +++ b/docs/guide/upgrading.md @@ -199,10 +199,10 @@ We renamed the files to match their actual content instead of their hypothetical If you are using the public methods, no changes are required. You only need to change your code if you are accessing the raw definitions e.g. in `faker.helpers.fake()`. -| Before | After | -| ------------------------- | -------------------------------------- | -| `location.company.prefix` | `location.company.category` | -| `location.company.suffix` | `location.direction.legal_entity_type` | +| Before | After | +| ---------------- | --------------------------- | +| `company.prefix` | `company.category` | +| `company.suffix` | `company.legal_entity_type` | ::: info Note In some locales `prefix`es and `suffix`es might have been swapped, so the mapping might be wrong for those. From 6e72712ffe878a9b30b6bf8a83239775adf1f176 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Sun, 22 Sep 2024 23:20:51 +0200 Subject: [PATCH 06/47] chore: fix avatarLegacy deprecation version typo (#3124) --- src/modules/image/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/image/index.ts b/src/modules/image/index.ts index 93a0adf978c..babfa2dc8fa 100644 --- a/src/modules/image/index.ts +++ b/src/modules/image/index.ts @@ -59,7 +59,7 @@ export class ImageModule extends ModuleBase { deprecated({ deprecated: 'faker.image.avatarLegacy()', proposed: 'faker.image.avatar()', - since: '9.0.1', + since: '9.0.2', until: '10.0.0', }); From 84530c4074ec83d62ac429dafa9a49243513ebb9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 19:45:26 +0200 Subject: [PATCH 07/47] chore(deps): update all non-major dependencies (#3133) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/check-release-pr.yml | 2 +- .github/workflows/ci.yml | 10 +++++----- .github/workflows/pr.yml | 2 +- .github/workflows/preflight-comment.yml | 2 +- .github/workflows/prepare-release-pr.yml | 2 +- .github/workflows/publish-release.yml | 2 +- package.json | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/check-release-pr.yml b/.github/workflows/check-release-pr.yml index bad2edfc128..1e39c36b70d 100644 --- a/.github/workflows/check-release-pr.yml +++ b/.github/workflows/check-release-pr.yml @@ -33,7 +33,7 @@ jobs: package_json_file: faker/package.json - name: Set node version to 22 - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 with: node-version: 22 cache: 'pnpm' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5463975b38..8e0d010aeeb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - name: Set node version to ${{ matrix.node_version }} - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 with: node-version: ${{ matrix.node_version }} cache: 'pnpm' @@ -79,7 +79,7 @@ jobs: uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - name: Set node version to ${{ matrix.node_version }} - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 with: node-version: ${{ matrix.node_version }} cache: 'pnpm' @@ -133,7 +133,7 @@ jobs: uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - name: Set node version to 22 - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 with: node-version: 22 cache: 'pnpm' @@ -163,7 +163,7 @@ jobs: uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - name: Set node version to 22 - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 with: node-version: 22 cache: 'pnpm' @@ -193,7 +193,7 @@ jobs: uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - name: Set node version to 22 - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 with: node-version: 22 cache: 'pnpm' diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 506f17763bc..0bc278f3d69 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -22,7 +22,7 @@ jobs: uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - name: Set node version to 22 - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 with: node-version: 22 cache: 'pnpm' diff --git a/.github/workflows/preflight-comment.yml b/.github/workflows/preflight-comment.yml index b55d41cf6b1..4d5bdda0897 100644 --- a/.github/workflows/preflight-comment.yml +++ b/.github/workflows/preflight-comment.yml @@ -24,7 +24,7 @@ jobs: uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - name: Set node version to 22 - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 with: node-version: 22 cache: 'pnpm' diff --git a/.github/workflows/prepare-release-pr.yml b/.github/workflows/prepare-release-pr.yml index 62e671df149..15204e37626 100644 --- a/.github/workflows/prepare-release-pr.yml +++ b/.github/workflows/prepare-release-pr.yml @@ -33,7 +33,7 @@ jobs: uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - name: Set node version to 22 - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 with: node-version: 22 cache: 'pnpm' diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index f581d0b63ec..c9a522e395b 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -24,7 +24,7 @@ jobs: uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - name: Set node version to 22 - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 + uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 with: node-version: 22 cache: 'pnpm' diff --git a/package.json b/package.json index 33467e7b776..75f59e10e77 100644 --- a/package.json +++ b/package.json @@ -145,7 +145,7 @@ "vue": "3.5.6", "vue-tsc": "2.1.6" }, - "packageManager": "pnpm@9.10.0", + "packageManager": "pnpm@9.11.0", "engines": { "node": ">=18.0.0", "npm": ">=9.0.0" From 6fd5d60477c652d54a5dab93d08bc822de4322d5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 17:51:58 +0000 Subject: [PATCH 08/47] chore(deps): update mcr.microsoft.com/devcontainers/typescript-node:22 docker digest to 8fac147 (#3132) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 25122bcce4f..cb4474d4da6 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,7 +2,7 @@ // README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node { "name": "FakerJs", - "image": "mcr.microsoft.com/devcontainers/typescript-node:22@sha256:34a8d83d38c96b2b59e42d522f09313b02223185896d52b07d9c3e8ba2b6266f", + "image": "mcr.microsoft.com/devcontainers/typescript-node:22@sha256:8fac147b83828b1ea661bffd850bd03a6a3f3229d8349b9880d86e55e0d25569", // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, From e209c352f16836553dc0fb8eecb03a8bf535b884 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 17:59:49 +0000 Subject: [PATCH 09/47] chore(deps): update devdependencies (#3134) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 10 +-- pnpm-lock.yaml | 234 ++++++++++++++++++++++++------------------------- 2 files changed, 120 insertions(+), 124 deletions(-) diff --git a/package.json b/package.json index 75f59e10e77..1e51570c948 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ "@types/node": "20.16.5", "@types/sanitize-html": "2.13.0", "@types/semver": "7.5.8", - "@types/validator": "13.12.1", + "@types/validator": "13.12.2", "@vitest/coverage-v8": "2.1.1", "@vitest/eslint-plugin": "1.1.4", "@vitest/ui": "2.1.1", @@ -128,21 +128,21 @@ "jiti": "1.21.6", "npm-run-all2": "6.2.3", "prettier": "3.3.3", - "prettier-plugin-organize-imports": "4.0.0", + "prettier-plugin-organize-imports": "4.1.0", "prettier-plugin-packagejson": "2.5.2", "rimraf": "5.0.10", "sanitize-html": "2.13.0", "semver": "7.6.3", "ts-morph": "23.0.0", - "tsup": "8.2.4", + "tsup": "8.3.0", "tsx": "4.19.1", "typescript": "5.6.2", "typescript-eslint": "8.5.0", "validator": "13.12.0", - "vite": "5.4.6", + "vite": "5.4.7", "vitepress": "1.3.4", "vitest": "2.1.1", - "vue": "3.5.6", + "vue": "3.5.8", "vue-tsc": "2.1.6" }, "packageManager": "pnpm@9.11.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 510a75bd174..a949ade78b8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,8 +36,8 @@ importers: specifier: 7.5.8 version: 7.5.8 '@types/validator': - specifier: 13.12.1 - version: 13.12.1 + specifier: 13.12.2 + version: 13.12.2 '@vitest/coverage-v8': specifier: 2.1.1 version: 2.1.1(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0)) @@ -49,7 +49,7 @@ importers: version: 2.1.1(vitest@2.1.1) '@vueuse/core': specifier: 11.1.0 - version: 11.1.0(vue@3.5.6(typescript@5.6.2)) + version: 11.1.0(vue@3.5.8(typescript@5.6.2)) commit-and-tag-version: specifier: 12.4.4 version: 12.4.4 @@ -84,8 +84,8 @@ importers: specifier: 3.3.3 version: 3.3.3 prettier-plugin-organize-imports: - specifier: 4.0.0 - version: 4.0.0(prettier@3.3.3)(typescript@5.6.2)(vue-tsc@2.1.6(typescript@5.6.2)) + specifier: 4.1.0 + version: 4.1.0(prettier@3.3.3)(typescript@5.6.2)(vue-tsc@2.1.6(typescript@5.6.2)) prettier-plugin-packagejson: specifier: 2.5.2 version: 2.5.2(prettier@3.3.3) @@ -102,8 +102,8 @@ importers: specifier: 23.0.0 version: 23.0.0 tsup: - specifier: 8.2.4 - version: 8.2.4(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.2)(yaml@2.5.1) + specifier: 8.3.0 + version: 8.3.0(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.2)(yaml@2.5.1) tsx: specifier: 4.19.1 version: 4.19.1 @@ -117,8 +117,8 @@ importers: specifier: 13.12.0 version: 13.12.0 vite: - specifier: 5.4.6 - version: 5.4.6(@types/node@20.16.5) + specifier: 5.4.7 + version: 5.4.7(@types/node@20.16.5) vitepress: specifier: 1.3.4 version: 1.3.4(@algolia/client-search@5.4.1)(@types/node@20.16.5)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2) @@ -126,8 +126,8 @@ importers: specifier: 2.1.1 version: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0) vue: - specifier: 3.5.6 - version: 3.5.6(typescript@5.6.2) + specifier: 3.5.8 + version: 3.5.8(typescript@5.6.2) vue-tsc: specifier: 2.1.6 version: 2.1.6(typescript@5.6.2) @@ -882,8 +882,8 @@ packages: '@types/unist@3.0.3': resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} - '@types/validator@13.12.1': - resolution: {integrity: sha512-w0URwf7BQb0rD/EuiG12KP0bailHKHP5YVviJG9zw3ykAokL0TuxU2TUqMB7EwZ59bDHYdeTIvjI5m0S7qHfOA==} + '@types/validator@13.12.2': + resolution: {integrity: sha512-6SlHBzUW8Jhf3liqrGGXyTJSIFe4nqlJ5A5KaMZ2l/vbM3Wh3KSybots/wfWVzNLK4D1NZluDlSQIbIEPx6oyA==} '@types/web-bluetooth@0.0.20': resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==} @@ -1056,14 +1056,20 @@ packages: '@vue/compiler-core@3.5.6': resolution: {integrity: sha512-r+gNu6K4lrvaQLQGmf+1gc41p3FO2OUJyWmNqaIITaJU6YFiV5PtQSFZt8jfztYyARwqhoCayjprC7KMvT3nRA==} + '@vue/compiler-core@3.5.8': + resolution: {integrity: sha512-Uzlxp91EPjfbpeO5KtC0KnXPkuTfGsNDeaKQJxQN718uz+RqDYarEf7UhQJGK+ZYloD2taUbHTI2J4WrUaZQNA==} + '@vue/compiler-dom@3.5.6': resolution: {integrity: sha512-xRXqxDrIqK8v8sSScpistyYH0qYqxakpsIvqMD2e5sV/PXQ1mTwtXp4k42yHK06KXxKSmitop9e45Ui/3BrTEw==} - '@vue/compiler-sfc@3.5.6': - resolution: {integrity: sha512-pjWJ8Kj9TDHlbF5LywjVso+BIxCY5wVOLhkEXRhuCHDxPFIeX1zaFefKs8RYoHvkSMqRWt93a0f2gNJVJixHwg==} + '@vue/compiler-dom@3.5.8': + resolution: {integrity: sha512-GUNHWvoDSbSa5ZSHT9SnV5WkStWfzJwwTd6NMGzilOE/HM5j+9EB9zGXdtu/fCNEmctBqMs6C9SvVPpVPuk1Eg==} + + '@vue/compiler-sfc@3.5.8': + resolution: {integrity: sha512-taYpngQtSysrvO9GULaOSwcG5q821zCoIQBtQQSx7Uf7DxpR6CIHR90toPr9QfDD2mqHQPCSgoWBvJu0yV9zjg==} - '@vue/compiler-ssr@3.5.6': - resolution: {integrity: sha512-VpWbaZrEOCqnmqjE83xdwegtr5qO/2OPUC6veWgvNqTJ3bYysz6vY3VqMuOijubuUYPRpG3OOKIh9TD0Stxb9A==} + '@vue/compiler-ssr@3.5.8': + resolution: {integrity: sha512-W96PtryNsNG9u0ZnN5Q5j27Z/feGrFV6zy9q5tzJVyJaLiwYxvC0ek4IXClZygyhjm+XKM7WD9pdKi/wIRVC/Q==} '@vue/compiler-vue2@2.7.16': resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==} @@ -1085,23 +1091,26 @@ packages: typescript: optional: true - '@vue/reactivity@3.5.6': - resolution: {integrity: sha512-shZ+KtBoHna5GyUxWfoFVBCVd7k56m6lGhk5e+J9AKjheHF6yob5eukssHRI+rzvHBiU1sWs/1ZhNbLExc5oYQ==} + '@vue/reactivity@3.5.8': + resolution: {integrity: sha512-mlgUyFHLCUZcAYkqvzYnlBRCh0t5ZQfLYit7nukn1GR96gc48Bp4B7OIcSfVSvlG1k3BPfD+p22gi1t2n9tsXg==} - '@vue/runtime-core@3.5.6': - resolution: {integrity: sha512-FpFULR6+c2lI+m1fIGONLDqPQO34jxV8g6A4wBOgne8eSRHP6PQL27+kWFIx5wNhhjkO7B4rgtsHAmWv7qKvbg==} + '@vue/runtime-core@3.5.8': + resolution: {integrity: sha512-fJuPelh64agZ8vKkZgp5iCkPaEqFJsYzxLk9vSC0X3G8ppknclNDr61gDc45yBGTaN5Xqc1qZWU3/NoaBMHcjQ==} - '@vue/runtime-dom@3.5.6': - resolution: {integrity: sha512-SDPseWre45G38ENH2zXRAHL1dw/rr5qp91lS4lt/nHvMr0MhsbCbihGAWLXNB/6VfFOJe2O+RBRkXU+CJF7/sw==} + '@vue/runtime-dom@3.5.8': + resolution: {integrity: sha512-DpAUz+PKjTZPUOB6zJgkxVI3GuYc2iWZiNeeHQUw53kdrparSTG6HeXUrYDjaam8dVsCdvQxDz6ZWxnyjccUjQ==} - '@vue/server-renderer@3.5.6': - resolution: {integrity: sha512-zivnxQnOnwEXVaT9CstJ64rZFXMS5ZkKxCjDQKiMSvUhXRzFLWZVbaBiNF4HGDqGNNsTgmjcCSmU6TB/0OOxLA==} + '@vue/server-renderer@3.5.8': + resolution: {integrity: sha512-7AmC9/mEeV9mmXNVyUIm1a1AjUhyeeGNbkLh39J00E7iPeGks8OGRB5blJiMmvqSh8SkaS7jkLWSpXtxUCeagA==} peerDependencies: - vue: 3.5.6 + vue: 3.5.8 '@vue/shared@3.5.6': resolution: {integrity: sha512-eidH0HInnL39z6wAt6SFIwBrvGOpDWsDxlw3rCgo1B+CQ1781WzQUSU3YjxgdkcJo9Q8S6LmXTkvI+cLHGkQfA==} + '@vue/shared@3.5.8': + resolution: {integrity: sha512-mJleSWbAGySd2RJdX1RBtcrUBX6snyOc0qHpgk3lGi4l9/P/3ny3ELqFWqYdkXIwwNN/kdm8nD9ky8o6l/Lx2A==} + '@vueuse/core@11.1.0': resolution: {integrity: sha512-P6dk79QYA6sKQnghrUz/1tHi0n9mrb/iO1WTMk/ElLmTyNqgDeSZ3wcDf6fRBGzRJbeG1dxzEOvLENMjr+E3fg==} @@ -1231,10 +1240,6 @@ packages: array-ify@1.0.0: resolution: {integrity: sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==} - array-union@2.1.0: - resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} - engines: {node: '>=8'} - arrify@1.0.1: resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} engines: {node: '>=0.10.0'} @@ -2057,10 +2062,6 @@ packages: resolution: {integrity: sha512-SmSKyLLKFbSr6rptvP8izbyxJL4ILwqO9Jg23UA0sDlGlu58V59D1//I3vlc0KJphVdUR7vMjHIplYnzBxorQA==} engines: {node: '>=18'} - globby@11.1.0: - resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} - engines: {node: '>=10'} - globby@13.2.2: resolution: {integrity: sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -2827,16 +2828,13 @@ packages: resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} engines: {node: '>=6.0.0'} - prettier-plugin-organize-imports@4.0.0: - resolution: {integrity: sha512-vnKSdgv9aOlqKeEFGhf9SCBsTyzDSyScy1k7E0R1Uo4L0cTcOV7c1XQaT7jfXIOc/p08WLBfN2QUQA9zDSZMxA==} + prettier-plugin-organize-imports@4.1.0: + resolution: {integrity: sha512-5aWRdCgv645xaa58X8lOxzZoiHAldAPChljr/MT0crXVOWTZ+Svl4hIWlz+niYSlO6ikE5UXkN1JrRvIP2ut0A==} peerDependencies: - '@vue/language-plugin-pug': ^2.0.24 prettier: '>=2.0' typescript: '>=2.9' - vue-tsc: ^2.0.24 + vue-tsc: ^2.1.0 peerDependenciesMeta: - '@vue/language-plugin-pug': - optional: true vue-tsc: optional: true @@ -3058,10 +3056,6 @@ packages: resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==} engines: {node: '>= 10'} - slash@3.0.0: - resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} - engines: {node: '>=8'} - slash@4.0.0: resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} engines: {node: '>=12'} @@ -3313,8 +3307,8 @@ packages: tslib@2.7.0: resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} - tsup@8.2.4: - resolution: {integrity: sha512-akpCPePnBnC/CXgRrcy72ZSntgIEUa1jN0oJbbvpALWKNOz1B7aM+UVDWGRGIO/T/PZugAESWDJUAb5FD48o8Q==} + tsup@8.3.0: + resolution: {integrity: sha512-ALscEeyS03IomcuNdFdc0YWGVIkwH1Ws7nfTbAPuoILvEV2hpGQAY72LIOjglGo4ShWpZfpBqP/jpQVCzqYQag==} engines: {node: '>=18'} hasBin: true peerDependencies: @@ -3467,8 +3461,8 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true - vite@5.4.6: - resolution: {integrity: sha512-IeL5f8OO5nylsgzd9tq4qD2QqI0k2CQLGrWD0rCN0EQJZpBK5vJAx0I+GDkMOXxQX/OfFHMuLIx6ddAxGX/k+Q==} + vite@5.4.7: + resolution: {integrity: sha512-5l2zxqMEPVENgvzTuBpHer2awaetimj2BGkhBPdnwKbPNOlHsODU+oiazEZzLK7KhAnOrO+XGYJYn4ZlUhDtDQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -3555,8 +3549,8 @@ packages: peerDependencies: typescript: '>=5.0.0' - vue@3.5.6: - resolution: {integrity: sha512-zv+20E2VIYbcJOzJPUWp03NOGFhMmpCKOfSxVTmCYyYFFko48H9tmuQFzYj7tu4qX1AeXlp9DmhIP89/sSxxhw==} + vue@3.5.8: + resolution: {integrity: sha512-hvuvuCy51nP/1fSRvrrIqTLSvrSyz2Pq+KQ8S8SXCxTWVE0nMaOnSDnSOxV1eYmGfvK7mqiwvd1C59CEEz7dAQ==} peerDependencies: typescript: '*' peerDependenciesMeta: @@ -4356,7 +4350,7 @@ snapshots: '@types/unist@3.0.3': {} - '@types/validator@13.12.1': {} + '@types/validator@13.12.2': {} '@types/web-bluetooth@0.0.20': {} @@ -4486,10 +4480,10 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue@5.1.3(vite@5.4.6(@types/node@20.16.5))(vue@3.5.6(typescript@5.6.2))': + '@vitejs/plugin-vue@5.1.3(vite@5.4.7(@types/node@20.16.5))(vue@3.5.8(typescript@5.6.2))': dependencies: - vite: 5.4.6(@types/node@20.16.5) - vue: 3.5.6(typescript@5.6.2) + vite: 5.4.7(@types/node@20.16.5) + vue: 3.5.8(typescript@5.6.2) '@vitest/coverage-v8@2.1.1(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0))': dependencies: @@ -4524,13 +4518,13 @@ snapshots: chai: 5.1.1 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.6(@types/node@20.16.5))': + '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.7(@types/node@20.16.5))': dependencies: '@vitest/spy': 2.1.1 estree-walker: 3.0.3 magic-string: 0.30.11 optionalDependencies: - vite: 5.4.6(@types/node@20.16.5) + vite: 5.4.7(@types/node@20.16.5) '@vitest/pretty-format@2.1.1': dependencies: @@ -4588,27 +4582,40 @@ snapshots: estree-walker: 2.0.2 source-map-js: 1.2.1 + '@vue/compiler-core@3.5.8': + dependencies: + '@babel/parser': 7.25.6 + '@vue/shared': 3.5.8 + entities: 4.5.0 + estree-walker: 2.0.2 + source-map-js: 1.2.1 + '@vue/compiler-dom@3.5.6': dependencies: '@vue/compiler-core': 3.5.6 '@vue/shared': 3.5.6 - '@vue/compiler-sfc@3.5.6': + '@vue/compiler-dom@3.5.8': + dependencies: + '@vue/compiler-core': 3.5.8 + '@vue/shared': 3.5.8 + + '@vue/compiler-sfc@3.5.8': dependencies: '@babel/parser': 7.25.6 - '@vue/compiler-core': 3.5.6 - '@vue/compiler-dom': 3.5.6 - '@vue/compiler-ssr': 3.5.6 - '@vue/shared': 3.5.6 + '@vue/compiler-core': 3.5.8 + '@vue/compiler-dom': 3.5.8 + '@vue/compiler-ssr': 3.5.8 + '@vue/shared': 3.5.8 estree-walker: 2.0.2 magic-string: 0.30.11 postcss: 8.4.47 source-map-js: 1.2.1 - '@vue/compiler-ssr@3.5.6': + '@vue/compiler-ssr@3.5.8': dependencies: - '@vue/compiler-dom': 3.5.6 - '@vue/shared': 3.5.6 + '@vue/compiler-dom': 3.5.8 + '@vue/shared': 3.5.8 '@vue/compiler-vue2@2.7.16': dependencies: @@ -4646,45 +4653,47 @@ snapshots: optionalDependencies: typescript: 5.6.2 - '@vue/reactivity@3.5.6': + '@vue/reactivity@3.5.8': dependencies: - '@vue/shared': 3.5.6 + '@vue/shared': 3.5.8 - '@vue/runtime-core@3.5.6': + '@vue/runtime-core@3.5.8': dependencies: - '@vue/reactivity': 3.5.6 - '@vue/shared': 3.5.6 + '@vue/reactivity': 3.5.8 + '@vue/shared': 3.5.8 - '@vue/runtime-dom@3.5.6': + '@vue/runtime-dom@3.5.8': dependencies: - '@vue/reactivity': 3.5.6 - '@vue/runtime-core': 3.5.6 - '@vue/shared': 3.5.6 + '@vue/reactivity': 3.5.8 + '@vue/runtime-core': 3.5.8 + '@vue/shared': 3.5.8 csstype: 3.1.3 - '@vue/server-renderer@3.5.6(vue@3.5.6(typescript@5.6.2))': + '@vue/server-renderer@3.5.8(vue@3.5.8(typescript@5.6.2))': dependencies: - '@vue/compiler-ssr': 3.5.6 - '@vue/shared': 3.5.6 - vue: 3.5.6(typescript@5.6.2) + '@vue/compiler-ssr': 3.5.8 + '@vue/shared': 3.5.8 + vue: 3.5.8(typescript@5.6.2) '@vue/shared@3.5.6': {} - '@vueuse/core@11.1.0(vue@3.5.6(typescript@5.6.2))': + '@vue/shared@3.5.8': {} + + '@vueuse/core@11.1.0(vue@3.5.8(typescript@5.6.2))': dependencies: '@types/web-bluetooth': 0.0.20 '@vueuse/metadata': 11.1.0 - '@vueuse/shared': 11.1.0(vue@3.5.6(typescript@5.6.2)) - vue-demi: 0.14.10(vue@3.5.6(typescript@5.6.2)) + '@vueuse/shared': 11.1.0(vue@3.5.8(typescript@5.6.2)) + vue-demi: 0.14.10(vue@3.5.8(typescript@5.6.2)) transitivePeerDependencies: - '@vue/composition-api' - vue - '@vueuse/integrations@11.1.0(focus-trap@7.6.0)(vue@3.5.6(typescript@5.6.2))': + '@vueuse/integrations@11.1.0(focus-trap@7.6.0)(vue@3.5.8(typescript@5.6.2))': dependencies: - '@vueuse/core': 11.1.0(vue@3.5.6(typescript@5.6.2)) - '@vueuse/shared': 11.1.0(vue@3.5.6(typescript@5.6.2)) - vue-demi: 0.14.10(vue@3.5.6(typescript@5.6.2)) + '@vueuse/core': 11.1.0(vue@3.5.8(typescript@5.6.2)) + '@vueuse/shared': 11.1.0(vue@3.5.8(typescript@5.6.2)) + vue-demi: 0.14.10(vue@3.5.8(typescript@5.6.2)) optionalDependencies: focus-trap: 7.6.0 transitivePeerDependencies: @@ -4693,9 +4702,9 @@ snapshots: '@vueuse/metadata@11.1.0': {} - '@vueuse/shared@11.1.0(vue@3.5.6(typescript@5.6.2))': + '@vueuse/shared@11.1.0(vue@3.5.8(typescript@5.6.2))': dependencies: - vue-demi: 0.14.10(vue@3.5.6(typescript@5.6.2)) + vue-demi: 0.14.10(vue@3.5.8(typescript@5.6.2)) transitivePeerDependencies: - '@vue/composition-api' - vue @@ -4784,8 +4793,6 @@ snapshots: array-ify@1.0.0: {} - array-union@2.1.0: {} - arrify@1.0.1: {} asn1@0.2.6: @@ -5742,15 +5749,6 @@ snapshots: globals@15.9.0: {} - globby@11.1.0: - dependencies: - array-union: 2.1.0 - dir-glob: 3.0.1 - fast-glob: 3.3.2 - ignore: 5.3.2 - merge2: 1.4.1 - slash: 3.0.0 - globby@13.2.2: dependencies: dir-glob: 3.0.1 @@ -6466,7 +6464,7 @@ snapshots: dependencies: fast-diff: 1.3.0 - prettier-plugin-organize-imports@4.0.0(prettier@3.3.3)(typescript@5.6.2)(vue-tsc@2.1.6(typescript@5.6.2)): + prettier-plugin-organize-imports@4.1.0(prettier@3.3.3)(typescript@5.6.2)(vue-tsc@2.1.6(typescript@5.6.2)): dependencies: prettier: 3.3.3 typescript: 5.6.2 @@ -6708,8 +6706,6 @@ snapshots: mrmime: 2.0.0 totalist: 3.0.1 - slash@3.0.0: {} - slash@4.0.0: {} slashes@3.0.12: {} @@ -6960,7 +6956,7 @@ snapshots: tslib@2.7.0: {} - tsup@8.2.4(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.2)(yaml@2.5.1): + tsup@8.3.0(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.2)(yaml@2.5.1): dependencies: bundle-require: 5.0.0(esbuild@0.23.1) cac: 6.7.14 @@ -6969,7 +6965,6 @@ snapshots: debug: 4.3.7(supports-color@8.1.1) esbuild: 0.23.1 execa: 5.1.1 - globby: 11.1.0 joycon: 3.1.1 picocolors: 1.1.0 postcss-load-config: 6.0.1(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(yaml@2.5.1) @@ -6977,6 +6972,7 @@ snapshots: rollup: 4.21.3 source-map: 0.8.0-beta.0 sucrase: 3.35.0 + tinyglobby: 0.2.6 tree-kill: 1.2.2 optionalDependencies: postcss: 8.4.47 @@ -7116,7 +7112,7 @@ snapshots: cac: 6.7.14 debug: 4.3.7(supports-color@8.1.1) pathe: 1.1.2 - vite: 5.4.6(@types/node@20.16.5) + vite: 5.4.7(@types/node@20.16.5) transitivePeerDependencies: - '@types/node' - less @@ -7128,7 +7124,7 @@ snapshots: - supports-color - terser - vite@5.4.6(@types/node@20.16.5): + vite@5.4.7(@types/node@20.16.5): dependencies: esbuild: 0.21.5 postcss: 8.4.47 @@ -7144,17 +7140,17 @@ snapshots: '@shikijs/core': 1.17.7 '@shikijs/transformers': 1.17.7 '@types/markdown-it': 14.1.2 - '@vitejs/plugin-vue': 5.1.3(vite@5.4.6(@types/node@20.16.5))(vue@3.5.6(typescript@5.6.2)) + '@vitejs/plugin-vue': 5.1.3(vite@5.4.7(@types/node@20.16.5))(vue@3.5.8(typescript@5.6.2)) '@vue/devtools-api': 7.4.5 '@vue/shared': 3.5.6 - '@vueuse/core': 11.1.0(vue@3.5.6(typescript@5.6.2)) - '@vueuse/integrations': 11.1.0(focus-trap@7.6.0)(vue@3.5.6(typescript@5.6.2)) + '@vueuse/core': 11.1.0(vue@3.5.8(typescript@5.6.2)) + '@vueuse/integrations': 11.1.0(focus-trap@7.6.0)(vue@3.5.8(typescript@5.6.2)) focus-trap: 7.6.0 mark.js: 8.11.1 minisearch: 7.1.0 shiki: 1.17.7 - vite: 5.4.6(@types/node@20.16.5) - vue: 3.5.6(typescript@5.6.2) + vite: 5.4.7(@types/node@20.16.5) + vue: 3.5.8(typescript@5.6.2) optionalDependencies: postcss: 8.4.47 transitivePeerDependencies: @@ -7188,7 +7184,7 @@ snapshots: vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0): dependencies: '@vitest/expect': 2.1.1 - '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.6(@types/node@20.16.5)) + '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.7(@types/node@20.16.5)) '@vitest/pretty-format': 2.1.1 '@vitest/runner': 2.1.1 '@vitest/snapshot': 2.1.1 @@ -7203,7 +7199,7 @@ snapshots: tinyexec: 0.3.0 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.6(@types/node@20.16.5) + vite: 5.4.7(@types/node@20.16.5) vite-node: 2.1.1(@types/node@20.16.5) why-is-node-running: 2.3.0 optionalDependencies: @@ -7223,9 +7219,9 @@ snapshots: vscode-uri@3.0.8: {} - vue-demi@0.14.10(vue@3.5.6(typescript@5.6.2)): + vue-demi@0.14.10(vue@3.5.8(typescript@5.6.2)): dependencies: - vue: 3.5.6(typescript@5.6.2) + vue: 3.5.8(typescript@5.6.2) vue-tsc@2.1.6(typescript@5.6.2): dependencies: @@ -7234,13 +7230,13 @@ snapshots: semver: 7.6.3 typescript: 5.6.2 - vue@3.5.6(typescript@5.6.2): + vue@3.5.8(typescript@5.6.2): dependencies: - '@vue/compiler-dom': 3.5.6 - '@vue/compiler-sfc': 3.5.6 - '@vue/runtime-dom': 3.5.6 - '@vue/server-renderer': 3.5.6(vue@3.5.6(typescript@5.6.2)) - '@vue/shared': 3.5.6 + '@vue/compiler-dom': 3.5.8 + '@vue/compiler-sfc': 3.5.8 + '@vue/runtime-dom': 3.5.8 + '@vue/server-renderer': 3.5.8(vue@3.5.8(typescript@5.6.2)) + '@vue/shared': 3.5.8 optionalDependencies: typescript: 5.6.2 From d3a3e2c8a82fe67dd463f1b0d2be27ea727f2a1f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 20:48:56 +0200 Subject: [PATCH 10/47] chore(deps): update dependency @algolia/client-search to v5.5.3 (#3135) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 84 +++++++++++++++++++++++++------------------------- 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/package.json b/package.json index 1e51570c948..209226dfbbc 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ ], "devDependencies": { "@actions/github": "6.0.0", - "@algolia/client-search": "5.4.1", + "@algolia/client-search": "5.5.3", "@eslint/compat": "1.1.1", "@eslint/js": "9.10.0", "@stylistic/eslint-plugin": "2.8.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a949ade78b8..cfd69b221c5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: 6.0.0 version: 6.0.0 '@algolia/client-search': - specifier: 5.4.1 - version: 5.4.1 + specifier: 5.5.3 + version: 5.5.3 '@eslint/compat': specifier: 1.1.1 version: 1.1.1 @@ -121,7 +121,7 @@ importers: version: 5.4.7(@types/node@20.16.5) vitepress: specifier: 1.3.4 - version: 1.3.4(@algolia/client-search@5.4.1)(@types/node@20.16.5)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2) + version: 1.3.4(@algolia/client-search@5.5.3)(@types/node@20.16.5)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2) vitest: specifier: 2.1.1 version: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0) @@ -178,8 +178,8 @@ packages: '@algolia/client-common@4.24.0': resolution: {integrity: sha512-bc2ROsNL6w6rqpl5jj/UywlIYC21TwSSoFHKl01lYirGMW+9Eek6r02Tocg4gZ8HAw3iBvu6XQiM3BEbmEMoiA==} - '@algolia/client-common@5.4.1': - resolution: {integrity: sha512-IffPD+CETiR8YJMVC1lcjnhETLpJ2L0ORZCbbRvwo/S11D1j/keR7AqKVMn4TseRJCfjmBFOcFrC+m4sXjyQWA==} + '@algolia/client-common@5.5.3': + resolution: {integrity: sha512-3rdSdreBL2LGYu4DWmUGlMhaGy1vy36Xp42LdbTFsW/y3bhW5viptMHI5A3PKT0hPEMZUn+te1iM/EWvLUuVGQ==} engines: {node: '>= 14.0.0'} '@algolia/client-personalization@4.24.0': @@ -188,8 +188,8 @@ packages: '@algolia/client-search@4.24.0': resolution: {integrity: sha512-uRW6EpNapmLAD0mW47OXqTP8eiIx5F6qN9/x/7HHO6owL3N1IXqydGwW5nhDFBrV+ldouro2W1VX3XlcUXEFCA==} - '@algolia/client-search@5.4.1': - resolution: {integrity: sha512-nCgWY2p0tZgBqJKmA5E6B3VW+7uqxi1Orf88zNWOihJBRFeOV932pzG4vGrX9l0+p0o/vJabYxuomO35rEt5dw==} + '@algolia/client-search@5.5.3': + resolution: {integrity: sha512-qrokD+uoNxchbiF9aP8niQd/9SZ6BgYg4WaesFaubHhr9DFvwGm4IePEMha8vQcc3fSsY6uL+gOtKB3J6RF0NQ==} engines: {node: '>= 14.0.0'} '@algolia/logger-common@4.24.0': @@ -204,22 +204,22 @@ packages: '@algolia/requester-browser-xhr@4.24.0': resolution: {integrity: sha512-Z2NxZMb6+nVXSjF13YpjYTdvV3032YTBSGm2vnYvYPA6mMxzM3v5rsCiSspndn9rzIW4Qp1lPHBvuoKJV6jnAA==} - '@algolia/requester-browser-xhr@5.4.1': - resolution: {integrity: sha512-J6+YfU+maR0nIbsYRHoq0UpneilX97hrZzPuuvSoBojQmPo8PeCXKGeT/F0D8uFI6G4CMTKEPGmQYrC9IpCbcQ==} + '@algolia/requester-browser-xhr@5.5.3': + resolution: {integrity: sha512-LsfUPokiXEpvlYF7SwNjyyjkUX7IoW7oIhH6WkDUD4PCfEZkFbVplGQA0UrCiWOAbpb25P7mmP6+ldwjwqW6Kg==} engines: {node: '>= 14.0.0'} '@algolia/requester-common@4.24.0': resolution: {integrity: sha512-k3CXJ2OVnvgE3HMwcojpvY6d9kgKMPRxs/kVohrwF5WMr2fnqojnycZkxPoEg+bXm8fi5BBfFmOqgYztRtHsQA==} - '@algolia/requester-fetch@5.4.1': - resolution: {integrity: sha512-AO/C1pqqpIS8p2IsfM5x92S+UBKkcIen5dHfMEh1rnV0ArWDreeqrtxMD2A+6AjQVwYeZNy56w7o7PVIm6mc8g==} + '@algolia/requester-fetch@5.5.3': + resolution: {integrity: sha512-RKaliEFHtVeD/fMxwrApkcI6ZxR+mU6pZna29r3NwVMpCXTJWWtlMpQmbr1RHzUsaAlpfv9pfGJN4nYPE8XWEg==} engines: {node: '>= 14.0.0'} '@algolia/requester-node-http@4.24.0': resolution: {integrity: sha512-JF18yTjNOVYvU/L3UosRcvbPMGT9B+/GQWNWnenIImglzNVGpyzChkXLnrSf6uxwVNO6ESGu6oN8MqcGQcjQJw==} - '@algolia/requester-node-http@5.4.1': - resolution: {integrity: sha512-2Y3vffc91egwFxz0SjXFEH4q8nvlNJHcz+0//NaWItRU68AvD+3aI/j66STPjkLQOC0Ku6ckA9ChhbOVfrv+Uw==} + '@algolia/requester-node-http@5.5.3': + resolution: {integrity: sha512-2wU+HlTVrVce7BMW2b3Gd62btk8B0jBbuKYYzu3OFeBD/aZa88eHABtjcjQCdw3x+wvkIPEc56UsZx9eHYLebg==} engines: {node: '>= 14.0.0'} '@algolia/transporter@4.24.0': @@ -3690,32 +3690,32 @@ snapshots: tunnel: 0.0.6 undici: 5.28.4 - '@algolia/autocomplete-core@1.9.3(@algolia/client-search@5.4.1)(algoliasearch@4.24.0)(search-insights@2.17.2)': + '@algolia/autocomplete-core@1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0)(search-insights@2.17.2)': dependencies: - '@algolia/autocomplete-plugin-algolia-insights': 1.9.3(@algolia/client-search@5.4.1)(algoliasearch@4.24.0)(search-insights@2.17.2) - '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.4.1)(algoliasearch@4.24.0) + '@algolia/autocomplete-plugin-algolia-insights': 1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0)(search-insights@2.17.2) + '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0) transitivePeerDependencies: - '@algolia/client-search' - algoliasearch - search-insights - '@algolia/autocomplete-plugin-algolia-insights@1.9.3(@algolia/client-search@5.4.1)(algoliasearch@4.24.0)(search-insights@2.17.2)': + '@algolia/autocomplete-plugin-algolia-insights@1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0)(search-insights@2.17.2)': dependencies: - '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.4.1)(algoliasearch@4.24.0) + '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0) search-insights: 2.17.2 transitivePeerDependencies: - '@algolia/client-search' - algoliasearch - '@algolia/autocomplete-preset-algolia@1.9.3(@algolia/client-search@5.4.1)(algoliasearch@4.24.0)': + '@algolia/autocomplete-preset-algolia@1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0)': dependencies: - '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.4.1)(algoliasearch@4.24.0) - '@algolia/client-search': 5.4.1 + '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0) + '@algolia/client-search': 5.5.3 algoliasearch: 4.24.0 - '@algolia/autocomplete-shared@1.9.3(@algolia/client-search@5.4.1)(algoliasearch@4.24.0)': + '@algolia/autocomplete-shared@1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0)': dependencies: - '@algolia/client-search': 5.4.1 + '@algolia/client-search': 5.5.3 algoliasearch: 4.24.0 '@algolia/cache-browser-local-storage@4.24.0': @@ -3746,7 +3746,7 @@ snapshots: '@algolia/requester-common': 4.24.0 '@algolia/transporter': 4.24.0 - '@algolia/client-common@5.4.1': {} + '@algolia/client-common@5.5.3': {} '@algolia/client-personalization@4.24.0': dependencies: @@ -3760,12 +3760,12 @@ snapshots: '@algolia/requester-common': 4.24.0 '@algolia/transporter': 4.24.0 - '@algolia/client-search@5.4.1': + '@algolia/client-search@5.5.3': dependencies: - '@algolia/client-common': 5.4.1 - '@algolia/requester-browser-xhr': 5.4.1 - '@algolia/requester-fetch': 5.4.1 - '@algolia/requester-node-http': 5.4.1 + '@algolia/client-common': 5.5.3 + '@algolia/requester-browser-xhr': 5.5.3 + '@algolia/requester-fetch': 5.5.3 + '@algolia/requester-node-http': 5.5.3 '@algolia/logger-common@4.24.0': {} @@ -3791,23 +3791,23 @@ snapshots: dependencies: '@algolia/requester-common': 4.24.0 - '@algolia/requester-browser-xhr@5.4.1': + '@algolia/requester-browser-xhr@5.5.3': dependencies: - '@algolia/client-common': 5.4.1 + '@algolia/client-common': 5.5.3 '@algolia/requester-common@4.24.0': {} - '@algolia/requester-fetch@5.4.1': + '@algolia/requester-fetch@5.5.3': dependencies: - '@algolia/client-common': 5.4.1 + '@algolia/client-common': 5.5.3 '@algolia/requester-node-http@4.24.0': dependencies: '@algolia/requester-common': 4.24.0 - '@algolia/requester-node-http@5.4.1': + '@algolia/requester-node-http@5.5.3': dependencies: - '@algolia/client-common': 5.4.1 + '@algolia/client-common': 5.5.3 '@algolia/transporter@4.24.0': dependencies: @@ -3881,9 +3881,9 @@ snapshots: '@docsearch/css@3.6.1': {} - '@docsearch/js@3.6.1(@algolia/client-search@5.4.1)(search-insights@2.17.2)': + '@docsearch/js@3.6.1(@algolia/client-search@5.5.3)(search-insights@2.17.2)': dependencies: - '@docsearch/react': 3.6.1(@algolia/client-search@5.4.1)(search-insights@2.17.2) + '@docsearch/react': 3.6.1(@algolia/client-search@5.5.3)(search-insights@2.17.2) preact: 10.24.0 transitivePeerDependencies: - '@algolia/client-search' @@ -3892,10 +3892,10 @@ snapshots: - react-dom - search-insights - '@docsearch/react@3.6.1(@algolia/client-search@5.4.1)(search-insights@2.17.2)': + '@docsearch/react@3.6.1(@algolia/client-search@5.5.3)(search-insights@2.17.2)': dependencies: - '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@5.4.1)(algoliasearch@4.24.0)(search-insights@2.17.2) - '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@5.4.1)(algoliasearch@4.24.0) + '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0)(search-insights@2.17.2) + '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0) '@docsearch/css': 3.6.1 algoliasearch: 4.24.0 optionalDependencies: @@ -7133,10 +7133,10 @@ snapshots: '@types/node': 20.16.5 fsevents: 2.3.3 - vitepress@1.3.4(@algolia/client-search@5.4.1)(@types/node@20.16.5)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2): + vitepress@1.3.4(@algolia/client-search@5.5.3)(@types/node@20.16.5)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2): dependencies: '@docsearch/css': 3.6.1 - '@docsearch/js': 3.6.1(@algolia/client-search@5.4.1)(search-insights@2.17.2) + '@docsearch/js': 3.6.1(@algolia/client-search@5.5.3)(search-insights@2.17.2) '@shikijs/core': 1.17.7 '@shikijs/transformers': 1.17.7 '@types/markdown-it': 14.1.2 From be0fd96f6ae673f36cb5cb5eebe5a0a1894fe3f6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 18:53:29 +0000 Subject: [PATCH 11/47] chore(deps): update eslint (#3136) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 8 +- pnpm-lock.yaml | 244 ++++++++++++++++++++++++------------------------- 2 files changed, 126 insertions(+), 126 deletions(-) diff --git a/package.json b/package.json index 209226dfbbc..efa0bce68db 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "@actions/github": "6.0.0", "@algolia/client-search": "5.5.3", "@eslint/compat": "1.1.1", - "@eslint/js": "9.10.0", + "@eslint/js": "9.11.0", "@stylistic/eslint-plugin": "2.8.0", "@types/eslint__js": "8.42.3", "@types/node": "20.16.5", @@ -119,10 +119,10 @@ "@vueuse/core": "11.1.0", "commit-and-tag-version": "12.4.4", "cypress": "13.14.2", - "eslint": "9.10.0", + "eslint": "9.11.0", "eslint-config-prettier": "9.1.0", "eslint-define-config": "2.1.0", - "eslint-plugin-jsdoc": "50.2.3", + "eslint-plugin-jsdoc": "50.2.4", "eslint-plugin-prettier": "5.2.1", "eslint-plugin-unicorn": "55.0.0", "jiti": "1.21.6", @@ -137,7 +137,7 @@ "tsup": "8.3.0", "tsx": "4.19.1", "typescript": "5.6.2", - "typescript-eslint": "8.5.0", + "typescript-eslint": "8.7.0", "validator": "13.12.0", "vite": "5.4.7", "vitepress": "1.3.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cfd69b221c5..75e3e6d5ba0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,11 +18,11 @@ importers: specifier: 1.1.1 version: 1.1.1 '@eslint/js': - specifier: 9.10.0 - version: 9.10.0 + specifier: 9.11.0 + version: 9.11.0 '@stylistic/eslint-plugin': specifier: 2.8.0 - version: 2.8.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + version: 2.8.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) '@types/eslint__js': specifier: 8.42.3 version: 8.42.3 @@ -43,7 +43,7 @@ importers: version: 2.1.1(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0)) '@vitest/eslint-plugin': specifier: 1.1.4 - version: 1.1.4(@typescript-eslint/utils@8.6.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0)) + version: 1.1.4(@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0)) '@vitest/ui': specifier: 2.1.1 version: 2.1.1(vitest@2.1.1) @@ -57,23 +57,23 @@ importers: specifier: 13.14.2 version: 13.14.2 eslint: - specifier: 9.10.0 - version: 9.10.0(jiti@1.21.6) + specifier: 9.11.0 + version: 9.11.0(jiti@1.21.6) eslint-config-prettier: specifier: 9.1.0 - version: 9.1.0(eslint@9.10.0(jiti@1.21.6)) + version: 9.1.0(eslint@9.11.0(jiti@1.21.6)) eslint-define-config: specifier: 2.1.0 version: 2.1.0 eslint-plugin-jsdoc: - specifier: 50.2.3 - version: 50.2.3(eslint@9.10.0(jiti@1.21.6)) + specifier: 50.2.4 + version: 50.2.4(eslint@9.11.0(jiti@1.21.6)) eslint-plugin-prettier: specifier: 5.2.1 - version: 5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.10.0(jiti@1.21.6)))(eslint@9.10.0(jiti@1.21.6))(prettier@3.3.3) + version: 5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.11.0(jiti@1.21.6)))(eslint@9.11.0(jiti@1.21.6))(prettier@3.3.3) eslint-plugin-unicorn: specifier: 55.0.0 - version: 55.0.0(eslint@9.10.0(jiti@1.21.6)) + version: 55.0.0(eslint@9.11.0(jiti@1.21.6)) jiti: specifier: 1.21.6 version: 1.21.6 @@ -111,8 +111,8 @@ importers: specifier: 5.6.2 version: 5.6.2 typescript-eslint: - specifier: 8.5.0 - version: 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + specifier: 8.7.0 + version: 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) validator: specifier: 13.12.0 version: 13.12.0 @@ -599,16 +599,16 @@ packages: resolution: {integrity: sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/js@9.10.0': - resolution: {integrity: sha512-fuXtbiP5GWIn8Fz+LWoOMVf/Jxm+aajZYkhi6CuEm4SxymFM+eUWzbO9qXT+L0iCkL5+KGYMCSGxo686H19S1g==} + '@eslint/js@9.11.0': + resolution: {integrity: sha512-LPkkenkDqyzTFauZLLAPhIb48fj6drrfMvRGSL9tS3AcZBSVTllemLSNyCvHNNL2t797S/6DJNSIwRwXgMO/eQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/object-schema@2.1.4': resolution: {integrity: sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/plugin-kit@0.1.0': - resolution: {integrity: sha512-autAXT203ixhqei9xt+qkYOvY8l6LAFIdT2UXc/RPNeUVfqRF1BV94GTJyVPFKT8nFM6MyVJhjLj9E8JWvf5zQ==} + '@eslint/plugin-kit@0.2.0': + resolution: {integrity: sha512-vH9PiIMMwvhCx31Af3HiGzsVNULDbyVkHXwlemn/B0TFj/00ho3y55efXrUZTfQipxoHC5u4xq6zblww1zm1Ig==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@fastify/busboy@2.1.1': @@ -891,8 +891,8 @@ packages: '@types/yauzl@2.10.3': resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} - '@typescript-eslint/eslint-plugin@8.5.0': - resolution: {integrity: sha512-lHS5hvz33iUFQKuPFGheAB84LwcJ60G8vKnEhnfcK1l8kGVLro2SFYW6K0/tj8FUhRJ0VHyg1oAfg50QGbPPHw==} + '@typescript-eslint/eslint-plugin@8.7.0': + 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 @@ -902,8 +902,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.5.0': - resolution: {integrity: sha512-gF77eNv0Xz2UJg/NbpWJ0kqAm35UMsvZf1GHj8D9MRFTj/V3tAciIWXfmPLsAAF/vUlpWPvUDyH1jjsr0cMVWw==} + '@typescript-eslint/parser@8.7.0': + 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 @@ -912,16 +912,16 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@8.5.0': - resolution: {integrity: sha512-06JOQ9Qgj33yvBEx6tpC8ecP9o860rsR22hWMEd12WcTRrfaFgHr2RB/CA/B+7BMhHkXT4chg2MyboGdFGawYg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/scope-manager@8.6.0': resolution: {integrity: sha512-ZuoutoS5y9UOxKvpc/GkvF4cuEmpokda4wRg64JEia27wX+PysIE9q+lzDtlHHgblwUWwo5/Qn+/WyTUvDwBHw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.5.0': - resolution: {integrity: sha512-N1K8Ix+lUM+cIDhL2uekVn/ZD7TZW+9/rwz8DclQpcQ9rk4sIL5CAlBC0CugWKREmDjBzI/kQqU4wkg46jWLYA==} + '@typescript-eslint/scope-manager@8.7.0': + resolution: {integrity: sha512-87rC0k3ZlDOuz82zzXRtQ7Akv3GKhHs0ti4YcbAJtaomllXoSO8hi7Ix3ccEvCd824dy9aIX+j3d2UMAfCtVpg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/type-utils@8.7.0': + resolution: {integrity: sha512-tl0N0Mj3hMSkEYhLkjREp54OSb/FI6qyCzfiiclvJvOqre6hsZTGSnHtmFLDU8TIM62G7ygEa1bI08lcuRwEnQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -929,22 +929,13 @@ packages: typescript: optional: true - '@typescript-eslint/types@8.5.0': - resolution: {integrity: sha512-qjkormnQS5wF9pjSi6q60bKUHH44j2APxfh9TQRXK8wbYVeDYYdYJGIROL87LGZZ2gz3Rbmjc736qyL8deVtdw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/types@8.6.0': resolution: {integrity: sha512-rojqFZGd4MQxw33SrOy09qIDS8WEldM8JWtKQLAjf/X5mGSeEFh5ixQlxssMNyPslVIk9yzWqXCsV2eFhYrYUw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.5.0': - resolution: {integrity: sha512-vEG2Sf9P8BPQ+d0pxdfndw3xIXaoSjliG0/Ejk7UggByZPKXmJmw3GW5jV2gHNQNawBUyfahoSiCFVov0Ruf7Q==} + '@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} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true '@typescript-eslint/typescript-estree@8.6.0': resolution: {integrity: sha512-MOVAzsKJIPIlLK239l5s06YXjNqpKTVhBVDnqUumQJja5+Y94V3+4VUFRA0G60y2jNnTVwRCkhyGQpavfsbq/g==} @@ -955,11 +946,14 @@ packages: typescript: optional: true - '@typescript-eslint/utils@8.5.0': - resolution: {integrity: sha512-6yyGYVL0e+VzGYp60wvkBHiqDWOpT63pdMV2CVG4LVDd5uR6q1qQN/7LafBZtAtNIn/mqXjsSeS5ggv/P0iECw==} + '@typescript-eslint/typescript-estree@8.7.0': + resolution: {integrity: sha512-MC8nmcGHsmfAKxwnluTQpNqceniT8SteVwd2voYlmiSWGOtjvGXdPl17dYu2797GVscK30Z04WRM28CrKS9WOg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.57.0 || ^9.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true '@typescript-eslint/utils@8.6.0': resolution: {integrity: sha512-eNp9cWnYf36NaOVjkEUznf6fEgVy1TWpE0o52e4wtojjBx7D1UV2WAWGzR+8Y5lVFtpMLPwNbC67T83DWSph4A==} @@ -967,14 +961,20 @@ packages: peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@8.5.0': - resolution: {integrity: sha512-yTPqMnbAZJNy2Xq2XU8AdtOW9tJIr+UQb64aXB9f3B1498Zx9JorVgFJcZpEc9UBuCCrdzKID2RGAMkYcDtZOw==} + '@typescript-eslint/utils@8.7.0': + 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 '@typescript-eslint/visitor-keys@8.6.0': resolution: {integrity: sha512-wapVFfZg9H0qOYh4grNVQiMklJGluQrOUiOhYRrQWhx7BY/+I1IYb8BczWNbbUpO+pqy0rDciv3lQH5E1bCLrg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@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} + '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} @@ -1786,8 +1786,8 @@ packages: resolution: {integrity: sha512-QUp6pM9pjKEVannNAbSJNeRuYwW3LshejfyBBpjeMGaJjaDUpVps4C6KVR8R7dWZnD3i0synmrE36znjTkJvdQ==} engines: {node: '>=18.0.0', npm: '>=9.0.0', pnpm: '>=8.6.0'} - eslint-plugin-jsdoc@50.2.3: - resolution: {integrity: sha512-aNh/dz3wSkyo53y2KWDCrA8fDuXDMtMVflcbesd8AFPgcF8ugOv9mJxC7qKB95R96nzCB91iEwU7MMznh/7okQ==} + eslint-plugin-jsdoc@50.2.4: + resolution: {integrity: sha512-020jA+dXaXdb+TML3ZJBvpPmzwbNROjnYuTYi/g6A5QEmEjhptz4oPJDKkOGMIByNxsPpdTLzSU1HYVqebOX1w==} engines: {node: '>=18'} peerDependencies: eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 @@ -1824,8 +1824,8 @@ packages: resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint@9.10.0: - resolution: {integrity: sha512-Y4D0IgtBZfOcOUAIQTSXBKoNGfY0REGqHJG6+Q81vNippW5YlKjHFj4soMxamKK1NXHUWuBZTLdU3Km+L/pcHw==} + eslint@9.11.0: + resolution: {integrity: sha512-yVS6XODx+tMFMDFcG4+Hlh+qG7RM6cCJXtQhCKLSsr3XkLvWggHjCqjfh0XsPPnt1c56oaT6PMgW9XWQQjdHXA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true peerDependencies: @@ -3364,8 +3364,8 @@ packages: typedarray@0.0.6: resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} - typescript-eslint@8.5.0: - resolution: {integrity: sha512-uD+XxEoSIvqtm4KE97etm32Tn5MfaZWgWfMMREStLxR6JzvHkc2Tkj7zhTEK5XmtpTmKHNnG8Sot6qDfhHtR1Q==} + typescript-eslint@8.7.0: + resolution: {integrity: sha512-nEHbEYJyHwsuf7c3V3RS7Saq+1+la3i0ieR3qP0yjqWSzVmh8Drp47uOl9LjbPANac4S7EFSqvcYIKXUUwIfIQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -4050,9 +4050,9 @@ snapshots: '@esbuild/win32-x64@0.23.1': optional: true - '@eslint-community/eslint-utils@4.4.0(eslint@9.10.0(jiti@1.21.6))': + '@eslint-community/eslint-utils@4.4.0(eslint@9.11.0(jiti@1.21.6))': dependencies: - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.11.1': {} @@ -4081,11 +4081,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/js@9.10.0': {} + '@eslint/js@9.11.0': {} '@eslint/object-schema@2.1.4': {} - '@eslint/plugin-kit@0.1.0': + '@eslint/plugin-kit@0.2.0': dependencies: levn: 0.4.1 @@ -4281,10 +4281,10 @@ snapshots: '@shikijs/vscode-textmate@9.2.2': {} - '@stylistic/eslint-plugin@2.8.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@stylistic/eslint-plugin@2.8.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@typescript-eslint/utils': 8.6.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint: 9.10.0(jiti@1.21.6) + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint: 9.11.0(jiti@1.21.6) eslint-visitor-keys: 4.0.0 espree: 10.1.0 estraverse: 5.3.0 @@ -4359,15 +4359,15 @@ snapshots: '@types/node': 20.16.5 optional: true - '@typescript-eslint/eslint-plugin@8.5.0(@typescript-eslint/parser@8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: '@eslint-community/regexpp': 4.11.1 - '@typescript-eslint/parser': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.5.0 - '@typescript-eslint/type-utils': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/visitor-keys': 8.5.0 - eslint: 9.10.0(jiti@1.21.6) + '@typescript-eslint/parser': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.7.0 + '@typescript-eslint/type-utils': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/visitor-keys': 8.7.0 + eslint: 9.11.0(jiti@1.21.6) graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 @@ -4377,33 +4377,33 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/parser@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@typescript-eslint/scope-manager': 8.5.0 - '@typescript-eslint/types': 8.5.0 - '@typescript-eslint/typescript-estree': 8.5.0(typescript@5.6.2) - '@typescript-eslint/visitor-keys': 8.5.0 + '@typescript-eslint/scope-manager': 8.7.0 + '@typescript-eslint/types': 8.7.0 + '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) + '@typescript-eslint/visitor-keys': 8.7.0 debug: 4.3.7(supports-color@8.1.1) - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.5.0': - dependencies: - '@typescript-eslint/types': 8.5.0 - '@typescript-eslint/visitor-keys': 8.5.0 - '@typescript-eslint/scope-manager@8.6.0': dependencies: '@typescript-eslint/types': 8.6.0 '@typescript-eslint/visitor-keys': 8.6.0 - '@typescript-eslint/type-utils@8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/scope-manager@8.7.0': + dependencies: + '@typescript-eslint/types': 8.7.0 + '@typescript-eslint/visitor-keys': 8.7.0 + + '@typescript-eslint/type-utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@typescript-eslint/typescript-estree': 8.5.0(typescript@5.6.2) - '@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) + '@typescript-eslint/utils': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) debug: 4.3.7(supports-color@8.1.1) ts-api-utils: 1.3.0(typescript@5.6.2) optionalDependencies: @@ -4412,14 +4412,14 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@8.5.0': {} - '@typescript-eslint/types@8.6.0': {} - '@typescript-eslint/typescript-estree@8.5.0(typescript@5.6.2)': + '@typescript-eslint/types@8.7.0': {} + + '@typescript-eslint/typescript-estree@8.6.0(typescript@5.6.2)': dependencies: - '@typescript-eslint/types': 8.5.0 - '@typescript-eslint/visitor-keys': 8.5.0 + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/visitor-keys': 8.6.0 debug: 4.3.7(supports-color@8.1.1) fast-glob: 3.3.2 is-glob: 4.0.3 @@ -4431,10 +4431,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.6.0(typescript@5.6.2)': + '@typescript-eslint/typescript-estree@8.7.0(typescript@5.6.2)': dependencies: - '@typescript-eslint/types': 8.6.0 - '@typescript-eslint/visitor-keys': 8.6.0 + '@typescript-eslint/types': 8.7.0 + '@typescript-eslint/visitor-keys': 8.7.0 debug: 4.3.7(supports-color@8.1.1) fast-glob: 3.3.2 is-glob: 4.0.3 @@ -4446,36 +4446,36 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/utils@8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) - '@typescript-eslint/scope-manager': 8.5.0 - '@typescript-eslint/types': 8.5.0 - '@typescript-eslint/typescript-estree': 8.5.0(typescript@5.6.2) - eslint: 9.10.0(jiti@1.21.6) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) + eslint: 9.11.0(jiti@1.21.6) transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/utils@8.6.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) - '@typescript-eslint/scope-manager': 8.6.0 - '@typescript-eslint/types': 8.6.0 - '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) - eslint: 9.10.0(jiti@1.21.6) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) + '@typescript-eslint/scope-manager': 8.7.0 + '@typescript-eslint/types': 8.7.0 + '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) + eslint: 9.11.0(jiti@1.21.6) transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@8.5.0': + '@typescript-eslint/visitor-keys@8.6.0': dependencies: - '@typescript-eslint/types': 8.5.0 + '@typescript-eslint/types': 8.6.0 eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.6.0': + '@typescript-eslint/visitor-keys@8.7.0': dependencies: - '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/types': 8.7.0 eslint-visitor-keys: 3.4.3 '@ungap/structured-clone@1.2.0': {} @@ -4503,11 +4503,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/eslint-plugin@1.1.4(@typescript-eslint/utils@8.6.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0))': + '@vitest/eslint-plugin@1.1.4(@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0))': dependencies: - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) optionalDependencies: - '@typescript-eslint/utils': 8.6.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) typescript: 5.6.2 vitest: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0) @@ -5396,20 +5396,20 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-config-prettier@9.1.0(eslint@9.10.0(jiti@1.21.6)): + eslint-config-prettier@9.1.0(eslint@9.11.0(jiti@1.21.6)): dependencies: - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) eslint-define-config@2.1.0: {} - eslint-plugin-jsdoc@50.2.3(eslint@9.10.0(jiti@1.21.6)): + eslint-plugin-jsdoc@50.2.4(eslint@9.11.0(jiti@1.21.6)): dependencies: '@es-joy/jsdoccomment': 0.48.0 are-docs-informative: 0.0.2 comment-parser: 1.4.1 debug: 4.3.7(supports-color@8.1.1) escape-string-regexp: 4.0.0 - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) espree: 10.1.0 esquery: 1.6.0 parse-imports: 2.1.1 @@ -5419,24 +5419,24 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-prettier@5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.10.0(jiti@1.21.6)))(eslint@9.10.0(jiti@1.21.6))(prettier@3.3.3): + eslint-plugin-prettier@5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.11.0(jiti@1.21.6)))(eslint@9.11.0(jiti@1.21.6))(prettier@3.3.3): dependencies: - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) prettier: 3.3.3 prettier-linter-helpers: 1.0.0 synckit: 0.9.1 optionalDependencies: '@types/eslint': 9.6.1 - eslint-config-prettier: 9.1.0(eslint@9.10.0(jiti@1.21.6)) + eslint-config-prettier: 9.1.0(eslint@9.11.0(jiti@1.21.6)) - eslint-plugin-unicorn@55.0.0(eslint@9.10.0(jiti@1.21.6)): + eslint-plugin-unicorn@55.0.0(eslint@9.11.0(jiti@1.21.6)): dependencies: '@babel/helper-validator-identifier': 7.24.7 - '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) ci-info: 4.0.0 clean-regexp: 1.0.0 core-js-compat: 3.38.1 - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) esquery: 1.6.0 globals: 15.9.0 indent-string: 4.0.0 @@ -5458,14 +5458,14 @@ snapshots: eslint-visitor-keys@4.0.0: {} - eslint@9.10.0(jiti@1.21.6): + eslint@9.11.0(jiti@1.21.6): dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) '@eslint-community/regexpp': 4.11.1 '@eslint/config-array': 0.18.0 '@eslint/eslintrc': 3.1.0 - '@eslint/js': 9.10.0 - '@eslint/plugin-kit': 0.1.0 + '@eslint/js': 9.11.0 + '@eslint/plugin-kit': 0.2.0 '@humanwhocodes/module-importer': 1.0.1 '@humanwhocodes/retry': 0.3.0 '@nodelib/fs.walk': 1.2.8 @@ -7012,11 +7012,11 @@ snapshots: typedarray@0.0.6: {} - typescript-eslint@8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2): + typescript-eslint@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2): dependencies: - '@typescript-eslint/eslint-plugin': 8.5.0(@typescript-eslint/parser@8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/parser': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/eslint-plugin': 8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/parser': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: From 311f7b6726fb2aad55ed40fc0ab83aa13deaa560 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 21:27:19 +0200 Subject: [PATCH 12/47] chore(deps): lock file maintenance (#3138) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 421 +++++++++++++++++++++---------------------------- 1 file changed, 179 insertions(+), 242 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 75e3e6d5ba0..47942c0598b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -40,10 +40,10 @@ importers: version: 13.12.2 '@vitest/coverage-v8': specifier: 2.1.1 - version: 2.1.1(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0)) + version: 2.1.1(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1)) '@vitest/eslint-plugin': specifier: 1.1.4 - version: 1.1.4(@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0)) + version: 1.1.4(@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1)) '@vitest/ui': specifier: 2.1.1 version: 2.1.1(vitest@2.1.1) @@ -124,7 +124,7 @@ importers: version: 1.3.4(@algolia/client-search@5.5.3)(@types/node@20.16.5)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2) vitest: specifier: 2.1.1 - version: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0) + version: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1) vue: specifier: 3.5.8 version: 3.5.8(typescript@5.6.2) @@ -721,103 +721,103 @@ packages: resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} - '@polka/url@1.0.0-next.25': - resolution: {integrity: sha512-j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ==} + '@polka/url@1.0.0-next.28': + resolution: {integrity: sha512-8LduaNlMZGwdZ6qWrKlfa+2M4gahzFkprZiAt2TF8uS0qQgBizKXpXURqvTJ4WtmupWxaLqjRb2UCTe72mu+Aw==} - '@rollup/rollup-android-arm-eabi@4.21.3': - resolution: {integrity: sha512-MmKSfaB9GX+zXl6E8z4koOr/xU63AMVleLEa64v7R0QF/ZloMs5vcD1sHgM64GXXS1csaJutG+ddtzcueI/BLg==} + '@rollup/rollup-android-arm-eabi@4.22.4': + resolution: {integrity: sha512-Fxamp4aEZnfPOcGA8KSNEohV8hX7zVHOemC8jVBoBUHu5zpJK/Eu3uJwt6BMgy9fkvzxDaurgj96F/NiLukF2w==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.21.3': - resolution: {integrity: sha512-zrt8ecH07PE3sB4jPOggweBjJMzI1JG5xI2DIsUbkA+7K+Gkjys6eV7i9pOenNSDJH3eOr/jLb/PzqtmdwDq5g==} + '@rollup/rollup-android-arm64@4.22.4': + resolution: {integrity: sha512-VXoK5UMrgECLYaMuGuVTOx5kcuap1Jm8g/M83RnCHBKOqvPPmROFJGQaZhGccnsFtfXQ3XYa4/jMCJvZnbJBdA==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.21.3': - resolution: {integrity: sha512-P0UxIOrKNBFTQaXTxOH4RxuEBVCgEA5UTNV6Yz7z9QHnUJ7eLX9reOd/NYMO3+XZO2cco19mXTxDMXxit4R/eQ==} + '@rollup/rollup-darwin-arm64@4.22.4': + resolution: {integrity: sha512-xMM9ORBqu81jyMKCDP+SZDhnX2QEVQzTcC6G18KlTQEzWK8r/oNZtKuZaCcHhnsa6fEeOBionoyl5JsAbE/36Q==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.21.3': - resolution: {integrity: sha512-L1M0vKGO5ASKntqtsFEjTq/fD91vAqnzeaF6sfNAy55aD+Hi2pBI5DKwCO+UNDQHWsDViJLqshxOahXyLSh3EA==} + '@rollup/rollup-darwin-x64@4.22.4': + resolution: {integrity: sha512-aJJyYKQwbHuhTUrjWjxEvGnNNBCnmpHDvrb8JFDbeSH3m2XdHcxDd3jthAzvmoI8w/kSjd2y0udT+4okADsZIw==} cpu: [x64] os: [darwin] - '@rollup/rollup-linux-arm-gnueabihf@4.21.3': - resolution: {integrity: sha512-btVgIsCjuYFKUjopPoWiDqmoUXQDiW2A4C3Mtmp5vACm7/GnyuprqIDPNczeyR5W8rTXEbkmrJux7cJmD99D2g==} + '@rollup/rollup-linux-arm-gnueabihf@4.22.4': + resolution: {integrity: sha512-j63YtCIRAzbO+gC2L9dWXRh5BFetsv0j0va0Wi9epXDgU/XUi5dJKo4USTttVyK7fGw2nPWK0PbAvyliz50SCQ==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.21.3': - resolution: {integrity: sha512-zmjbSphplZlau6ZTkxd3+NMtE4UKVy7U4aVFMmHcgO5CUbw17ZP6QCgyxhzGaU/wFFdTfiojjbLG3/0p9HhAqA==} + '@rollup/rollup-linux-arm-musleabihf@4.22.4': + resolution: {integrity: sha512-dJnWUgwWBX1YBRsuKKMOlXCzh2Wu1mlHzv20TpqEsfdZLb3WoJW2kIEsGwLkroYf24IrPAvOT/ZQ2OYMV6vlrg==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.21.3': - resolution: {integrity: sha512-nSZfcZtAnQPRZmUkUQwZq2OjQciR6tEoJaZVFvLHsj0MF6QhNMg0fQ6mUOsiCUpTqxTx0/O6gX0V/nYc7LrgPw==} + '@rollup/rollup-linux-arm64-gnu@4.22.4': + resolution: {integrity: sha512-AdPRoNi3NKVLolCN/Sp4F4N1d98c4SBnHMKoLuiG6RXgoZ4sllseuGioszumnPGmPM2O7qaAX/IJdeDU8f26Aw==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.21.3': - resolution: {integrity: sha512-MnvSPGO8KJXIMGlQDYfvYS3IosFN2rKsvxRpPO2l2cum+Z3exiExLwVU+GExL96pn8IP+GdH8Tz70EpBhO0sIQ==} + '@rollup/rollup-linux-arm64-musl@4.22.4': + resolution: {integrity: sha512-Gl0AxBtDg8uoAn5CCqQDMqAx22Wx22pjDOjBdmG0VIWX3qUBHzYmOKh8KXHL4UpogfJ14G4wk16EQogF+v8hmA==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.21.3': - resolution: {integrity: sha512-+W+p/9QNDr2vE2AXU0qIy0qQE75E8RTwTwgqS2G5CRQ11vzq0tbnfBd6brWhS9bCRjAjepJe2fvvkvS3dno+iw==} + '@rollup/rollup-linux-powerpc64le-gnu@4.22.4': + resolution: {integrity: sha512-3aVCK9xfWW1oGQpTsYJJPF6bfpWfhbRnhdlyhak2ZiyFLDaayz0EP5j9V1RVLAAxlmWKTDfS9wyRyY3hvhPoOg==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.21.3': - resolution: {integrity: sha512-yXH6K6KfqGXaxHrtr+Uoy+JpNlUlI46BKVyonGiaD74ravdnF9BUNC+vV+SIuB96hUMGShhKV693rF9QDfO6nQ==} + '@rollup/rollup-linux-riscv64-gnu@4.22.4': + resolution: {integrity: sha512-ePYIir6VYnhgv2C5Xe9u+ico4t8sZWXschR6fMgoPUK31yQu7hTEJb7bCqivHECwIClJfKgE7zYsh1qTP3WHUA==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.21.3': - resolution: {integrity: sha512-R8cwY9wcnApN/KDYWTH4gV/ypvy9yZUHlbJvfaiXSB48JO3KpwSpjOGqO4jnGkLDSk1hgjYkTbTt6Q7uvPf8eg==} + '@rollup/rollup-linux-s390x-gnu@4.22.4': + resolution: {integrity: sha512-GqFJ9wLlbB9daxhVlrTe61vJtEY99/xB3C8e4ULVsVfflcpmR6c8UZXjtkMA6FhNONhj2eA5Tk9uAVw5orEs4Q==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.21.3': - resolution: {integrity: sha512-kZPbX/NOPh0vhS5sI+dR8L1bU2cSO9FgxwM8r7wHzGydzfSjLRCFAT87GR5U9scj2rhzN3JPYVC7NoBbl4FZ0g==} + '@rollup/rollup-linux-x64-gnu@4.22.4': + resolution: {integrity: sha512-87v0ol2sH9GE3cLQLNEy0K/R0pz1nvg76o8M5nhMR0+Q+BBGLnb35P0fVz4CQxHYXaAOhE8HhlkaZfsdUOlHwg==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.21.3': - resolution: {integrity: sha512-S0Yq+xA1VEH66uiMNhijsWAafffydd2X5b77eLHfRmfLsRSpbiAWiRHV6DEpz6aOToPsgid7TI9rGd6zB1rhbg==} + '@rollup/rollup-linux-x64-musl@4.22.4': + resolution: {integrity: sha512-UV6FZMUgePDZrFjrNGIWzDo/vABebuXBhJEqrHxrGiU6HikPy0Z3LfdtciIttEUQfuDdCn8fqh7wiFJjCNwO+g==} cpu: [x64] os: [linux] - '@rollup/rollup-win32-arm64-msvc@4.21.3': - resolution: {integrity: sha512-9isNzeL34yquCPyerog+IMCNxKR8XYmGd0tHSV+OVx0TmE0aJOo9uw4fZfUuk2qxobP5sug6vNdZR6u7Mw7Q+Q==} + '@rollup/rollup-win32-arm64-msvc@4.22.4': + resolution: {integrity: sha512-BjI+NVVEGAXjGWYHz/vv0pBqfGoUH0IGZ0cICTn7kB9PyjrATSkX+8WkguNjWoj2qSr1im/+tTGRaY+4/PdcQw==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.21.3': - resolution: {integrity: sha512-nMIdKnfZfzn1Vsk+RuOvl43ONTZXoAPUUxgcU0tXooqg4YrAqzfKzVenqqk2g5efWh46/D28cKFrOzDSW28gTA==} + '@rollup/rollup-win32-ia32-msvc@4.22.4': + resolution: {integrity: sha512-SiWG/1TuUdPvYmzmYnmd3IEifzR61Tragkbx9D3+R8mzQqDBz8v+BvZNDlkiTtI9T15KYZhP0ehn3Dld4n9J5g==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.21.3': - resolution: {integrity: sha512-fOvu7PCQjAj4eWDEuD8Xz5gpzFqXzGlxHZozHP4b9Jxv9APtdxL6STqztDzMLuRXEc4UpXGGhx029Xgm91QBeA==} + '@rollup/rollup-win32-x64-msvc@4.22.4': + resolution: {integrity: sha512-j8pPKp53/lq9lMXN57S8cFz0MynJk8OWNuUnXct/9KCpKU7DgU3bYMJhwWmcqC0UU29p8Lr0/7KEVcaM6bf47Q==} cpu: [x64] os: [win32] - '@shikijs/core@1.17.7': - resolution: {integrity: sha512-ZnIDxFu/yvje3Q8owSHaEHd+bu/jdWhHAaJ17ggjXofHx5rc4bhpCSW+OjC6smUBi5s5dd023jWtZ1gzMu/yrw==} + '@shikijs/core@1.18.0': + resolution: {integrity: sha512-VK4BNVCd2leY62Nm2JjyxtRLkyrZT/tv104O81eyaCjHq4Adceq2uJVFJJAIof6lT1mBwZrEo2qT/T+grv3MQQ==} - '@shikijs/engine-javascript@1.17.7': - resolution: {integrity: sha512-wwSf7lKPsm+hiYQdX+1WfOXujtnUG6fnN4rCmExxa4vo+OTmvZ9B1eKauilvol/LHUPrQgW12G3gzem7pY5ckw==} + '@shikijs/engine-javascript@1.18.0': + resolution: {integrity: sha512-qoP/aO/ATNwYAUw1YMdaip/YVEstMZEgrwhePm83Ll9OeQPuxDZd48szZR8oSQNQBT8m8UlWxZv8EA3lFuyI5A==} - '@shikijs/engine-oniguruma@1.17.7': - resolution: {integrity: sha512-pvSYGnVeEIconU28NEzBXqSQC/GILbuNbAHwMoSfdTBrobKAsV1vq2K4cAgiaW1TJceLV9QMGGh18hi7cCzbVQ==} + '@shikijs/engine-oniguruma@1.18.0': + resolution: {integrity: sha512-B9u0ZKI/cud+TcmF8Chyh+R4V5qQVvyDOqXC2l2a4x73PBSBc6sZ0JRAX3eqyJswqir6ktwApUUGBYePdKnMJg==} - '@shikijs/transformers@1.17.7': - resolution: {integrity: sha512-Nu7DaUT/qHDqbEsWBBqX6MyPMFbR4hUZcK11TA+zU/nPu9eDFE8v0p+n+eT4A3+3mxX6czMSF81W4QNsQ/NSpQ==} + '@shikijs/transformers@1.18.0': + resolution: {integrity: sha512-EdX/UIVaaS8qp9NWRyHIXp2dmuLpdVvx+UVpbIn9eafFlLemAuljPb2+K40ie6jrlg0uUIqkg25CM/8I34yBNw==} - '@shikijs/types@1.17.7': - resolution: {integrity: sha512-+qA4UyhWLH2q4EFd+0z4K7GpERDU+c+CN2XYD3sC+zjvAr5iuwD1nToXZMt1YODshjkEGEDV86G7j66bKjqDdg==} + '@shikijs/types@1.18.0': + resolution: {integrity: sha512-O9N36UEaGGrxv1yUrN2nye7gDLG5Uq0/c1LyfmxsvzNPqlHzWo9DI0A4+fhW2y3bGKuQu/fwS7EPdKJJCowcVA==} '@shikijs/vscode-textmate@9.2.2': resolution: {integrity: sha512-TMp15K+GGYrWlZM8+Lnj9EaHEFmOen0WJBrfa17hF7taDOYthuPPV0GWzfd/9iMij0akS/8Yw2ikquH7uVi/fg==} @@ -840,6 +840,9 @@ packages: '@types/estree@1.0.5': resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + '@types/estree@1.0.6': + resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} + '@types/hast@3.0.4': resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==} @@ -912,10 +915,6 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@8.6.0': - resolution: {integrity: sha512-ZuoutoS5y9UOxKvpc/GkvF4cuEmpokda4wRg64JEia27wX+PysIE9q+lzDtlHHgblwUWwo5/Qn+/WyTUvDwBHw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/scope-manager@8.7.0': resolution: {integrity: sha512-87rC0k3ZlDOuz82zzXRtQ7Akv3GKhHs0ti4YcbAJtaomllXoSO8hi7Ix3ccEvCd824dy9aIX+j3d2UMAfCtVpg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -929,23 +928,10 @@ packages: typescript: optional: true - '@typescript-eslint/types@8.6.0': - resolution: {integrity: sha512-rojqFZGd4MQxw33SrOy09qIDS8WEldM8JWtKQLAjf/X5mGSeEFh5ixQlxssMNyPslVIk9yzWqXCsV2eFhYrYUw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@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} - '@typescript-eslint/typescript-estree@8.6.0': - resolution: {integrity: sha512-MOVAzsKJIPIlLK239l5s06YXjNqpKTVhBVDnqUumQJja5+Y94V3+4VUFRA0G60y2jNnTVwRCkhyGQpavfsbq/g==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/typescript-estree@8.7.0': resolution: {integrity: sha512-MC8nmcGHsmfAKxwnluTQpNqceniT8SteVwd2voYlmiSWGOtjvGXdPl17dYu2797GVscK30Z04WRM28CrKS9WOg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -955,22 +941,12 @@ packages: typescript: optional: true - '@typescript-eslint/utils@8.6.0': - resolution: {integrity: sha512-eNp9cWnYf36NaOVjkEUznf6fEgVy1TWpE0o52e4wtojjBx7D1UV2WAWGzR+8Y5lVFtpMLPwNbC67T83DWSph4A==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/utils@8.7.0': 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 - '@typescript-eslint/visitor-keys@8.6.0': - resolution: {integrity: sha512-wapVFfZg9H0qOYh4grNVQiMklJGluQrOUiOhYRrQWhx7BY/+I1IYb8BczWNbbUpO+pqy0rDciv3lQH5E1bCLrg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@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} @@ -978,8 +954,8 @@ packages: '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - '@vitejs/plugin-vue@5.1.3': - resolution: {integrity: sha512-3xbWsKEKXYlmX82aOHufFQVnkbMC/v8fLpWwh6hWOUrK5fbbtBh9Q/WWse27BFgSy2/e2c0fz5Scgya9h2GLhw==} + '@vitejs/plugin-vue@5.1.4': + resolution: {integrity: sha512-N2XSI2n3sQqp5w7Y/AN/L2XDjBIRGqXko+eDp42sydYSBeJuSm5a1sLf8zakmo8u7tA8NmBgoDLA1HeOESjp9A==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: vite: ^5.0.0 @@ -1053,15 +1029,9 @@ packages: '@volar/typescript@2.4.5': resolution: {integrity: sha512-mcT1mHvLljAEtHviVcBuOyAwwMKz1ibXTi5uYtP/pf4XxoAzpdkQ+Br2IC0NPCvLCbjPZmbf3I0udndkfB1CDg==} - '@vue/compiler-core@3.5.6': - resolution: {integrity: sha512-r+gNu6K4lrvaQLQGmf+1gc41p3FO2OUJyWmNqaIITaJU6YFiV5PtQSFZt8jfztYyARwqhoCayjprC7KMvT3nRA==} - '@vue/compiler-core@3.5.8': resolution: {integrity: sha512-Uzlxp91EPjfbpeO5KtC0KnXPkuTfGsNDeaKQJxQN718uz+RqDYarEf7UhQJGK+ZYloD2taUbHTI2J4WrUaZQNA==} - '@vue/compiler-dom@3.5.6': - resolution: {integrity: sha512-xRXqxDrIqK8v8sSScpistyYH0qYqxakpsIvqMD2e5sV/PXQ1mTwtXp4k42yHK06KXxKSmitop9e45Ui/3BrTEw==} - '@vue/compiler-dom@3.5.8': resolution: {integrity: sha512-GUNHWvoDSbSa5ZSHT9SnV5WkStWfzJwwTd6NMGzilOE/HM5j+9EB9zGXdtu/fCNEmctBqMs6C9SvVPpVPuk1Eg==} @@ -1074,14 +1044,14 @@ packages: '@vue/compiler-vue2@2.7.16': resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==} - '@vue/devtools-api@7.4.5': - resolution: {integrity: sha512-PX9uXirHOY2P99kb1cP3DxWZojFW3acNMqd+l4i5nKcqY59trXTOfwDZXt2Qifu0OU1izAQb76Ur6NPVldF2KQ==} + '@vue/devtools-api@7.4.6': + resolution: {integrity: sha512-XipBV5k0/IfTr0sNBDTg7OBUCp51cYMMXyPxLXJZ4K/wmUeMqt8cVdr2ZZGOFq+si/jTyCYnNxeKoyev5DOUUA==} - '@vue/devtools-kit@7.4.5': - resolution: {integrity: sha512-Uuki4Z6Bc/ExvtlPkeDNGSAe4580R+HPcVABfTE9TF7BTz3Nntk7vxIRUyWblZkUEcB/x+wn2uofyt5i2LaUew==} + '@vue/devtools-kit@7.4.6': + resolution: {integrity: sha512-NbYBwPWgEic1AOd9bWExz9weBzFdjiIfov0yRn4DrRfR+EQJCI9dn4I0XS7IxYGdkmUJi8mFW42LLk18WsGqew==} - '@vue/devtools-shared@7.4.5': - resolution: {integrity: sha512-2XgUOkL/7QDmyYI9J7cm+rz/qBhcGv+W5+i1fhwdQ0HQ1RowhdK66F0QBuJSz/5k12opJY8eN6m03/XZMs7imQ==} + '@vue/devtools-shared@7.4.6': + resolution: {integrity: sha512-rPeSBzElnHYMB05Cc056BQiJpgocQjY8XVulgni+O9a9Gr9tNXgPteSzFFD+fT/iWMxNuUgGKs9CuW5DZewfIg==} '@vue/language-core@2.1.6': resolution: {integrity: sha512-MW569cSky9R/ooKMh6xa2g1D0AtRKbL56k83dzus/bx//RDJk24RHWkMzbAlXjMdDNyxAaagKPRquBIxkxlCkg==} @@ -1105,9 +1075,6 @@ packages: peerDependencies: vue: 3.5.8 - '@vue/shared@3.5.6': - resolution: {integrity: sha512-eidH0HInnL39z6wAt6SFIwBrvGOpDWsDxlw3rCgo1B+CQ1781WzQUSU3YjxgdkcJo9Q8S6LmXTkvI+cLHGkQfA==} - '@vue/shared@3.5.8': resolution: {integrity: sha512-mJleSWbAGySd2RJdX1RBtcrUBX6snyOc0qHpgk3lGi4l9/P/3ny3ELqFWqYdkXIwwNN/kdm8nD9ky8o6l/Lx2A==} @@ -1358,8 +1325,8 @@ packages: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} - caniuse-lite@1.0.30001660: - resolution: {integrity: sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg==} + caniuse-lite@1.0.30001663: + resolution: {integrity: sha512-o9C3X27GLKbLeTYZ6HBOLU1tsAcBZsLis28wrVzddShCS16RujjHp9GDHKZqrB3meE0YjhawvMFsGb/igqiPzA==} caseless@0.12.0: resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} @@ -1720,8 +1687,8 @@ packages: ecc-jsbn@0.1.2: resolution: {integrity: sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==} - electron-to-chromium@1.5.23: - resolution: {integrity: sha512-mBhODedOXg4v5QWwl21DjM5amzjmI1zw9EPrPK/5Wx7C8jt33bpZNrC7OhHUG3pxRtbLpr3W2dXT+Ph1SsfRZA==} + electron-to-chromium@1.5.27: + resolution: {integrity: sha512-o37j1vZqCoEgBuWWXLHQgTN/KDKe7zwpiY5CPeq2RvUqOyJw9xnrULzZAEVQ5p4h+zjMk7hgtOoPdnLxr7m/jw==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -2324,8 +2291,8 @@ packages: resolution: {integrity: sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==} engines: {node: '>=12.0.0'} - jsdom@25.0.0: - resolution: {integrity: sha512-OhoFVT59T7aEq75TVw9xxEfkXgacpqAhQaYgP9y/fDqWQCMB/b1H66RfmPm/MaeaAIU9nDwMOVTlPN51+ao6CQ==} + jsdom@25.0.1: + resolution: {integrity: sha512-8i7LzZj7BF8uplX+ZyOlIz86V6TAsSs+np6m1kpW9u0JWi4z/1t+FzcK1aek+ybTnAC4KhBL4uXCNT0wcUIeCw==} engines: {node: '>=18'} peerDependencies: canvas: ^2.11.2 @@ -2699,8 +2666,8 @@ packages: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} - 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'} parse-json@4.0.0: @@ -2978,8 +2945,8 @@ packages: resolution: {integrity: sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==} hasBin: true - rollup@4.21.3: - resolution: {integrity: sha512-7sqRtBNnEbcBtMeRVc6VRsJMmpI+JU1z9VTvW8D4gXIYQFz0aLcsE6rRkyghZkLfEgUZgVvOG7A5CVz/VW5GIA==} + rollup@4.22.4: + resolution: {integrity: sha512-vD8HJ5raRcWOyymsR6Z3o6+RzfEPCnVLMFJ6vRslO1jt4LO6dUo5Qnpg7y4RkZFM2DMe3WUirkI5c16onjrc6A==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -3035,8 +3002,8 @@ packages: shell-quote@1.8.1: resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} - shiki@1.17.7: - resolution: {integrity: sha512-Zf6hNtWhFyF4XP5OOsXkBTEx9JFPiN0TQx4wSe+Vqeuczewgk2vT4IZhF4gka55uelm052BD5BaHavNqUNZd+A==} + shiki@1.18.0: + resolution: {integrity: sha512-8jo7tOXr96h9PBQmOHVrltnETn1honZZY76YA79MHheGQg55jBvbm9dtU+MI5pjC5NJCFuA6rvVTLVeSW5cE4A==} side-channel@1.0.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} @@ -3254,6 +3221,13 @@ packages: resolution: {integrity: sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==} engines: {node: '>=14.0.0'} + tldts-core@6.1.47: + resolution: {integrity: sha512-6SWyFMnlst1fEt7GQVAAu16EGgFK0cLouH/2Mk6Ftlwhv3Ol40L0dlpGMcnnNiiOMyD2EV/aF3S+U2nKvvLvrA==} + + tldts@6.1.47: + resolution: {integrity: sha512-R/K2tZ5MiY+mVrnSkNJkwqYT2vUv1lcT6wJvd2emGaMJ7PHUGRY4e3tUsdFCXgqxi2QgbHjL3yJgXCo40v9Hxw==} + hasBin: true + tmp@0.2.3: resolution: {integrity: sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==} engines: {node: '>=14.14'} @@ -3274,6 +3248,10 @@ packages: resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==} engines: {node: '>=6'} + tough-cookie@5.0.0: + resolution: {integrity: sha512-FRKsF7cz96xIIeMZ82ehjC3xW2E+O2+v11udrDYewUbszngYhsGa8z6YUMMzO9QJZzzyd0nGGXnML/TReX6W8Q==} + engines: {node: '>=16'} + tr46@1.0.1: resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} @@ -4200,81 +4178,81 @@ snapshots: '@pkgr/core@0.1.1': {} - '@polka/url@1.0.0-next.25': {} + '@polka/url@1.0.0-next.28': {} - '@rollup/rollup-android-arm-eabi@4.21.3': + '@rollup/rollup-android-arm-eabi@4.22.4': optional: true - '@rollup/rollup-android-arm64@4.21.3': + '@rollup/rollup-android-arm64@4.22.4': optional: true - '@rollup/rollup-darwin-arm64@4.21.3': + '@rollup/rollup-darwin-arm64@4.22.4': optional: true - '@rollup/rollup-darwin-x64@4.21.3': + '@rollup/rollup-darwin-x64@4.22.4': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.21.3': + '@rollup/rollup-linux-arm-gnueabihf@4.22.4': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.21.3': + '@rollup/rollup-linux-arm-musleabihf@4.22.4': optional: true - '@rollup/rollup-linux-arm64-gnu@4.21.3': + '@rollup/rollup-linux-arm64-gnu@4.22.4': optional: true - '@rollup/rollup-linux-arm64-musl@4.21.3': + '@rollup/rollup-linux-arm64-musl@4.22.4': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.21.3': + '@rollup/rollup-linux-powerpc64le-gnu@4.22.4': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.21.3': + '@rollup/rollup-linux-riscv64-gnu@4.22.4': optional: true - '@rollup/rollup-linux-s390x-gnu@4.21.3': + '@rollup/rollup-linux-s390x-gnu@4.22.4': optional: true - '@rollup/rollup-linux-x64-gnu@4.21.3': + '@rollup/rollup-linux-x64-gnu@4.22.4': optional: true - '@rollup/rollup-linux-x64-musl@4.21.3': + '@rollup/rollup-linux-x64-musl@4.22.4': optional: true - '@rollup/rollup-win32-arm64-msvc@4.21.3': + '@rollup/rollup-win32-arm64-msvc@4.22.4': optional: true - '@rollup/rollup-win32-ia32-msvc@4.21.3': + '@rollup/rollup-win32-ia32-msvc@4.22.4': optional: true - '@rollup/rollup-win32-x64-msvc@4.21.3': + '@rollup/rollup-win32-x64-msvc@4.22.4': optional: true - '@shikijs/core@1.17.7': + '@shikijs/core@1.18.0': dependencies: - '@shikijs/engine-javascript': 1.17.7 - '@shikijs/engine-oniguruma': 1.17.7 - '@shikijs/types': 1.17.7 + '@shikijs/engine-javascript': 1.18.0 + '@shikijs/engine-oniguruma': 1.18.0 + '@shikijs/types': 1.18.0 '@shikijs/vscode-textmate': 9.2.2 '@types/hast': 3.0.4 hast-util-to-html: 9.0.3 - '@shikijs/engine-javascript@1.17.7': + '@shikijs/engine-javascript@1.18.0': dependencies: - '@shikijs/types': 1.17.7 + '@shikijs/types': 1.18.0 '@shikijs/vscode-textmate': 9.2.2 oniguruma-to-js: 0.4.3 - '@shikijs/engine-oniguruma@1.17.7': + '@shikijs/engine-oniguruma@1.18.0': dependencies: - '@shikijs/types': 1.17.7 + '@shikijs/types': 1.18.0 '@shikijs/vscode-textmate': 9.2.2 - '@shikijs/transformers@1.17.7': + '@shikijs/transformers@1.18.0': dependencies: - shiki: 1.17.7 + shiki: 1.18.0 - '@shikijs/types@1.17.7': + '@shikijs/types@1.18.0': dependencies: '@shikijs/vscode-textmate': 9.2.2 '@types/hast': 3.0.4 @@ -4283,7 +4261,7 @@ snapshots: '@stylistic/eslint-plugin@2.8.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) eslint: 9.11.0(jiti@1.21.6) eslint-visitor-keys: 4.0.0 espree: 10.1.0 @@ -4302,7 +4280,7 @@ snapshots: '@types/eslint@9.6.1': dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 '@types/json-schema': 7.0.15 '@types/eslint__js@8.42.3': @@ -4311,6 +4289,8 @@ snapshots: '@types/estree@1.0.5': {} + '@types/estree@1.0.6': {} + '@types/hast@3.0.4': dependencies: '@types/unist': 3.0.3 @@ -4390,11 +4370,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.6.0': - dependencies: - '@typescript-eslint/types': 8.6.0 - '@typescript-eslint/visitor-keys': 8.6.0 - '@typescript-eslint/scope-manager@8.7.0': dependencies: '@typescript-eslint/types': 8.7.0 @@ -4412,25 +4387,8 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@8.6.0': {} - '@typescript-eslint/types@8.7.0': {} - '@typescript-eslint/typescript-estree@8.6.0(typescript@5.6.2)': - dependencies: - '@typescript-eslint/types': 8.6.0 - '@typescript-eslint/visitor-keys': 8.6.0 - debug: 4.3.7(supports-color@8.1.1) - fast-glob: 3.3.2 - is-glob: 4.0.3 - minimatch: 9.0.5 - semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.6.2) - optionalDependencies: - typescript: 5.6.2 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/typescript-estree@8.7.0(typescript@5.6.2)': dependencies: '@typescript-eslint/types': 8.7.0 @@ -4446,17 +4404,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) - '@typescript-eslint/scope-manager': 8.6.0 - '@typescript-eslint/types': 8.6.0 - '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) - eslint: 9.11.0(jiti@1.21.6) - transitivePeerDependencies: - - supports-color - - typescript - '@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) @@ -4468,11 +4415,6 @@ snapshots: - supports-color - typescript - '@typescript-eslint/visitor-keys@8.6.0': - dependencies: - '@typescript-eslint/types': 8.6.0 - eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.7.0': dependencies: '@typescript-eslint/types': 8.7.0 @@ -4480,12 +4422,12 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue@5.1.3(vite@5.4.7(@types/node@20.16.5))(vue@3.5.8(typescript@5.6.2))': + '@vitejs/plugin-vue@5.1.4(vite@5.4.7(@types/node@20.16.5))(vue@3.5.8(typescript@5.6.2))': dependencies: vite: 5.4.7(@types/node@20.16.5) vue: 3.5.8(typescript@5.6.2) - '@vitest/coverage-v8@2.1.1(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0))': + '@vitest/coverage-v8@2.1.1(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -4499,17 +4441,17 @@ snapshots: std-env: 3.7.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0) + vitest: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1) transitivePeerDependencies: - supports-color - '@vitest/eslint-plugin@1.1.4(@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0))': + '@vitest/eslint-plugin@1.1.4(@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1))': dependencies: eslint: 9.11.0(jiti@1.21.6) optionalDependencies: '@typescript-eslint/utils': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) typescript: 5.6.2 - vitest: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0) + vitest: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1) '@vitest/expect@2.1.1': dependencies: @@ -4554,7 +4496,7 @@ snapshots: sirv: 2.0.4 tinyglobby: 0.2.6 tinyrainbow: 1.2.0 - vitest: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0) + vitest: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1) '@vitest/utils@2.1.1': dependencies: @@ -4574,14 +4516,6 @@ snapshots: path-browserify: 1.0.1 vscode-uri: 3.0.8 - '@vue/compiler-core@3.5.6': - dependencies: - '@babel/parser': 7.25.6 - '@vue/shared': 3.5.6 - entities: 4.5.0 - estree-walker: 2.0.2 - source-map-js: 1.2.1 - '@vue/compiler-core@3.5.8': dependencies: '@babel/parser': 7.25.6 @@ -4590,11 +4524,6 @@ snapshots: estree-walker: 2.0.2 source-map-js: 1.2.1 - '@vue/compiler-dom@3.5.6': - dependencies: - '@vue/compiler-core': 3.5.6 - '@vue/shared': 3.5.6 - '@vue/compiler-dom@3.5.8': dependencies: '@vue/compiler-core': 3.5.8 @@ -4622,13 +4551,13 @@ snapshots: de-indent: 1.0.2 he: 1.2.0 - '@vue/devtools-api@7.4.5': + '@vue/devtools-api@7.4.6': dependencies: - '@vue/devtools-kit': 7.4.5 + '@vue/devtools-kit': 7.4.6 - '@vue/devtools-kit@7.4.5': + '@vue/devtools-kit@7.4.6': dependencies: - '@vue/devtools-shared': 7.4.5 + '@vue/devtools-shared': 7.4.6 birpc: 0.2.17 hookable: 5.5.3 mitt: 3.0.1 @@ -4636,16 +4565,16 @@ snapshots: speakingurl: 14.0.1 superjson: 2.2.1 - '@vue/devtools-shared@7.4.5': + '@vue/devtools-shared@7.4.6': dependencies: rfdc: 1.4.1 '@vue/language-core@2.1.6(typescript@5.6.2)': dependencies: '@volar/language-core': 2.4.5 - '@vue/compiler-dom': 3.5.6 + '@vue/compiler-dom': 3.5.8 '@vue/compiler-vue2': 2.7.16 - '@vue/shared': 3.5.6 + '@vue/shared': 3.5.8 computeds: 0.0.1 minimatch: 9.0.5 muggle-string: 0.4.1 @@ -4675,8 +4604,6 @@ snapshots: '@vue/shared': 3.5.8 vue: 3.5.8(typescript@5.6.2) - '@vue/shared@3.5.6': {} - '@vue/shared@3.5.8': {} '@vueuse/core@11.1.0(vue@3.5.8(typescript@5.6.2))': @@ -4848,8 +4775,8 @@ snapshots: browserslist@4.23.3: dependencies: - caniuse-lite: 1.0.30001660 - electron-to-chromium: 1.5.23 + caniuse-lite: 1.0.30001663 + electron-to-chromium: 1.5.27 node-releases: 2.0.18 update-browserslist-db: 1.1.0(browserslist@4.23.3) @@ -4891,7 +4818,7 @@ snapshots: camelcase@5.3.1: {} - caniuse-lite@1.0.30001660: {} + caniuse-lite@1.0.30001663: {} caseless@0.12.0: {} @@ -5014,7 +4941,7 @@ snapshots: figures: 3.2.0 find-up: 5.0.0 git-semver-tags: 5.0.1 - jsdom: 25.0.0 + jsdom: 25.0.1 semver: 7.6.3 w3c-xmlserializer: 5.0.0 yaml: 2.5.1 @@ -5308,7 +5235,7 @@ snapshots: jsbn: 0.1.1 safer-buffer: 2.1.2 - electron-to-chromium@1.5.23: {} + electron-to-chromium@1.5.27: {} emoji-regex@8.0.0: {} @@ -5412,7 +5339,7 @@ snapshots: eslint: 9.11.0(jiti@1.21.6) 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 @@ -5519,7 +5446,7 @@ snapshots: estree-walker@3.0.3: dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 esutils@2.0.3: {} @@ -5986,7 +5913,7 @@ snapshots: jsdoc-type-pratt-parser@4.1.0: {} - jsdom@25.0.0: + jsdom@25.0.1: dependencies: cssstyle: 4.1.0 data-urls: 5.0.0 @@ -6001,7 +5928,7 @@ snapshots: rrweb-cssom: 0.7.1 saxes: 6.0.0 symbol-tree: 3.2.4 - tough-cookie: 4.1.4 + tough-cookie: 5.0.0 w3c-xmlserializer: 5.0.0 webidl-conversions: 7.0.0 whatwg-encoding: 3.1.1 @@ -6371,7 +6298,7 @@ snapshots: dependencies: callsites: 3.1.0 - parse-imports@2.1.1: + parse-imports@2.2.1: dependencies: es-module-lexer: 1.5.4 slashes: 3.0.12 @@ -6604,26 +6531,26 @@ snapshots: dependencies: glob: 10.4.5 - rollup@4.21.3: + rollup@4.22.4: dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.21.3 - '@rollup/rollup-android-arm64': 4.21.3 - '@rollup/rollup-darwin-arm64': 4.21.3 - '@rollup/rollup-darwin-x64': 4.21.3 - '@rollup/rollup-linux-arm-gnueabihf': 4.21.3 - '@rollup/rollup-linux-arm-musleabihf': 4.21.3 - '@rollup/rollup-linux-arm64-gnu': 4.21.3 - '@rollup/rollup-linux-arm64-musl': 4.21.3 - '@rollup/rollup-linux-powerpc64le-gnu': 4.21.3 - '@rollup/rollup-linux-riscv64-gnu': 4.21.3 - '@rollup/rollup-linux-s390x-gnu': 4.21.3 - '@rollup/rollup-linux-x64-gnu': 4.21.3 - '@rollup/rollup-linux-x64-musl': 4.21.3 - '@rollup/rollup-win32-arm64-msvc': 4.21.3 - '@rollup/rollup-win32-ia32-msvc': 4.21.3 - '@rollup/rollup-win32-x64-msvc': 4.21.3 + '@rollup/rollup-android-arm-eabi': 4.22.4 + '@rollup/rollup-android-arm64': 4.22.4 + '@rollup/rollup-darwin-arm64': 4.22.4 + '@rollup/rollup-darwin-x64': 4.22.4 + '@rollup/rollup-linux-arm-gnueabihf': 4.22.4 + '@rollup/rollup-linux-arm-musleabihf': 4.22.4 + '@rollup/rollup-linux-arm64-gnu': 4.22.4 + '@rollup/rollup-linux-arm64-musl': 4.22.4 + '@rollup/rollup-linux-powerpc64le-gnu': 4.22.4 + '@rollup/rollup-linux-riscv64-gnu': 4.22.4 + '@rollup/rollup-linux-s390x-gnu': 4.22.4 + '@rollup/rollup-linux-x64-gnu': 4.22.4 + '@rollup/rollup-linux-x64-musl': 4.22.4 + '@rollup/rollup-win32-arm64-msvc': 4.22.4 + '@rollup/rollup-win32-ia32-msvc': 4.22.4 + '@rollup/rollup-win32-x64-msvc': 4.22.4 fsevents: 2.3.3 rrweb-cssom@0.7.1: {} @@ -6678,12 +6605,12 @@ snapshots: shell-quote@1.8.1: {} - shiki@1.17.7: + shiki@1.18.0: dependencies: - '@shikijs/core': 1.17.7 - '@shikijs/engine-javascript': 1.17.7 - '@shikijs/engine-oniguruma': 1.17.7 - '@shikijs/types': 1.17.7 + '@shikijs/core': 1.18.0 + '@shikijs/engine-javascript': 1.18.0 + '@shikijs/engine-oniguruma': 1.18.0 + '@shikijs/types': 1.18.0 '@shikijs/vscode-textmate': 9.2.2 '@types/hast': 3.0.4 @@ -6702,7 +6629,7 @@ snapshots: sirv@2.0.4: dependencies: - '@polka/url': 1.0.0-next.25 + '@polka/url': 1.0.0-next.28 mrmime: 2.0.0 totalist: 3.0.1 @@ -6912,6 +6839,12 @@ snapshots: tinyspy@3.0.2: {} + tldts-core@6.1.47: {} + + tldts@6.1.47: + dependencies: + tldts-core: 6.1.47 + tmp@0.2.3: {} to-fast-properties@2.0.0: {} @@ -6929,6 +6862,10 @@ snapshots: universalify: 0.2.0 url-parse: 1.5.10 + tough-cookie@5.0.0: + dependencies: + tldts: 6.1.47 + tr46@1.0.1: dependencies: punycode: 2.3.1 @@ -6969,7 +6906,7 @@ snapshots: picocolors: 1.1.0 postcss-load-config: 6.0.1(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(yaml@2.5.1) resolve-from: 5.0.0 - rollup: 4.21.3 + rollup: 4.22.4 source-map: 0.8.0-beta.0 sucrase: 3.35.0 tinyglobby: 0.2.6 @@ -7128,7 +7065,7 @@ snapshots: dependencies: esbuild: 0.21.5 postcss: 8.4.47 - rollup: 4.21.3 + rollup: 4.22.4 optionalDependencies: '@types/node': 20.16.5 fsevents: 2.3.3 @@ -7137,18 +7074,18 @@ snapshots: dependencies: '@docsearch/css': 3.6.1 '@docsearch/js': 3.6.1(@algolia/client-search@5.5.3)(search-insights@2.17.2) - '@shikijs/core': 1.17.7 - '@shikijs/transformers': 1.17.7 + '@shikijs/core': 1.18.0 + '@shikijs/transformers': 1.18.0 '@types/markdown-it': 14.1.2 - '@vitejs/plugin-vue': 5.1.3(vite@5.4.7(@types/node@20.16.5))(vue@3.5.8(typescript@5.6.2)) - '@vue/devtools-api': 7.4.5 - '@vue/shared': 3.5.6 + '@vitejs/plugin-vue': 5.1.4(vite@5.4.7(@types/node@20.16.5))(vue@3.5.8(typescript@5.6.2)) + '@vue/devtools-api': 7.4.6 + '@vue/shared': 3.5.8 '@vueuse/core': 11.1.0(vue@3.5.8(typescript@5.6.2)) '@vueuse/integrations': 11.1.0(focus-trap@7.6.0)(vue@3.5.8(typescript@5.6.2)) focus-trap: 7.6.0 mark.js: 8.11.1 minisearch: 7.1.0 - shiki: 1.17.7 + shiki: 1.18.0 vite: 5.4.7(@types/node@20.16.5) vue: 3.5.8(typescript@5.6.2) optionalDependencies: @@ -7181,7 +7118,7 @@ snapshots: - typescript - universal-cookie - vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.0): + vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1): dependencies: '@vitest/expect': 2.1.1 '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.7(@types/node@20.16.5)) @@ -7205,7 +7142,7 @@ snapshots: optionalDependencies: '@types/node': 20.16.5 '@vitest/ui': 2.1.1(vitest@2.1.1) - jsdom: 25.0.0 + jsdom: 25.0.1 transitivePeerDependencies: - less - lightningcss From 424b120a4d94b15b6e77c04a0aaffd0016a9c870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?FakerJS=20=F0=9F=A4=96?= Date: Mon, 23 Sep 2024 22:04:45 +0200 Subject: [PATCH 13/47] chore(release): 9.0.2 (#3140) Co-authored-by: ST-DDT --- CHANGELOG.md | 7 +++++++ docs/guide/usage.md | 2 +- package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 863f6b7031e..7effe87939c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. +## [9.0.2](https://github.com/faker-js/faker/compare/v9.0.1...v9.0.2) (2024-09-23) + + +### Bug Fixes + +* **locale:** improve pt_PT location and person data ([#3020](https://github.com/faker-js/faker/issues/3020)) ([3e47ee7](https://github.com/faker-js/faker/commit/3e47ee7da671296e11ed2b219f85b06c9d05d677)) + ## [9.0.1](https://github.com/faker-js/faker/compare/v9.0.0...v9.0.1) (2024-09-14) diff --git a/docs/guide/usage.md b/docs/guide/usage.md index 19603b111f3..d63d628624e 100644 --- a/docs/guide/usage.md +++ b/docs/guide/usage.md @@ -74,7 +74,7 @@ const randomEmail = faker.internet.email(); // Tomasa_Ferry14@hotmail.com ``` ::: info Note -It is highly recommended to use version tags when importing libraries in Deno, e.g: `import { faker } from "https://esm.sh/@faker-js/faker@v9.0.1"`. +It is highly recommended to use version tags when importing libraries in Deno, e.g: `import { faker } from "https://esm.sh/@faker-js/faker@v9.0.2"`. ::: ### Alternative CDN links diff --git a/package.json b/package.json index efa0bce68db..a3d5c9557ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@faker-js/faker", - "version": "9.0.1", + "version": "9.0.2", "description": "Generate massive amounts of fake contextual data", "scripts": { "clean": "rimraf coverage .eslintcache dist docs/.vitepress/cache docs/.vitepress/dist node_modules", From 9537dfddba882bd93d9a429697fd44bc72428426 Mon Sep 17 00:00:00 2001 From: DivisionByZero Date: Thu, 26 Sep 2024 17:50:05 +0200 Subject: [PATCH 14/47] infra: update file structure for util/internal (#3141) --- src/faker.ts | 4 +- src/index.ts | 8 ++-- src/{ => internal}/locale-proxy.ts | 4 +- src/internal/mersenne.ts | 48 ------------------- src/{utils => internal}/types.ts | 0 src/modules/date/index.ts | 2 +- src/modules/string/index.ts | 2 +- src/simple-faker.ts | 2 +- src/utils/mersenne.ts | 48 +++++++++++++++++++ test/{ => internal}/locale-proxy.spec.ts | 4 +- test/modules/number.spec.ts | 2 +- test/scripts/apidocs/method.example.ts | 2 +- .../scripts/apidocs/verify-jsdoc-tags.spec.ts | 2 +- test/support/seeded-runs.ts | 2 +- .../__snapshots__/mersenne.spec.ts.snap | 0 .../mersenne-test-utils.ts | 0 test/{internal => utils}/mersenne.spec.ts | 6 +-- 17 files changed, 68 insertions(+), 68 deletions(-) rename src/{ => internal}/locale-proxy.ts (96%) rename src/{utils => internal}/types.ts (100%) create mode 100644 src/utils/mersenne.ts rename test/{ => internal}/locale-proxy.spec.ts (98%) rename test/{internal => utils}/__snapshots__/mersenne.spec.ts.snap (100%) rename test/{internal => utils}/mersenne-test-utils.ts (100%) rename test/{internal => utils}/mersenne.spec.ts (97%) diff --git a/src/faker.ts b/src/faker.ts index 5f5e14ce392..7b7f5e162a3 100644 --- a/src/faker.ts +++ b/src/faker.ts @@ -1,8 +1,8 @@ import type { LocaleDefinition, MetadataDefinition } from './definitions'; import { FakerError } from './errors/faker-error'; import { deprecated } from './internal/deprecated'; -import type { LocaleProxy } from './locale-proxy'; -import { createLocaleProxy } from './locale-proxy'; +import type { LocaleProxy } from './internal/locale-proxy'; +import { createLocaleProxy } from './internal/locale-proxy'; import { AirlineModule } from './modules/airline'; import { AnimalModule } from './modules/animal'; import { ColorModule } from './modules/color'; diff --git a/src/index.ts b/src/index.ts index 0b5903408da..f94b3aa0133 100644 --- a/src/index.ts +++ b/src/index.ts @@ -30,10 +30,6 @@ export type { export { FakerError } from './errors/faker-error'; export { Faker } from './faker'; export type { FakerOptions } from './faker'; -export { - generateMersenne32Randomizer, - generateMersenne53Randomizer, -} from './internal/mersenne'; export * from './locale'; export { fakerEN as faker } from './locale'; export * from './locales'; @@ -85,3 +81,7 @@ export type { WordModule } from './modules/word'; export type { Randomizer } from './randomizer'; export { SimpleFaker, simpleFaker } from './simple-faker'; export { mergeLocales } from './utils/merge-locales'; +export { + generateMersenne32Randomizer, + generateMersenne53Randomizer, +} from './utils/mersenne'; diff --git a/src/locale-proxy.ts b/src/internal/locale-proxy.ts similarity index 96% rename from src/locale-proxy.ts rename to src/internal/locale-proxy.ts index e99ba655156..dbb9f2779f2 100644 --- a/src/locale-proxy.ts +++ b/src/internal/locale-proxy.ts @@ -1,5 +1,5 @@ -import type { LocaleDefinition } from './definitions'; -import { FakerError } from './errors/faker-error'; +import type { LocaleDefinition } from '../definitions'; +import { FakerError } from '../errors/faker-error'; /** * A proxy for LocaleDefinition that marks all properties as required and throws an error when an entry is accessed that is not defined. diff --git a/src/internal/mersenne.ts b/src/internal/mersenne.ts index d01b5ee9b0e..351faa4e4b9 100644 --- a/src/internal/mersenne.ts +++ b/src/internal/mersenne.ts @@ -1,5 +1,3 @@ -import type { Randomizer } from '../randomizer'; - /** * Copyright (c) 2022-2023 Faker * @@ -325,49 +323,3 @@ export class MersenneTwister19937 { } // These real versions are due to Isaku Wada, 2002/01/09 } - -/** - * Generates a MersenneTwister19937 randomizer with 32 bits of precision. - * This is the default randomizer used by faker prior to v9.0. - */ -export function generateMersenne32Randomizer(): Randomizer { - const twister = new MersenneTwister19937(); - - twister.initGenrand(Math.ceil(Math.random() * Number.MAX_SAFE_INTEGER)); - - return { - next(): number { - return twister.genrandReal2(); - }, - seed(seed: number | number[]): void { - if (typeof seed === 'number') { - twister.initGenrand(seed); - } else if (Array.isArray(seed)) { - twister.initByArray(seed, seed.length); - } - }, - }; -} - -/** - * Generates a MersenneTwister19937 randomizer with 53 bits of precision. - * This is the default randomizer used by faker starting with v9.0. - */ -export function generateMersenne53Randomizer(): Randomizer { - const twister = new MersenneTwister19937(); - - twister.initGenrand(Math.ceil(Math.random() * Number.MAX_SAFE_INTEGER)); - - return { - next(): number { - return twister.genrandRes53(); - }, - seed(seed: number | number[]): void { - if (typeof seed === 'number') { - twister.initGenrand(seed); - } else if (Array.isArray(seed)) { - twister.initByArray(seed, seed.length); - } - }, - }; -} diff --git a/src/utils/types.ts b/src/internal/types.ts similarity index 100% rename from src/utils/types.ts rename to src/internal/types.ts diff --git a/src/modules/date/index.ts b/src/modules/date/index.ts index f2eac1cf80e..53204a03817 100644 --- a/src/modules/date/index.ts +++ b/src/modules/date/index.ts @@ -1,8 +1,8 @@ import type { Faker } from '../..'; import type { DateEntryDefinition } from '../../definitions'; import { FakerError } from '../../errors/faker-error'; +import { assertLocaleData } from '../../internal/locale-proxy'; import { SimpleModuleBase } from '../../internal/module-base'; -import { assertLocaleData } from '../../locale-proxy'; /** * Converts a date passed as a `string`, `number` or `Date` to a valid `Date` object. diff --git a/src/modules/string/index.ts b/src/modules/string/index.ts index cfee0dc13fe..7df31fc7f7d 100644 --- a/src/modules/string/index.ts +++ b/src/modules/string/index.ts @@ -1,6 +1,6 @@ import { FakerError } from '../../errors/faker-error'; import { SimpleModuleBase } from '../../internal/module-base'; -import type { LiteralUnion } from '../../utils/types'; +import type { LiteralUnion } from '../../internal/types'; export type Casing = 'upper' | 'lower' | 'mixed'; diff --git a/src/simple-faker.ts b/src/simple-faker.ts index e775cbc7b5d..743df923570 100644 --- a/src/simple-faker.ts +++ b/src/simple-faker.ts @@ -1,10 +1,10 @@ -import { generateMersenne53Randomizer } from './internal/mersenne'; import { DatatypeModule } from './modules/datatype'; import { SimpleDateModule } from './modules/date'; import { SimpleHelpersModule } from './modules/helpers'; import { NumberModule } from './modules/number'; import { StringModule } from './modules/string'; import type { Randomizer } from './randomizer'; +import { generateMersenne53Randomizer } from './utils/mersenne'; /** * This is a simplified Faker class that doesn't need any localized data to generate its output. diff --git a/src/utils/mersenne.ts b/src/utils/mersenne.ts new file mode 100644 index 00000000000..de415f9166e --- /dev/null +++ b/src/utils/mersenne.ts @@ -0,0 +1,48 @@ +import { MersenneTwister19937 } from '../internal/mersenne'; +import type { Randomizer } from '../randomizer'; + +/** + * Generates a MersenneTwister19937 randomizer with 32 bits of precision. + * This is the default randomizer used by faker prior to v9.0. + */ +export function generateMersenne32Randomizer(): Randomizer { + const twister = new MersenneTwister19937(); + + twister.initGenrand(Math.ceil(Math.random() * Number.MAX_SAFE_INTEGER)); + + return { + next(): number { + return twister.genrandReal2(); + }, + seed(seed: number | number[]): void { + if (typeof seed === 'number') { + twister.initGenrand(seed); + } else if (Array.isArray(seed)) { + twister.initByArray(seed, seed.length); + } + }, + }; +} + +/** + * Generates a MersenneTwister19937 randomizer with 53 bits of precision. + * This is the default randomizer used by faker starting with v9.0. + */ +export function generateMersenne53Randomizer(): Randomizer { + const twister = new MersenneTwister19937(); + + twister.initGenrand(Math.ceil(Math.random() * Number.MAX_SAFE_INTEGER)); + + return { + next(): number { + return twister.genrandRes53(); + }, + seed(seed: number | number[]): void { + if (typeof seed === 'number') { + twister.initGenrand(seed); + } else if (Array.isArray(seed)) { + twister.initByArray(seed, seed.length); + } + }, + }; +} diff --git a/test/locale-proxy.spec.ts b/test/internal/locale-proxy.spec.ts similarity index 98% rename from test/locale-proxy.spec.ts rename to test/internal/locale-proxy.spec.ts index c9c8928c76c..1b6e060b9ca 100644 --- a/test/locale-proxy.spec.ts +++ b/test/internal/locale-proxy.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; -import { FakerError, en } from '../src'; -import { createLocaleProxy } from '../src/locale-proxy'; +import { FakerError, en } from '../../src'; +import { createLocaleProxy } from '../../src/internal/locale-proxy'; describe('LocaleProxy', () => { const locale = createLocaleProxy(en); diff --git a/test/modules/number.spec.ts b/test/modules/number.spec.ts index f318fc5be09..f9adf9ff07d 100644 --- a/test/modules/number.spec.ts +++ b/test/modules/number.spec.ts @@ -1,8 +1,8 @@ import validator from 'validator'; import { describe, expect, it } from 'vitest'; import { FakerError, SimpleFaker, faker } from '../../src'; -import { MERSENNE_MAX_VALUE } from '../internal/mersenne-test-utils'; import { seededTests } from '../support/seeded-runs'; +import { MERSENNE_MAX_VALUE } from '../utils/mersenne-test-utils'; import { times } from './../support/times'; describe('number', () => { diff --git a/test/scripts/apidocs/method.example.ts b/test/scripts/apidocs/method.example.ts index e72f5f3ff9a..4ecdaee1ad7 100644 --- a/test/scripts/apidocs/method.example.ts +++ b/test/scripts/apidocs/method.example.ts @@ -1,7 +1,7 @@ import type { Casing, ColorFormat } from '../../../src'; import { FakerError } from '../../../src/errors/faker-error'; +import type { LiteralUnion } from '../../../src/internal/types'; import type { AlphaNumericChar } from '../../../src/modules/string'; -import type { LiteralUnion } from '../../../src/utils/types'; // explicitly export types so they show up in the docs as decomposed types export type { NumberColorFormat, StringColorFormat } from '../../../src'; export type { AlphaNumericChar, Casing, ColorFormat, LiteralUnion }; diff --git a/test/scripts/apidocs/verify-jsdoc-tags.spec.ts b/test/scripts/apidocs/verify-jsdoc-tags.spec.ts index ea5ed8b9b69..753ef9b3ce9 100644 --- a/test/scripts/apidocs/verify-jsdoc-tags.spec.ts +++ b/test/scripts/apidocs/verify-jsdoc-tags.spec.ts @@ -119,7 +119,7 @@ describe('verify JSDoc tags', () => { ); if (moduleName === 'randomizer') { - examples = `import { generateMersenne32Randomizer } from '${relativeImportPath}/internal/mersenne'; + examples = `import { generateMersenne32Randomizer } from '${relativeImportPath}/utils/mersenne'; const randomizer = generateMersenne32Randomizer(); diff --git a/test/support/seeded-runs.ts b/test/support/seeded-runs.ts index a05f185430d..dee0051c11b 100644 --- a/test/support/seeded-runs.ts +++ b/test/support/seeded-runs.ts @@ -1,6 +1,6 @@ import { describe, expect, describe as vi_describe, it as vi_it } from 'vitest'; import type { Faker } from '../../src/faker'; -import type { Callable, MethodOf } from '../../src/utils/types'; +import type { Callable, MethodOf } from '../../src/internal/types'; export const seededRuns = [42, 1337, 1211]; diff --git a/test/internal/__snapshots__/mersenne.spec.ts.snap b/test/utils/__snapshots__/mersenne.spec.ts.snap similarity index 100% rename from test/internal/__snapshots__/mersenne.spec.ts.snap rename to test/utils/__snapshots__/mersenne.spec.ts.snap diff --git a/test/internal/mersenne-test-utils.ts b/test/utils/mersenne-test-utils.ts similarity index 100% rename from test/internal/mersenne-test-utils.ts rename to test/utils/mersenne-test-utils.ts diff --git a/test/internal/mersenne.spec.ts b/test/utils/mersenne.spec.ts similarity index 97% rename from test/internal/mersenne.spec.ts rename to test/utils/mersenne.spec.ts index f0e48bd0f78..5e9e4c27bc6 100644 --- a/test/internal/mersenne.spec.ts +++ b/test/utils/mersenne.spec.ts @@ -1,10 +1,10 @@ import { beforeAll, beforeEach, describe, expect, it } from 'vitest'; +import { MersenneTwister19937 } from '../../src/internal/mersenne'; +import type { Randomizer } from '../../src/randomizer'; import { - MersenneTwister19937, generateMersenne32Randomizer, generateMersenne53Randomizer, -} from '../../src/internal/mersenne'; -import type { Randomizer } from '../../src/randomizer'; +} from '../../src/utils/mersenne'; import { seededRuns } from '../support/seeded-runs'; import { times } from '../support/times'; import { From d6bceb662de6559446fedb11de53a632a525aba0 Mon Sep 17 00:00:00 2001 From: Jeremie Lecomte Date: Thu, 26 Sep 2024 17:54:53 +0200 Subject: [PATCH 15/47] refactor(locale): update french legal entity types (#3142) --- src/locales/fr/company/legal_entity_type.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/locales/fr/company/legal_entity_type.ts b/src/locales/fr/company/legal_entity_type.ts index 924f8fa7c19..6382799fd16 100644 --- a/src/locales/fr/company/legal_entity_type.ts +++ b/src/locales/fr/company/legal_entity_type.ts @@ -1 +1,14 @@ -export default ['EI', 'EURL', 'GIE', 'SA', 'SARL', 'SAS', 'SCOP', 'SEM']; +export default [ + 'EI', + 'EURL', + 'GIE', + 'SA', + 'SARL', + 'SAS', + 'SASU', + 'SCA', + 'SCOP', + 'SCS', + 'SEM', + 'SNC', +]; From 78b2a3a8b85679eeff27beccebcc404b0a5ff3cf Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Thu, 26 Sep 2024 18:00:14 +0200 Subject: [PATCH 16/47] fix(image): fix dataUri with type svg-base64 in browsers (#3144) --- src/internal/base64.ts | 24 ++++++++++++++++++++++++ src/modules/image/index.ts | 5 ++--- test/internal/base64.spec.ts | 18 ++++++++++++++++++ 3 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 src/internal/base64.ts create mode 100644 test/internal/base64.spec.ts diff --git a/src/internal/base64.ts b/src/internal/base64.ts new file mode 100644 index 00000000000..b346538a88c --- /dev/null +++ b/src/internal/base64.ts @@ -0,0 +1,24 @@ +/** + * This works the same as `Buffer.from(input).toString('base64')` + * to work on both Node.js and browser environment. + * + * @internal + * + * @param input The string to encode to Base64. + * + * @returns Base64 encoded string. + * + * @see https://datatracker.ietf.org/doc/html/rfc4648 + * + * @example const encodedHeader = toBase64(JSON.stringify(header)); + */ +export const toBase64: (input: string) => string = + typeof Buffer === 'undefined' + ? (input) => { + const utf8Bytes = new TextEncoder().encode(input); + const binaryString = Array.from(utf8Bytes, (byte) => + String.fromCodePoint(byte) + ).join(''); + return btoa(binaryString); + } + : (input) => Buffer.from(input).toString('base64'); diff --git a/src/modules/image/index.ts b/src/modules/image/index.ts index babfa2dc8fa..76aa759e7f0 100644 --- a/src/modules/image/index.ts +++ b/src/modules/image/index.ts @@ -1,3 +1,4 @@ +import { toBase64 } from '../../internal/base64'; import { deprecated } from '../../internal/deprecated'; import { ModuleBase } from '../../internal/module-base'; @@ -388,8 +389,6 @@ export class ImageModule extends ModuleBase { return type === 'svg-uri' ? `data:image/svg+xml;charset=UTF-8,${encodeURIComponent(svgString)}` - : `data:image/svg+xml;base64,${Buffer.from(svgString).toString( - 'base64' - )}`; + : `data:image/svg+xml;base64,${toBase64(svgString)}`; } } diff --git a/test/internal/base64.spec.ts b/test/internal/base64.spec.ts new file mode 100644 index 00000000000..1243301ec6d --- /dev/null +++ b/test/internal/base64.spec.ts @@ -0,0 +1,18 @@ +import { describe, expect, it } from 'vitest'; +import { faker } from '../../src'; +import { toBase64 } from '../../src/internal/base64'; + +// This test is kind of useless, because during testing the Buffer object is always available. +describe('toBase64', () => { + it.each( + faker.helpers.multiple( + () => faker.string.alphanumeric({ length: { min: 0, max: 100 } }), + { count: 5 } + ) + )( + "should behave the same as `Buffer.from(value).toString('base64')`", + (value) => { + expect(toBase64(value)).toBe(Buffer.from(value).toString('base64')); + } + ); +}); From 4a8499a1630444ea5b2463cf3e2d687db6980428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?FakerJS=20=F0=9F=A4=96?= Date: Thu, 26 Sep 2024 19:11:45 +0200 Subject: [PATCH 17/47] chore(release): 9.0.3 (#3146) * chore(release): 9.0.3 * Update usage.md --------- Co-authored-by: ST-DDT --- CHANGELOG.md | 12 ++++++++++++ docs/guide/usage.md | 2 +- package.json | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7effe87939c..e3907ffcd35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. +## [9.0.3](https://github.com/faker-js/faker/compare/v9.0.2...v9.0.3) (2024-09-26) + + +### Changed Locales + +* **locale:** update french legal entity types ([#3142](https://github.com/faker-js/faker/issues/3142)) ([d6bceb6](https://github.com/faker-js/faker/commit/d6bceb662de6559446fedb11de53a632a525aba0)) + + +### Bug Fixes + +* **image:** fix dataUri with type svg-base64 in browsers ([#3144](https://github.com/faker-js/faker/issues/3144)) ([78b2a3a](https://github.com/faker-js/faker/commit/78b2a3a8b85679eeff27beccebcc404b0a5ff3cf)) + ## [9.0.2](https://github.com/faker-js/faker/compare/v9.0.1...v9.0.2) (2024-09-23) diff --git a/docs/guide/usage.md b/docs/guide/usage.md index d63d628624e..b6be99ef90f 100644 --- a/docs/guide/usage.md +++ b/docs/guide/usage.md @@ -74,7 +74,7 @@ const randomEmail = faker.internet.email(); // Tomasa_Ferry14@hotmail.com ``` ::: info Note -It is highly recommended to use version tags when importing libraries in Deno, e.g: `import { faker } from "https://esm.sh/@faker-js/faker@v9.0.2"`. +It is highly recommended to use version tags when importing libraries in Deno, e.g: `import { faker } from "https://esm.sh/@faker-js/faker@v9.0.3"`. ::: ### Alternative CDN links diff --git a/package.json b/package.json index a3d5c9557ce..2c38e590614 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@faker-js/faker", - "version": "9.0.2", + "version": "9.0.3", "description": "Generate massive amounts of fake contextual data", "scripts": { "clean": "rimraf coverage .eslintcache dist docs/.vitepress/cache docs/.vitepress/dist node_modules", From 34937dc5328f6532a2324a1bb3a971190d66d543 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 08:33:46 +0200 Subject: [PATCH 18/47] chore(deps): update mcr.microsoft.com/devcontainers/typescript-node:22 docker digest to 79c4181 (#3148) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index cb4474d4da6..0405a97ecb0 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,7 +2,7 @@ // README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node { "name": "FakerJs", - "image": "mcr.microsoft.com/devcontainers/typescript-node:22@sha256:8fac147b83828b1ea661bffd850bd03a6a3f3229d8349b9880d86e55e0d25569", + "image": "mcr.microsoft.com/devcontainers/typescript-node:22@sha256:79c4181532784148abe5d0dd37505f420674990fd104f8294fd06155003fa442", // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, From d34fe025112c7658b25de0f3cce24e1570b9361b Mon Sep 17 00:00:00 2001 From: DivisionByZero Date: Mon, 7 Oct 2024 12:44:01 +0200 Subject: [PATCH 19/47] chore(deps): remove eslint-define-config (#3156) --- package.json | 1 - pnpm-lock.yaml | 9 --------- 2 files changed, 10 deletions(-) diff --git a/package.json b/package.json index 2c38e590614..c85c27e70b7 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,6 @@ "cypress": "13.14.2", "eslint": "9.11.0", "eslint-config-prettier": "9.1.0", - "eslint-define-config": "2.1.0", "eslint-plugin-jsdoc": "50.2.4", "eslint-plugin-prettier": "5.2.1", "eslint-plugin-unicorn": "55.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 47942c0598b..6191e92d032 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -62,9 +62,6 @@ importers: eslint-config-prettier: specifier: 9.1.0 version: 9.1.0(eslint@9.11.0(jiti@1.21.6)) - eslint-define-config: - specifier: 2.1.0 - version: 2.1.0 eslint-plugin-jsdoc: specifier: 50.2.4 version: 50.2.4(eslint@9.11.0(jiti@1.21.6)) @@ -1749,10 +1746,6 @@ packages: peerDependencies: eslint: '>=7.0.0' - eslint-define-config@2.1.0: - resolution: {integrity: sha512-QUp6pM9pjKEVannNAbSJNeRuYwW3LshejfyBBpjeMGaJjaDUpVps4C6KVR8R7dWZnD3i0synmrE36znjTkJvdQ==} - engines: {node: '>=18.0.0', npm: '>=9.0.0', pnpm: '>=8.6.0'} - eslint-plugin-jsdoc@50.2.4: resolution: {integrity: sha512-020jA+dXaXdb+TML3ZJBvpPmzwbNROjnYuTYi/g6A5QEmEjhptz4oPJDKkOGMIByNxsPpdTLzSU1HYVqebOX1w==} engines: {node: '>=18'} @@ -5327,8 +5320,6 @@ snapshots: dependencies: eslint: 9.11.0(jiti@1.21.6) - eslint-define-config@2.1.0: {} - eslint-plugin-jsdoc@50.2.4(eslint@9.11.0(jiti@1.21.6)): dependencies: '@es-joy/jsdoccomment': 0.48.0 From b6933dddcaaf82d7b196709855a266e9450e9b74 Mon Sep 17 00:00:00 2001 From: DivisionByZero Date: Mon, 7 Oct 2024 12:48:18 +0200 Subject: [PATCH 20/47] chore(deps): remove @algolia/client-search (#3157) --- .github/renovate.json5 | 2 +- package.json | 1 - pnpm-lock.yaml | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 664a023e6b2..bca8d323a5e 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -57,7 +57,7 @@ }, { "groupName": "doc-dependencies", - "matchPackageNames": ["@algolia/client-search", "ts-morph", "vitepress"] + "matchPackageNames": ["ts-morph", "vitepress"] } ], "stopUpdatingLabel": "s: on hold", diff --git a/package.json b/package.json index c85c27e70b7..aa8cafaf26e 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,6 @@ ], "devDependencies": { "@actions/github": "6.0.0", - "@algolia/client-search": "5.5.3", "@eslint/compat": "1.1.1", "@eslint/js": "9.11.0", "@stylistic/eslint-plugin": "2.8.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6191e92d032..966fe06f1ae 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,9 +11,6 @@ importers: '@actions/github': specifier: 6.0.0 version: 6.0.0 - '@algolia/client-search': - specifier: 5.5.3 - version: 5.5.3 '@eslint/compat': specifier: 1.1.1 version: 1.1.1 From 61f8cb5be83821cc5579310fc1f1b9c50156b656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20K=C3=BCsgen?= Date: Wed, 9 Oct 2024 12:29:41 +0200 Subject: [PATCH 21/47] docs(guide): remove v9 not yet released notice (#3163) --- docs/guide/upgrading.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/guide/upgrading.md b/docs/guide/upgrading.md index 155107b422f..05b6c4881e6 100644 --- a/docs/guide/upgrading.md +++ b/docs/guide/upgrading.md @@ -14,8 +14,6 @@ This is the migration guide for upgrading from v8 to v9. ::: -v9 has not yet been released. This page contains a work-in-progress list of breaking changes in v9. - ## General Breaking Changes ### Requires Node v18+ From bcc759dde0ac785f0c35ac9b8935d825778f118f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 12:41:44 +0200 Subject: [PATCH 22/47] chore(deps): update all non-major dependencies (#3151) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/check-release-pr.yml | 4 ++-- .github/workflows/ci.yml | 14 +++++++------- .github/workflows/draft-release.yml | 2 +- .github/workflows/pr.yml | 2 +- .github/workflows/preflight-comment.yml | 2 +- .github/workflows/prepare-release-pr.yml | 2 +- .github/workflows/publish-release.yml | 2 +- package.json | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/check-release-pr.yml b/.github/workflows/check-release-pr.yml index 1e39c36b70d..357b0b210ec 100644 --- a/.github/workflows/check-release-pr.yml +++ b/.github/workflows/check-release-pr.yml @@ -17,12 +17,12 @@ jobs: steps: - name: Checkout faker - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: path: faker - name: Checkout playground - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: repository: faker-js/playground path: playground diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e0d010aeeb..aa671667f02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: name: 'Build & Unit Test: node-${{ matrix.node_version }}, ${{ matrix.os }}' steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: # Required for docs/versions tests fetch-depth: 0 @@ -70,7 +70,7 @@ jobs: run: date - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: # Required for docs/versions tests fetch-depth: 0 @@ -104,7 +104,7 @@ jobs: name: 'E2E Doc Test: node-22, ubuntu-latest' steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - name: Install pnpm uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 @@ -125,7 +125,7 @@ jobs: name: 'Lint: node-22, ubuntu-latest' steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 @@ -155,7 +155,7 @@ jobs: name: 'TS-Check: node-22, ubuntu-latest' steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 @@ -185,7 +185,7 @@ jobs: name: 'Codecov: node-22, ubuntu-latest' steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 @@ -210,7 +210,7 @@ jobs: run: pnpm vitest run --coverage - name: Upload coverage to Codecov - uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0 + uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0 with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 73632e1b115..e63f1f6aeca 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 # we need the tags and the commit history for the gh release create command ref: ${{ github.event.pull_request.base.ref }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 0bc278f3d69..21fcb1fee0d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 diff --git a/.github/workflows/preflight-comment.yml b/.github/workflows/preflight-comment.yml index 4d5bdda0897..bb4b103116f 100644 --- a/.github/workflows/preflight-comment.yml +++ b/.github/workflows/preflight-comment.yml @@ -16,7 +16,7 @@ jobs: name: 'Comment Code Generation' steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: ref: 'next' diff --git a/.github/workflows/prepare-release-pr.yml b/.github/workflows/prepare-release-pr.yml index 15204e37626..10b77c8ca28 100644 --- a/.github/workflows/prepare-release-pr.yml +++ b/.github/workflows/prepare-release-pr.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 token: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index c9a522e395b..c755b046778 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 # we want to push the release branch later token: ${{ secrets.GH_TOKEN }} diff --git a/package.json b/package.json index aa8cafaf26e..06c7ce6e626 100644 --- a/package.json +++ b/package.json @@ -143,7 +143,7 @@ "vue": "3.5.8", "vue-tsc": "2.1.6" }, - "packageManager": "pnpm@9.11.0", + "packageManager": "pnpm@9.12.1", "engines": { "node": ">=18.0.0", "npm": ">=9.0.0" From 1603873ce663475fd605b335f97d6114f8b8dadf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:47:39 +0000 Subject: [PATCH 23/47] chore(deps): update dependency vitepress to v1.4.0 (#3152) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 311 +++++++++++++++++++++++++++++++++++++------------ 2 files changed, 238 insertions(+), 75 deletions(-) diff --git a/package.json b/package.json index 06c7ce6e626..17321b1883c 100644 --- a/package.json +++ b/package.json @@ -138,7 +138,7 @@ "typescript-eslint": "8.7.0", "validator": "13.12.0", "vite": "5.4.7", - "vitepress": "1.3.4", + "vitepress": "1.4.0", "vitest": "2.1.1", "vue": "3.5.8", "vue-tsc": "2.1.6" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 966fe06f1ae..18ce7242ec2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,10 +37,10 @@ importers: version: 13.12.2 '@vitest/coverage-v8': specifier: 2.1.1 - version: 2.1.1(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1)) + version: 2.1.1(vitest@2.1.1) '@vitest/eslint-plugin': specifier: 1.1.4 - version: 1.1.4(@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1)) + version: 1.1.4(@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1) '@vitest/ui': specifier: 2.1.1 version: 2.1.1(vitest@2.1.1) @@ -114,8 +114,8 @@ importers: specifier: 5.4.7 version: 5.4.7(@types/node@20.16.5) vitepress: - specifier: 1.3.4 - version: 1.3.4(@algolia/client-search@5.5.3)(@types/node@20.16.5)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2) + specifier: 1.4.0 + version: 1.4.0(@algolia/client-search@5.5.3)(@types/node@20.16.5)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2) vitest: specifier: 2.1.1 version: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1) @@ -262,14 +262,14 @@ packages: '@cypress/xvfb@1.2.4': resolution: {integrity: sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q==} - '@docsearch/css@3.6.1': - resolution: {integrity: sha512-VtVb5DS+0hRIprU2CO6ZQjK2Zg4QU5HrDM1+ix6rT0umsYvFvatMAnf97NHZlVWDaaLlx7GRfR/7FikANiM2Fg==} + '@docsearch/css@3.6.2': + resolution: {integrity: sha512-vKNZepO2j7MrYBTZIGXvlUOIR+v9KRf70FApRgovWrj3GTs1EITz/Xb0AOlm1xsQBp16clVZj1SY/qaOJbQtZw==} - '@docsearch/js@3.6.1': - resolution: {integrity: sha512-erI3RRZurDr1xES5hvYJ3Imp7jtrXj6f1xYIzDzxiS7nNBufYWPbJwrmMqWC5g9y165PmxEmN9pklGCdLi0Iqg==} + '@docsearch/js@3.6.2': + resolution: {integrity: sha512-pS4YZF+VzUogYrkblCucQ0Oy2m8Wggk8Kk7lECmZM60hTbaydSIhJTTiCrmoxtBqV8wxORnOqcqqOfbmkkQEcA==} - '@docsearch/react@3.6.1': - resolution: {integrity: sha512-qXZkEPvybVhSXj0K7U3bXc233tk5e8PfhoZ6MhPOiik/qUQxYC+Dn9DnoS7CxHQQhHfCvTiN0eY9M12oRghEXw==} + '@docsearch/react@3.6.2': + resolution: {integrity: sha512-rtZce46OOkVflCQH71IdbXSFK+S8iJZlUF56XBW5rIgx/eG5qoomC7Ag3anZson1bBac/JFQn7XOBfved/IMRA==} peerDependencies: '@types/react': '>= 16.8.0 < 19.0.0' react: '>= 16.8.0 < 19.0.0' @@ -798,23 +798,23 @@ packages: cpu: [x64] os: [win32] - '@shikijs/core@1.18.0': - resolution: {integrity: sha512-VK4BNVCd2leY62Nm2JjyxtRLkyrZT/tv104O81eyaCjHq4Adceq2uJVFJJAIof6lT1mBwZrEo2qT/T+grv3MQQ==} + '@shikijs/core@1.22.0': + resolution: {integrity: sha512-S8sMe4q71TJAW+qG93s5VaiihujRK6rqDFqBnxqvga/3LvqHEnxqBIOPkt//IdXVtHkQWKu4nOQNk0uBGicU7Q==} - '@shikijs/engine-javascript@1.18.0': - resolution: {integrity: sha512-qoP/aO/ATNwYAUw1YMdaip/YVEstMZEgrwhePm83Ll9OeQPuxDZd48szZR8oSQNQBT8m8UlWxZv8EA3lFuyI5A==} + '@shikijs/engine-javascript@1.22.0': + resolution: {integrity: sha512-AeEtF4Gcck2dwBqCFUKYfsCq0s+eEbCEbkUuFou53NZ0sTGnJnJ/05KHQFZxpii5HMXbocV9URYVowOP2wH5kw==} - '@shikijs/engine-oniguruma@1.18.0': - resolution: {integrity: sha512-B9u0ZKI/cud+TcmF8Chyh+R4V5qQVvyDOqXC2l2a4x73PBSBc6sZ0JRAX3eqyJswqir6ktwApUUGBYePdKnMJg==} + '@shikijs/engine-oniguruma@1.22.0': + resolution: {integrity: sha512-5iBVjhu/DYs1HB0BKsRRFipRrD7rqjxlWTj4F2Pf+nQSPqc3kcyqFFeZXnBMzDf0HdqaFVvhDRAGiYNvyLP+Mw==} - '@shikijs/transformers@1.18.0': - resolution: {integrity: sha512-EdX/UIVaaS8qp9NWRyHIXp2dmuLpdVvx+UVpbIn9eafFlLemAuljPb2+K40ie6jrlg0uUIqkg25CM/8I34yBNw==} + '@shikijs/transformers@1.22.0': + resolution: {integrity: sha512-k7iMOYuGQA62KwAuJOQBgH2IQb5vP8uiB3lMvAMGUgAMMurePOx3Z7oNqJdcpxqZP6I9cc7nc4DNqSKduCxmdg==} - '@shikijs/types@1.18.0': - resolution: {integrity: sha512-O9N36UEaGGrxv1yUrN2nye7gDLG5Uq0/c1LyfmxsvzNPqlHzWo9DI0A4+fhW2y3bGKuQu/fwS7EPdKJJCowcVA==} + '@shikijs/types@1.22.0': + resolution: {integrity: sha512-Fw/Nr7FGFhlQqHfxzZY8Cwtwk5E9nKDUgeLjZgt3UuhcM3yJR9xj3ZGNravZZok8XmEZMiYkSMTPlPkULB8nww==} - '@shikijs/vscode-textmate@9.2.2': - resolution: {integrity: sha512-TMp15K+GGYrWlZM8+Lnj9EaHEFmOen0WJBrfa17hF7taDOYthuPPV0GWzfd/9iMij0akS/8Yw2ikquH7uVi/fg==} + '@shikijs/vscode-textmate@9.3.0': + resolution: {integrity: sha512-jn7/7ky30idSkd/O5yDBfAnVt+JJpepofP/POZ1iMOxK59cOfqIgg/Dj0eFsjOTMw+4ycJN0uhZH/Eb0bs/EUA==} '@stylistic/eslint-plugin@2.8.0': resolution: {integrity: sha512-Ufvk7hP+bf+pD35R/QfunF793XlSRIC7USr3/EdgduK9j13i2JjmsM0LUz3/foS+jDYp2fzyWZA9N44CPur0Ow==} @@ -1023,15 +1023,27 @@ packages: '@volar/typescript@2.4.5': resolution: {integrity: sha512-mcT1mHvLljAEtHviVcBuOyAwwMKz1ibXTi5uYtP/pf4XxoAzpdkQ+Br2IC0NPCvLCbjPZmbf3I0udndkfB1CDg==} + '@vue/compiler-core@3.5.11': + resolution: {integrity: sha512-PwAdxs7/9Hc3ieBO12tXzmTD+Ln4qhT/56S+8DvrrZ4kLDn4Z/AMUr8tXJD0axiJBS0RKIoNaR0yMuQB9v9Udg==} + '@vue/compiler-core@3.5.8': resolution: {integrity: sha512-Uzlxp91EPjfbpeO5KtC0KnXPkuTfGsNDeaKQJxQN718uz+RqDYarEf7UhQJGK+ZYloD2taUbHTI2J4WrUaZQNA==} + '@vue/compiler-dom@3.5.11': + resolution: {integrity: sha512-pyGf8zdbDDRkBrEzf8p7BQlMKNNF5Fk/Cf/fQ6PiUz9at4OaUfyXW0dGJTo2Vl1f5U9jSLCNf0EZJEogLXoeew==} + '@vue/compiler-dom@3.5.8': resolution: {integrity: sha512-GUNHWvoDSbSa5ZSHT9SnV5WkStWfzJwwTd6NMGzilOE/HM5j+9EB9zGXdtu/fCNEmctBqMs6C9SvVPpVPuk1Eg==} + '@vue/compiler-sfc@3.5.11': + resolution: {integrity: sha512-gsbBtT4N9ANXXepprle+X9YLg2htQk1sqH/qGJ/EApl+dgpUBdTv3yP7YlR535uHZY3n6XaR0/bKo0BgwwDniw==} + '@vue/compiler-sfc@3.5.8': resolution: {integrity: sha512-taYpngQtSysrvO9GULaOSwcG5q821zCoIQBtQQSx7Uf7DxpR6CIHR90toPr9QfDD2mqHQPCSgoWBvJu0yV9zjg==} + '@vue/compiler-ssr@3.5.11': + resolution: {integrity: sha512-P4+GPjOuC2aFTk1Z4WANvEhyOykcvEd5bIj2KVNGKGfM745LaXGr++5njpdBTzVz5pZifdlR1kpYSJJpIlSePA==} + '@vue/compiler-ssr@3.5.8': resolution: {integrity: sha512-W96PtryNsNG9u0ZnN5Q5j27Z/feGrFV6zy9q5tzJVyJaLiwYxvC0ek4IXClZygyhjm+XKM7WD9pdKi/wIRVC/Q==} @@ -1055,20 +1067,37 @@ packages: typescript: optional: true + '@vue/reactivity@3.5.11': + resolution: {integrity: sha512-Nqo5VZEn8MJWlCce8XoyVqHZbd5P2NH+yuAaFzuNSR96I+y1cnuUiq7xfSG+kyvLSiWmaHTKP1r3OZY4mMD50w==} + '@vue/reactivity@3.5.8': resolution: {integrity: sha512-mlgUyFHLCUZcAYkqvzYnlBRCh0t5ZQfLYit7nukn1GR96gc48Bp4B7OIcSfVSvlG1k3BPfD+p22gi1t2n9tsXg==} + '@vue/runtime-core@3.5.11': + resolution: {integrity: sha512-7PsxFGqwfDhfhh0OcDWBG1DaIQIVOLgkwA5q6MtkPiDFjp5gohVnJEahSktwSFLq7R5PtxDKy6WKURVN1UDbzA==} + '@vue/runtime-core@3.5.8': resolution: {integrity: sha512-fJuPelh64agZ8vKkZgp5iCkPaEqFJsYzxLk9vSC0X3G8ppknclNDr61gDc45yBGTaN5Xqc1qZWU3/NoaBMHcjQ==} + '@vue/runtime-dom@3.5.11': + resolution: {integrity: sha512-GNghjecT6IrGf0UhuYmpgaOlN7kxzQBhxWEn08c/SQDxv1yy4IXI1bn81JgEpQ4IXjRxWtPyI8x0/7TF5rPfYQ==} + '@vue/runtime-dom@3.5.8': resolution: {integrity: sha512-DpAUz+PKjTZPUOB6zJgkxVI3GuYc2iWZiNeeHQUw53kdrparSTG6HeXUrYDjaam8dVsCdvQxDz6ZWxnyjccUjQ==} + '@vue/server-renderer@3.5.11': + resolution: {integrity: sha512-cVOwYBxR7Wb1B1FoxYvtjJD8X/9E5nlH4VSkJy2uMA1MzYNdzAAB//l8nrmN9py/4aP+3NjWukf9PZ3TeWULaA==} + peerDependencies: + vue: 3.5.11 + '@vue/server-renderer@3.5.8': resolution: {integrity: sha512-7AmC9/mEeV9mmXNVyUIm1a1AjUhyeeGNbkLh39J00E7iPeGks8OGRB5blJiMmvqSh8SkaS7jkLWSpXtxUCeagA==} peerDependencies: vue: 3.5.8 + '@vue/shared@3.5.11': + resolution: {integrity: sha512-W8GgysJVnFo81FthhzurdRAWP/byq3q2qIw70e0JWblzVhjgOMiC2GyovXrZTFQJnFVryYaKGP3Tc9vYzYm6PQ==} + '@vue/shared@3.5.8': resolution: {integrity: sha512-mJleSWbAGySd2RJdX1RBtcrUBX6snyOc0qHpgk3lGi4l9/P/3ny3ELqFWqYdkXIwwNN/kdm8nD9ky8o6l/Lx2A==} @@ -2992,8 +3021,8 @@ packages: shell-quote@1.8.1: resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} - shiki@1.18.0: - resolution: {integrity: sha512-8jo7tOXr96h9PBQmOHVrltnETn1honZZY76YA79MHheGQg55jBvbm9dtU+MI5pjC5NJCFuA6rvVTLVeSW5cE4A==} + shiki@1.22.0: + resolution: {integrity: sha512-/t5LlhNs+UOKQCYBtl5ZsH/Vclz73GIqT2yQsCBygr8L/ppTdmpL4w3kPLoZJbMKVWtoG77Ue1feOjZfDxvMkw==} side-channel@1.0.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} @@ -3460,8 +3489,39 @@ packages: terser: optional: true - vitepress@1.3.4: - resolution: {integrity: sha512-I1/F6OW1xl3kW4PaIMC6snxjWgf3qfziq2aqsDoFc/Gt41WbcRv++z8zjw8qGRIJ+I4bUW7ZcKFDHHN/jkH9DQ==} + vite@5.4.8: + resolution: {integrity: sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + sass-embedded: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + + vitepress@1.4.0: + resolution: {integrity: sha512-JXCv4EsKTDyAFb6C/UjZr7nsGAzZ6mafVk2rx7rG5o8N+B/4QstIk+iEOe/9dKoU6V624UIC6g1pZ+K63rxhlw==} hasBin: true peerDependencies: markdown-it-mathjax3: ^4 @@ -3517,6 +3577,14 @@ packages: peerDependencies: typescript: '>=5.0.0' + vue@3.5.11: + resolution: {integrity: sha512-/8Wurrd9J3lb72FTQS7gRMNQD4nztTtKPmuDuPuhqXmmpD6+skVjAeahNpVzsuky6Sy9gy7wn8UadqPtt9SQIg==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + vue@3.5.8: resolution: {integrity: sha512-hvuvuCy51nP/1fSRvrrIqTLSvrSyz2Pq+KQ8S8SXCxTWVE0nMaOnSDnSOxV1eYmGfvK7mqiwvd1C59CEEz7dAQ==} peerDependencies: @@ -3847,11 +3915,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@docsearch/css@3.6.1': {} + '@docsearch/css@3.6.2': {} - '@docsearch/js@3.6.1(@algolia/client-search@5.5.3)(search-insights@2.17.2)': + '@docsearch/js@3.6.2(@algolia/client-search@5.5.3)(search-insights@2.17.2)': dependencies: - '@docsearch/react': 3.6.1(@algolia/client-search@5.5.3)(search-insights@2.17.2) + '@docsearch/react': 3.6.2(@algolia/client-search@5.5.3)(search-insights@2.17.2) preact: 10.24.0 transitivePeerDependencies: - '@algolia/client-search' @@ -3860,11 +3928,11 @@ snapshots: - react-dom - search-insights - '@docsearch/react@3.6.1(@algolia/client-search@5.5.3)(search-insights@2.17.2)': + '@docsearch/react@3.6.2(@algolia/client-search@5.5.3)(search-insights@2.17.2)': dependencies: '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0)(search-insights@2.17.2) '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0) - '@docsearch/css': 3.6.1 + '@docsearch/css': 3.6.2 algoliasearch: 4.24.0 optionalDependencies: search-insights: 2.17.2 @@ -4218,36 +4286,36 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.22.4': optional: true - '@shikijs/core@1.18.0': + '@shikijs/core@1.22.0': dependencies: - '@shikijs/engine-javascript': 1.18.0 - '@shikijs/engine-oniguruma': 1.18.0 - '@shikijs/types': 1.18.0 - '@shikijs/vscode-textmate': 9.2.2 + '@shikijs/engine-javascript': 1.22.0 + '@shikijs/engine-oniguruma': 1.22.0 + '@shikijs/types': 1.22.0 + '@shikijs/vscode-textmate': 9.3.0 '@types/hast': 3.0.4 hast-util-to-html: 9.0.3 - '@shikijs/engine-javascript@1.18.0': + '@shikijs/engine-javascript@1.22.0': dependencies: - '@shikijs/types': 1.18.0 - '@shikijs/vscode-textmate': 9.2.2 + '@shikijs/types': 1.22.0 + '@shikijs/vscode-textmate': 9.3.0 oniguruma-to-js: 0.4.3 - '@shikijs/engine-oniguruma@1.18.0': + '@shikijs/engine-oniguruma@1.22.0': dependencies: - '@shikijs/types': 1.18.0 - '@shikijs/vscode-textmate': 9.2.2 + '@shikijs/types': 1.22.0 + '@shikijs/vscode-textmate': 9.3.0 - '@shikijs/transformers@1.18.0': + '@shikijs/transformers@1.22.0': dependencies: - shiki: 1.18.0 + shiki: 1.22.0 - '@shikijs/types@1.18.0': + '@shikijs/types@1.22.0': dependencies: - '@shikijs/vscode-textmate': 9.2.2 + '@shikijs/vscode-textmate': 9.3.0 '@types/hast': 3.0.4 - '@shikijs/vscode-textmate@9.2.2': {} + '@shikijs/vscode-textmate@9.3.0': {} '@stylistic/eslint-plugin@2.8.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: @@ -4412,12 +4480,12 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue@5.1.4(vite@5.4.7(@types/node@20.16.5))(vue@3.5.8(typescript@5.6.2))': + '@vitejs/plugin-vue@5.1.4(vite@5.4.8(@types/node@20.16.5))(vue@3.5.11(typescript@5.6.2))': dependencies: - vite: 5.4.7(@types/node@20.16.5) - vue: 3.5.8(typescript@5.6.2) + vite: 5.4.8(@types/node@20.16.5) + vue: 3.5.11(typescript@5.6.2) - '@vitest/coverage-v8@2.1.1(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1))': + '@vitest/coverage-v8@2.1.1(vitest@2.1.1)': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -4435,7 +4503,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/eslint-plugin@1.1.4(@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1))': + '@vitest/eslint-plugin@1.1.4(@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1)': dependencies: eslint: 9.11.0(jiti@1.21.6) optionalDependencies: @@ -4506,6 +4574,14 @@ snapshots: path-browserify: 1.0.1 vscode-uri: 3.0.8 + '@vue/compiler-core@3.5.11': + dependencies: + '@babel/parser': 7.25.6 + '@vue/shared': 3.5.11 + entities: 4.5.0 + estree-walker: 2.0.2 + source-map-js: 1.2.1 + '@vue/compiler-core@3.5.8': dependencies: '@babel/parser': 7.25.6 @@ -4514,11 +4590,28 @@ snapshots: estree-walker: 2.0.2 source-map-js: 1.2.1 + '@vue/compiler-dom@3.5.11': + dependencies: + '@vue/compiler-core': 3.5.11 + '@vue/shared': 3.5.11 + '@vue/compiler-dom@3.5.8': dependencies: '@vue/compiler-core': 3.5.8 '@vue/shared': 3.5.8 + '@vue/compiler-sfc@3.5.11': + dependencies: + '@babel/parser': 7.25.6 + '@vue/compiler-core': 3.5.11 + '@vue/compiler-dom': 3.5.11 + '@vue/compiler-ssr': 3.5.11 + '@vue/shared': 3.5.11 + estree-walker: 2.0.2 + magic-string: 0.30.11 + postcss: 8.4.47 + source-map-js: 1.2.1 + '@vue/compiler-sfc@3.5.8': dependencies: '@babel/parser': 7.25.6 @@ -4531,6 +4624,11 @@ snapshots: postcss: 8.4.47 source-map-js: 1.2.1 + '@vue/compiler-ssr@3.5.11': + dependencies: + '@vue/compiler-dom': 3.5.11 + '@vue/shared': 3.5.11 + '@vue/compiler-ssr@3.5.8': dependencies: '@vue/compiler-dom': 3.5.8 @@ -4572,15 +4670,31 @@ snapshots: optionalDependencies: typescript: 5.6.2 + '@vue/reactivity@3.5.11': + dependencies: + '@vue/shared': 3.5.11 + '@vue/reactivity@3.5.8': dependencies: '@vue/shared': 3.5.8 + '@vue/runtime-core@3.5.11': + dependencies: + '@vue/reactivity': 3.5.11 + '@vue/shared': 3.5.11 + '@vue/runtime-core@3.5.8': dependencies: '@vue/reactivity': 3.5.8 '@vue/shared': 3.5.8 + '@vue/runtime-dom@3.5.11': + dependencies: + '@vue/reactivity': 3.5.11 + '@vue/runtime-core': 3.5.11 + '@vue/shared': 3.5.11 + csstype: 3.1.3 + '@vue/runtime-dom@3.5.8': dependencies: '@vue/reactivity': 3.5.8 @@ -4588,14 +4702,32 @@ snapshots: '@vue/shared': 3.5.8 csstype: 3.1.3 + '@vue/server-renderer@3.5.11(vue@3.5.11(typescript@5.6.2))': + dependencies: + '@vue/compiler-ssr': 3.5.11 + '@vue/shared': 3.5.11 + vue: 3.5.11(typescript@5.6.2) + '@vue/server-renderer@3.5.8(vue@3.5.8(typescript@5.6.2))': dependencies: '@vue/compiler-ssr': 3.5.8 '@vue/shared': 3.5.8 vue: 3.5.8(typescript@5.6.2) + '@vue/shared@3.5.11': {} + '@vue/shared@3.5.8': {} + '@vueuse/core@11.1.0(vue@3.5.11(typescript@5.6.2))': + dependencies: + '@types/web-bluetooth': 0.0.20 + '@vueuse/metadata': 11.1.0 + '@vueuse/shared': 11.1.0(vue@3.5.11(typescript@5.6.2)) + vue-demi: 0.14.10(vue@3.5.11(typescript@5.6.2)) + transitivePeerDependencies: + - '@vue/composition-api' + - vue + '@vueuse/core@11.1.0(vue@3.5.8(typescript@5.6.2))': dependencies: '@types/web-bluetooth': 0.0.20 @@ -4606,11 +4738,11 @@ snapshots: - '@vue/composition-api' - vue - '@vueuse/integrations@11.1.0(focus-trap@7.6.0)(vue@3.5.8(typescript@5.6.2))': + '@vueuse/integrations@11.1.0(focus-trap@7.6.0)(vue@3.5.11(typescript@5.6.2))': dependencies: - '@vueuse/core': 11.1.0(vue@3.5.8(typescript@5.6.2)) - '@vueuse/shared': 11.1.0(vue@3.5.8(typescript@5.6.2)) - vue-demi: 0.14.10(vue@3.5.8(typescript@5.6.2)) + '@vueuse/core': 11.1.0(vue@3.5.11(typescript@5.6.2)) + '@vueuse/shared': 11.1.0(vue@3.5.11(typescript@5.6.2)) + vue-demi: 0.14.10(vue@3.5.11(typescript@5.6.2)) optionalDependencies: focus-trap: 7.6.0 transitivePeerDependencies: @@ -4619,6 +4751,13 @@ snapshots: '@vueuse/metadata@11.1.0': {} + '@vueuse/shared@11.1.0(vue@3.5.11(typescript@5.6.2))': + dependencies: + vue-demi: 0.14.10(vue@3.5.11(typescript@5.6.2)) + transitivePeerDependencies: + - '@vue/composition-api' + - vue + '@vueuse/shared@11.1.0(vue@3.5.8(typescript@5.6.2))': dependencies: vue-demi: 0.14.10(vue@3.5.8(typescript@5.6.2)) @@ -6593,13 +6732,13 @@ snapshots: shell-quote@1.8.1: {} - shiki@1.18.0: + shiki@1.22.0: dependencies: - '@shikijs/core': 1.18.0 - '@shikijs/engine-javascript': 1.18.0 - '@shikijs/engine-oniguruma': 1.18.0 - '@shikijs/types': 1.18.0 - '@shikijs/vscode-textmate': 9.2.2 + '@shikijs/core': 1.22.0 + '@shikijs/engine-javascript': 1.22.0 + '@shikijs/engine-oniguruma': 1.22.0 + '@shikijs/types': 1.22.0 + '@shikijs/vscode-textmate': 9.3.0 '@types/hast': 3.0.4 side-channel@1.0.6: @@ -7058,24 +7197,34 @@ snapshots: '@types/node': 20.16.5 fsevents: 2.3.3 - vitepress@1.3.4(@algolia/client-search@5.5.3)(@types/node@20.16.5)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2): + vite@5.4.8(@types/node@20.16.5): + dependencies: + esbuild: 0.21.5 + postcss: 8.4.47 + rollup: 4.22.4 + optionalDependencies: + '@types/node': 20.16.5 + fsevents: 2.3.3 + + vitepress@1.4.0(@algolia/client-search@5.5.3)(@types/node@20.16.5)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2): dependencies: - '@docsearch/css': 3.6.1 - '@docsearch/js': 3.6.1(@algolia/client-search@5.5.3)(search-insights@2.17.2) - '@shikijs/core': 1.18.0 - '@shikijs/transformers': 1.18.0 + '@docsearch/css': 3.6.2 + '@docsearch/js': 3.6.2(@algolia/client-search@5.5.3)(search-insights@2.17.2) + '@shikijs/core': 1.22.0 + '@shikijs/transformers': 1.22.0 + '@shikijs/types': 1.22.0 '@types/markdown-it': 14.1.2 - '@vitejs/plugin-vue': 5.1.4(vite@5.4.7(@types/node@20.16.5))(vue@3.5.8(typescript@5.6.2)) + '@vitejs/plugin-vue': 5.1.4(vite@5.4.8(@types/node@20.16.5))(vue@3.5.11(typescript@5.6.2)) '@vue/devtools-api': 7.4.6 - '@vue/shared': 3.5.8 - '@vueuse/core': 11.1.0(vue@3.5.8(typescript@5.6.2)) - '@vueuse/integrations': 11.1.0(focus-trap@7.6.0)(vue@3.5.8(typescript@5.6.2)) + '@vue/shared': 3.5.11 + '@vueuse/core': 11.1.0(vue@3.5.11(typescript@5.6.2)) + '@vueuse/integrations': 11.1.0(focus-trap@7.6.0)(vue@3.5.11(typescript@5.6.2)) focus-trap: 7.6.0 mark.js: 8.11.1 minisearch: 7.1.0 - shiki: 1.18.0 - vite: 5.4.7(@types/node@20.16.5) - vue: 3.5.8(typescript@5.6.2) + shiki: 1.22.0 + vite: 5.4.8(@types/node@20.16.5) + vue: 3.5.11(typescript@5.6.2) optionalDependencies: postcss: 8.4.47 transitivePeerDependencies: @@ -7144,6 +7293,10 @@ snapshots: vscode-uri@3.0.8: {} + vue-demi@0.14.10(vue@3.5.11(typescript@5.6.2)): + dependencies: + vue: 3.5.11(typescript@5.6.2) + vue-demi@0.14.10(vue@3.5.8(typescript@5.6.2)): dependencies: vue: 3.5.8(typescript@5.6.2) @@ -7155,6 +7308,16 @@ snapshots: semver: 7.6.3 typescript: 5.6.2 + vue@3.5.11(typescript@5.6.2): + dependencies: + '@vue/compiler-dom': 3.5.11 + '@vue/compiler-sfc': 3.5.11 + '@vue/runtime-dom': 3.5.11 + '@vue/server-renderer': 3.5.11(vue@3.5.11(typescript@5.6.2)) + '@vue/shared': 3.5.11 + optionalDependencies: + typescript: 5.6.2 + vue@3.5.8(typescript@5.6.2): dependencies: '@vue/compiler-dom': 3.5.8 From 1403727aa81c6daaad3a1319eaea09ffb16b3927 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 10 Oct 2024 00:27:19 +0200 Subject: [PATCH 24/47] chore(deps): update devdependencies (#3149) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 14 +- pnpm-lock.yaml | 374 ++++++++++++++++++++----------------------------- 2 files changed, 158 insertions(+), 230 deletions(-) diff --git a/package.json b/package.json index 17321b1883c..ca9a6542612 100644 --- a/package.json +++ b/package.json @@ -106,9 +106,9 @@ "@actions/github": "6.0.0", "@eslint/compat": "1.1.1", "@eslint/js": "9.11.0", - "@stylistic/eslint-plugin": "2.8.0", + "@stylistic/eslint-plugin": "2.9.0", "@types/eslint__js": "8.42.3", - "@types/node": "20.16.5", + "@types/node": "20.16.11", "@types/sanitize-html": "2.13.0", "@types/semver": "7.5.8", "@types/validator": "13.12.2", @@ -117,7 +117,7 @@ "@vitest/ui": "2.1.1", "@vueuse/core": "11.1.0", "commit-and-tag-version": "12.4.4", - "cypress": "13.14.2", + "cypress": "13.15.0", "eslint": "9.11.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-jsdoc": "50.2.4", @@ -127,9 +127,9 @@ "npm-run-all2": "6.2.3", "prettier": "3.3.3", "prettier-plugin-organize-imports": "4.1.0", - "prettier-plugin-packagejson": "2.5.2", + "prettier-plugin-packagejson": "2.5.3", "rimraf": "5.0.10", - "sanitize-html": "2.13.0", + "sanitize-html": "2.13.1", "semver": "7.6.3", "ts-morph": "23.0.0", "tsup": "8.3.0", @@ -137,10 +137,10 @@ "typescript": "5.6.2", "typescript-eslint": "8.7.0", "validator": "13.12.0", - "vite": "5.4.7", + "vite": "5.4.8", "vitepress": "1.4.0", "vitest": "2.1.1", - "vue": "3.5.8", + "vue": "3.5.11", "vue-tsc": "2.1.6" }, "packageManager": "pnpm@9.12.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 18ce7242ec2..3af8f09faec 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,14 +18,14 @@ importers: specifier: 9.11.0 version: 9.11.0 '@stylistic/eslint-plugin': - specifier: 2.8.0 - version: 2.8.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + specifier: 2.9.0 + version: 2.9.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) '@types/eslint__js': specifier: 8.42.3 version: 8.42.3 '@types/node': - specifier: 20.16.5 - version: 20.16.5 + specifier: 20.16.11 + version: 20.16.11 '@types/sanitize-html': specifier: 2.13.0 version: 2.13.0 @@ -40,19 +40,19 @@ importers: version: 2.1.1(vitest@2.1.1) '@vitest/eslint-plugin': specifier: 1.1.4 - version: 1.1.4(@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1) + version: 1.1.4(@typescript-eslint/utils@8.8.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1) '@vitest/ui': specifier: 2.1.1 version: 2.1.1(vitest@2.1.1) '@vueuse/core': specifier: 11.1.0 - version: 11.1.0(vue@3.5.8(typescript@5.6.2)) + version: 11.1.0(vue@3.5.11(typescript@5.6.2)) commit-and-tag-version: specifier: 12.4.4 version: 12.4.4 cypress: - specifier: 13.14.2 - version: 13.14.2 + specifier: 13.15.0 + version: 13.15.0 eslint: specifier: 9.11.0 version: 9.11.0(jiti@1.21.6) @@ -81,14 +81,14 @@ importers: specifier: 4.1.0 version: 4.1.0(prettier@3.3.3)(typescript@5.6.2)(vue-tsc@2.1.6(typescript@5.6.2)) prettier-plugin-packagejson: - specifier: 2.5.2 - version: 2.5.2(prettier@3.3.3) + specifier: 2.5.3 + version: 2.5.3(prettier@3.3.3) rimraf: specifier: 5.0.10 version: 5.0.10 sanitize-html: - specifier: 2.13.0 - version: 2.13.0 + specifier: 2.13.1 + version: 2.13.1 semver: specifier: 7.6.3 version: 7.6.3 @@ -111,17 +111,17 @@ importers: specifier: 13.12.0 version: 13.12.0 vite: - specifier: 5.4.7 - version: 5.4.7(@types/node@20.16.5) + specifier: 5.4.8 + version: 5.4.8(@types/node@20.16.11) vitepress: specifier: 1.4.0 - version: 1.4.0(@algolia/client-search@5.5.3)(@types/node@20.16.5)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2) + version: 1.4.0(@algolia/client-search@5.5.3)(@types/node@20.16.11)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2) vitest: specifier: 2.1.1 - version: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1) + version: 2.1.1(@types/node@20.16.11)(@vitest/ui@2.1.1)(jsdom@25.0.1) vue: - specifier: 3.5.8 - version: 3.5.8(typescript@5.6.2) + specifier: 3.5.11 + version: 3.5.11(typescript@5.6.2) vue-tsc: specifier: 2.1.6 version: 2.1.6(typescript@5.6.2) @@ -816,8 +816,8 @@ packages: '@shikijs/vscode-textmate@9.3.0': resolution: {integrity: sha512-jn7/7ky30idSkd/O5yDBfAnVt+JJpepofP/POZ1iMOxK59cOfqIgg/Dj0eFsjOTMw+4ycJN0uhZH/Eb0bs/EUA==} - '@stylistic/eslint-plugin@2.8.0': - resolution: {integrity: sha512-Ufvk7hP+bf+pD35R/QfunF793XlSRIC7USr3/EdgduK9j13i2JjmsM0LUz3/foS+jDYp2fzyWZA9N44CPur0Ow==} + '@stylistic/eslint-plugin@2.9.0': + resolution: {integrity: sha512-OrDyFAYjBT61122MIY1a3SfEgy3YCMgt2vL4eoPmvTwDBwyQhAXurxNQznlRD/jESNfYWfID8Ej+31LljvF7Xg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: '>=8.40.0' @@ -858,8 +858,8 @@ packages: '@types/minimist@1.2.5': resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==} - '@types/node@20.16.5': - resolution: {integrity: sha512-VwYCweNo3ERajwy0IUlqqcyZ8/A7Zwa9ZP3MnENWcB11AejO+tLy3pu850goUW2FC/IJMdZUfKpX/yxL1gymCA==} + '@types/node@20.16.11': + resolution: {integrity: sha512-y+cTCACu92FyA5fgQSAI8A1H429g7aSK2HsO7K4XYUWc4dY5IUz55JSDIYT6/VsOLfGy8vmvQYC2hfb0iF16Uw==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -913,6 +913,10 @@ packages: resolution: {integrity: sha512-87rC0k3ZlDOuz82zzXRtQ7Akv3GKhHs0ti4YcbAJtaomllXoSO8hi7Ix3ccEvCd824dy9aIX+j3d2UMAfCtVpg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/scope-manager@8.8.1': + resolution: {integrity: sha512-X4JdU+66Mazev/J0gfXlcC/dV6JI37h+93W9BRYXrSn0hrE64IoWgVkO9MSJgEzoWkxONgaQpICWg8vAN74wlA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/type-utils@8.7.0': resolution: {integrity: sha512-tl0N0Mj3hMSkEYhLkjREp54OSb/FI6qyCzfiiclvJvOqre6hsZTGSnHtmFLDU8TIM62G7ygEa1bI08lcuRwEnQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -926,6 +930,10 @@ packages: resolution: {integrity: sha512-LLt4BLHFwSfASHSF2K29SZ+ZCsbQOM+LuarPjRUuHm+Qd09hSe3GCeaQbcCr+Mik+0QFRmep/FyZBO6fJ64U3w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/types@8.8.1': + resolution: {integrity: sha512-WCcTP4SDXzMd23N27u66zTKMuEevH4uzU8C9jf0RO4E04yVHgQgW+r+TeVTNnO1KIfrL8ebgVVYYMMO3+jC55Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/typescript-estree@8.7.0': resolution: {integrity: sha512-MC8nmcGHsmfAKxwnluTQpNqceniT8SteVwd2voYlmiSWGOtjvGXdPl17dYu2797GVscK30Z04WRM28CrKS9WOg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -935,16 +943,35 @@ packages: typescript: optional: true + '@typescript-eslint/typescript-estree@8.8.1': + resolution: {integrity: sha512-A5d1R9p+X+1js4JogdNilDuuq+EHZdsH9MjTVxXOdVFfTJXunKJR/v+fNNyO4TnoOn5HqobzfRlc70NC6HTcdg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/utils@8.7.0': 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 + '@typescript-eslint/utils@8.8.1': + resolution: {integrity: sha512-/QkNJDbV0bdL7H7d0/y0qBbV2HTtf0TIyjSDTvvmQEzeVx8jEImEbLuOA4EsvE8gIgqMitns0ifb5uQhMj8d9w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + '@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} + '@typescript-eslint/visitor-keys@8.8.1': + resolution: {integrity: sha512-0/TdC3aeRAsW7MDvYRwEc1Uwm0TIBfzjPFgg60UU2Haj5qsCs9cc3zNgY71edqE3LbWfF/WoZQd3lJoDXFQpag==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} @@ -1026,27 +1053,15 @@ packages: '@vue/compiler-core@3.5.11': resolution: {integrity: sha512-PwAdxs7/9Hc3ieBO12tXzmTD+Ln4qhT/56S+8DvrrZ4kLDn4Z/AMUr8tXJD0axiJBS0RKIoNaR0yMuQB9v9Udg==} - '@vue/compiler-core@3.5.8': - resolution: {integrity: sha512-Uzlxp91EPjfbpeO5KtC0KnXPkuTfGsNDeaKQJxQN718uz+RqDYarEf7UhQJGK+ZYloD2taUbHTI2J4WrUaZQNA==} - '@vue/compiler-dom@3.5.11': resolution: {integrity: sha512-pyGf8zdbDDRkBrEzf8p7BQlMKNNF5Fk/Cf/fQ6PiUz9at4OaUfyXW0dGJTo2Vl1f5U9jSLCNf0EZJEogLXoeew==} - '@vue/compiler-dom@3.5.8': - resolution: {integrity: sha512-GUNHWvoDSbSa5ZSHT9SnV5WkStWfzJwwTd6NMGzilOE/HM5j+9EB9zGXdtu/fCNEmctBqMs6C9SvVPpVPuk1Eg==} - '@vue/compiler-sfc@3.5.11': resolution: {integrity: sha512-gsbBtT4N9ANXXepprle+X9YLg2htQk1sqH/qGJ/EApl+dgpUBdTv3yP7YlR535uHZY3n6XaR0/bKo0BgwwDniw==} - '@vue/compiler-sfc@3.5.8': - resolution: {integrity: sha512-taYpngQtSysrvO9GULaOSwcG5q821zCoIQBtQQSx7Uf7DxpR6CIHR90toPr9QfDD2mqHQPCSgoWBvJu0yV9zjg==} - '@vue/compiler-ssr@3.5.11': resolution: {integrity: sha512-P4+GPjOuC2aFTk1Z4WANvEhyOykcvEd5bIj2KVNGKGfM745LaXGr++5njpdBTzVz5pZifdlR1kpYSJJpIlSePA==} - '@vue/compiler-ssr@3.5.8': - resolution: {integrity: sha512-W96PtryNsNG9u0ZnN5Q5j27Z/feGrFV6zy9q5tzJVyJaLiwYxvC0ek4IXClZygyhjm+XKM7WD9pdKi/wIRVC/Q==} - '@vue/compiler-vue2@2.7.16': resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==} @@ -1070,37 +1085,20 @@ packages: '@vue/reactivity@3.5.11': resolution: {integrity: sha512-Nqo5VZEn8MJWlCce8XoyVqHZbd5P2NH+yuAaFzuNSR96I+y1cnuUiq7xfSG+kyvLSiWmaHTKP1r3OZY4mMD50w==} - '@vue/reactivity@3.5.8': - resolution: {integrity: sha512-mlgUyFHLCUZcAYkqvzYnlBRCh0t5ZQfLYit7nukn1GR96gc48Bp4B7OIcSfVSvlG1k3BPfD+p22gi1t2n9tsXg==} - '@vue/runtime-core@3.5.11': resolution: {integrity: sha512-7PsxFGqwfDhfhh0OcDWBG1DaIQIVOLgkwA5q6MtkPiDFjp5gohVnJEahSktwSFLq7R5PtxDKy6WKURVN1UDbzA==} - '@vue/runtime-core@3.5.8': - resolution: {integrity: sha512-fJuPelh64agZ8vKkZgp5iCkPaEqFJsYzxLk9vSC0X3G8ppknclNDr61gDc45yBGTaN5Xqc1qZWU3/NoaBMHcjQ==} - '@vue/runtime-dom@3.5.11': resolution: {integrity: sha512-GNghjecT6IrGf0UhuYmpgaOlN7kxzQBhxWEn08c/SQDxv1yy4IXI1bn81JgEpQ4IXjRxWtPyI8x0/7TF5rPfYQ==} - '@vue/runtime-dom@3.5.8': - resolution: {integrity: sha512-DpAUz+PKjTZPUOB6zJgkxVI3GuYc2iWZiNeeHQUw53kdrparSTG6HeXUrYDjaam8dVsCdvQxDz6ZWxnyjccUjQ==} - '@vue/server-renderer@3.5.11': resolution: {integrity: sha512-cVOwYBxR7Wb1B1FoxYvtjJD8X/9E5nlH4VSkJy2uMA1MzYNdzAAB//l8nrmN9py/4aP+3NjWukf9PZ3TeWULaA==} peerDependencies: vue: 3.5.11 - '@vue/server-renderer@3.5.8': - resolution: {integrity: sha512-7AmC9/mEeV9mmXNVyUIm1a1AjUhyeeGNbkLh39J00E7iPeGks8OGRB5blJiMmvqSh8SkaS7jkLWSpXtxUCeagA==} - peerDependencies: - vue: 3.5.8 - '@vue/shared@3.5.11': resolution: {integrity: sha512-W8GgysJVnFo81FthhzurdRAWP/byq3q2qIw70e0JWblzVhjgOMiC2GyovXrZTFQJnFVryYaKGP3Tc9vYzYm6PQ==} - '@vue/shared@3.5.8': - resolution: {integrity: sha512-mJleSWbAGySd2RJdX1RBtcrUBX6snyOc0qHpgk3lGi4l9/P/3ny3ELqFWqYdkXIwwNN/kdm8nD9ky8o6l/Lx2A==} - '@vueuse/core@11.1.0': resolution: {integrity: sha512-P6dk79QYA6sKQnghrUz/1tHi0n9mrb/iO1WTMk/ElLmTyNqgDeSZ3wcDf6fRBGzRJbeG1dxzEOvLENMjr+E3fg==} @@ -1580,8 +1578,8 @@ packages: csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} - cypress@13.14.2: - resolution: {integrity: sha512-lsiQrN17vHMB2fnvxIrKLAjOr9bPwsNbPZNrWf99s4u+DVmCY6U+w7O3GGG9FvP4EUVYaDu+guWeNLiUzBrqvA==} + cypress@13.15.0: + resolution: {integrity: sha512-53aO7PwOfi604qzOkCSzNlWquCynLlKE/rmmpSPcziRH6LNfaDUAklQT6WJIsD8ywxlIy+uVZsnTMCCQVd2kTw==} engines: {node: ^16.0.0 || ^18.0.0 || >=20.0.0} hasBin: true @@ -1810,6 +1808,10 @@ packages: resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint-visitor-keys@4.1.0: + resolution: {integrity: sha512-Q7lok0mqMUSf5a/AdAZkA5a/gHcO6snwQClVNNvFKCAVlxXucdU8pKydU5ZVZjBx5xr37vGbFFWtLQYreLzrZg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint@9.11.0: resolution: {integrity: sha512-yVS6XODx+tMFMDFcG4+Hlh+qG7RM6cCJXtQhCKLSsr3XkLvWggHjCqjfh0XsPPnt1c56oaT6PMgW9XWQQjdHXA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1824,6 +1826,10 @@ packages: resolution: {integrity: sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + espree@10.2.0: + resolution: {integrity: sha512-upbkBJbckcCNBDBDXEbuhjbP68n+scUd3k/U2EkyM9nw+I/jPiL4cLF/Al06CF96wRltFda16sxDFrxsI1v0/g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + esquery@1.6.0: resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==} engines: {node: '>=0.10'} @@ -2824,8 +2830,8 @@ packages: vue-tsc: optional: true - prettier-plugin-packagejson@2.5.2: - resolution: {integrity: sha512-w+TmoLv2pIa+siplW1cCj2ujEXQQS6z7wmWLOiLQK/2QVl7Wy6xh/ZUpqQw8tbKMXDodmSW4GONxlA33xpdNOg==} + prettier-plugin-packagejson@2.5.3: + resolution: {integrity: sha512-ATMEEXr+ywls1kgrZEWl4SBPEm0uDdyDAjyNzUC0/Z8WZTD3RqbJcQDR+Dau+wYkW9KHK6zqQIsFyfn+9aduWg==} peerDependencies: prettier: '>= 1.16.0' peerDependenciesMeta: @@ -2987,8 +2993,8 @@ packages: safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - sanitize-html@2.13.0: - resolution: {integrity: sha512-Xff91Z+4Mz5QiNSLdLWwjgBDm5b1RU6xBT0+12rapjiaR7SwfRdjw8f+6Rir2MXKLrDicRFHdb51hGOAxmsUIA==} + sanitize-html@2.13.1: + resolution: {integrity: sha512-ZXtKq89oue4RP7abL9wp/9URJcqQNABB5GGJ2acW1sdO8JTVl92f4ygD7Yc9Ze09VAZhnt2zegeU0tbNsdcLYg==} saxes@6.0.0: resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} @@ -3188,6 +3194,10 @@ packages: resolution: {integrity: sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==} engines: {node: ^14.18.0 || >=16.0.0} + synckit@0.9.2: + resolution: {integrity: sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==} + engines: {node: ^14.18.0 || >=16.0.0} + tabbable@6.2.0: resolution: {integrity: sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==} @@ -3458,37 +3468,6 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true - vite@5.4.7: - resolution: {integrity: sha512-5l2zxqMEPVENgvzTuBpHer2awaetimj2BGkhBPdnwKbPNOlHsODU+oiazEZzLK7KhAnOrO+XGYJYn4ZlUhDtDQ==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - peerDependencies: - '@types/node': ^18.0.0 || >=20.0.0 - less: '*' - lightningcss: ^1.21.0 - sass: '*' - sass-embedded: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - sass-embedded: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - vite@5.4.8: resolution: {integrity: sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==} engines: {node: ^18.0.0 || >=20.0.0} @@ -3585,14 +3564,6 @@ packages: typescript: optional: true - vue@3.5.8: - resolution: {integrity: sha512-hvuvuCy51nP/1fSRvrrIqTLSvrSyz2Pq+KQ8S8SXCxTWVE0nMaOnSDnSOxV1eYmGfvK7mqiwvd1C59CEEz7dAQ==} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - w3c-xmlserializer@5.0.0: resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} engines: {node: '>=18'} @@ -4317,12 +4288,12 @@ snapshots: '@shikijs/vscode-textmate@9.3.0': {} - '@stylistic/eslint-plugin@2.8.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': + '@stylistic/eslint-plugin@2.9.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@typescript-eslint/utils': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) eslint: 9.11.0(jiti@1.21.6) - eslint-visitor-keys: 4.0.0 - espree: 10.1.0 + eslint-visitor-keys: 4.1.0 + espree: 10.2.0 estraverse: 5.3.0 picomatch: 4.0.2 transitivePeerDependencies: @@ -4370,7 +4341,7 @@ snapshots: '@types/minimist@1.2.5': {} - '@types/node@20.16.5': + '@types/node@20.16.11': dependencies: undici-types: 6.19.8 @@ -4394,7 +4365,7 @@ snapshots: '@types/yauzl@2.10.3': dependencies: - '@types/node': 20.16.5 + '@types/node': 20.16.11 optional: true '@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': @@ -4433,6 +4404,11 @@ snapshots: '@typescript-eslint/types': 8.7.0 '@typescript-eslint/visitor-keys': 8.7.0 + '@typescript-eslint/scope-manager@8.8.1': + dependencies: + '@typescript-eslint/types': 8.8.1 + '@typescript-eslint/visitor-keys': 8.8.1 + '@typescript-eslint/type-utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) @@ -4447,6 +4423,8 @@ snapshots: '@typescript-eslint/types@8.7.0': {} + '@typescript-eslint/types@8.8.1': {} + '@typescript-eslint/typescript-estree@8.7.0(typescript@5.6.2)': dependencies: '@typescript-eslint/types': 8.7.0 @@ -4462,6 +4440,21 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/typescript-estree@8.8.1(typescript@5.6.2)': + dependencies: + '@typescript-eslint/types': 8.8.1 + '@typescript-eslint/visitor-keys': 8.8.1 + debug: 4.3.7(supports-color@8.1.1) + fast-glob: 3.3.2 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 1.3.0(typescript@5.6.2) + optionalDependencies: + typescript: 5.6.2 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) @@ -4473,16 +4466,32 @@ snapshots: - supports-color - typescript + '@typescript-eslint/utils@8.8.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) + '@typescript-eslint/scope-manager': 8.8.1 + '@typescript-eslint/types': 8.8.1 + '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.2) + eslint: 9.11.0(jiti@1.21.6) + transitivePeerDependencies: + - supports-color + - typescript + '@typescript-eslint/visitor-keys@8.7.0': dependencies: '@typescript-eslint/types': 8.7.0 eslint-visitor-keys: 3.4.3 + '@typescript-eslint/visitor-keys@8.8.1': + dependencies: + '@typescript-eslint/types': 8.8.1 + eslint-visitor-keys: 3.4.3 + '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue@5.1.4(vite@5.4.8(@types/node@20.16.5))(vue@3.5.11(typescript@5.6.2))': + '@vitejs/plugin-vue@5.1.4(vite@5.4.8(@types/node@20.16.11))(vue@3.5.11(typescript@5.6.2))': dependencies: - vite: 5.4.8(@types/node@20.16.5) + vite: 5.4.8(@types/node@20.16.11) vue: 3.5.11(typescript@5.6.2) '@vitest/coverage-v8@2.1.1(vitest@2.1.1)': @@ -4499,17 +4508,17 @@ snapshots: std-env: 3.7.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1) + vitest: 2.1.1(@types/node@20.16.11)(@vitest/ui@2.1.1)(jsdom@25.0.1) transitivePeerDependencies: - supports-color - '@vitest/eslint-plugin@1.1.4(@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1)': + '@vitest/eslint-plugin@1.1.4(@typescript-eslint/utils@8.8.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1)': dependencies: eslint: 9.11.0(jiti@1.21.6) optionalDependencies: - '@typescript-eslint/utils': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) typescript: 5.6.2 - vitest: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1) + vitest: 2.1.1(@types/node@20.16.11)(@vitest/ui@2.1.1)(jsdom@25.0.1) '@vitest/expect@2.1.1': dependencies: @@ -4518,13 +4527,13 @@ snapshots: chai: 5.1.1 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.7(@types/node@20.16.5))': + '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.8(@types/node@20.16.11))': dependencies: '@vitest/spy': 2.1.1 estree-walker: 3.0.3 magic-string: 0.30.11 optionalDependencies: - vite: 5.4.7(@types/node@20.16.5) + vite: 5.4.8(@types/node@20.16.11) '@vitest/pretty-format@2.1.1': dependencies: @@ -4554,7 +4563,7 @@ snapshots: sirv: 2.0.4 tinyglobby: 0.2.6 tinyrainbow: 1.2.0 - vitest: 2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1) + vitest: 2.1.1(@types/node@20.16.11)(@vitest/ui@2.1.1)(jsdom@25.0.1) '@vitest/utils@2.1.1': dependencies: @@ -4582,24 +4591,11 @@ snapshots: estree-walker: 2.0.2 source-map-js: 1.2.1 - '@vue/compiler-core@3.5.8': - dependencies: - '@babel/parser': 7.25.6 - '@vue/shared': 3.5.8 - entities: 4.5.0 - estree-walker: 2.0.2 - source-map-js: 1.2.1 - '@vue/compiler-dom@3.5.11': dependencies: '@vue/compiler-core': 3.5.11 '@vue/shared': 3.5.11 - '@vue/compiler-dom@3.5.8': - dependencies: - '@vue/compiler-core': 3.5.8 - '@vue/shared': 3.5.8 - '@vue/compiler-sfc@3.5.11': dependencies: '@babel/parser': 7.25.6 @@ -4612,28 +4608,11 @@ snapshots: postcss: 8.4.47 source-map-js: 1.2.1 - '@vue/compiler-sfc@3.5.8': - dependencies: - '@babel/parser': 7.25.6 - '@vue/compiler-core': 3.5.8 - '@vue/compiler-dom': 3.5.8 - '@vue/compiler-ssr': 3.5.8 - '@vue/shared': 3.5.8 - estree-walker: 2.0.2 - magic-string: 0.30.11 - postcss: 8.4.47 - source-map-js: 1.2.1 - '@vue/compiler-ssr@3.5.11': dependencies: '@vue/compiler-dom': 3.5.11 '@vue/shared': 3.5.11 - '@vue/compiler-ssr@3.5.8': - dependencies: - '@vue/compiler-dom': 3.5.8 - '@vue/shared': 3.5.8 - '@vue/compiler-vue2@2.7.16': dependencies: de-indent: 1.0.2 @@ -4660,9 +4639,9 @@ snapshots: '@vue/language-core@2.1.6(typescript@5.6.2)': dependencies: '@volar/language-core': 2.4.5 - '@vue/compiler-dom': 3.5.8 + '@vue/compiler-dom': 3.5.11 '@vue/compiler-vue2': 2.7.16 - '@vue/shared': 3.5.8 + '@vue/shared': 3.5.11 computeds: 0.0.1 minimatch: 9.0.5 muggle-string: 0.4.1 @@ -4674,20 +4653,11 @@ snapshots: dependencies: '@vue/shared': 3.5.11 - '@vue/reactivity@3.5.8': - dependencies: - '@vue/shared': 3.5.8 - '@vue/runtime-core@3.5.11': dependencies: '@vue/reactivity': 3.5.11 '@vue/shared': 3.5.11 - '@vue/runtime-core@3.5.8': - dependencies: - '@vue/reactivity': 3.5.8 - '@vue/shared': 3.5.8 - '@vue/runtime-dom@3.5.11': dependencies: '@vue/reactivity': 3.5.11 @@ -4695,29 +4665,14 @@ snapshots: '@vue/shared': 3.5.11 csstype: 3.1.3 - '@vue/runtime-dom@3.5.8': - dependencies: - '@vue/reactivity': 3.5.8 - '@vue/runtime-core': 3.5.8 - '@vue/shared': 3.5.8 - csstype: 3.1.3 - '@vue/server-renderer@3.5.11(vue@3.5.11(typescript@5.6.2))': dependencies: '@vue/compiler-ssr': 3.5.11 '@vue/shared': 3.5.11 vue: 3.5.11(typescript@5.6.2) - '@vue/server-renderer@3.5.8(vue@3.5.8(typescript@5.6.2))': - dependencies: - '@vue/compiler-ssr': 3.5.8 - '@vue/shared': 3.5.8 - vue: 3.5.8(typescript@5.6.2) - '@vue/shared@3.5.11': {} - '@vue/shared@3.5.8': {} - '@vueuse/core@11.1.0(vue@3.5.11(typescript@5.6.2))': dependencies: '@types/web-bluetooth': 0.0.20 @@ -4728,16 +4683,6 @@ snapshots: - '@vue/composition-api' - vue - '@vueuse/core@11.1.0(vue@3.5.8(typescript@5.6.2))': - dependencies: - '@types/web-bluetooth': 0.0.20 - '@vueuse/metadata': 11.1.0 - '@vueuse/shared': 11.1.0(vue@3.5.8(typescript@5.6.2)) - vue-demi: 0.14.10(vue@3.5.8(typescript@5.6.2)) - transitivePeerDependencies: - - '@vue/composition-api' - - vue - '@vueuse/integrations@11.1.0(focus-trap@7.6.0)(vue@3.5.11(typescript@5.6.2))': dependencies: '@vueuse/core': 11.1.0(vue@3.5.11(typescript@5.6.2)) @@ -4758,13 +4703,6 @@ snapshots: - '@vue/composition-api' - vue - '@vueuse/shared@11.1.0(vue@3.5.8(typescript@5.6.2))': - dependencies: - vue-demi: 0.14.10(vue@3.5.8(typescript@5.6.2)) - transitivePeerDependencies: - - '@vue/composition-api' - - vue - JSONStream@1.3.5: dependencies: jsonparse: 1.3.1 @@ -5213,7 +5151,7 @@ snapshots: csstype@3.1.3: {} - cypress@13.14.2: + cypress@13.15.0: dependencies: '@cypress/request': 3.0.5 '@cypress/xvfb': 1.2.4(supports-color@8.1.1) @@ -5512,6 +5450,8 @@ snapshots: eslint-visitor-keys@4.0.0: {} + eslint-visitor-keys@4.1.0: {} + eslint@9.11.0(jiti@1.21.6): dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) @@ -5559,6 +5499,12 @@ snapshots: acorn-jsx: 5.3.2(acorn@8.12.1) eslint-visitor-keys: 4.0.0 + espree@10.2.0: + dependencies: + acorn: 8.12.1 + acorn-jsx: 5.3.2(acorn@8.12.1) + eslint-visitor-keys: 4.1.0 + esquery@1.6.0: dependencies: estraverse: 5.3.0 @@ -6525,10 +6471,10 @@ snapshots: optionalDependencies: vue-tsc: 2.1.6(typescript@5.6.2) - prettier-plugin-packagejson@2.5.2(prettier@3.3.3): + prettier-plugin-packagejson@2.5.3(prettier@3.3.3): dependencies: sort-package-json: 2.10.1 - synckit: 0.9.1 + synckit: 0.9.2 optionalDependencies: prettier: 3.3.3 @@ -6696,7 +6642,7 @@ snapshots: safer-buffer@2.1.2: {} - sanitize-html@2.13.0: + sanitize-html@2.13.1: dependencies: deepmerge: 4.3.1 escape-string-regexp: 4.0.0 @@ -6922,6 +6868,11 @@ snapshots: '@pkgr/core': 0.1.1 tslib: 2.7.0 + synckit@0.9.2: + dependencies: + '@pkgr/core': 0.1.1 + tslib: 2.7.0 + tabbable@6.2.0: {} test-exclude@7.0.1: @@ -7171,12 +7122,12 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vite-node@2.1.1(@types/node@20.16.5): + vite-node@2.1.1(@types/node@20.16.11): dependencies: cac: 6.7.14 debug: 4.3.7(supports-color@8.1.1) pathe: 1.1.2 - vite: 5.4.7(@types/node@20.16.5) + vite: 5.4.8(@types/node@20.16.11) transitivePeerDependencies: - '@types/node' - less @@ -7188,25 +7139,16 @@ snapshots: - supports-color - terser - vite@5.4.7(@types/node@20.16.5): - dependencies: - esbuild: 0.21.5 - postcss: 8.4.47 - rollup: 4.22.4 - optionalDependencies: - '@types/node': 20.16.5 - fsevents: 2.3.3 - - vite@5.4.8(@types/node@20.16.5): + vite@5.4.8(@types/node@20.16.11): dependencies: esbuild: 0.21.5 postcss: 8.4.47 rollup: 4.22.4 optionalDependencies: - '@types/node': 20.16.5 + '@types/node': 20.16.11 fsevents: 2.3.3 - vitepress@1.4.0(@algolia/client-search@5.5.3)(@types/node@20.16.5)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2): + vitepress@1.4.0(@algolia/client-search@5.5.3)(@types/node@20.16.11)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2): dependencies: '@docsearch/css': 3.6.2 '@docsearch/js': 3.6.2(@algolia/client-search@5.5.3)(search-insights@2.17.2) @@ -7214,7 +7156,7 @@ snapshots: '@shikijs/transformers': 1.22.0 '@shikijs/types': 1.22.0 '@types/markdown-it': 14.1.2 - '@vitejs/plugin-vue': 5.1.4(vite@5.4.8(@types/node@20.16.5))(vue@3.5.11(typescript@5.6.2)) + '@vitejs/plugin-vue': 5.1.4(vite@5.4.8(@types/node@20.16.11))(vue@3.5.11(typescript@5.6.2)) '@vue/devtools-api': 7.4.6 '@vue/shared': 3.5.11 '@vueuse/core': 11.1.0(vue@3.5.11(typescript@5.6.2)) @@ -7223,7 +7165,7 @@ snapshots: mark.js: 8.11.1 minisearch: 7.1.0 shiki: 1.22.0 - vite: 5.4.8(@types/node@20.16.5) + vite: 5.4.8(@types/node@20.16.11) vue: 3.5.11(typescript@5.6.2) optionalDependencies: postcss: 8.4.47 @@ -7255,10 +7197,10 @@ snapshots: - typescript - universal-cookie - vitest@2.1.1(@types/node@20.16.5)(@vitest/ui@2.1.1)(jsdom@25.0.1): + vitest@2.1.1(@types/node@20.16.11)(@vitest/ui@2.1.1)(jsdom@25.0.1): dependencies: '@vitest/expect': 2.1.1 - '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.7(@types/node@20.16.5)) + '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.8(@types/node@20.16.11)) '@vitest/pretty-format': 2.1.1 '@vitest/runner': 2.1.1 '@vitest/snapshot': 2.1.1 @@ -7273,11 +7215,11 @@ snapshots: tinyexec: 0.3.0 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.7(@types/node@20.16.5) - vite-node: 2.1.1(@types/node@20.16.5) + vite: 5.4.8(@types/node@20.16.11) + vite-node: 2.1.1(@types/node@20.16.11) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 20.16.5 + '@types/node': 20.16.11 '@vitest/ui': 2.1.1(vitest@2.1.1) jsdom: 25.0.1 transitivePeerDependencies: @@ -7297,10 +7239,6 @@ snapshots: dependencies: vue: 3.5.11(typescript@5.6.2) - vue-demi@0.14.10(vue@3.5.8(typescript@5.6.2)): - dependencies: - vue: 3.5.8(typescript@5.6.2) - vue-tsc@2.1.6(typescript@5.6.2): dependencies: '@volar/typescript': 2.4.5 @@ -7318,16 +7256,6 @@ snapshots: optionalDependencies: typescript: 5.6.2 - vue@3.5.8(typescript@5.6.2): - dependencies: - '@vue/compiler-dom': 3.5.8 - '@vue/compiler-sfc': 3.5.8 - '@vue/runtime-dom': 3.5.8 - '@vue/server-renderer': 3.5.8(vue@3.5.8(typescript@5.6.2)) - '@vue/shared': 3.5.8 - optionalDependencies: - typescript: 5.6.2 - w3c-xmlserializer@5.0.0: dependencies: xml-name-validator: 5.0.0 From 17606589dd58151e43c037a3acfa82046b33e37c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 10 Oct 2024 14:28:02 +0200 Subject: [PATCH 25/47] chore(deps): update eslint (#3150) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 10 +- pnpm-lock.yaml | 296 ++++++++++++++++++++----------------------------- 2 files changed, 127 insertions(+), 179 deletions(-) diff --git a/package.json b/package.json index ca9a6542612..c14f3114f73 100644 --- a/package.json +++ b/package.json @@ -104,8 +104,8 @@ ], "devDependencies": { "@actions/github": "6.0.0", - "@eslint/compat": "1.1.1", - "@eslint/js": "9.11.0", + "@eslint/compat": "1.2.0", + "@eslint/js": "9.12.0", "@stylistic/eslint-plugin": "2.9.0", "@types/eslint__js": "8.42.3", "@types/node": "20.16.11", @@ -118,9 +118,9 @@ "@vueuse/core": "11.1.0", "commit-and-tag-version": "12.4.4", "cypress": "13.15.0", - "eslint": "9.11.0", + "eslint": "9.12.0", "eslint-config-prettier": "9.1.0", - "eslint-plugin-jsdoc": "50.2.4", + "eslint-plugin-jsdoc": "50.3.1", "eslint-plugin-prettier": "5.2.1", "eslint-plugin-unicorn": "55.0.0", "jiti": "1.21.6", @@ -135,7 +135,7 @@ "tsup": "8.3.0", "tsx": "4.19.1", "typescript": "5.6.2", - "typescript-eslint": "8.7.0", + "typescript-eslint": "8.8.1", "validator": "13.12.0", "vite": "5.4.8", "vitepress": "1.4.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3af8f09faec..ab1ce50f283 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,14 +12,14 @@ importers: specifier: 6.0.0 version: 6.0.0 '@eslint/compat': - specifier: 1.1.1 - version: 1.1.1 + specifier: 1.2.0 + version: 1.2.0(eslint@9.12.0(jiti@1.21.6)) '@eslint/js': - specifier: 9.11.0 - version: 9.11.0 + specifier: 9.12.0 + version: 9.12.0 '@stylistic/eslint-plugin': specifier: 2.9.0 - version: 2.9.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + version: 2.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) '@types/eslint__js': specifier: 8.42.3 version: 8.42.3 @@ -40,7 +40,7 @@ importers: version: 2.1.1(vitest@2.1.1) '@vitest/eslint-plugin': specifier: 1.1.4 - version: 1.1.4(@typescript-eslint/utils@8.8.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1) + version: 1.1.4(@typescript-eslint/utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1) '@vitest/ui': specifier: 2.1.1 version: 2.1.1(vitest@2.1.1) @@ -54,20 +54,20 @@ importers: specifier: 13.15.0 version: 13.15.0 eslint: - specifier: 9.11.0 - version: 9.11.0(jiti@1.21.6) + specifier: 9.12.0 + version: 9.12.0(jiti@1.21.6) eslint-config-prettier: specifier: 9.1.0 - version: 9.1.0(eslint@9.11.0(jiti@1.21.6)) + version: 9.1.0(eslint@9.12.0(jiti@1.21.6)) eslint-plugin-jsdoc: - specifier: 50.2.4 - version: 50.2.4(eslint@9.11.0(jiti@1.21.6)) + specifier: 50.3.1 + version: 50.3.1(eslint@9.12.0(jiti@1.21.6)) eslint-plugin-prettier: specifier: 5.2.1 - version: 5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.11.0(jiti@1.21.6)))(eslint@9.11.0(jiti@1.21.6))(prettier@3.3.3) + version: 5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.12.0(jiti@1.21.6)))(eslint@9.12.0(jiti@1.21.6))(prettier@3.3.3) eslint-plugin-unicorn: specifier: 55.0.0 - version: 55.0.0(eslint@9.11.0(jiti@1.21.6)) + version: 55.0.0(eslint@9.12.0(jiti@1.21.6)) jiti: specifier: 1.21.6 version: 1.21.6 @@ -105,8 +105,8 @@ importers: specifier: 5.6.2 version: 5.6.2 typescript-eslint: - specifier: 8.7.0 - version: 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + specifier: 8.8.1 + version: 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) validator: specifier: 13.12.0 version: 13.12.0 @@ -581,20 +581,29 @@ packages: resolution: {integrity: sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint/compat@1.1.1': - resolution: {integrity: sha512-lpHyRyplhGPL5mGEh6M9O5nnKk0Gz4bFI+Zu6tKlPpDUN7XshWvH9C/px4UVm87IAANE0W81CEsNGbS1KlzXpA==} + '@eslint/compat@1.2.0': + resolution: {integrity: sha512-CkPWddN7J9JPrQedEr2X7AjK9y1jaMJtxZ4A/+jTMFA2+n5BWhcKHW/EbJyARqg2zzQfgtWUtVmG3hrG6+nGpg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^9.10.0 + peerDependenciesMeta: + eslint: + optional: true '@eslint/config-array@0.18.0': resolution: {integrity: sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/core@0.6.0': + resolution: {integrity: sha512-8I2Q8ykA4J0x0o7cg67FPVnehcqWTBehu/lmY+bolPFHGjh49YzGBMXTvpqVgEbBdvNCSxj6iFgiIyHzf03lzg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/eslintrc@3.1.0': resolution: {integrity: sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/js@9.11.0': - resolution: {integrity: sha512-LPkkenkDqyzTFauZLLAPhIb48fj6drrfMvRGSL9tS3AcZBSVTllemLSNyCvHNNL2t797S/6DJNSIwRwXgMO/eQ==} + '@eslint/js@9.12.0': + resolution: {integrity: sha512-eohesHH8WFRUprDNyEREgqP6beG6htMeUYeCpkEgBCieCMme5r9zFWjzAJp//9S+Kub4rqE+jXe9Cp1a7IYIIA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/object-schema@2.1.4': @@ -609,12 +618,20 @@ packages: resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==} engines: {node: '>=14'} + '@humanfs/core@0.19.0': + resolution: {integrity: sha512-2cbWIHbZVEweE853g8jymffCA+NCMiuqeECeBBLm8dg2oFdjuGJhgN4UAbI+6v0CKbbhvtXA4qV8YR5Ji86nmw==} + engines: {node: '>=18.18.0'} + + '@humanfs/node@0.16.5': + resolution: {integrity: sha512-KSPA4umqSG4LHYRodq31VDwKAvaTF4xmVlzM8Aeh4PlU1JQ3IG0wiA8C25d3RQ9nJyM3mBHyI53K06VVL/oFFg==} + engines: {node: '>=18.18.0'} + '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} engines: {node: '>=12.22'} - '@humanwhocodes/retry@0.3.0': - resolution: {integrity: sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==} + '@humanwhocodes/retry@0.3.1': + resolution: {integrity: sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==} engines: {node: '>=18.18'} '@hutson/parse-repository-url@3.0.2': @@ -888,8 +905,8 @@ packages: '@types/yauzl@2.10.3': resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} - '@typescript-eslint/eslint-plugin@8.7.0': - resolution: {integrity: sha512-RIHOoznhA3CCfSTFiB6kBGLQtB/sox+pJ6jeFu6FxJvqL8qRxq/FfGO/UhsGgQM9oGdXkV4xUgli+dt26biB6A==} + '@typescript-eslint/eslint-plugin@8.8.1': + resolution: {integrity: sha512-xfvdgA8AP/vxHgtgU310+WBnLB4uJQ9XdyP17RebG26rLtDrQJV3ZYrcopX91GrHmMoH8bdSwMRh2a//TiJ1jQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -899,8 +916,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.7.0': - resolution: {integrity: sha512-lN0btVpj2unxHlNYLI//BQ7nzbMJYBVQX5+pbNXvGYazdlgYonMn4AhhHifQ+J4fGRYA/m1DjaQjx+fDetqBOQ==} + '@typescript-eslint/parser@8.8.1': + resolution: {integrity: sha512-hQUVn2Lij2NAxVFEdvIGxT9gP1tq2yM83m+by3whWFsWC+1y8pxxxHUFE1UqDu2VsGi2i6RLcv4QvouM84U+ow==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -909,16 +926,12 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@8.7.0': - resolution: {integrity: sha512-87rC0k3ZlDOuz82zzXRtQ7Akv3GKhHs0ti4YcbAJtaomllXoSO8hi7Ix3ccEvCd824dy9aIX+j3d2UMAfCtVpg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/scope-manager@8.8.1': resolution: {integrity: sha512-X4JdU+66Mazev/J0gfXlcC/dV6JI37h+93W9BRYXrSn0hrE64IoWgVkO9MSJgEzoWkxONgaQpICWg8vAN74wlA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.7.0': - resolution: {integrity: sha512-tl0N0Mj3hMSkEYhLkjREp54OSb/FI6qyCzfiiclvJvOqre6hsZTGSnHtmFLDU8TIM62G7ygEa1bI08lcuRwEnQ==} + '@typescript-eslint/type-utils@8.8.1': + resolution: {integrity: sha512-qSVnpcbLP8CALORf0za+vjLYj1Wp8HSoiI8zYU5tHxRVj30702Z1Yw4cLwfNKhTPWp5+P+k1pjmD5Zd1nhxiZA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -926,23 +939,10 @@ packages: typescript: optional: true - '@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} - '@typescript-eslint/types@8.8.1': resolution: {integrity: sha512-WCcTP4SDXzMd23N27u66zTKMuEevH4uzU8C9jf0RO4E04yVHgQgW+r+TeVTNnO1KIfrL8ebgVVYYMMO3+jC55Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.7.0': - resolution: {integrity: sha512-MC8nmcGHsmfAKxwnluTQpNqceniT8SteVwd2voYlmiSWGOtjvGXdPl17dYu2797GVscK30Z04WRM28CrKS9WOg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/typescript-estree@8.8.1': resolution: {integrity: sha512-A5d1R9p+X+1js4JogdNilDuuq+EHZdsH9MjTVxXOdVFfTJXunKJR/v+fNNyO4TnoOn5HqobzfRlc70NC6HTcdg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -952,22 +952,12 @@ packages: typescript: optional: true - '@typescript-eslint/utils@8.7.0': - 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 - '@typescript-eslint/utils@8.8.1': resolution: {integrity: sha512-/QkNJDbV0bdL7H7d0/y0qBbV2HTtf0TIyjSDTvvmQEzeVx8jEImEbLuOA4EsvE8gIgqMitns0ifb5uQhMj8d9w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@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} - '@typescript-eslint/visitor-keys@8.8.1': resolution: {integrity: sha512-0/TdC3aeRAsW7MDvYRwEc1Uwm0TIBfzjPFgg60UU2Haj5qsCs9cc3zNgY71edqE3LbWfF/WoZQd3lJoDXFQpag==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1770,8 +1760,8 @@ packages: peerDependencies: eslint: '>=7.0.0' - eslint-plugin-jsdoc@50.2.4: - resolution: {integrity: sha512-020jA+dXaXdb+TML3ZJBvpPmzwbNROjnYuTYi/g6A5QEmEjhptz4oPJDKkOGMIByNxsPpdTLzSU1HYVqebOX1w==} + eslint-plugin-jsdoc@50.3.1: + resolution: {integrity: sha512-SY9oUuTMr6aWoJggUS40LtMjsRzJPB5ZT7F432xZIHK3EfHF+8i48GbUBpwanrtlL9l1gILNTHK9o8gEhYLcKA==} engines: {node: '>=18'} peerDependencies: eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 @@ -1796,24 +1786,20 @@ packages: peerDependencies: eslint: '>=8.56.0' - eslint-scope@8.0.2: - resolution: {integrity: sha512-6E4xmrTw5wtxnLA5wYL3WDfhZ/1bUBGOXV0zQvVRDOtrR8D0p6W7fs3JweNYhwRYeGvd/1CKX2se0/2s7Q/nJA==} + eslint-scope@8.1.0: + resolution: {integrity: sha512-14dSvlhaVhKKsa9Fx1l8A17s7ah7Ef7wCakJ10LYk6+GYmP9yDti2oq2SEwcyndt6knfcZyhyxwY3i9yL78EQw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} eslint-visitor-keys@3.4.3: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-visitor-keys@4.0.0: - resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint-visitor-keys@4.1.0: resolution: {integrity: sha512-Q7lok0mqMUSf5a/AdAZkA5a/gHcO6snwQClVNNvFKCAVlxXucdU8pKydU5ZVZjBx5xr37vGbFFWtLQYreLzrZg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint@9.11.0: - resolution: {integrity: sha512-yVS6XODx+tMFMDFcG4+Hlh+qG7RM6cCJXtQhCKLSsr3XkLvWggHjCqjfh0XsPPnt1c56oaT6PMgW9XWQQjdHXA==} + eslint@9.12.0: + resolution: {integrity: sha512-UVIOlTEWxwIopRL1wgSQYdnVDcEvs2wyaO6DGo5mXqe3r16IoCNWkR29iHhyaP4cICWjbgbmFUGAhh0GJRuGZw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true peerDependencies: @@ -1822,10 +1808,6 @@ packages: jiti: optional: true - espree@10.1.0: - resolution: {integrity: sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - espree@10.2.0: resolution: {integrity: sha512-upbkBJbckcCNBDBDXEbuhjbP68n+scUd3k/U2EkyM9nw+I/jPiL4cLF/Al06CF96wRltFda16sxDFrxsI1v0/g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -3371,8 +3353,8 @@ packages: typedarray@0.0.6: resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} - typescript-eslint@8.7.0: - resolution: {integrity: sha512-nEHbEYJyHwsuf7c3V3RS7Saq+1+la3i0ieR3qP0yjqWSzVmh8Drp47uOl9LjbPANac4S7EFSqvcYIKXUUwIfIQ==} + typescript-eslint@8.8.1: + resolution: {integrity: sha512-R0dsXFt6t4SAFjUSKFjMh4pXDtq04SsFKCVGDP3ZOzNP7itF0jBcZYU4fMsZr4y7O7V7Nc751dDeESbe4PbQMQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -4057,14 +4039,16 @@ snapshots: '@esbuild/win32-x64@0.23.1': optional: true - '@eslint-community/eslint-utils@4.4.0(eslint@9.11.0(jiti@1.21.6))': + '@eslint-community/eslint-utils@4.4.0(eslint@9.12.0(jiti@1.21.6))': dependencies: - eslint: 9.11.0(jiti@1.21.6) + eslint: 9.12.0(jiti@1.21.6) eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.11.1': {} - '@eslint/compat@1.1.1': {} + '@eslint/compat@1.2.0(eslint@9.12.0(jiti@1.21.6))': + optionalDependencies: + eslint: 9.12.0(jiti@1.21.6) '@eslint/config-array@0.18.0': dependencies: @@ -4074,11 +4058,13 @@ snapshots: transitivePeerDependencies: - supports-color + '@eslint/core@0.6.0': {} + '@eslint/eslintrc@3.1.0': dependencies: ajv: 6.12.6 debug: 4.3.7(supports-color@8.1.1) - espree: 10.1.0 + espree: 10.2.0 globals: 14.0.0 ignore: 5.3.2 import-fresh: 3.3.0 @@ -4088,7 +4074,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/js@9.11.0': {} + '@eslint/js@9.12.0': {} '@eslint/object-schema@2.1.4': {} @@ -4098,9 +4084,16 @@ snapshots: '@fastify/busboy@2.1.1': {} + '@humanfs/core@0.19.0': {} + + '@humanfs/node@0.16.5': + dependencies: + '@humanfs/core': 0.19.0 + '@humanwhocodes/retry': 0.3.1 + '@humanwhocodes/module-importer@1.0.1': {} - '@humanwhocodes/retry@0.3.0': {} + '@humanwhocodes/retry@0.3.1': {} '@hutson/parse-repository-url@3.0.2': {} @@ -4288,10 +4281,10 @@ snapshots: '@shikijs/vscode-textmate@9.3.0': {} - '@stylistic/eslint-plugin@2.9.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': + '@stylistic/eslint-plugin@2.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@typescript-eslint/utils': 8.8.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) - eslint: 9.11.0(jiti@1.21.6) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) + eslint: 9.12.0(jiti@1.21.6) eslint-visitor-keys: 4.1.0 espree: 10.2.0 estraverse: 5.3.0 @@ -4368,15 +4361,15 @@ snapshots: '@types/node': 20.16.11 optional: true - '@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/eslint-plugin@8.8.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: '@eslint-community/regexpp': 4.11.1 - '@typescript-eslint/parser': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.7.0 - '@typescript-eslint/type-utils': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/utils': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/visitor-keys': 8.7.0 - eslint: 9.11.0(jiti@1.21.6) + '@typescript-eslint/parser': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.8.1 + '@typescript-eslint/type-utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/visitor-keys': 8.8.1 + eslint: 9.12.0(jiti@1.21.6) graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 @@ -4386,33 +4379,28 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/parser@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@typescript-eslint/scope-manager': 8.7.0 - '@typescript-eslint/types': 8.7.0 - '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) - '@typescript-eslint/visitor-keys': 8.7.0 + '@typescript-eslint/scope-manager': 8.8.1 + '@typescript-eslint/types': 8.8.1 + '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.2) + '@typescript-eslint/visitor-keys': 8.8.1 debug: 4.3.7(supports-color@8.1.1) - eslint: 9.11.0(jiti@1.21.6) + eslint: 9.12.0(jiti@1.21.6) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.7.0': - dependencies: - '@typescript-eslint/types': 8.7.0 - '@typescript-eslint/visitor-keys': 8.7.0 - '@typescript-eslint/scope-manager@8.8.1': dependencies: '@typescript-eslint/types': 8.8.1 '@typescript-eslint/visitor-keys': 8.8.1 - '@typescript-eslint/type-utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/type-utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) - '@typescript-eslint/utils': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) debug: 4.3.7(supports-color@8.1.1) ts-api-utils: 1.3.0(typescript@5.6.2) optionalDependencies: @@ -4421,25 +4409,8 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@8.7.0': {} - '@typescript-eslint/types@8.8.1': {} - '@typescript-eslint/typescript-estree@8.7.0(typescript@5.6.2)': - dependencies: - '@typescript-eslint/types': 8.7.0 - '@typescript-eslint/visitor-keys': 8.7.0 - debug: 4.3.7(supports-color@8.1.1) - fast-glob: 3.3.2 - is-glob: 4.0.3 - minimatch: 9.0.5 - semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.6.2) - optionalDependencies: - typescript: 5.6.2 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/typescript-estree@8.8.1(typescript@5.6.2)': dependencies: '@typescript-eslint/types': 8.8.1 @@ -4455,33 +4426,17 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) - '@typescript-eslint/scope-manager': 8.7.0 - '@typescript-eslint/types': 8.7.0 - '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) - eslint: 9.11.0(jiti@1.21.6) - transitivePeerDependencies: - - supports-color - - typescript - - '@typescript-eslint/utils@8.8.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.12.0(jiti@1.21.6)) '@typescript-eslint/scope-manager': 8.8.1 '@typescript-eslint/types': 8.8.1 '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.2) - eslint: 9.11.0(jiti@1.21.6) + eslint: 9.12.0(jiti@1.21.6) transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@8.7.0': - dependencies: - '@typescript-eslint/types': 8.7.0 - eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.8.1': dependencies: '@typescript-eslint/types': 8.8.1 @@ -4512,11 +4467,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/eslint-plugin@1.1.4(@typescript-eslint/utils@8.8.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1)': + '@vitest/eslint-plugin@1.1.4(@typescript-eslint/utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1)': dependencies: - eslint: 9.11.0(jiti@1.21.6) + eslint: 9.12.0(jiti@1.21.6) optionalDependencies: - '@typescript-eslint/utils': 8.8.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) typescript: 5.6.2 vitest: 2.1.1(@types/node@20.16.11)(@vitest/ui@2.1.1)(jsdom@25.0.1) @@ -5390,45 +5345,45 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-config-prettier@9.1.0(eslint@9.11.0(jiti@1.21.6)): + eslint-config-prettier@9.1.0(eslint@9.12.0(jiti@1.21.6)): dependencies: - eslint: 9.11.0(jiti@1.21.6) + eslint: 9.12.0(jiti@1.21.6) - eslint-plugin-jsdoc@50.2.4(eslint@9.11.0(jiti@1.21.6)): + eslint-plugin-jsdoc@50.3.1(eslint@9.12.0(jiti@1.21.6)): dependencies: '@es-joy/jsdoccomment': 0.48.0 are-docs-informative: 0.0.2 comment-parser: 1.4.1 debug: 4.3.7(supports-color@8.1.1) escape-string-regexp: 4.0.0 - eslint: 9.11.0(jiti@1.21.6) - espree: 10.1.0 + eslint: 9.12.0(jiti@1.21.6) + espree: 10.2.0 esquery: 1.6.0 parse-imports: 2.2.1 semver: 7.6.3 spdx-expression-parse: 4.0.0 - synckit: 0.9.1 + synckit: 0.9.2 transitivePeerDependencies: - supports-color - eslint-plugin-prettier@5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.11.0(jiti@1.21.6)))(eslint@9.11.0(jiti@1.21.6))(prettier@3.3.3): + eslint-plugin-prettier@5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.12.0(jiti@1.21.6)))(eslint@9.12.0(jiti@1.21.6))(prettier@3.3.3): dependencies: - eslint: 9.11.0(jiti@1.21.6) + eslint: 9.12.0(jiti@1.21.6) prettier: 3.3.3 prettier-linter-helpers: 1.0.0 synckit: 0.9.1 optionalDependencies: '@types/eslint': 9.6.1 - eslint-config-prettier: 9.1.0(eslint@9.11.0(jiti@1.21.6)) + eslint-config-prettier: 9.1.0(eslint@9.12.0(jiti@1.21.6)) - eslint-plugin-unicorn@55.0.0(eslint@9.11.0(jiti@1.21.6)): + eslint-plugin-unicorn@55.0.0(eslint@9.12.0(jiti@1.21.6)): dependencies: '@babel/helper-validator-identifier': 7.24.7 - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.12.0(jiti@1.21.6)) ci-info: 4.0.0 clean-regexp: 1.0.0 core-js-compat: 3.38.1 - eslint: 9.11.0(jiti@1.21.6) + eslint: 9.12.0(jiti@1.21.6) esquery: 1.6.0 globals: 15.9.0 indent-string: 4.0.0 @@ -5441,36 +5396,37 @@ snapshots: semver: 7.6.3 strip-indent: 3.0.0 - eslint-scope@8.0.2: + eslint-scope@8.1.0: dependencies: esrecurse: 4.3.0 estraverse: 5.3.0 eslint-visitor-keys@3.4.3: {} - eslint-visitor-keys@4.0.0: {} - eslint-visitor-keys@4.1.0: {} - eslint@9.11.0(jiti@1.21.6): + eslint@9.12.0(jiti@1.21.6): dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.12.0(jiti@1.21.6)) '@eslint-community/regexpp': 4.11.1 '@eslint/config-array': 0.18.0 + '@eslint/core': 0.6.0 '@eslint/eslintrc': 3.1.0 - '@eslint/js': 9.11.0 + '@eslint/js': 9.12.0 '@eslint/plugin-kit': 0.2.0 + '@humanfs/node': 0.16.5 '@humanwhocodes/module-importer': 1.0.1 - '@humanwhocodes/retry': 0.3.0 - '@nodelib/fs.walk': 1.2.8 + '@humanwhocodes/retry': 0.3.1 + '@types/estree': 1.0.6 + '@types/json-schema': 7.0.15 ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 debug: 4.3.7(supports-color@8.1.1) escape-string-regexp: 4.0.0 - eslint-scope: 8.0.2 - eslint-visitor-keys: 4.0.0 - espree: 10.1.0 + eslint-scope: 8.1.0 + eslint-visitor-keys: 4.1.0 + espree: 10.2.0 esquery: 1.6.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 @@ -5480,25 +5436,17 @@ snapshots: ignore: 5.3.2 imurmurhash: 0.1.4 is-glob: 4.0.3 - is-path-inside: 3.0.3 json-stable-stringify-without-jsonify: 1.0.1 lodash.merge: 4.6.2 minimatch: 3.1.2 natural-compare: 1.4.0 optionator: 0.9.4 - strip-ansi: 6.0.1 text-table: 0.2.0 optionalDependencies: jiti: 1.21.6 transitivePeerDependencies: - supports-color - espree@10.1.0: - dependencies: - acorn: 8.12.1 - acorn-jsx: 5.3.2(acorn@8.12.1) - eslint-visitor-keys: 4.0.0 - espree@10.2.0: dependencies: acorn: 8.12.1 @@ -7027,11 +6975,11 @@ snapshots: typedarray@0.0.6: {} - typescript-eslint@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2): + typescript-eslint@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2): dependencies: - '@typescript-eslint/eslint-plugin': 8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/parser': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/utils': 8.7.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/eslint-plugin': 8.8.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: From 2f93d9da383638b6d232ff8b3cae827ea4c80150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Cie=C5=9Blar?= Date: Thu, 10 Oct 2024 17:57:27 +0200 Subject: [PATCH 26/47] feat: add book module (#2949) --- docs/.vitepress/api-pages.ts | 1 + scripts/generate-locales.ts | 1 + src/definitions/book.ts | 36 +++ src/definitions/definitions.ts | 2 + src/definitions/index.ts | 1 + src/faker.ts | 2 + src/index.ts | 2 + src/locales/en/book/author.ts | 229 ++++++++++++++++ src/locales/en/book/format.ts | 1 + src/locales/en/book/genre.ts | 27 ++ src/locales/en/book/index.ts | 22 ++ src/locales/en/book/publisher.ts | 262 +++++++++++++++++++ src/locales/en/book/series.ts | 36 +++ src/locales/en/book/title.ts | 243 +++++++++++++++++ src/locales/en/index.ts | 2 + src/locales/pl/book/author.ts | 34 +++ src/locales/pl/book/format.ts | 1 + src/locales/pl/book/genre.ts | 20 ++ src/locales/pl/book/index.ts | 22 ++ src/locales/pl/book/publisher.ts | 12 + src/locales/pl/book/series.ts | 23 ++ src/locales/pl/book/title.ts | 101 +++++++ src/locales/pl/index.ts | 2 + src/modules/book/index.ts | 93 +++++++ test/modules/__snapshots__/book.spec.ts.snap | 37 +++ test/modules/book.spec.ts | 77 ++++++ 26 files changed, 1289 insertions(+) create mode 100644 src/definitions/book.ts create mode 100644 src/locales/en/book/author.ts create mode 100644 src/locales/en/book/format.ts create mode 100644 src/locales/en/book/genre.ts create mode 100644 src/locales/en/book/index.ts create mode 100644 src/locales/en/book/publisher.ts create mode 100644 src/locales/en/book/series.ts create mode 100644 src/locales/en/book/title.ts create mode 100644 src/locales/pl/book/author.ts create mode 100644 src/locales/pl/book/format.ts create mode 100644 src/locales/pl/book/genre.ts create mode 100644 src/locales/pl/book/index.ts create mode 100644 src/locales/pl/book/publisher.ts create mode 100644 src/locales/pl/book/series.ts create mode 100644 src/locales/pl/book/title.ts create mode 100644 src/modules/book/index.ts create mode 100644 test/modules/__snapshots__/book.spec.ts.snap create mode 100644 test/modules/book.spec.ts diff --git a/docs/.vitepress/api-pages.ts b/docs/.vitepress/api-pages.ts index 7df42281564..3a4144123d5 100644 --- a/docs/.vitepress/api-pages.ts +++ b/docs/.vitepress/api-pages.ts @@ -11,6 +11,7 @@ export const apiPages = [ items: [ { text: 'Airline', link: '/api/airline.html' }, { text: 'Animal', link: '/api/animal.html' }, + { text: 'Book', link: '/api/book.html' }, { text: 'Color', link: '/api/color.html' }, { text: 'Commerce', link: '/api/commerce.html' }, { text: 'Company', link: '/api/company.html' }, diff --git a/scripts/generate-locales.ts b/scripts/generate-locales.ts index 7172ea892f5..e18bdb716fd 100644 --- a/scripts/generate-locales.ts +++ b/scripts/generate-locales.ts @@ -52,6 +52,7 @@ type DefinitionType = { const definitionsTypes: DefinitionType = { airline: 'AirlineDefinition', animal: 'AnimalDefinition', + book: 'BookDefinition', color: 'ColorDefinition', commerce: 'CommerceDefinition', company: 'CompanyDefinition', diff --git a/src/definitions/book.ts b/src/definitions/book.ts new file mode 100644 index 00000000000..c10e530cc71 --- /dev/null +++ b/src/definitions/book.ts @@ -0,0 +1,36 @@ +import type { LocaleEntry } from './definitions'; + +/** + * The possible definitions related to books. + */ +export type BookDefinition = LocaleEntry<{ + /** + * The names of actual book authors. + */ + author: string[]; + + /** + * The formats of a book. + */ + format: string[]; + + /** + * The names of some book genres. + */ + genre: string[]; + + /** + * The names of actual book series. + */ + series: string[]; + + /** + * The names of actual book titles. + */ + title: string[]; + + /** + * The names of actual book publishers. + */ + publisher: string[]; +}>; diff --git a/src/definitions/definitions.ts b/src/definitions/definitions.ts index cf760f0bcf0..d207ec123f3 100644 --- a/src/definitions/definitions.ts +++ b/src/definitions/definitions.ts @@ -1,5 +1,6 @@ import type { AirlineDefinition } from './airline'; import type { AnimalDefinition } from './animal'; +import type { BookDefinition } from './book'; import type { ColorDefinition } from './color'; import type { CommerceDefinition } from './commerce'; import type { CompanyDefinition } from './company'; @@ -34,6 +35,7 @@ export type LocaleDefinition = { metadata?: MetadataDefinition; airline?: AirlineDefinition; animal?: AnimalDefinition; + book?: BookDefinition; color?: ColorDefinition; commerce?: CommerceDefinition; company?: CompanyDefinition; diff --git a/src/definitions/index.ts b/src/definitions/index.ts index 367892b7b47..68ac04011f1 100644 --- a/src/definitions/index.ts +++ b/src/definitions/index.ts @@ -1,5 +1,6 @@ export type { AirlineDefinition } from './airline'; export type { AnimalDefinition } from './animal'; +export type { BookDefinition } from './book'; export type { ColorDefinition } from './color'; export type { CommerceDefinition, diff --git a/src/faker.ts b/src/faker.ts index 7b7f5e162a3..77630d29ee7 100644 --- a/src/faker.ts +++ b/src/faker.ts @@ -5,6 +5,7 @@ import type { LocaleProxy } from './internal/locale-proxy'; import { createLocaleProxy } from './internal/locale-proxy'; import { AirlineModule } from './modules/airline'; import { AnimalModule } from './modules/animal'; +import { BookModule } from './modules/book'; import { ColorModule } from './modules/color'; import { CommerceModule } from './modules/commerce'; import { CompanyModule } from './modules/company'; @@ -63,6 +64,7 @@ export class Faker extends SimpleFaker { readonly airline: AirlineModule = new AirlineModule(this); readonly animal: AnimalModule = new AnimalModule(this); + readonly book: BookModule = new BookModule(this); readonly color: ColorModule = new ColorModule(this); readonly commerce: CommerceModule = new CommerceModule(this); readonly company: CompanyModule = new CompanyModule(this); diff --git a/src/index.ts b/src/index.ts index f94b3aa0133..bef353cea8a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,7 @@ export type { AirlineDefinition, AnimalDefinition, + BookDefinition, ColorDefinition, CommerceDefinition, CommerceProductNameDefinition, @@ -36,6 +37,7 @@ export * from './locales'; export { Aircraft } from './modules/airline'; export type { AircraftType, AirlineModule } from './modules/airline'; export type { AnimalModule } from './modules/animal'; +export type { BookModule } from './modules/book'; export { CssFunction, CssSpace } from './modules/color'; export type { Casing, diff --git a/src/locales/en/book/author.ts b/src/locales/en/book/author.ts new file mode 100644 index 00000000000..c2483428260 --- /dev/null +++ b/src/locales/en/book/author.ts @@ -0,0 +1,229 @@ +export default [ + 'A.A. Milne', + 'Agatha Christie', + 'Alan Moore and Dave Gibbons', + 'Albert Camus', + 'Aldous Huxley', + 'Alexander Pope', + 'Alexandre Dumas', + 'Alice Walker', + 'Andrew Lang', + 'Anne Frank', + 'Anthony Burgess', + 'Anthony Trollope', + 'Antoine de Saint-Exupéry', + 'Anton Chekhov', + 'Anton Pavlovich Chekhov', + 'Arthur Conan Doyle', + 'Arthur Schopenhauer', + 'Aylmer Maude', + 'Ayn Rand', + 'Beatrix Potter', + 'Benjamin Disraeli', + 'Benjamin Jowett', + 'Bernard Shaw', + 'Bertrand Russell', + 'Bhagavanlal Indrajit', + 'Boris Pasternak', + 'Bram Stoker', + 'Brian Evenson', + 'C.E. Brock', + 'C.S. Lewis', + 'Carson McCallers', + 'Charles Dickens', + 'Charles E. Derbyshire', + 'Charlotte Brontë', + 'Charlotte Perkins Gilman', + 'Chinua Achebe', + 'Clifford R. Adams', + 'Constance Garnett', + 'Cormac McCarthy', + 'D.H. Lawrence', + 'Dan Brown', + 'Daniel Defoe', + 'Dante Alighieri', + 'Dashiell Hammett', + 'David Widger', + 'David Wyllie', + 'Dean Koontz', + 'Don DeLillo', + 'E.M. Forster', + 'Edgar Allan Poe', + 'Edgar Rice Burroughs', + 'Elizabeth Cleghorn Gaskell', + 'Elizabeth Von Arnim', + 'Emily Brontë', + 'Erich Remarque', + 'Ernest Hemingway', + 'Evelyn Waugh', + 'F. Scott Fitzgerald', + 'Ford Madox Ford', + 'Frances Hodgson Burnett', + 'Frank Herbert', + 'Frank T. Merrill', + 'Franz Kafka', + 'Friedrich Wilhelm Nietzsche', + 'Fyodor Dostoyevsky', + 'G.K. Chesterton', + 'Gabriel Garcia Marquez', + 'Geoffrey Chaucer', + 'George Eliot', + 'George Grossmith', + 'George Orwell', + 'George R. R. Martin', + 'George Saunders', + 'Grady Ward', + 'Graham Greene', + 'Gustave Doré', + 'Gustave Flaubert', + 'Guy de Maupassant', + 'Günter Grass', + 'H.G. Wells', + 'H.P. Lovecraft', + 'Harper Lee', + 'Harriet Beecher Stowe', + 'Haruki Murakami', + 'Henrik Ibsen', + 'Henry David Thoreau', + 'Henry Fielding', + 'Henry James', + 'Henry Miller', + 'Henry Morley', + 'Herman Melville', + 'Hermann Broch', + 'Homer', + 'Honoré de Balzac', + 'Ian McEwan', + 'Isabel Florence Hapgood', + 'Italo Calvino', + 'J.D. Salinger', + 'J.K. Rowling', + 'J.M. Barrie', + 'J.R.R. Tolkien', + 'Jack Kerouac', + 'Jack London', + 'Jacob Grimm', + 'Jacqueline Crooks', + 'James Baldwin', + 'James Dickey', + 'James Ellroy', + 'James Joyce', + 'James Patterson', + 'Jane Austen', + 'Johann Wolfgang von Goethe', + 'John Bunyan', + 'John Camden Hotten', + 'John Dos Passos', + 'John Green', + 'John Grisham', + 'John Kennedy Toole', + 'John Milton', + 'John Ormsby', + 'John Steinbeck', + 'John Updike', + 'Jonathan Franzen', + 'Jonathan Swift', + 'Joseph Conrad', + 'Joseph Heller', + 'José Rizal', + 'Judy Blume', + 'Jules Verne', + 'Junot Diaz', + 'Karl Marx', + 'Kazuo Ishiguro', + 'Ken Follett', + 'Ken Kesey', + 'Kenneth Grahame', + 'Khaled Hosseini', + 'Kingsley Amis', + 'Kurt Vonnegut', + 'L. Frank Baum', + 'L.M. Montgomery', + 'Laurence Sterne', + 'Leo Tolstoy', + 'Lewis Carroll', + 'Louisa May Alcott', + 'Louise Maude', + 'Malcolm Lowry', + 'Marcel Proust', + 'Margaret Atwood', + 'Margaret Mitchell', + 'Marilynne Robinson', + 'Mark Twain', + 'Martin Amis', + 'Mary Shelley', + 'Michael Chabon', + 'Miguel de Cervantes', + 'Mikhail Bulgakov', + 'Muriel Spark', + 'Nancy Mitford', + 'Nathanael West', + 'Nathaniel Hawthorne', + 'Neil Gaiman', + 'Niccolo Machiavelli', + 'Norman Mailer', + 'Oscar Levy', + 'Oscar Wilde', + 'P.G. Wodehouse', + 'Paulo Coelho', + 'Peter Carey', + 'Philip Pullman', + 'Philip Roth', + 'Plato', + 'R.L. Stine', + 'Rachel Kushner', + 'Ralph Ellison', + 'Ray Bradbury', + 'Raymond Chandler', + 'Richard Wagner', + 'Richard Wright', + 'Richard Yates', + 'Roald Dahl', + 'Robert Graves', + 'Robert Louis Stevenson', + 'Robert Penn Warren', + 'Rudyard Kipling', + 'Salman Rushdie', + 'Samuel Beckett', + 'Samuel Butler', + 'Samuel Richardson', + 'Saul Bellow', + 'Shivaram Parashuram Bhide', + 'Sir Arthur Conan Doyle', + 'Sir Richard Francis Burton', + 'Stendhal', + 'Stephen Hawking', + 'Stephen King', + 'Sun Tzu', + 'Suzanne Collins', + 'T. Smollett', + 'T.S. Eliot', + 'Theodore Alois Buckley', + 'Theodore Dreiser', + 'Thomas Hardy', + 'Thomas Love Peacock', + 'Thomas Mann', + 'Toni Morrison', + 'Truman Capote', + 'V.S. Naipaul', + 'Vance Packard', + 'Vatsyayana', + 'Victor Hugo', + 'Virgil', + 'Virginia Woolf', + 'Vladimir Nabokov', + 'Voltaire', + 'W.G. Sebald', + 'W.K. Marriott', + 'Walker Percy', + 'Walt Whitman', + 'Walter Scott', + 'Wilhelm Grimm', + 'Wilkie Collins', + 'William Faulkner', + 'William Gibson', + 'William Golding', + 'William Makepeace Thackeray', + 'William Shakespeare', + 'Zadie Smith', +]; diff --git a/src/locales/en/book/format.ts b/src/locales/en/book/format.ts new file mode 100644 index 00000000000..44dcc1fbc4a --- /dev/null +++ b/src/locales/en/book/format.ts @@ -0,0 +1 @@ +export default ['Audiobook', 'Ebook', 'Hardcover', 'Paperback']; diff --git a/src/locales/en/book/genre.ts b/src/locales/en/book/genre.ts new file mode 100644 index 00000000000..d0f26aee2fb --- /dev/null +++ b/src/locales/en/book/genre.ts @@ -0,0 +1,27 @@ +export default [ + 'Adventure', + 'Biography', + 'Business', + "Children's Literature", + 'Classic', + 'Comedy', + 'Comic', + 'Detective', + 'Drama', + 'Fantasy', + 'Graphic Novel', + 'Historical Fiction', + 'Horror', + 'Memoir', + 'Mystery', + 'Mythology', + 'Philosophy', + 'Poetry', + 'Psychology', + 'Religion', + 'Romance', + 'Science Fiction', + 'Thriller', + 'Western', + 'Young Adult', +]; diff --git a/src/locales/en/book/index.ts b/src/locales/en/book/index.ts new file mode 100644 index 00000000000..43ead3988d5 --- /dev/null +++ b/src/locales/en/book/index.ts @@ -0,0 +1,22 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { BookDefinition } from '../../..'; +import author from './author'; +import format from './format'; +import genre from './genre'; +import publisher from './publisher'; +import series from './series'; +import title from './title'; + +const book: BookDefinition = { + author, + format, + genre, + publisher, + series, + title, +}; + +export default book; diff --git a/src/locales/en/book/publisher.ts b/src/locales/en/book/publisher.ts new file mode 100644 index 00000000000..e80102bb744 --- /dev/null +++ b/src/locales/en/book/publisher.ts @@ -0,0 +1,262 @@ +export default [ + 'Academic Press', + 'Ace Books', + 'Addison-Wesley', + 'Adis International', + 'Airiti Press', + 'Allen Ltd', + 'Andrews McMeel Publishing', + 'Anova Books', + 'Anvil Press Poetry', + 'Applewood Books', + 'Apress', + 'Athabasca University Press', + 'Atheneum Books', + 'Atheneum Publishers', + 'Atlantic Books', + 'Atlas Press', + 'BBC Books', + 'Ballantine Books', + 'Banner of Truth Trust', + 'Bantam Books', + 'Bantam Spectra', + 'Barrie & Jenkins', + 'Basic Books', + 'Belknap Press', + 'Bella Books', + 'Bellevue Literary Press', + 'Berg Publishers', + 'Berkley Books', + 'Bison Books', + 'Black Dog Publishing', + 'Black Library', + 'Black Sparrow Books', + 'Blackie and Son Limited', + 'Blackstaff Press', + 'Blackwell Publishing', + 'Bloodaxe Books', + 'Bloomsbury Publishing Plc', + 'Blue Ribbon Books', + 'Book League of America', + 'Book Works', + 'Booktrope', + 'Borgo Press', + 'Bowes & Bowes', + 'Boydell & Brewer', + 'Breslov Research Institute', + 'Brill', + 'Brimstone Press', + 'Broadview Press', + 'Burns & Oates', + 'Butterworth-Heinemann', + 'Caister Academic Press', + 'Cambridge University Press', + 'Candlewick Press', + 'Canongate Books', + 'Carcanet Press', + 'Carlton Books', + 'Carlton Publishing Group', + 'Carnegie Mellon University Press', + 'Casemate Publishers', + 'Cengage Learning', + 'Central European University Press', + 'Chambers Harrap', + "Charles Scribner's Sons", + 'Chatto and Windus', + 'Chick Publications', + 'Chronicle Books', + 'Churchill Livingstone', + 'Cisco Press', + 'City Lights Publishers', + 'Cloverdale Corporation', + 'D. Appleton & Company', + 'D. Reidel', + 'DAW Books', + 'Da Capo Press', + 'Daedalus Publishing', + 'Dalkey Archive Press', + 'Darakwon Press', + 'David & Charles', + 'Dedalus Books', + 'Del Rey Books', + 'E. P. Dutton', + 'ECW Press', + 'Earthscan', + 'Edupedia Publications', + 'Eel Pie Publishing', + 'Eerdmans Publishing', + "Ellora's Cave", + 'Elsevier', + 'Emerald Group Publishing', + 'Etruscan Press', + 'FabJob', + 'Faber and Faber', + 'Fairview Press', + 'Farrar, Straus & Giroux', + 'Fearless Books', + 'Felony & Mayhem Press', + 'Firebrand Books', + 'Flame Tree Publishing', + 'Focal Press', + 'G-Unit Books', + "G. P. Putnam's Sons", + 'Gaspereau Press', + "Gay Men's Press", + 'Gefen Publishing House', + 'George H. Doran Company', + 'George Newnes', + 'George Routledge & Sons', + 'Godwit Press', + 'Golden Cockerel Press', + 'HMSO', + 'Hachette Book Group USA', + 'Hackett Publishing Company', + 'Hamish Hamilton', + 'Happy House', + 'Harcourt Assessment', + 'Harcourt Trade Publishers', + 'Harlequin Enterprises Ltd', + 'Harper & Brothers', + 'Harper & Row', + 'HarperCollins', + 'HarperPrism', + 'HarperTrophy', + 'Harry N. Abrams, Inc.', + 'Harvard University Press', + 'Harvest House', + 'Harvill Press at Random House', + 'Hawthorne Books', + 'Hay House', + 'Haynes Manuals', + 'Heyday Books', + 'Hodder & Stoughton', + 'Hodder Headline', + 'Hogarth Press', + 'Holland Park Press', + 'Holt McDougal', + 'Horizon Scientific Press', + 'Ian Allan Publishing', + 'Ignatius Press', + 'Imperial War Museum', + 'Indiana University Press', + 'J. M. Dent', + 'Jaico Publishing House', + 'Jarrolds Publishing', + 'John Blake Publishing', + 'Karadi Tales', + 'Kensington Books', + 'Kessinger Publishing', + 'Kodansha', + 'Kogan Page', + 'Koren Publishers Jerusalem', + 'Ladybird Books', + 'Leaf Books', + 'Leafwood Publishers', + 'Left Book Club', + 'Legend Books', + 'Lethe Press', + 'Libertas Academica', + 'Liberty Fund', + 'Library of America', + 'Lion Hudson', + 'Macmillan Publishers', + 'Mainstream Publishing', + 'Manchester University Press', + 'Mandrake Press', + 'Mandrake of Oxford', + 'Manning Publications', + 'Manor House Publishing', + 'Mapin Publishing', + 'Marion Boyars Publishers', + 'Mark Batty Publisher', + 'Marshall Cavendish', + 'Marshall Pickering', + 'Martinus Nijhoff Publishers', + 'Mascot Books', + 'Matthias Media', + 'McClelland and Stewart', + 'McFarland & Company', + 'McGraw Hill Financial', + 'McGraw-Hill Education', + 'Medknow Publications', + 'Naiad Press', + 'Nauka', + 'NavPress', + 'New Directions Publishing', + 'New English Library', + 'New Holland Publishers', + 'New Village Press', + 'Newnes', + 'No Starch Press', + 'Nonesuch Press', + "O'Reilly Media", + 'Oberon Books', + 'Open Court Publishing Company', + 'Open University Press', + 'Orchard Books', + 'Orion Books', + 'Packt Publishing', + 'Palgrave Macmillan', + 'Pan Books', + 'Pantheon Books at Random House', + 'Papadakis Publisher', + 'Parachute Publishing', + 'Parragon', + 'Pathfinder Press', + 'Paulist Press', + 'Pavilion Books', + 'Peace Hill Press', + 'Pecan Grove Press', + 'Pen and Sword Books', + 'Penguin Books', + 'Random House', + 'Reed Elsevier', + 'Reed Publishing', + 'SAGE Publications', + 'Salt Publishing', + 'Sams Publishing', + 'Schocken Books', + 'Scholastic Press', + 'Seagull Books', + 'Secker & Warburg', + 'Shambhala Publications', + 'Shire Books', + 'Shoemaker & Hoard Publishers', + 'Shuter & Shooter Publishers', + 'Sidgwick & Jackson', + 'Signet Books', + 'Simon & Schuster', + "St. Martin's Press", + 'T & T Clark', + 'Tachyon Publications', + 'Tammi', + 'Target Books', + 'Tarpaulin Sky Press', + 'Tartarus Press', + 'Tate Publishing & Enterprises', + 'Taunton Press', + 'Taylor & Francis', + 'Ten Speed Press', + 'UCL Press', + 'Unfinished Monument Press', + 'United States Government Publishing Office', + 'University of Akron Press', + 'University of Alaska Press', + 'University of California Press', + 'University of Chicago Press', + 'University of Michigan Press', + 'University of Minnesota Press', + 'University of Nebraska Press', + 'Velazquez Press', + 'Verso Books', + 'Victor Gollancz Ltd', + 'Viking Press', + 'Vintage Books', + 'Vintage Books at Random House', + 'Virago Press', + 'Virgin Publishing', + 'Voyager Books', + 'Zed Books', + 'Ziff Davis Media', + 'Zondervan', +]; diff --git a/src/locales/en/book/series.ts b/src/locales/en/book/series.ts new file mode 100644 index 00000000000..2326397b1db --- /dev/null +++ b/src/locales/en/book/series.ts @@ -0,0 +1,36 @@ +export default [ + 'A Song of Ice and Fire', + 'Anna Karenina', + 'Colonel Race', + 'Discworld', + 'Dune', + 'Harry Potter', + 'Hercule Poirot', + 'His Dark Materials', + 'Jane Austen Murder Mysteries', + 'Little Women', + 'Outlander', + 'Percy Jackson', + 'Sherlock Holmes', + 'The Arc of a Scythe', + 'The Bartimaeus Trilogy', + 'The Border Trilogy', + 'The Chronicles of Narnia', + 'The Dark Tower', + 'The Dresden Files', + 'The Eighth Life', + 'The Foundation Series', + "The Hitchhiker's Guide to the Galaxy", + 'The Hunger Games', + 'The Infinity Cycle', + 'The Inheritance Cycle', + 'The Lord of the Rings', + 'The Maze Runner', + 'The Prison Healer', + 'The Red Rising Saga', + 'The Southern Reach', + 'The Wheel of Time', + 'Thursday Next Series', + 'Twilight', + 'War and Peace', +]; diff --git a/src/locales/en/book/title.ts b/src/locales/en/book/title.ts new file mode 100644 index 00000000000..e94437d57f6 --- /dev/null +++ b/src/locales/en/book/title.ts @@ -0,0 +1,243 @@ +export default [ + '1984', + '20,000 Leagues Under the Sea', + 'A Bend in the River', + 'A Brief History of Time', + 'A Clockwork Orange', + 'A Confederacy of Dunces', + "A Doll's House", + 'A Handful of Dust', + 'A Modest Proposal', + 'A Passage to India', + 'A Portrait of the Artist as a Young Man', + 'A Room with a View', + 'A Study in Scarlet', + 'A Tale of Two Cities', + 'A Wrinkle in Time', + 'Absalom, Absalom!', + 'Adventures of Huckleberry Finn', + "Alice's Adventures in Wonderland", + 'All Quiet on the Western Front', + "All the King's Men", + 'American Pastoral', + 'An American Tragedy', + 'And Then There Were None', + 'Animal Farm', + 'Anna Karenina', + 'Anne of Green Gables', + "Are You There God? It's Me, Margaret", + 'As I Lay Dying', + 'Atlas Shrugged', + 'Atonement', + 'Austerlitz', + 'Beloved', + 'Beyond Good and Evil', + 'Bible', + 'Bleak House', + 'Blood Meridian', + 'Brave New World', + 'Brideshead Revisited', + 'Candide', + 'Carmilla', + 'Catch-22', + 'Charlie and the Chocolate Factory', + "Charlotte's Web", + 'Clarissa', + 'Cranford', + 'Crime and Punishment', + 'Dao De Jing: A Minimalist Translation', + 'David Copperfield', + 'Deliverance', + 'Don Quixote', + 'Dora', + 'Dr. Zhivago', + 'Dracula', + 'Dubliners', + 'Dune', + 'East of Eden', + 'Emma', + 'Fahrenheit 451', + 'Faust', + 'For Whom the Bell Tolls', + 'Frankenstein', + 'Freakonomics', + 'Go Tell It on the Mountain', + 'Gone with the Wind', + 'Great Expectations', + "Grimms' Fairy Tales", + "Gulliver's Travels", + 'Hamlet', + "Harry Potter and the Sorcerer's Stone", + 'Heart of Darkness', + 'Herzog', + 'His Dark Materials', + 'Hitting the line', + 'Housekeeping', + 'I, Claudius', + "If on a Winter's Night a Traveler", + 'In Cold Blood', + 'In Search of Lost Time', + 'Invisible Man', + 'It', + 'Jane Eyre', + 'Josefine Mutzenbacher', + 'Jude the Obscure', + 'L.A. Confidential', + 'Leaves of Grass', + 'Les Miserables', + 'Life of Pi', + 'Little Women', + 'Lolita', + 'Long Walk to Freedom', + 'Lord Jim', + 'Lord of the Flies', + 'Lucky Jim', + 'Madame Bovary', + 'Malone Dies', + 'Meditations', + 'Men Without Women', + 'Metamorphosis', + 'Middlemarch', + "Midnight's Children", + 'Moby Dick', + 'Money', + 'Mrs. Dalloway', + 'My Bondage and My Freedom', + 'My Life', + 'Native Son', + 'Neuromancer', + 'Never Let Me Go', + 'Nightmare Abbey', + 'Nineteen Eighty Four', + 'Nostromo', + 'Notes from the Underground ', + 'Of Mice and Men', + 'Oliver Twist', + 'On the Duty of Civil Disobedience', + 'On the Road', + "One Flew Over the Cuckoo's Nest", + 'One Hundred Years of Solitude', + 'One Thousand and One Nights', + 'Oscar and Lucinda', + 'Pale Fire', + 'Paradise Lost', + 'Peter Pan', + "Portnoy's Complaint", + 'Pride and Prejudice', + 'Rabbit, Run', + 'Republic', + 'Revolutionary Road', + 'Robinson Crusoe', + 'Romeo and Juliet', + 'Ruth Fielding in Alaska', + 'Scoop', + 'Second Treatise of Government', + 'Slaughterhouse Five', + 'Stories of Anton Chekhov', + 'Sybil', + "Tess of the d'Urbervilles", + 'The Adventures of Augie March', + 'The Adventures of Huckleberry Finn', + 'The Adventures of Sherlock Holmes', + 'The Adventures of Tom Sawyer', + 'The Aeneid', + 'The Alchemist', + 'The Ambassadors', + 'The Art of War', + 'The Big Sleep', + 'The Black Sheep', + 'The Blue Castle', + 'The Brief Wondrous Life of Oscar Wao', + 'The Brothers Karamazov', + 'The Call of the Wild', + 'The Canterbury Tales', + 'The Catcher in the Rye', + 'The Color Purple', + 'The Complete Works of Edgar Allen Poe', + 'The Corrections', + 'The Count of Monte Cristo', + 'The Day of the Locust', + 'The Diary of a Nobody', + 'The Diary of a Young Girl', + 'The Divine Comedy', + 'The Enchanted April', + 'The Fountainhead', + 'The Golden Bowl', + 'The Golden Notebook', + 'The Good Soldier', + 'The Grapes of Wrath', + 'The Great Gatsby', + "The Handmaid's Tale", + 'The Heart is a Lonely Hunter', + 'The Heart of the Matter', + 'The Hobbit', + 'The Hound of the Baskervilles', + 'The Idiot', + 'The Iliad', + 'The King in Yellow', + 'The Kite Runner', + 'The Lion, the Witch, and the Wardrobe', + 'The Little Prince', + 'The Lord of the Rings', + 'The Magic Mountain', + 'The Maltese Falcon', + 'The Master and Margarita', + 'The Moviegoer', + 'The Naked and the Dead', + 'The Odyssey', + 'The Old Man and the Sea', + 'The Pickwick Papers', + 'The Picture of Dorian Gray', + "The Pilgrim's Progress", + 'The Pillars of the Earth', + 'The Plague', + 'The Portrait of a Lady', + 'The Prime of Miss Jean Brodie', + 'The Prince', + 'The Problems of Philosophy', + 'The Prophet', + 'The Pursuit of Love', + 'The Rainbow', + 'The Red and the Black', + 'The Remains of the Day', + 'The Republic', + 'The Scarlet Letter', + 'The Sleepwalkers', + 'The Sound and the Fury', + 'The Stand', + 'The Strange Case of Dr. Jekyll and Mr. Hyde', + 'The Stranger', + 'The Sun Also Rises', + 'The Thirty-Nine Steps', + 'The Three Musketeers', + 'The Time Machine', + 'The Tin Drum', + 'The Trial', + 'The War of the Worlds', + 'The Waste Land', + 'The Way We Live Now', + 'The Wind in the Willows', + 'The Woman in White', + 'The Wonderful Wizard of Oz', + 'The Works of Edgar Allan Poe', + 'The Yellow Wallpaper', + 'Things Fall Apart', + 'Tinker, Tailor, Soldier, Spy', + 'To Kill a Mockingbird', + 'To the Lighthouse', + 'Tom Jones', + 'Treasure Island', + 'Tristram Shandy', + 'Tropic of Cancer', + 'U.S.A. Trilogy', + 'Ulysses', + "Uncle Tom's Cabin", + 'Under the Volcano', + 'Underworld', + 'Vanity Fair', + 'Walden', + 'War and Peace', + 'Watchmen', + 'Winnie-the-Pooh', + 'Wuthering Heights', +]; diff --git a/src/locales/en/index.ts b/src/locales/en/index.ts index e325d91a6d9..7c932075665 100644 --- a/src/locales/en/index.ts +++ b/src/locales/en/index.ts @@ -6,6 +6,7 @@ import type { LocaleDefinition } from '../..'; import airline from './airline'; import animal from './animal'; import app from './app'; +import book from './book'; import cell_phone from './cell_phone'; import color from './color'; import commerce from './commerce'; @@ -31,6 +32,7 @@ const en: LocaleDefinition = { airline, animal, app, + book, cell_phone, color, commerce, diff --git a/src/locales/pl/book/author.ts b/src/locales/pl/book/author.ts new file mode 100644 index 00000000000..78c3a2a66c6 --- /dev/null +++ b/src/locales/pl/book/author.ts @@ -0,0 +1,34 @@ +export default [ + 'Andrzej Maleszka', + 'Andrzej Pilipiuk', + 'Andrzej Sapkowski', + 'Anita Głowińska', + 'Ałbena Grabowska', + 'Czesław Miłosz', + 'Grzegorz Kasdepke', + 'Henryk Sienkiewicz', + 'Jacek Dukaj', + 'Jacek Piekara', + 'Jakub Żulczyk', + 'Jarosław Grzędowicz', + 'Jerzy Pilch', + 'Joanna Bator', + 'Katarzyna Bonda', + 'Katarzyna Michalak', + 'Krzysztof Kamil Baczyński', + 'Leopold Tyrmand', + 'Mariusz Szczygieł', + 'Marta Galewska-Kustra', + 'Olga Tokarczuk', + 'Paulina Świst', + 'Remigiusz Mróz', + 'Stanisław Lem', + 'Sylwia Chutnik', + 'Szczepan Twardoch', + 'Tadeusz Konwicki', + 'Wiesław Myśliwski', + 'Wisława Szymborska', + 'Wojciech Chmielarz', + 'Zbigniew Herbert', + 'Zygmunt Miłoszewski', +]; diff --git a/src/locales/pl/book/format.ts b/src/locales/pl/book/format.ts new file mode 100644 index 00000000000..b1ff4aeb303 --- /dev/null +++ b/src/locales/pl/book/format.ts @@ -0,0 +1 @@ +export default ['Audiobook', 'Ebook', 'Miękka okładka', 'Twarda okładka']; diff --git a/src/locales/pl/book/genre.ts b/src/locales/pl/book/genre.ts new file mode 100644 index 00000000000..39397fca864 --- /dev/null +++ b/src/locales/pl/book/genre.ts @@ -0,0 +1,20 @@ +export default [ + 'Beletrystyka', + 'Biografia', + 'Fantastyka', + 'Fantastyka naukowa', + 'Kryminał', + 'Książka kucharska', + 'Literatura dziecięca', + 'Literatura faktu', + 'Literatura młodzieżowa', + 'Literatura naukowa', + 'Literatura piękna', + 'Literatura podróżnicza', + 'Literatura popularnonaukowa', + 'Poezja', + 'Powieść historyczna', + 'Powieść przygodowa', + 'Reportaż', + 'Rozwój osobisty', +]; diff --git a/src/locales/pl/book/index.ts b/src/locales/pl/book/index.ts new file mode 100644 index 00000000000..43ead3988d5 --- /dev/null +++ b/src/locales/pl/book/index.ts @@ -0,0 +1,22 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { BookDefinition } from '../../..'; +import author from './author'; +import format from './format'; +import genre from './genre'; +import publisher from './publisher'; +import series from './series'; +import title from './title'; + +const book: BookDefinition = { + author, + format, + genre, + publisher, + series, + title, +}; + +export default book; diff --git a/src/locales/pl/book/publisher.ts b/src/locales/pl/book/publisher.ts new file mode 100644 index 00000000000..2b319f31758 --- /dev/null +++ b/src/locales/pl/book/publisher.ts @@ -0,0 +1,12 @@ +export default [ + 'Czarne', + 'Dom Wydawniczy Rebis', + 'Muza', + 'PWN', + 'W.A.B.', + 'Wydawnictwo Agora', + 'Wydawnictwo Literackie', + 'Wydawnictwo Świat Książki', + 'Znak', + 'Zysk i S-ka Wydawnictwo', +]; diff --git a/src/locales/pl/book/series.ts b/src/locales/pl/book/series.ts new file mode 100644 index 00000000000..98082cfb685 --- /dev/null +++ b/src/locales/pl/book/series.ts @@ -0,0 +1,23 @@ +export default [ + 'Archiwum Burzowego Światła', + 'Cykl Inkwizytorski', + 'Diuna', + 'Dziedzictwo', + 'Harry Potter', + 'Igrzyska Śmierci', + 'Jakub Wędrowycz', + 'Koło Czasu', + 'Malazańska Księga Poległych', + 'Mroczna Wieża', + 'Mroczne Materie', + 'Opowieści z Narnii', + 'Pan Lodowego Ogrodu', + 'Percy Jackson', + 'Pieśń lodu i ognia', + 'Saga o Ludziach Lodu', + 'Sherlock Holmes', + 'Wiedźmin', + 'Władca Pierścieni', + 'Zwiadowcy', + 'Świat Dysku', +]; diff --git a/src/locales/pl/book/title.ts b/src/locales/pl/book/title.ts new file mode 100644 index 00000000000..72131fba205 --- /dev/null +++ b/src/locales/pl/book/title.ts @@ -0,0 +1,101 @@ +export default [ + 'Aria z kurantem', + 'Arytmia', + 'Austeria', + 'Bal w operze', + 'Barbarzyńca w ogrodzie', + 'Bitwa o Monte Cassino', + 'Bramy raju', + 'Cantus', + 'Cesarz', + 'Cudzoziemka', + 'Czarny polonez', + 'Czarny potok', + 'Do piachu', + 'Droga donikąd', + 'Dziennik', + 'Dziennik 1954', + 'Dziennik bez samogłosek', + 'Dziennik pisany nocą', + 'Eseje dla Kasandry', + 'Ferdydurke', + 'Generał Barcz', + 'Granica', + 'Imperium', + 'Inny świat', + 'Jezioro Bodeńskie', + 'Kamień na kamieniu', + 'Kariera Nikodema Dyzmy', + 'Karmazynowy poemat', + 'Kartoteka', + 'Konopielka', + 'Lato 1932', + 'Lekcja martwego języka', + 'Ludzie na moście', + 'Madame', + 'Mała apokalipsa', + 'Medaliony', + 'Miazga', + 'Myśli nieuczesane', + 'Mój wiek. Pamiętnik mówiony', + 'Na nieludzkiej ziemi', + 'Na wysokiej połoninie', + 'Nadberezyńcy', + 'Napój cienisty', + 'Nie trzeba głośno mówić', + 'Nienasycenie', + 'Niepokój', + 'Noce i dnie', + 'Nuta człowiecza', + 'Obroty rzeczy', + 'Ocalenie', + 'Oktostychy', + 'Pamiętnik z Powstania Warszawskiego', + 'Pan Cogito', + 'Panny z Wilka', + 'Pierwszy krok w chmurach', + 'Pierścień z papieru', + 'Podróże do piekieł', + 'Pożegnanie jesieni', + 'Pożegnanie z Marią', + 'Pożoga', + 'Przed Nieznanym Trybunałem', + 'Przedwiośnie', + 'Przemija postać świata', + 'Raport o stanie wojennym', + 'Raport z oblężonego miasta', + 'Rodzinna Europa', + 'Rozmowy polskie latem roku 1983', + 'Rzeczpospolita Obojga Narodów', + 'Równanie serca', + 'Sanatorium pod klepsydrą', + 'Sennik współczesny', + 'Sklepy cynamonowe', + 'Sokrates tańczący', + 'Solaris', + 'Srebrne orły', + 'Szewcy', + 'Szkice piórkiem', + 'Sól ziemi', + 'Tango', + 'Trans-Atlantyk', + 'Trzy zimy', + 'Utwory poetyckie', + 'W polu', + 'Wariacje pocztowe', + 'Widnokrąg', + 'Widokówka z tego świata', + 'Wiersze', + 'Wieszanie', + 'Wiosna i wino', + 'Wołanie do Yeti', + 'Zachód słońca w Milanówku', + 'Zasypie wszystko, zawieje…', + 'Zdążyć przed Panem Bogiem', + 'Ziemia Urlo', + 'Zimne kraje', + 'Zniewolony umysł', + 'Zostało z uczty bogów', + 'Łąka', + 'Ślub', +]; diff --git a/src/locales/pl/index.ts b/src/locales/pl/index.ts index bdb734e2576..b05c5f4eb31 100644 --- a/src/locales/pl/index.ts +++ b/src/locales/pl/index.ts @@ -4,6 +4,7 @@ */ import type { LocaleDefinition } from '../..'; import animal from './animal'; +import book from './book'; import cell_phone from './cell_phone'; import color from './color'; import company from './company'; @@ -19,6 +20,7 @@ import team from './team'; const pl: LocaleDefinition = { animal, + book, cell_phone, color, company, diff --git a/src/modules/book/index.ts b/src/modules/book/index.ts new file mode 100644 index 00000000000..86e168d2ad4 --- /dev/null +++ b/src/modules/book/index.ts @@ -0,0 +1,93 @@ +import { ModuleBase } from '../../internal/module-base'; + +/** + * Module to generate book related entries. + * + * ### Overview + * + * - For a random title, use [`title()`](https://fakerjs.dev/api/book.html#title). + * - For a random existing author name, use [`author()`](https://fakerjs.dev/api/book.html#author). + * - For a random non-existing author name, use [`faker.person.fullName()`](https://fakerjs.dev/api/person.html#fullname). + * - For a random genre, use [`genre()`](https://fakerjs.dev/api/book.html#genre). + * - For a random series, use [`series()`](https://fakerjs.dev/api/book.html#series). + * - For a random publisher, use [`publisher()`](https://fakerjs.dev/api/book.html#publisher). + * - For a random book format, use [`format()`](https://fakerjs.dev/api/book.html#format). + * - For a random isbn, use [`faker.commerce.isbn()`](https://fakerjs.dev/api/commerce.html#isbn) + * + * All values may be localized. + */ +export class BookModule extends ModuleBase { + /** + * Returns a random author name. + * + * @example + * faker.book.author() // 'William Shakespeare' + * + * @since 9.1.0 + */ + author(): string { + return this.faker.helpers.arrayElement(this.faker.definitions.book.author); + } + + /** + * Returns a random book format. + * + * @example + * faker.book.format() // 'Hardcover' + * + * @since 9.1.0 + */ + format(): string { + return this.faker.helpers.arrayElement(this.faker.definitions.book.format); + } + + /** + * Returns a random genre. + * + * @example + * faker.book.genre() // 'Fantasy' + * + * @since 9.1.0 + */ + genre(): string { + return this.faker.helpers.arrayElement(this.faker.definitions.book.genre); + } + + /** + * Returns a random publisher. + * + * @example + * faker.book.publisher() // 'Addison-Wesley' + * + * @since 9.1.0 + */ + publisher(): string { + return this.faker.helpers.arrayElement( + this.faker.definitions.book.publisher + ); + } + + /** + * Returns a random series. + * + * @example + * faker.book.series() // 'Harry Potter' + * + * @since 9.1.0 + */ + series(): string { + return this.faker.helpers.arrayElement(this.faker.definitions.book.series); + } + + /** + * Returns a random title. + * + * @example + * faker.book.title() // 'Romeo and Juliet' + * + * @since 9.1.0 + */ + title(): string { + return this.faker.helpers.arrayElement(this.faker.definitions.book.title); + } +} diff --git a/test/modules/__snapshots__/book.spec.ts.snap b/test/modules/__snapshots__/book.spec.ts.snap new file mode 100644 index 00000000000..9a31406dcd8 --- /dev/null +++ b/test/modules/__snapshots__/book.spec.ts.snap @@ -0,0 +1,37 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[`book > 42 > author 1`] = `"Henry David Thoreau"`; + +exports[`book > 42 > format 1`] = `"Ebook"`; + +exports[`book > 42 > genre 1`] = `"Fantasy"`; + +exports[`book > 42 > publisher 1`] = `"Flame Tree Publishing"`; + +exports[`book > 42 > series 1`] = `"Sherlock Holmes"`; + +exports[`book > 42 > title 1`] = `"Lord Jim"`; + +exports[`book > 1211 > author 1`] = `"Virgil"`; + +exports[`book > 1211 > format 1`] = `"Paperback"`; + +exports[`book > 1211 > genre 1`] = `"Western"`; + +exports[`book > 1211 > publisher 1`] = `"University of Akron Press"`; + +exports[`book > 1211 > series 1`] = `"Thursday Next Series"`; + +exports[`book > 1211 > title 1`] = `"Tinker, Tailor, Soldier, Spy"`; + +exports[`book > 1337 > author 1`] = `"Frances Hodgson Burnett"`; + +exports[`book > 1337 > format 1`] = `"Ebook"`; + +exports[`book > 1337 > genre 1`] = `"Comic"`; + +exports[`book > 1337 > publisher 1`] = `"City Lights Publishers"`; + +exports[`book > 1337 > series 1`] = `"Jane Austen Murder Mysteries"`; + +exports[`book > 1337 > title 1`] = `"Gone with the Wind"`; diff --git a/test/modules/book.spec.ts b/test/modules/book.spec.ts new file mode 100644 index 00000000000..4da4a410b51 --- /dev/null +++ b/test/modules/book.spec.ts @@ -0,0 +1,77 @@ +import { describe, expect, it } from 'vitest'; +import { faker } from '../../src'; +import { seededTests } from '../support/seeded-runs'; +import { times } from '../support/times'; + +const NON_SEEDED_BASED_RUN = 5; + +describe('book', () => { + seededTests(faker, 'book', (t) => { + t.itEach('author', 'format', 'genre', 'publisher', 'series', 'title'); + }); + + describe.each(times(NON_SEEDED_BASED_RUN).map(() => faker.seed()))( + 'random seeded tests for seed %i', + () => { + describe('author()', () => { + it('should return an author name', () => { + const author = faker.book.author(); + + expect(author).toBeTruthy(); + expect(author).toBeTypeOf('string'); + expect(faker.definitions.book.author).toContain(author); + }); + }); + + describe('format()', () => { + it('should return a book format', () => { + const format = faker.book.format(); + + expect(format).toBeTruthy(); + expect(format).toBeTypeOf('string'); + expect(faker.definitions.book.format).toContain(format); + }); + }); + + describe('genre()', () => { + it('should return a genre', () => { + const genre = faker.book.genre(); + + expect(genre).toBeTruthy(); + expect(genre).toBeTypeOf('string'); + expect(faker.definitions.book.genre).toContain(genre); + }); + }); + + describe('publisher()', () => { + it('should return a publisher', () => { + const publisher = faker.book.publisher(); + + expect(publisher).toBeTruthy(); + expect(publisher).toBeTypeOf('string'); + expect(faker.definitions.book.publisher).toContain(publisher); + }); + }); + + describe('series()', () => { + it('should return a series', () => { + const series = faker.book.series(); + + expect(series).toBeTruthy(); + expect(series).toBeTypeOf('string'); + expect(faker.definitions.book.series).toContain(series); + }); + }); + + describe('title()', () => { + it('should return a title', () => { + const title = faker.book.title(); + + expect(title).toBeTruthy(); + expect(title).toBeTypeOf('string'); + expect(faker.definitions.book.title).toContain(title); + }); + }); + } + ); +}); From 5b1c8588f8a57be712e64434f7b17a8407a4f465 Mon Sep 17 00:00:00 2001 From: Bruno Leite Date: Thu, 10 Oct 2024 13:08:57 -0300 Subject: [PATCH 27/47] feat(string): adds support for generating ULID (#2524) --- src/internal/base32.ts | 21 +++++++++++ src/internal/date.ts | 22 ++++++++++++ src/modules/date/index.ts | 19 +--------- src/modules/string/index.ts | 33 +++++++++++++++++ .../__snapshots__/base32.spec.ts.snap | 3 ++ test/internal/base32.spec.ts | 35 +++++++++++++++++++ test/internal/date.spec.ts | 22 ++++++++++++ .../modules/__snapshots__/string.spec.ts.snap | 18 ++++++++++ test/modules/string.spec.ts | 27 ++++++++++++++ 9 files changed, 182 insertions(+), 18 deletions(-) create mode 100644 src/internal/base32.ts create mode 100644 src/internal/date.ts create mode 100644 test/internal/__snapshots__/base32.spec.ts.snap create mode 100644 test/internal/base32.spec.ts create mode 100644 test/internal/date.spec.ts diff --git a/src/internal/base32.ts b/src/internal/base32.ts new file mode 100644 index 00000000000..f3e15bb43de --- /dev/null +++ b/src/internal/base32.ts @@ -0,0 +1,21 @@ +/** + * Crockford's Base32 - Excludes I, L, O, and U which may be confused with numbers + */ +export const CROCKFORDS_BASE32 = '0123456789ABCDEFGHJKMNPQRSTVWXYZ'; + +/** + * Encodes a Date into 10 characters base32 string. + * + * @param date The Date to encode. + */ +export function dateToBase32(date: Date): string { + let value = date.valueOf(); + let result = ''; + for (let len = 10; len > 0; len--) { + const mod = value % 32; + result = CROCKFORDS_BASE32[mod] + result; + value = (value - mod) / 32; + } + + return result; +} diff --git a/src/internal/date.ts b/src/internal/date.ts new file mode 100644 index 00000000000..40751c2d997 --- /dev/null +++ b/src/internal/date.ts @@ -0,0 +1,22 @@ +import { FakerError } from '../errors/faker-error'; + +/** + * Converts a date passed as a `string`, `number` or `Date` to a valid `Date` object. + * + * @param date The date to convert. + * @param name The reference name used for error messages. Defaults to `'refDate'`. + * + * @throws If the given date is invalid. + */ +export function toDate( + date: string | Date | number, + name: string = 'refDate' +): Date { + const converted = new Date(date); + + if (Number.isNaN(converted.valueOf())) { + throw new FakerError(`Invalid ${name} date: ${date.toString()}`); + } + + return converted; +} diff --git a/src/modules/date/index.ts b/src/modules/date/index.ts index 53204a03817..06890a5d462 100644 --- a/src/modules/date/index.ts +++ b/src/modules/date/index.ts @@ -1,27 +1,10 @@ import type { Faker } from '../..'; import type { DateEntryDefinition } from '../../definitions'; import { FakerError } from '../../errors/faker-error'; +import { toDate } from '../../internal/date'; import { assertLocaleData } from '../../internal/locale-proxy'; import { SimpleModuleBase } from '../../internal/module-base'; -/** - * Converts a date passed as a `string`, `number` or `Date` to a valid `Date` object. - * - * @param date The date to convert. - * @param name The reference name used for error messages. Defaults to `'refDate'`. - * - * @throws If the given date is invalid. - */ -function toDate(date: string | Date | number, name: string = 'refDate'): Date { - const converted = new Date(date); - - if (Number.isNaN(converted.valueOf())) { - throw new FakerError(`Invalid ${name} date: ${date.toString()}`); - } - - return converted; -} - /** * Module to generate dates (without methods requiring localized data). */ diff --git a/src/modules/string/index.ts b/src/modules/string/index.ts index 7df31fc7f7d..67073242134 100644 --- a/src/modules/string/index.ts +++ b/src/modules/string/index.ts @@ -1,4 +1,6 @@ import { FakerError } from '../../errors/faker-error'; +import { CROCKFORDS_BASE32, dateToBase32 } from '../../internal/base32'; +import { toDate } from '../../internal/date'; import { SimpleModuleBase } from '../../internal/module-base'; import type { LiteralUnion } from '../../internal/types'; @@ -704,6 +706,37 @@ export class StringModule extends SimpleModuleBase { .replaceAll('y', () => this.faker.number.hex({ min: 0x8, max: 0xb })); } + /** + * Returns a ULID ([Universally Unique Lexicographically Sortable Identifier](https://github.com/ulid/spec)). + * + * @param options The optional options object. + * @param options.refDate The timestamp to encode into the ULID. + * The encoded timestamp is represented by the first 10 characters of the result. + * Defaults to `faker.defaultRefDate()`. + * + * @example + * faker.string.ulid() // '01ARZ3NDEKTSV4RRFFQ69G5FAV' + * faker.string.ulid({ refDate: '2020-01-01T00:00:00.000Z' }) // '01DXF6DT00CX9QNNW7PNXQ3YR8' + * + * @since 9.1.0 + */ + ulid( + options: { + /** + * The date to use as reference point for the newly generated ULID encoded timestamp. + * The encoded timestamp is represented by the first 10 characters of the result. + * + * @default faker.defaultRefDate() + */ + refDate?: string | Date | number; + } = {} + ): string { + const { refDate = this.faker.defaultRefDate() } = options; + const date = toDate(refDate); + + return dateToBase32(date) + this.fromCharacters(CROCKFORDS_BASE32, 16); + } + /** * Generates a [Nano ID](https://github.com/ai/nanoid). * diff --git a/test/internal/__snapshots__/base32.spec.ts.snap b/test/internal/__snapshots__/base32.spec.ts.snap new file mode 100644 index 00000000000..d05f1586bfd --- /dev/null +++ b/test/internal/__snapshots__/base32.spec.ts.snap @@ -0,0 +1,3 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[`dateToBase32() > encodes current date correctly 1`] = `"01GWX1T800"`; diff --git a/test/internal/base32.spec.ts b/test/internal/base32.spec.ts new file mode 100644 index 00000000000..c87ffd61698 --- /dev/null +++ b/test/internal/base32.spec.ts @@ -0,0 +1,35 @@ +import { describe, expect, it } from 'vitest'; +import { CROCKFORDS_BASE32, dateToBase32 } from '../../src/internal/base32'; + +describe('dateToBase32()', () => { + it('encodes current date correctly', () => { + const date = new Date('2023-04-01T00:00:00Z'); + const encoded = dateToBase32(date); + expect(encoded).toHaveLength(10); + expect(encoded).toMatchSnapshot(); + for (const char of encoded) { + expect(CROCKFORDS_BASE32).toContain(char); + } + }); + + it('encodes epoch start date correctly', () => { + const date = new Date('1970-01-01T00:00:00Z'); + const encoded = dateToBase32(date); + expect(encoded).toBe('0000000000'); + }); + + it('returns different encodings for dates one millisecond apart', () => { + const date1 = new Date('2023-04-01T00:00:00.000Z'); + const date2 = new Date('2023-04-01T00:00:00.001Z'); + const encoded1 = dateToBase32(date1); + const encoded2 = dateToBase32(date2); + expect(encoded1).not.toBe(encoded2); + }); + + it('encodes same date consistently', () => { + const date = new Date('2023-04-01T00:00:00Z'); + const encoded1 = dateToBase32(date); + const encoded2 = dateToBase32(date); + expect(encoded1).toBe(encoded2); + }); +}); diff --git a/test/internal/date.spec.ts b/test/internal/date.spec.ts new file mode 100644 index 00000000000..453dae792e8 --- /dev/null +++ b/test/internal/date.spec.ts @@ -0,0 +1,22 @@ +import { describe, expect, it } from 'vitest'; +import { FakerError } from '../../src'; +import { toDate } from '../../src/internal/date'; + +describe('toDate()', () => { + it('should convert a string date to a valid Date object', () => { + const dateString = '2024-07-05'; + expect(toDate(dateString)).toEqual(new Date(dateString)); + }); + + it('should convert a string datetime to a valid Date object', () => { + const timestamp = '2024-07-05T15:49:19+0000'; + expect(toDate(timestamp)).toEqual(new Date(timestamp)); + }); + + it('should throw a FakerError for an invalid date string', () => { + const timestamp = 'aaaa-07-05T15:49:19+0000'; + expect(() => toDate(timestamp)).toThrow( + new FakerError(`Invalid refDate date: ${timestamp}`) + ); + }); +}); diff --git a/test/modules/__snapshots__/string.spec.ts.snap b/test/modules/__snapshots__/string.spec.ts.snap index 31e4c28dd41..099c21963ce 100644 --- a/test/modules/__snapshots__/string.spec.ts.snap +++ b/test/modules/__snapshots__/string.spec.ts.snap @@ -164,6 +164,12 @@ exports[`string > 42 > symbol > with length parameter 5`] = `">%*,/"`; exports[`string > 42 > symbol > with length range 1`] = `"}\\>%%"\`>[!~_'&"`; +exports[`string > 42 > ulid > with Date refDate 1`] = `"01EZ2S259ZBYQK441VKP0ZT655"`; + +exports[`string > 42 > ulid > with number refDate 1`] = `"01EZ2S259ZBYQK441VKP0ZT655"`; + +exports[`string > 42 > ulid > with string refDate 1`] = `"01EZ2S259ZBYQK441VKP0ZT655"`; + exports[`string > 42 > uuid 1`] = `"5fb9220d-9b0f-4d32-a248-6492457c3890"`; exports[`string > 42 > uuid 2`] = `"21ffc41a-7170-4e4a-9488-2fcfe9e13056"`; @@ -338,6 +344,12 @@ exports[`string > 1211 > symbol > with length parameter 5`] = `"~]-|<"`; exports[`string > 1211 > symbol > with length range 1`] = `"{(~@@],[_]?_.\`\`'=',~"`; +exports[`string > 1211 > ulid > with Date refDate 1`] = `"01EZ2S259ZXW7ZNNRBPTRMTDVV"`; + +exports[`string > 1211 > ulid > with number refDate 1`] = `"01EZ2S259ZXW7ZNNRBPTRMTDVV"`; + +exports[`string > 1211 > ulid > with string refDate 1`] = `"01EZ2S259ZXW7ZNNRBPTRMTDVV"`; + exports[`string > 1211 > uuid 1`] = `"ee3faac5-bdca-4d6d-9d39-35fc6e8f34b8"`; exports[`string > 1211 > uuid 2`] = `"d64428b2-b736-43d9-970b-2b4c8739d1d7"`; @@ -512,6 +524,12 @@ exports[`string > 1337 > symbol > with length parameter 5`] = `"]'*@:"`; exports[`string > 1337 > symbol > with length range 1`] = `"&)/+;)~\\$-?%"`; +exports[`string > 1337 > ulid > with Date refDate 1`] = `"01EZ2S259Z858EAG8ZQ3CM4ZES"`; + +exports[`string > 1337 > ulid > with number refDate 1`] = `"01EZ2S259Z858EAG8ZQ3CM4ZES"`; + +exports[`string > 1337 > ulid > with string refDate 1`] = `"01EZ2S259Z858EAG8ZQ3CM4ZES"`; + exports[`string > 1337 > uuid 1`] = `"4247584f-b16a-42f7-8cc5-69c34a72638d"`; exports[`string > 1337 > uuid 2`] = `"f6880bf2-25b0-450c-a5b7-fd99f401ff75"`; diff --git a/test/modules/string.spec.ts b/test/modules/string.spec.ts index 22fa8aeba88..7b3be347749 100644 --- a/test/modules/string.spec.ts +++ b/test/modules/string.spec.ts @@ -113,6 +113,16 @@ describe('string', () => { t.itRepeated('uuid', 5); + t.describe('ulid', (t) => { + const ulidRefDate = '2021-02-21T17:09:15.711Z'; + + t.it('with string refDate', { refDate: ulidRefDate }) + .it('with Date refDate', { refDate: new Date(ulidRefDate) }) + .it('with number refDate', { + refDate: new Date(ulidRefDate).getTime(), + }); + }); + t.describe('nanoid', (t) => { t.itRepeated('noArgs', 5) .it('with length parameter', 30) @@ -750,6 +760,23 @@ describe('string', () => { }); }); + describe(`ulid`, () => { + it.each(['invalid', Number.NaN, new Date(Number.NaN)] as const)( + 'should reject invalid refDates %s', + (refDate) => { + expect(() => faker.string.ulid({ refDate })).toThrow( + new FakerError(`Invalid refDate date: ${refDate.toString()}`) + ); + } + ); + + it('generates a valid ULID', () => { + const ulid = faker.string.ulid(); + const regex = /^[0-7][0-9A-HJKMNP-TV-Z]{25}$/; + expect(ulid).toMatch(regex); + }); + }); + describe(`nanoid`, () => { it('generates a valid Nano ID', () => { const id = faker.string.nanoid(); From a5a6c5b4e1145b1e21e5d8e540bc6f55f97d3a84 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Thu, 10 Oct 2024 18:14:30 +0200 Subject: [PATCH 28/47] feat(internet): improve ipv4 method (#2992) --- src/index.ts | 3 +- src/modules/internet/index.ts | 170 +++++++++++++++++- .../__snapshots__/internet.spec.ts.snap | 22 ++- test/modules/internet.spec.ts | 98 +++++++++- 4 files changed, 282 insertions(+), 11 deletions(-) diff --git a/src/index.ts b/src/index.ts index bef353cea8a..a8c4ecea739 100644 --- a/src/index.ts +++ b/src/index.ts @@ -67,7 +67,8 @@ export type { GitModule } from './modules/git'; export type { HackerModule } from './modules/hacker'; export type { HelpersModule, SimpleHelpersModule } from './modules/helpers'; export type { ImageModule } from './modules/image'; -export type { InternetModule } from './modules/internet'; +export { IPv4Network } from './modules/internet'; +export type { IPv4NetworkType, InternetModule } from './modules/internet'; export type { LocationModule } from './modules/location'; export type { LoremModule } from './modules/lorem'; export type { MusicModule } from './modules/music'; diff --git a/src/modules/internet/index.ts b/src/modules/internet/index.ts index f6884d880aa..a455135b00d 100644 --- a/src/modules/internet/index.ts +++ b/src/modules/internet/index.ts @@ -1,3 +1,4 @@ +import { FakerError } from '../../errors/faker-error'; import { ModuleBase } from '../../internal/module-base'; import { charMapping } from './char-mappings'; import * as random_ua from './user-agent'; @@ -23,6 +24,82 @@ export type HTTPStatusCodeType = export type HTTPProtocolType = 'http' | 'https'; +export enum IPv4Network { + /** + * Equivalent to: `0.0.0.0/0` + */ + Any = 'any', + /** + * Equivalent to: `127.0.0.0/8` + * + * @see [RFC1122](https://www.rfc-editor.org/rfc/rfc1122) + */ + Loopback = 'loopback', + /** + * Equivalent to: `10.0.0.0/8` + * + * @see [RFC1918](https://www.rfc-editor.org/rfc/rfc1918) + */ + PrivateA = 'private-a', + /** + * Equivalent to: `172.16.0.0/12` + * + * @see [RFC1918](https://www.rfc-editor.org/rfc/rfc1918) + */ + PrivateB = 'private-b', + /** + * Equivalent to: `192.168.0.0/16` + * + * @see [RFC1918](https://www.rfc-editor.org/rfc/rfc1918) + */ + PrivateC = 'private-c', + /** + * Equivalent to: `192.0.2.0/24` + * + * @see [RFC5737](https://www.rfc-editor.org/rfc/rfc5737) + */ + TestNet1 = 'test-net-1', + /** + * Equivalent to: `198.51.100.0/24` + * + * @see [RFC5737](https://www.rfc-editor.org/rfc/rfc5737) + */ + TestNet2 = 'test-net-2', + /** + * Equivalent to: `203.0.113.0/24` + * + * @see [RFC5737](https://www.rfc-editor.org/rfc/rfc5737) + */ + TestNet3 = 'test-net-3', + /** + * Equivalent to: `169.254.0.0/16` + * + * @see [RFC3927](https://www.rfc-editor.org/rfc/rfc3927) + */ + LinkLocal = 'link-local', + /** + * Equivalent to: `224.0.0.0/4` + * + * @see [RFC5771](https://www.rfc-editor.org/rfc/rfc5771) + */ + Multicast = 'multicast', +} + +export type IPv4NetworkType = `${IPv4Network}`; + +const ipv4Networks: Record = { + [IPv4Network.Any]: '0.0.0.0/0', + [IPv4Network.Loopback]: '127.0.0.0/8', + [IPv4Network.PrivateA]: '10.0.0.0/8', + [IPv4Network.PrivateB]: '172.16.0.0/12', + [IPv4Network.PrivateC]: '192.168.0.0/16', + [IPv4Network.TestNet1]: '192.0.2.0/24', + [IPv4Network.TestNet2]: '198.51.100.0/24', + [IPv4Network.TestNet3]: '203.0.113.0/24', + [IPv4Network.LinkLocal]: '169.254.0.0/16', + [IPv4Network.Multicast]: '224.0.0.0/4', +}; + /** * Module to generate internet related entries. * @@ -485,15 +562,100 @@ export class InternetModule extends ModuleBase { /** * Generates a random IPv4 address. * + * @param options The optional options object. + * @param options.cidrBlock The optional CIDR block to use. Must be in the format `x.x.x.x/y`. Defaults to `'0.0.0.0/0'`. + * * @example * faker.internet.ipv4() // '245.108.222.0' + * faker.internet.ipv4({ cidrBlock: '192.168.0.0/16' }) // '192.168.215.224' * * @since 6.1.1 */ - ipv4(): string { - return Array.from({ length: 4 }, () => this.faker.number.int(255)).join( - '.' - ); + ipv4(options?: { + /** + * The optional CIDR block to use. Must be in the format `x.x.x.x/y`. + * + * @default '0.0.0.0/0' + */ + cidrBlock?: string; + }): string; + /** + * Generates a random IPv4 address. + * + * @param options The optional options object. + * @param options.network The optional network to use. This is intended as an alias for well-known `cidrBlock`s. Defaults to `'any'`. + * + * @example + * faker.internet.ipv4() // '245.108.222.0' + * faker.internet.ipv4({ network: 'private-a' }) // '10.199.154.205' + * + * @since 6.1.1 + */ + ipv4(options?: { + /** + * The optional network to use. This is intended as an alias for well-known `cidrBlock`s. + * + * @default 'any' + */ + network?: IPv4NetworkType; + }): string; + /** + * Generates a random IPv4 address. + * + * @param options The optional options object. + * @param options.cidrBlock The optional CIDR block to use. Must be in the format `x.x.x.x/y`. Defaults to `'0.0.0.0/0'`. + * @param options.network The optional network to use. This is intended as an alias for well-known `cidrBlock`s. Defaults to `'any'`. + * + * @example + * faker.internet.ipv4() // '245.108.222.0' + * faker.internet.ipv4({ cidrBlock: '192.168.0.0/16' }) // '192.168.215.224' + * faker.internet.ipv4({ network: 'private-a' }) // '10.199.154.205' + * + * @since 6.1.1 + */ + ipv4( + options?: + | { + /** + * The optional CIDR block to use. Must be in the format `x.x.x.x/y`. + * + * @default '0.0.0.0/0' + */ + cidrBlock?: string; + } + | { + /** + * The optional network to use. This is intended as an alias for well-known `cidrBlock`s. + * + * @default 'any' + */ + network?: IPv4NetworkType; + } + ): string; + ipv4( + options: { cidrBlock?: string; network?: IPv4NetworkType } = {} + ): string { + const { network = 'any', cidrBlock = ipv4Networks[network] } = options; + + if (!/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/\d{1,2}$/.test(cidrBlock)) { + throw new FakerError( + `Invalid CIDR block provided: ${cidrBlock}. Must be in the format x.x.x.x/y.` + ); + } + + const [ipText, subnet] = cidrBlock.split('/'); + const subnetMask = 0xffffffff >>> Number.parseInt(subnet); + const [rawIp1, rawIp2, rawIp3, rawIp4] = ipText.split('.').map(Number); + const rawIp = (rawIp1 << 24) | (rawIp2 << 16) | (rawIp3 << 8) | rawIp4; + const networkIp = rawIp & ~subnetMask; + const hostOffset = this.faker.number.int(subnetMask); + const ip = networkIp | hostOffset; + return [ + (ip >>> 24) & 0xff, + (ip >>> 16) & 0xff, + (ip >>> 8) & 0xff, + ip & 0xff, + ].join('.'); } /** diff --git a/test/modules/__snapshots__/internet.spec.ts.snap b/test/modules/__snapshots__/internet.spec.ts.snap index bb330fbdbb1..9ec2d26525f 100644 --- a/test/modules/__snapshots__/internet.spec.ts.snap +++ b/test/modules/__snapshots__/internet.spec.ts.snap @@ -64,9 +64,13 @@ exports[`internet > 42 > httpStatusCode > noArgs 1`] = `226`; exports[`internet > 42 > httpStatusCode > with options 1`] = `410`; -exports[`internet > 42 > ip 1`] = `"243.187.153.39"`; +exports[`internet > 42 > ip 1`] = `"243.98.3.69"`; -exports[`internet > 42 > ipv4 1`] = `"95.243.187.153"`; +exports[`internet > 42 > ipv4 > noArgs 1`] = `"95.225.220.121"`; + +exports[`internet > 42 > ipv4 > with cidrBlock 1`] = `"192.168.13.95"`; + +exports[`internet > 42 > ipv4 > with network 1`] = `"229.254.29.199"`; exports[`internet > 42 > ipv6 1`] = `"8ead:331d:df0f:c444:6b96:d368:ab4b:d1d3"`; @@ -182,7 +186,11 @@ exports[`internet > 1211 > httpStatusCode > with options 1`] = `429`; exports[`internet > 1211 > ip 1`] = `"d4fe:fa7f:baec:9dc4:c48f:a8eb:f46f:b7c8"`; -exports[`internet > 1211 > ipv4 1`] = `"237.228.57.255"`; +exports[`internet > 1211 > ipv4 > noArgs 1`] = `"237.179.127.46"`; + +exports[`internet > 1211 > ipv4 > with cidrBlock 1`] = `"192.168.13.237"`; + +exports[`internet > 1211 > ipv4 > with network 1`] = `"238.219.55.242"`; exports[`internet > 1211 > ipv6 1`] = `"ed4f:efa7:fbae:c9dc:4c48:fa8e:bf46:fb7c"`; @@ -296,9 +304,13 @@ exports[`internet > 1337 > httpStatusCode > noArgs 1`] = `201`; exports[`internet > 1337 > httpStatusCode > with options 1`] = `407`; -exports[`internet > 1337 > ip 1`] = `"40.71.117.82"`; +exports[`internet > 1337 > ip 1`] = `"40.159.131.70"`; + +exports[`internet > 1337 > ipv4 > noArgs 1`] = `"67.20.12.145"`; + +exports[`internet > 1337 > ipv4 > with cidrBlock 1`] = `"192.168.13.67"`; -exports[`internet > 1337 > ipv4 1`] = `"67.40.71.117"`; +exports[`internet > 1337 > ipv4 > with network 1`] = `"228.49.64.201"`; exports[`internet > 1337 > ipv6 1`] = `"536a:7b5f:a28d:2f9b:b79c:a46e:a394:bc4f"`; diff --git a/test/modules/internet.spec.ts b/test/modules/internet.spec.ts index 25c5150fe3f..04b255fd48f 100644 --- a/test/modules/internet.spec.ts +++ b/test/modules/internet.spec.ts @@ -1,6 +1,8 @@ import validator from 'validator'; import { describe, expect, it } from 'vitest'; import { allFakers, faker } from '../../src'; +import { FakerError } from '../../src/errors/faker-error'; +import { IPv4Network } from '../../src/modules/internet'; import { seededTests } from '../support/seeded-runs'; import { times } from './../support/times'; @@ -15,7 +17,6 @@ describe('internet', () => { 'domainSuffix', 'domainWord', 'ip', - 'ipv4', 'ipv6', 'port', 'userAgent' @@ -133,6 +134,12 @@ describe('internet', () => { protocol: 'http', }); }); + + t.describe('ipv4', (t) => { + t.it('noArgs') + .it('with cidrBlock', { cidrBlock: '192.168.13.37/24' }) + .it('with network', { network: IPv4Network.Multicast }); + }); }); describe.each(times(NON_SEEDED_BASED_RUN).map(() => faker.seed()))( @@ -595,6 +602,95 @@ describe('internet', () => { expect(+part).toBeLessThanOrEqual(255); } }); + + it('should return a random IPv4 for a given CIDR block', () => { + const actual = faker.internet.ipv4({ + cidrBlock: '192.168.42.255/24', + }); + + expect(actual).toBeTruthy(); + expect(actual).toBeTypeOf('string'); + expect(actual).toSatisfy((value: string) => validator.isIP(value, 4)); + expect(actual).toMatch(/^192\.168\.42\.\d{1,3}$/); + }); + + it('should return a random IPv4 for a given CIDR block non-8ish network mask', () => { + const actual = faker.internet.ipv4({ + cidrBlock: '192.168.0.255/20', + }); + + expect(actual).toBeTruthy(); + expect(actual).toBeTypeOf('string'); + expect(actual).toSatisfy((value: string) => validator.isIP(value, 4)); + + const [first, second, third, fourth] = actual.split('.').map(Number); + expect(first).toBe(192); + expect(second).toBe(168); + expect(third).toBeGreaterThanOrEqual(0); + expect(third).toBeLessThanOrEqual(15); + expect(fourth).toBeGreaterThanOrEqual(0); + expect(fourth).toBeLessThanOrEqual(255); + }); + + it.each([ + '', + '...', + '.../', + '.0.0.0/0', + '0..0.0/0', + '0.0..0/0', + '0.0.0./0', + '0.0.0.0/', + 'a.0.0.0/0', + '0.b.0.0/0', + '0.0.c.0/0', + '0.0.0.d/0', + '0.0.0.0/e', + ])( + 'should throw an error if not following the x.x.x.x/y format', + (cidrBlock) => { + expect(() => + faker.internet.ipv4({ + cidrBlock, + }) + ).toThrow( + new FakerError( + `Invalid CIDR block provided: ${cidrBlock}. Must be in the format x.x.x.x/y.` + ) + ); + } + ); + + it.each([ + [IPv4Network.Any, /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/], + [IPv4Network.Loopback, /^127\.\d{1,3}\.\d{1,3}\.\d{1,3}$/], + [IPv4Network.PrivateA, /^10\.\d{1,3}\.\d{1,3}\.\d{1,3}$/], + [ + IPv4Network.PrivateB, + /^172\.(1[6-9]|2[0-9]|3[0-1])\.\d{1,3}\.\d{1,3}$/, + ], + [IPv4Network.PrivateC, /^192\.168\.\d{1,3}\.\d{1,3}$/], + [IPv4Network.TestNet1, /^192\.0\.2\.\d{1,3}$/], + [IPv4Network.TestNet2, /^198\.51\.100\.\d{1,3}$/], + [IPv4Network.TestNet3, /^203\.0\.113\.\d{1,3}$/], + [IPv4Network.LinkLocal, /^169\.254\.\d{1,3}\.\d{1,3}$/], + [ + IPv4Network.Multicast, + /^2(2[4-9]|3[0-9])\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, + ], + ] as const)( + 'should return a random IPv4 for %s network', + (network, regex) => { + const actual = faker.internet.ipv4({ network }); + + expect(actual).toBeTruthy(); + expect(actual).toBeTypeOf('string'); + expect(actual).toSatisfy((value: string) => + validator.isIP(value, 4) + ); + expect(actual).toMatch(regex); + } + ); }); describe('ipv6()', () => { From 67569d93992e6388647118e9e9e319cfdd6721ed Mon Sep 17 00:00:00 2001 From: Johan Holmerin Date: Thu, 10 Oct 2024 18:51:26 +0200 Subject: [PATCH 29/47] feat(locale): add Swedish(sv) counties (#3154) --- src/locales/sv/location/county.ts | 292 ++++++++++++++++++++++++++++++ src/locales/sv/location/index.ts | 2 + 2 files changed, 294 insertions(+) create mode 100644 src/locales/sv/location/county.ts diff --git a/src/locales/sv/location/county.ts b/src/locales/sv/location/county.ts new file mode 100644 index 00000000000..065509c37fc --- /dev/null +++ b/src/locales/sv/location/county.ts @@ -0,0 +1,292 @@ +export default [ + 'Ale', + 'Alingsås', + 'Alvesta', + 'Aneby', + 'Arboga', + 'Arjeplog', + 'Arvidsjaur', + 'Arvika', + 'Askersund', + 'Avesta', + 'Bengtsfors', + 'Berg', + 'Bjurholm', + 'Bjuv', + 'Boden', + 'Bollebygd', + 'Bollnäs', + 'Borgholm', + 'Borlänge', + 'Borås', + 'Botkyrka', + 'Boxholm', + 'Bromölla', + 'Bräcke', + 'Burlöv', + 'Båstad', + 'Dals-Ed', + 'Danderyd', + 'Degerfors', + 'Dorotea', + 'Eda', + 'Ekerö', + 'Eksjö', + 'Emmaboda', + 'Enköping', + 'Eskilstuna', + 'Eslöv', + 'Essunga', + 'Fagersta', + 'Falkenberg', + 'Falköping', + 'Falun', + 'Filipstad', + 'Finspång', + 'Flen', + 'Forshaga', + 'Färgelanda', + 'Gagnef', + 'Gislaved', + 'Gnesta', + 'Gnosjö', + 'Gotland', + 'Grums', + 'Grästorp', + 'Gullspång', + 'Gällivare', + 'Gävle', + 'Göteborg', + 'Götene', + 'Habo', + 'Hagfors', + 'Hallsberg', + 'Hallstahammar', + 'Halmstad', + 'Hammarö', + 'Haninge', + 'Haparanda', + 'Heby', + 'Hedemora', + 'Helsingborg', + 'Herrljunga', + 'Hjo', + 'Hofors', + 'Huddinge', + 'Hudiksvall', + 'Hultsfred', + 'Hylte', + 'Håbo', + 'Hällefors', + 'Härjedalen', + 'Härnösand', + 'Härryda', + 'Hässleholm', + 'Höganäs', + 'Högsby', + 'Hörby', + 'Höör', + 'Jokkmokk', + 'Järfälla', + 'Jönköping', + 'Kalix', + 'Kalmar', + 'Karlsborg', + 'Karlshamn', + 'Karlskoga', + 'Karlskrona', + 'Karlstad', + 'Katrineholm', + 'Kil', + 'Kinda', + 'Kiruna', + 'Klippan', + 'Knivsta', + 'Kramfors', + 'Kristianstad', + 'Kristinehamn', + 'Krokom', + 'Kumla', + 'Kungsbacka', + 'Kungsör', + 'Kungälv', + 'Kävlinge', + 'Köping', + 'Laholm', + 'Landskrona', + 'Laxå', + 'Lekeberg', + 'Leksand', + 'Lerum', + 'Lessebo', + 'Lidingö', + 'Lidköping', + 'Lilla Edet', + 'Lindesberg', + 'Linköping', + 'Ljungby', + 'Ljusdal', + 'Ljusnarsberg', + 'Lomma', + 'Ludvika', + 'Luleå', + 'Lund', + 'Lycksele', + 'Lysekil', + 'Malmö', + 'Malung-Sälen', + 'Malå', + 'Mariestad', + 'Mark', + 'Markaryd', + 'Mellerud', + 'Mjölby', + 'Mora', + 'Motala', + 'Mullsjö', + 'Munkedal', + 'Munkfors', + 'Mölndal', + 'Mönsterås', + 'Mörbylånga', + 'Nacka', + 'Nora', + 'Norberg', + 'Nordanstig', + 'Nordmaling', + 'Norrköping', + 'Norrtälje', + 'Norsjö', + 'Nybro', + 'Nykvarn', + 'Nyköping', + 'Nynäshamn', + 'Nässjö', + 'Ockelbo', + 'Olofström', + 'Orsa', + 'Orust', + 'Osby', + 'Oskarshamn', + 'Ovanåker', + 'Oxelösund', + 'Pajala', + 'Partille', + 'Perstorp', + 'Piteå', + 'Ragunda', + 'Robertsfors', + 'Ronneby', + 'Rättvik', + 'Sala', + 'Salem', + 'Sandviken', + 'Sigtuna', + 'Simrishamn', + 'Sjöbo', + 'Skara', + 'Skellefteå', + 'Skinnskatteberg', + 'Skurup', + 'Skövde', + 'Smedjebacken', + 'Sollefteå', + 'Sollentuna', + 'Solna', + 'Sorsele', + 'Sotenäs', + 'Staffanstorp', + 'Stenungsund', + 'Stockholm', + 'Storfors', + 'Storuman', + 'Strängnäs', + 'Strömstad', + 'Strömsund', + 'Sundbyberg', + 'Sundsvall', + 'Sunne', + 'Surahammar', + 'Svalöv', + 'Svedala', + 'Svenljunga', + 'Säffle', + 'Säter', + 'Sävsjö', + 'Söderhamn', + 'Söderköping', + 'Södertälje', + 'Sölvesborg', + 'Tanum', + 'Tibro', + 'Tidaholm', + 'Tierp', + 'Timrå', + 'Tingsryd', + 'Tjörn', + 'Tomelilla', + 'Torsby', + 'Torsås', + 'Tranemo', + 'Tranås', + 'Trelleborg', + 'Trollhättan', + 'Trosa', + 'Tyresö', + 'Täby', + 'Töreboda', + 'Uddevalla', + 'Ulricehamn', + 'Umeå', + 'Upplands-Bro', + 'Upplands Väsby', + 'Uppsala', + 'Uppvidinge', + 'Vadstena', + 'Vaggeryd', + 'Valdemarsvik', + 'Vallentuna', + 'Vansbro', + 'Vara', + 'Varberg', + 'Vaxholm', + 'Vellinge', + 'Vetlanda', + 'Vilhelmina', + 'Vimmerby', + 'Vindeln', + 'Vingåker', + 'Vårgårda', + 'Vänersborg', + 'Vännäs', + 'Värmdö', + 'Värnamo', + 'Västervik', + 'Västerås', + 'Växjö', + 'Ydre', + 'Ystad', + 'Åmål', + 'Ånge', + 'Åre', + 'Årjäng', + 'Åsele', + 'Åstorp', + 'Åtvidaberg', + 'Älmhult', + 'Älvdalen', + 'Älvkarleby', + 'Älvsbyn', + 'Ängelholm', + 'Öckerö', + 'Ödeshög', + 'Örebro', + 'Örkelljunga', + 'Örnsköldsvik', + 'Östersund', + 'Österåker', + 'Östhammar', + 'Östra Göinge', + 'Överkalix', + 'Övertorneå', +]; diff --git a/src/locales/sv/location/index.ts b/src/locales/sv/location/index.ts index f2aa52c2b47..612dd30230c 100644 --- a/src/locales/sv/location/index.ts +++ b/src/locales/sv/location/index.ts @@ -9,6 +9,7 @@ import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; import common_street_suffix from './common_street_suffix'; import country from './country'; +import county from './county'; import postcode from './postcode'; import secondary_address from './secondary_address'; import state from './state'; @@ -25,6 +26,7 @@ const location: LocationDefinition = { city_suffix, common_street_suffix, country, + county, postcode, secondary_address, state, From d5163924ea457616cb7779e511f166386c182fdb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 10 Oct 2024 23:36:07 +0200 Subject: [PATCH 30/47] chore(deps): update dependency ts-morph to v24 (#3160) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 57 +++++++++++++++++++++++++++++++------------------- 2 files changed, 36 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index c14f3114f73..d64f9b5d91d 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "rimraf": "5.0.10", "sanitize-html": "2.13.1", "semver": "7.6.3", - "ts-morph": "23.0.0", + "ts-morph": "24.0.0", "tsup": "8.3.0", "tsx": "4.19.1", "typescript": "5.6.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ab1ce50f283..101bcd3bc0a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -93,8 +93,8 @@ importers: specifier: 7.6.3 version: 7.6.3 ts-morph: - specifier: 23.0.0 - version: 23.0.0 + specifier: 24.0.0 + version: 24.0.0 tsup: specifier: 8.3.0 version: 8.3.0(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.2)(yaml@2.5.1) @@ -839,8 +839,8 @@ packages: peerDependencies: eslint: '>=8.40.0' - '@ts-morph/common@0.24.0': - resolution: {integrity: sha512-c1xMmNHWpNselmpIqursHeOHHBTIsJLbB+NuovbTTRCNiTLEr/U9dbJ8qy0jd/O2x5pc3seWuOUN5R2IoOTp8A==} + '@ts-morph/common@0.25.0': + resolution: {integrity: sha512-kMnZz+vGGHi4GoHnLmMhGNjm44kGtKUXGnOvrKmMwAuvNjM/PgKVGfUnL7IDvK7Jb2QQ82jq3Zmp04Gy+r3Dkg==} '@types/eslint@9.6.1': resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==} @@ -1410,8 +1410,8 @@ packages: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} - code-block-writer@13.0.2: - resolution: {integrity: sha512-XfXzAGiStXSmCIwrkdfvc7FS5Dtj8yelCtyOf2p2skCAfvLd6zu0rGzuS9NSCO3bq1JKpFZ7tbKdKlcd5occQA==} + code-block-writer@13.0.3: + resolution: {integrity: sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==} color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} @@ -1891,6 +1891,14 @@ packages: picomatch: optional: true + fdir@6.4.0: + resolution: {integrity: sha512-3oB133prH1o4j/L5lLW7uOCF1PlD+/It2L0eL/iAqWMB91RBbqTewABqxhj0ibBd90EEmWZq7ntIWzVaWcXTGQ==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + fflate@0.8.2: resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} @@ -2538,11 +2546,6 @@ packages: mitt@3.0.1: resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==} - mkdirp@3.0.1: - resolution: {integrity: sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==} - engines: {node: '>=10'} - hasBin: true - modify-values@1.0.1: resolution: {integrity: sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==} engines: {node: '>=0.10.0'} @@ -3220,6 +3223,10 @@ packages: resolution: {integrity: sha512-NbBoFBpqfcgd1tCiO8Lkfdk+xrA7mlLR9zgvZcZWQQwU63XAfUePyd6wZBaU93Hqw347lHnwFzttAkemHzzz4g==} engines: {node: '>=12.0.0'} + tinyglobby@0.2.9: + resolution: {integrity: sha512-8or1+BGEdk1Zkkw2ii16qSS7uVrQJPre5A9o/XkWPATkk23FZh/15BKFxPnlTy6vkljZxLqYCzzBMj30ZrSvjw==} + engines: {node: '>=12.0.0'} + tinypool@1.0.1: resolution: {integrity: sha512-URZYihUbRPcGv95En+sz6MfghfIc2OJ1sv/RmhWZLouPY0/8Vo80viwPvg3dlaS9fuq7fQMEfgRRK7BBZThBEA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -3290,8 +3297,8 @@ packages: ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - ts-morph@23.0.0: - resolution: {integrity: sha512-FcvFx7a9E8TUe6T3ShihXJLiJOiqyafzFKUO4aqIHDUCIvADdGNShcbc2W5PMr3LerXRv7mafvFZ9lRENxJmug==} + ts-morph@24.0.0: + resolution: {integrity: sha512-2OAOg/Ob5yx9Et7ZX4CvTCc0UFoZHwLEJ+dpDPSUi5TgwwlTlX47w+iFRrEwzUZwYACjq83cgjS/Da50Ga37uw==} tslib@2.7.0: resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} @@ -4293,12 +4300,11 @@ snapshots: - supports-color - typescript - '@ts-morph/common@0.24.0': + '@ts-morph/common@0.25.0': dependencies: - fast-glob: 3.3.2 minimatch: 9.0.5 - mkdirp: 3.0.1 path-browserify: 1.0.1 + tinyglobby: 0.2.9 '@types/eslint@9.6.1': dependencies: @@ -4922,7 +4928,7 @@ snapshots: strip-ansi: 6.0.1 wrap-ansi: 7.0.0 - code-block-writer@13.0.2: {} + code-block-writer@13.0.3: {} color-convert@1.9.3: dependencies: @@ -5543,6 +5549,10 @@ snapshots: optionalDependencies: picomatch: 4.0.2 + fdir@6.4.0(picomatch@4.0.2): + optionalDependencies: + picomatch: 4.0.2 + fflate@0.8.2: {} figures@3.2.0: @@ -6192,8 +6202,6 @@ snapshots: mitt@3.0.1: {} - mkdirp@3.0.1: {} - modify-values@1.0.1: {} mrmime@2.0.0: {} @@ -6859,6 +6867,11 @@ snapshots: fdir: 6.3.0(picomatch@4.0.2) picomatch: 4.0.2 + tinyglobby@0.2.9: + dependencies: + fdir: 6.4.0(picomatch@4.0.2) + picomatch: 4.0.2 + tinypool@1.0.1: {} tinyrainbow@1.2.0: {} @@ -6912,10 +6925,10 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-morph@23.0.0: + ts-morph@24.0.0: dependencies: - '@ts-morph/common': 0.24.0 - code-block-writer: 13.0.2 + '@ts-morph/common': 0.25.0 + code-block-writer: 13.0.3 tslib@2.7.0: {} From d43d68dd11c81d641042cf38b3260592b9a96419 Mon Sep 17 00:00:00 2001 From: Dmitrii Paskhin Date: Fri, 11 Oct 2024 08:50:41 +0200 Subject: [PATCH 31/47] docs: update unique values guide with new library (#3166) --- docs/guide/unique.md | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/docs/guide/unique.md b/docs/guide/unique.md index 235e33ac52b..ac9a3038f5f 100644 --- a/docs/guide/unique.md +++ b/docs/guide/unique.md @@ -25,34 +25,4 @@ faker.helpers.uniqueArray(faker.internet.email, 1000); // will generate 1000 uni 3. Build your own logic to keep track of a set of previously generated values and regenerate values as necessary if a duplicate is generated -4. Use a third party package to enforce uniqueness such as [enforce-unique](https://github.com/MansurAliKoroglu/enforce-unique) - -Note you can supply a maximum time (in milliseconds) or maximum number of retries. - -```js -import { EnforceUniqueError, UniqueEnforcer } from 'enforce-unique'; - -const uniqueEnforcerEmail = new UniqueEnforcer(); - -function createRandomUser() { - const firstName = faker.person.firstName(); - const lastName = faker.person.lastName(); - const email = uniqueEnforcerEmail.enforce( - () => - faker.internet.email({ - firstName, - lastName, - }), - { - maxTime: 50, - maxRetries: 50, - } - ); - - return { - firstName, - lastName, - email, - }; -} -``` +4. Use a third-party package to enforce uniqueness, such as [enforce-unique](https://github.com/MansurAliKoroglu/enforce-unique) or [@dpaskhin/unique](https://github.com/dPaskhin/unique). From 25506d2d61acf79d889e70ff7a43fde9eee1302a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 12 Oct 2024 01:06:48 +0200 Subject: [PATCH 32/47] chore(deps): update vitest (#3158) --- package.json | 8 +-- pnpm-lock.yaml | 158 ++++++++++++++++++++++--------------------------- 2 files changed, 76 insertions(+), 90 deletions(-) diff --git a/package.json b/package.json index d64f9b5d91d..7c52cf1a49e 100644 --- a/package.json +++ b/package.json @@ -112,9 +112,9 @@ "@types/sanitize-html": "2.13.0", "@types/semver": "7.5.8", "@types/validator": "13.12.2", - "@vitest/coverage-v8": "2.1.1", - "@vitest/eslint-plugin": "1.1.4", - "@vitest/ui": "2.1.1", + "@vitest/coverage-v8": "2.1.2", + "@vitest/eslint-plugin": "1.1.7", + "@vitest/ui": "2.1.2", "@vueuse/core": "11.1.0", "commit-and-tag-version": "12.4.4", "cypress": "13.15.0", @@ -139,7 +139,7 @@ "validator": "13.12.0", "vite": "5.4.8", "vitepress": "1.4.0", - "vitest": "2.1.1", + "vitest": "2.1.2", "vue": "3.5.11", "vue-tsc": "2.1.6" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 101bcd3bc0a..1acea91e4a2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,14 +36,14 @@ importers: specifier: 13.12.2 version: 13.12.2 '@vitest/coverage-v8': - specifier: 2.1.1 - version: 2.1.1(vitest@2.1.1) + specifier: 2.1.2 + version: 2.1.2(vitest@2.1.2) '@vitest/eslint-plugin': - specifier: 1.1.4 - version: 1.1.4(@typescript-eslint/utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1) + specifier: 1.1.7 + version: 1.1.7(@typescript-eslint/utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.2) '@vitest/ui': - specifier: 2.1.1 - version: 2.1.1(vitest@2.1.1) + specifier: 2.1.2 + version: 2.1.2(vitest@2.1.2) '@vueuse/core': specifier: 11.1.0 version: 11.1.0(vue@3.5.11(typescript@5.6.2)) @@ -117,8 +117,8 @@ importers: specifier: 1.4.0 version: 1.4.0(@algolia/client-search@5.5.3)(@types/node@20.16.11)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2) vitest: - specifier: 2.1.1 - version: 2.1.1(@types/node@20.16.11)(@vitest/ui@2.1.1)(jsdom@25.0.1) + specifier: 2.1.2 + version: 2.1.2(@types/node@20.16.11)(@vitest/ui@2.1.2)(jsdom@25.0.1) vue: specifier: 3.5.11 version: 3.5.11(typescript@5.6.2) @@ -972,37 +972,35 @@ packages: vite: ^5.0.0 vue: ^3.2.25 - '@vitest/coverage-v8@2.1.1': - resolution: {integrity: sha512-md/A7A3c42oTT8JUHSqjP5uKTWJejzUW4jalpvs+rZ27gsURsMU8DEb+8Jf8C6Kj2gwfSHJqobDNBuoqlm0cFw==} + '@vitest/coverage-v8@2.1.2': + resolution: {integrity: sha512-b7kHrFrs2urS0cOk5N10lttI8UdJ/yP3nB4JYTREvR5o18cR99yPpK4gK8oQgI42BVv0ILWYUSYB7AXkAUDc0g==} peerDependencies: - '@vitest/browser': 2.1.1 - vitest: 2.1.1 + '@vitest/browser': 2.1.2 + vitest: 2.1.2 peerDependenciesMeta: '@vitest/browser': optional: true - '@vitest/eslint-plugin@1.1.4': - resolution: {integrity: sha512-kudjgefmJJ7xQ2WfbUU6pZbm7Ou4gLYRaao/8Ynide3G0QhVKHd978sDyWX4KOH0CCMH9cyrGAkFd55eGzJ48Q==} + '@vitest/eslint-plugin@1.1.7': + resolution: {integrity: sha512-pTWGW3y6lH2ukCuuffpan6kFxG6nIuoesbhMiQxskyQMRcCN5t9SXsKrNHvEw3p8wcCsgJoRqFZVkOTn6TjclA==} peerDependencies: '@typescript-eslint/utils': '>= 8.0' eslint: '>= 8.57.0' typescript: '>= 5.0.0' vitest: '*' peerDependenciesMeta: - '@typescript-eslint/utils': - optional: true typescript: optional: true vitest: optional: true - '@vitest/expect@2.1.1': - resolution: {integrity: sha512-YeueunS0HiHiQxk+KEOnq/QMzlUuOzbU1Go+PgAsHvvv3tUkJPm9xWt+6ITNTlzsMXUjmgm5T+U7KBPK2qQV6w==} + '@vitest/expect@2.1.2': + resolution: {integrity: sha512-FEgtlN8mIUSEAAnlvn7mP8vzaWhEaAEvhSXCqrsijM7K6QqjB11qoRZYEd4AKSCDz8p0/+yH5LzhZ47qt+EyPg==} - '@vitest/mocker@2.1.1': - resolution: {integrity: sha512-LNN5VwOEdJqCmJ/2XJBywB11DLlkbY0ooDJW3uRX5cZyYCrc4PI/ePX0iQhE3BiEGiQmK4GE7Q/PqCkkaiPnrA==} + '@vitest/mocker@2.1.2': + resolution: {integrity: sha512-ExElkCGMS13JAJy+812fw1aCv2QO/LBK6CyO4WOPAzLTmve50gydOlWhgdBJPx2ztbADUq3JVI0C5U+bShaeEA==} peerDependencies: - '@vitest/spy': 2.1.1 + '@vitest/spy': 2.1.2 msw: ^2.3.5 vite: ^5.0.0 peerDependenciesMeta: @@ -1011,25 +1009,25 @@ packages: vite: optional: true - '@vitest/pretty-format@2.1.1': - resolution: {integrity: sha512-SjxPFOtuINDUW8/UkElJYQSFtnWX7tMksSGW0vfjxMneFqxVr8YJ979QpMbDW7g+BIiq88RAGDjf7en6rvLPPQ==} + '@vitest/pretty-format@2.1.2': + resolution: {integrity: sha512-FIoglbHrSUlOJPDGIrh2bjX1sNars5HbxlcsFKCtKzu4+5lpsRhOCVcuzp0fEhAGHkPZRIXVNzPcpSlkoZ3LuA==} - '@vitest/runner@2.1.1': - resolution: {integrity: sha512-uTPuY6PWOYitIkLPidaY5L3t0JJITdGTSwBtwMjKzo5O6RCOEncz9PUN+0pDidX8kTHYjO0EwUIvhlGpnGpxmA==} + '@vitest/runner@2.1.2': + resolution: {integrity: sha512-UCsPtvluHO3u7jdoONGjOSil+uON5SSvU9buQh3lP7GgUXHp78guN1wRmZDX4wGK6J10f9NUtP6pO+SFquoMlw==} - '@vitest/snapshot@2.1.1': - resolution: {integrity: sha512-BnSku1WFy7r4mm96ha2FzN99AZJgpZOWrAhtQfoxjUU5YMRpq1zmHRq7a5K9/NjqonebO7iVDla+VvZS8BOWMw==} + '@vitest/snapshot@2.1.2': + resolution: {integrity: sha512-xtAeNsZ++aRIYIUsek7VHzry/9AcxeULlegBvsdLncLmNCR6tR8SRjn8BbDP4naxtccvzTqZ+L1ltZlRCfBZFA==} - '@vitest/spy@2.1.1': - resolution: {integrity: sha512-ZM39BnZ9t/xZ/nF4UwRH5il0Sw93QnZXd9NAZGRpIgj0yvVwPpLd702s/Cx955rGaMlyBQkZJ2Ir7qyY48VZ+g==} + '@vitest/spy@2.1.2': + resolution: {integrity: sha512-GSUi5zoy+abNRJwmFhBDC0yRuVUn8WMlQscvnbbXdKLXX9dE59YbfwXxuJ/mth6eeqIzofU8BB5XDo/Ns/qK2A==} - '@vitest/ui@2.1.1': - resolution: {integrity: sha512-IIxo2LkQDA+1TZdPLYPclzsXukBWd5dX2CKpGqH8CCt8Wh0ZuDn4+vuQ9qlppEju6/igDGzjWF/zyorfsf+nHg==} + '@vitest/ui@2.1.2': + resolution: {integrity: sha512-92gcNzkDnmxOxyHzQrQYRsoV9Q0Aay0r4QMLnV+B+lbqlUWa8nDg9ivyLV5mMVTtGirHsYUGGh/zbIA55gBZqA==} peerDependencies: - vitest: 2.1.1 + vitest: 2.1.2 - '@vitest/utils@2.1.1': - resolution: {integrity: sha512-Y6Q9TsI+qJ2CC0ZKj6VBb+T8UPz593N113nnUykqwANqhgf3QkZeHFlusgKLTqrnVHbj/XDKZcDHol+dxVT+rQ==} + '@vitest/utils@2.1.2': + resolution: {integrity: sha512-zMO2KdYy6mx56btx9JvAqAZ6EyS3g49krMPPrgOp1yxGZiA93HumGk+bZ5jIZtOg5/VBYl5eBmGRQHqq4FG6uQ==} '@volar/language-core@2.4.5': resolution: {integrity: sha512-F4tA0DCO5Q1F5mScHmca0umsi2ufKULAnMOVBfMsZdT4myhVl4WdKRwCaKcfOkIEuyrAVvtq1ESBdZ+rSyLVww==} @@ -1883,14 +1881,6 @@ packages: fd-slicer@1.1.0: resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==} - fdir@6.3.0: - resolution: {integrity: sha512-QOnuT+BOtivR77wYvCWHfGt9s4Pz1VIMbD463vegT5MLqNXy8rYFT/lPVEqf/bhYeT6qmqrNHhsX+rWwe3rOCQ==} - peerDependencies: - picomatch: ^3 || ^4 - peerDependenciesMeta: - picomatch: - optional: true - fdir@6.4.0: resolution: {integrity: sha512-3oB133prH1o4j/L5lLW7uOCF1PlD+/It2L0eL/iAqWMB91RBbqTewABqxhj0ibBd90EEmWZq7ntIWzVaWcXTGQ==} peerDependencies: @@ -3452,8 +3442,8 @@ packages: vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} - vite-node@2.1.1: - resolution: {integrity: sha512-N/mGckI1suG/5wQI35XeR9rsMsPqKXzq1CdUndzVstBj/HvyxxGctwnK6WX43NGt5L3Z5tcRf83g4TITKJhPrA==} + vite-node@2.1.2: + resolution: {integrity: sha512-HPcGNN5g/7I2OtPjLqgOtCRu/qhVvBxTUD3qzitmL0SrG1cWFzxzhMDWussxSbrRYWqnKf8P2jiNhPMSN+ymsQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -3500,15 +3490,15 @@ packages: postcss: optional: true - vitest@2.1.1: - resolution: {integrity: sha512-97We7/VC0e9X5zBVkvt7SGQMGrRtn3KtySFQG5fpaMlS+l62eeXRQO633AYhSTC3z7IMebnPPNjGXVGNRFlxBA==} + vitest@2.1.2: + resolution: {integrity: sha512-veNjLizOMkRrJ6xxb+pvxN6/QAWg95mzcRjtmkepXdN87FNfxAss9RKe2far/G9cQpipfgP2taqg0KiWsquj8A==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 2.1.1 - '@vitest/ui': 2.1.1 + '@vitest/browser': 2.1.2 + '@vitest/ui': 2.1.2 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -4455,7 +4445,7 @@ snapshots: vite: 5.4.8(@types/node@20.16.11) vue: 3.5.11(typescript@5.6.2) - '@vitest/coverage-v8@2.1.1(vitest@2.1.1)': + '@vitest/coverage-v8@2.1.2(vitest@2.1.2)': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -4469,66 +4459,66 @@ snapshots: std-env: 3.7.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.1.1(@types/node@20.16.11)(@vitest/ui@2.1.1)(jsdom@25.0.1) + vitest: 2.1.2(@types/node@20.16.11)(@vitest/ui@2.1.2)(jsdom@25.0.1) transitivePeerDependencies: - supports-color - '@vitest/eslint-plugin@1.1.4(@typescript-eslint/utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1)': + '@vitest/eslint-plugin@1.1.7(@typescript-eslint/utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.2)': dependencies: + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) eslint: 9.12.0(jiti@1.21.6) optionalDependencies: - '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) typescript: 5.6.2 - vitest: 2.1.1(@types/node@20.16.11)(@vitest/ui@2.1.1)(jsdom@25.0.1) + vitest: 2.1.2(@types/node@20.16.11)(@vitest/ui@2.1.2)(jsdom@25.0.1) - '@vitest/expect@2.1.1': + '@vitest/expect@2.1.2': dependencies: - '@vitest/spy': 2.1.1 - '@vitest/utils': 2.1.1 + '@vitest/spy': 2.1.2 + '@vitest/utils': 2.1.2 chai: 5.1.1 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.8(@types/node@20.16.11))': + '@vitest/mocker@2.1.2(@vitest/spy@2.1.2)(vite@5.4.8(@types/node@20.16.11))': dependencies: - '@vitest/spy': 2.1.1 + '@vitest/spy': 2.1.2 estree-walker: 3.0.3 magic-string: 0.30.11 optionalDependencies: vite: 5.4.8(@types/node@20.16.11) - '@vitest/pretty-format@2.1.1': + '@vitest/pretty-format@2.1.2': dependencies: tinyrainbow: 1.2.0 - '@vitest/runner@2.1.1': + '@vitest/runner@2.1.2': dependencies: - '@vitest/utils': 2.1.1 + '@vitest/utils': 2.1.2 pathe: 1.1.2 - '@vitest/snapshot@2.1.1': + '@vitest/snapshot@2.1.2': dependencies: - '@vitest/pretty-format': 2.1.1 + '@vitest/pretty-format': 2.1.2 magic-string: 0.30.11 pathe: 1.1.2 - '@vitest/spy@2.1.1': + '@vitest/spy@2.1.2': dependencies: tinyspy: 3.0.2 - '@vitest/ui@2.1.1(vitest@2.1.1)': + '@vitest/ui@2.1.2(vitest@2.1.2)': dependencies: - '@vitest/utils': 2.1.1 + '@vitest/utils': 2.1.2 fflate: 0.8.2 flatted: 3.3.1 pathe: 1.1.2 sirv: 2.0.4 - tinyglobby: 0.2.6 + tinyglobby: 0.2.9 tinyrainbow: 1.2.0 - vitest: 2.1.1(@types/node@20.16.11)(@vitest/ui@2.1.1)(jsdom@25.0.1) + vitest: 2.1.2(@types/node@20.16.11)(@vitest/ui@2.1.2)(jsdom@25.0.1) - '@vitest/utils@2.1.1': + '@vitest/utils@2.1.2': dependencies: - '@vitest/pretty-format': 2.1.1 + '@vitest/pretty-format': 2.1.2 loupe: 3.1.1 tinyrainbow: 1.2.0 @@ -5545,10 +5535,6 @@ snapshots: dependencies: pend: 1.2.0 - fdir@6.3.0(picomatch@4.0.2): - optionalDependencies: - picomatch: 4.0.2 - fdir@6.4.0(picomatch@4.0.2): optionalDependencies: picomatch: 4.0.2 @@ -6864,7 +6850,7 @@ snapshots: tinyglobby@0.2.6: dependencies: - fdir: 6.3.0(picomatch@4.0.2) + fdir: 6.4.0(picomatch@4.0.2) picomatch: 4.0.2 tinyglobby@0.2.9: @@ -7083,7 +7069,7 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vite-node@2.1.1(@types/node@20.16.11): + vite-node@2.1.2(@types/node@20.16.11): dependencies: cac: 6.7.14 debug: 4.3.7(supports-color@8.1.1) @@ -7158,15 +7144,15 @@ snapshots: - typescript - universal-cookie - vitest@2.1.1(@types/node@20.16.11)(@vitest/ui@2.1.1)(jsdom@25.0.1): + vitest@2.1.2(@types/node@20.16.11)(@vitest/ui@2.1.2)(jsdom@25.0.1): dependencies: - '@vitest/expect': 2.1.1 - '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.8(@types/node@20.16.11)) - '@vitest/pretty-format': 2.1.1 - '@vitest/runner': 2.1.1 - '@vitest/snapshot': 2.1.1 - '@vitest/spy': 2.1.1 - '@vitest/utils': 2.1.1 + '@vitest/expect': 2.1.2 + '@vitest/mocker': 2.1.2(@vitest/spy@2.1.2)(vite@5.4.8(@types/node@20.16.11)) + '@vitest/pretty-format': 2.1.2 + '@vitest/runner': 2.1.2 + '@vitest/snapshot': 2.1.2 + '@vitest/spy': 2.1.2 + '@vitest/utils': 2.1.2 chai: 5.1.1 debug: 4.3.7(supports-color@8.1.1) magic-string: 0.30.11 @@ -7177,11 +7163,11 @@ snapshots: tinypool: 1.0.1 tinyrainbow: 1.2.0 vite: 5.4.8(@types/node@20.16.11) - vite-node: 2.1.1(@types/node@20.16.11) + vite-node: 2.1.2(@types/node@20.16.11) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.16.11 - '@vitest/ui': 2.1.1(vitest@2.1.1) + '@vitest/ui': 2.1.2(vitest@2.1.2) jsdom: 25.0.1 transitivePeerDependencies: - less From 033c23b109de18dcfaf8abeab4e134a47c57b460 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 12 Oct 2024 12:21:40 +0200 Subject: [PATCH 33/47] chore(deps): update dependency eslint-plugin-unicorn to v56 (#3159) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: ST-DDT --- eslint.config.ts | 1 - package.json | 2 +- pnpm-lock.yaml | 10 +++++----- src/internal/mersenne.ts | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/eslint.config.ts b/eslint.config.ts index 05fe235fcf4..4b522eece5d 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -153,7 +153,6 @@ const config: ReturnType = tseslint.config( // TODO @Shinigami92 2023-09-23: The following rules currently conflict with our code. // Each rule should be checked whether it should be enabled/configured and the problems fixed, or stay disabled permanently. - 'unicorn/better-regex': 'off', 'unicorn/consistent-function-scoping': 'off', 'unicorn/no-object-as-default-parameter': 'off', 'unicorn/prefer-export-from': 'off', diff --git a/package.json b/package.json index 7c52cf1a49e..718ab7e6d5f 100644 --- a/package.json +++ b/package.json @@ -122,7 +122,7 @@ "eslint-config-prettier": "9.1.0", "eslint-plugin-jsdoc": "50.3.1", "eslint-plugin-prettier": "5.2.1", - "eslint-plugin-unicorn": "55.0.0", + "eslint-plugin-unicorn": "56.0.0", "jiti": "1.21.6", "npm-run-all2": "6.2.3", "prettier": "3.3.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1acea91e4a2..abcddbd87b0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -66,8 +66,8 @@ importers: specifier: 5.2.1 version: 5.2.1(@types/eslint@9.6.1)(eslint-config-prettier@9.1.0(eslint@9.12.0(jiti@1.21.6)))(eslint@9.12.0(jiti@1.21.6))(prettier@3.3.3) eslint-plugin-unicorn: - specifier: 55.0.0 - version: 55.0.0(eslint@9.12.0(jiti@1.21.6)) + specifier: 56.0.0 + version: 56.0.0(eslint@9.12.0(jiti@1.21.6)) jiti: specifier: 1.21.6 version: 1.21.6 @@ -1778,8 +1778,8 @@ packages: eslint-config-prettier: optional: true - eslint-plugin-unicorn@55.0.0: - resolution: {integrity: sha512-n3AKiVpY2/uDcGrS3+QsYDkjPfaOrNrsfQxU9nt5nitd9KuvVXrfAvgCO9DYPSfap+Gqjw9EOrXIsBp5tlHZjA==} + eslint-plugin-unicorn@56.0.0: + resolution: {integrity: sha512-aXpddVz/PQMmd69uxO98PA4iidiVNvA0xOtbpUoz1WhBd4RxOQQYqN618v68drY0hmy5uU2jy1bheKEVWBjlPw==} engines: {node: '>=18.18'} peerDependencies: eslint: '>=8.56.0' @@ -5372,7 +5372,7 @@ snapshots: '@types/eslint': 9.6.1 eslint-config-prettier: 9.1.0(eslint@9.12.0(jiti@1.21.6)) - eslint-plugin-unicorn@55.0.0(eslint@9.12.0(jiti@1.21.6)): + eslint-plugin-unicorn@56.0.0(eslint@9.12.0(jiti@1.21.6)): dependencies: '@babel/helper-validator-identifier': 7.24.7 '@eslint-community/eslint-utils': 4.4.0(eslint@9.12.0(jiti@1.21.6)) diff --git a/src/internal/mersenne.ts b/src/internal/mersenne.ts index 351faa4e4b9..82a0915baf9 100644 --- a/src/internal/mersenne.ts +++ b/src/internal/mersenne.ts @@ -171,7 +171,7 @@ export class MersenneTwister19937 { this.initGenrand(19650218); let i = 1; let j = 0; - let k = this.N > keyLength ? this.N : keyLength; + let k = Math.max(this.N, keyLength); for (; k; k--) { // mt[i] = (mt[i] ^ ((mt[i-1] ^ (mt[i-1] >> 30)) * 1664525)) + init_key[j] + j; this.mt[i] = this.addition32( From 4056ab09c64be40d41562284ec64e7531fbaff41 Mon Sep 17 00:00:00 2001 From: Joscha Feth Date: Sat, 12 Oct 2024 14:39:42 +0100 Subject: [PATCH 34/47] feat(location): add `continent` method (#3162) --- src/definitions/location.ts | 5 +++++ src/locales/en/location/continent.ts | 9 +++++++++ src/locales/en/location/index.ts | 2 ++ src/modules/location/index.ts | 14 ++++++++++++++ test/modules/__snapshots__/location.spec.ts.snap | 6 ++++++ test/modules/location.spec.ts | 12 ++++++++++++ 6 files changed, 48 insertions(+) create mode 100644 src/locales/en/location/continent.ts diff --git a/src/definitions/location.ts b/src/definitions/location.ts index 5aee4e79e3f..9fbda95f59b 100644 --- a/src/definitions/location.ts +++ b/src/definitions/location.ts @@ -36,6 +36,11 @@ export type LocationDefinition = LocaleEntry<{ */ city_suffix: string[]; + /** + * The names of all continents. + */ + continent: string[]; + /** * The names of all countries. */ diff --git a/src/locales/en/location/continent.ts b/src/locales/en/location/continent.ts new file mode 100644 index 00000000000..379b460155e --- /dev/null +++ b/src/locales/en/location/continent.ts @@ -0,0 +1,9 @@ +export default [ + 'Africa', + 'Antarctica', + 'Asia', + 'Australia', + 'Europe', + 'North America', + 'South America', +]; diff --git a/src/locales/en/location/index.ts b/src/locales/en/location/index.ts index 7938321dcb7..64ca3268f7d 100644 --- a/src/locales/en/location/index.ts +++ b/src/locales/en/location/index.ts @@ -8,6 +8,7 @@ import city_name from './city_name'; import city_pattern from './city_pattern'; import city_prefix from './city_prefix'; import city_suffix from './city_suffix'; +import continent from './continent'; import country from './country'; import county from './county'; import direction from './direction'; @@ -26,6 +27,7 @@ const location: LocationDefinition = { city_pattern, city_prefix, city_suffix, + continent, country, county, direction, diff --git a/src/modules/location/index.ts b/src/modules/location/index.ts index 4aabdd8db4a..4a49e029501 100644 --- a/src/modules/location/index.ts +++ b/src/modules/location/index.ts @@ -216,6 +216,20 @@ export class LocationModule extends ModuleBase { ); } + /** + * Returns a random continent name. + * + * @example + * faker.location.continent() // 'Asia' + * + * @since 9.1.0 + */ + continent(): string { + return this.faker.helpers.arrayElement( + this.faker.definitions.location.continent + ); + } + /** * Returns a random [ISO_3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) country code. * diff --git a/test/modules/__snapshots__/location.spec.ts.snap b/test/modules/__snapshots__/location.spec.ts.snap index b53acbda355..a8d24e9a6ef 100644 --- a/test/modules/__snapshots__/location.spec.ts.snap +++ b/test/modules/__snapshots__/location.spec.ts.snap @@ -8,6 +8,8 @@ exports[`location > 42 > cardinalDirection > with abbreviated option 1`] = `"E"` exports[`location > 42 > city 1`] = `"Fort Moses"`; +exports[`location > 42 > continent 1`] = `"Asia"`; + exports[`location > 42 > country 1`] = `"Guinea"`; exports[`location > 42 > countryCode > noArgs 1`] = `"GY"`; @@ -144,6 +146,8 @@ exports[`location > 1211 > cardinalDirection > with abbreviated option 1`] = `"W exports[`location > 1211 > city 1`] = `"The Villages"`; +exports[`location > 1211 > continent 1`] = `"South America"`; + exports[`location > 1211 > country 1`] = `"Uganda"`; exports[`location > 1211 > countryCode > noArgs 1`] = `"UM"`; @@ -280,6 +284,8 @@ exports[`location > 1337 > cardinalDirection > with abbreviated option 1`] = `"E exports[`location > 1337 > city 1`] = `"East Duane"`; +exports[`location > 1337 > continent 1`] = `"Antarctica"`; + exports[`location > 1337 > country 1`] = `"Egypt"`; exports[`location > 1337 > countryCode > noArgs 1`] = `"EH"`; diff --git a/test/modules/location.spec.ts b/test/modules/location.spec.ts index 1291efd31fd..2be7c4896a3 100644 --- a/test/modules/location.spec.ts +++ b/test/modules/location.spec.ts @@ -77,6 +77,8 @@ describe('location', () => { t.it('country'); + t.it('continent'); + t.describe('countryCode', (t) => { t.it('noArgs') .it('with string alpha-2', 'alpha-2') @@ -145,6 +147,16 @@ describe('location', () => { describe.each(times(NON_SEEDED_BASED_RUN).map(() => faker.seed()))( 'random seeded tests for seed %i', () => { + describe('continent()', () => { + it('returns random continent', () => { + const actual = faker.location.continent(); + + expect(actual).toBeTruthy(); + expect(actual).toBeTypeOf('string'); + expect(faker.definitions.location.continent).toContain(actual); + }); + }); + describe('countryCode()', () => { it('returns random alpha-2 countryCode', () => { const countryCode = faker.location.countryCode('alpha-2'); From e271d4a545dd48e57285019e4f412358c49cad0d Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Sun, 13 Oct 2024 05:44:40 +0700 Subject: [PATCH 35/47] fix(location): update valid ZIP ranges for FL and VA (#3167) --- src/locales/en_US/location/postcode_by_state.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/locales/en_US/location/postcode_by_state.ts b/src/locales/en_US/location/postcode_by_state.ts index 70b61700453..4f8ab247d15 100644 --- a/src/locales/en_US/location/postcode_by_state.ts +++ b/src/locales/en_US/location/postcode_by_state.ts @@ -8,7 +8,7 @@ export default { CT: '0{{number.int({"min": 6001,"max": 6389})}}', DC: '{{number.int({"min": 20001,"max": 20039})}}', DE: '{{number.int({"min": 19701,"max": 19980})}}', - FL: '{{number.int({"min": 32004,"max": 34997})}}', + FL: '{{helpers.arrayElement(["320","321","322","323","324","325","326","327","328","329","330","331","332","333","334","335","336","337","338","339","341","342","344","346","347","349"])}}{{string.numeric({"length": 2})}}', GA: '{{number.int({"min": 30001,"max": 31999})}}', HI: '{{number.int({"min": 96701,"max": 96898})}}', IA: '{{number.int({"min": 50001,"max": 52809})}}', @@ -45,7 +45,7 @@ export default { TN: '{{number.int({"min": 37010,"max": 38589})}}', TX: '{{number.int({"min": 75503,"max": 79999})}}', UT: '{{number.int({"min": 84001,"max": 84784})}}', - VA: '{{number.int({"min": 20040,"max": 20041})}}', + VA: '{{number.int({"min": 22201,"max": 24599})}}', VT: '0{{number.int({"min": 5001,"max": 5495})}}', WA: '{{number.int({"min": 98001,"max": 99403})}}', WI: '{{number.int({"min": 53001,"max": 54990})}}', From 34cf3643bee275f23bc7a39376c1b3d542a8c45f Mon Sep 17 00:00:00 2001 From: Suyash Gulati Date: Sun, 13 Oct 2024 04:23:36 +0530 Subject: [PATCH 36/47] refactor(internet): rename userName method to username (#3130) --- README.md | 2 +- docs/api/ApiIndex.vue | 7 +- docs/guide/frameworks.md | 4 +- src/modules/git/index.ts | 2 +- src/modules/internet/index.ts | 59 ++++++++++- .../__snapshots__/internet.spec.ts.snap | 48 +++++++++ test/modules/internet.spec.ts | 100 ++++++++++++++++-- .../scripts/apidocs/verify-jsdoc-tags.spec.ts | 5 + 8 files changed, 212 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 4ae41314474..9ff5153c784 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ const { faker } = require('@faker-js/faker'); export function createRandomUser() { return { userId: faker.string.uuid(), - username: faker.internet.userName(), + username: faker.internet.username(), // before version 9.1.0, use userName() email: faker.internet.email(), avatar: faker.image.avatar(), password: faker.internet.password(), diff --git a/docs/api/ApiIndex.vue b/docs/api/ApiIndex.vue index 7b1be7bf174..94085371ad1 100644 --- a/docs/api/ApiIndex.vue +++ b/docs/api/ApiIndex.vue @@ -69,8 +69,13 @@ const filtered = computed(() => {
  • + {{ h.text }} diff --git a/docs/guide/frameworks.md b/docs/guide/frameworks.md index 3b0cd6f39c1..1733b4e1f70 100644 --- a/docs/guide/frameworks.md +++ b/docs/guide/frameworks.md @@ -71,7 +71,7 @@ import { faker } from '@faker-js/faker/locale/en'; describe('Testing the application', () => { it('should create an account with username and password', () => { - let username = faker.internet.userName(); + let username = faker.internet.username(); // before version 9.1.0, use userName() let password = faker.internet.password(); let email = faker.internet.exampleEmail(); @@ -111,7 +111,7 @@ test.describe('Testing the application', () => { test('should create an account with username and password', async ({ page, }) => { - const username = faker.internet.userName(); + const username = faker.internet.username(); // before version 9.1.0, use userName() const password = faker.internet.password(); const email = faker.internet.exampleEmail(); diff --git a/src/modules/git/index.ts b/src/modules/git/index.ts index 8f33f0c5484..22c848b8828 100644 --- a/src/modules/git/index.ts +++ b/src/modules/git/index.ts @@ -88,7 +88,7 @@ export class GitModule extends ModuleBase { const firstName = this.faker.person.firstName(); const lastName = this.faker.person.lastName(); const fullName = this.faker.person.fullName({ firstName, lastName }); - const username = this.faker.internet.userName({ firstName, lastName }); + const username = this.faker.internet.username({ firstName, lastName }); let user = this.faker.helpers.arrayElement([fullName, username]); const email = this.faker.internet.email({ firstName, lastName }); diff --git a/src/modules/internet/index.ts b/src/modules/internet/index.ts index a455135b00d..3e7759f29ff 100644 --- a/src/modules/internet/index.ts +++ b/src/modules/internet/index.ts @@ -1,4 +1,5 @@ import { FakerError } from '../../errors/faker-error'; +import { deprecated } from '../../internal/deprecated'; import { ModuleBase } from '../../internal/module-base'; import { charMapping } from './char-mappings'; import * as random_ua from './user-agent'; @@ -105,7 +106,7 @@ const ipv4Networks: Record = { * * ### Overview * - * For user accounts, you may need an [`email()`](https://fakerjs.dev/api/internet.html#email) and a [`password()`](https://fakerjs.dev/api/internet.html#password), as well as a ASCII [`userName()`](https://fakerjs.dev/api/internet.html#username) or Unicode [`displayName()`](https://fakerjs.dev/api/internet.html#displayname). Since the emails generated could coincidentally be real email addresses, you should not use these for sending real email addresses. If this is a concern, use [`exampleEmail()`](https://fakerjs.dev/api/internet.html#exampleemail) instead. + * For user accounts, you may need an [`email()`](https://fakerjs.dev/api/internet.html#email) and a [`password()`](https://fakerjs.dev/api/internet.html#password), as well as a ASCII [`username()`](https://fakerjs.dev/api/internet.html#username) or Unicode [`displayName()`](https://fakerjs.dev/api/internet.html#displayname). Since the emails generated could coincidentally be real email addresses, you should not use these for sending real email addresses. If this is a concern, use [`exampleEmail()`](https://fakerjs.dev/api/internet.html#exampleemail) instead. * * For websites, you can generate a [`domainName()`](https://fakerjs.dev/api/internet.html#domainname) or a full [`url()`](https://fakerjs.dev/api/internet.html#url). * @@ -169,7 +170,7 @@ export class InternetModule extends ModuleBase { allowSpecialCharacters = false, } = options; - let localPart: string = this.userName({ firstName, lastName }); + let localPart: string = this.username({ firstName, lastName }); // Strip any special characters from the local part of the email address // This could happen if invalid chars are passed in manually in the firstName/lastName localPart = localPart.replaceAll(/[^A-Za-z0-9._+-]+/g, ''); @@ -273,6 +274,8 @@ export class InternetModule extends ModuleBase { * faker.internet.userName({ firstName: '大羽', lastName: '陳' }) // 'hlzp8d.tpv45' - note neither name is used * * @since 2.0.1 + * + * @deprecated Use `faker.internet.username()` instead. */ userName( options: { @@ -289,6 +292,56 @@ export class InternetModule extends ModuleBase { */ lastName?: string; } = {} + ): string { + deprecated({ + deprecated: 'faker.internet.userName()', + proposed: 'faker.internet.username()', + since: '9.1.0', + until: '10.0.0', + }); + + return this.username(options); + } + + /** + * Generates a username using the given person's name as base. + * The resulting username may use neither, one or both of the names provided. + * This will always return a plain ASCII string. + * Some basic stripping of accents and transliteration of characters will be done. + * + * @param options An options object. + * @param options.firstName The optional first name to use. If not specified, a random one will be chosen. + * @param options.lastName The optional last name to use. If not specified, a random one will be chosen. + * + * @see faker.internet.displayName(): For generating an Unicode display name. + * + * @example + * faker.internet.username() // 'Nettie_Zboncak40' + * faker.internet.username({ firstName: 'Jeanne' }) // 'Jeanne98' + * faker.internet.username({ firstName: 'Jeanne' }) // 'Jeanne.Smith98' + * faker.internet.username({ firstName: 'Jeanne', lastName: 'Doe'}) // 'Jeanne_Doe98' + * faker.internet.username({ firstName: 'John', lastName: 'Doe' }) // 'John.Doe' + * faker.internet.username({ firstName: 'Hélene', lastName: 'Müller' }) // 'Helene_Muller11' + * faker.internet.username({ firstName: 'Фёдор', lastName: 'Достоевский' }) // 'Fedor.Dostoevskii50' + * faker.internet.username({ firstName: '大羽', lastName: '陳' }) // 'hlzp8d.tpv45' - note neither name is used + * + * @since 9.1.0 + */ + username( + options: { + /** + * The optional first name to use. + * + * @default faker.person.firstName() + */ + firstName?: string; + /** + * The optional last name to use. + * + * @default faker.person.lastName() + */ + lastName?: string; + } = {} ): string { const { firstName = this.faker.person.firstName(), @@ -348,7 +401,7 @@ export class InternetModule extends ModuleBase { * @param options.firstName The optional first name to use. If not specified, a random one will be chosen. * @param options.lastName The optional last name to use. If not specified, a random one will be chosen. * - * @see faker.internet.userName(): For generating a plain ASCII username. + * @see faker.internet.username(): For generating a plain ASCII username. * * @example * faker.internet.displayName() // 'Nettie_Zboncak40' diff --git a/test/modules/__snapshots__/internet.spec.ts.snap b/test/modules/__snapshots__/internet.spec.ts.snap index 9ec2d26525f..a70d9afe80e 100644 --- a/test/modules/__snapshots__/internet.spec.ts.snap +++ b/test/modules/__snapshots__/internet.spec.ts.snap @@ -120,6 +120,22 @@ exports[`internet > 42 > userName > with firstName option 1`] = `"Jane_Wiegand59 exports[`internet > 42 > userName > with lastName option 1`] = `"Garnet_Doe"`; +exports[`internet > 42 > username > noArgs 1`] = `"Garnet.Reynolds-Miller15"`; + +exports[`internet > 42 > username > with Chinese names 1`] = `"hlzp8d.tpv"`; + +exports[`internet > 42 > username > with Cyrillic names 1`] = `"Fedor.Dostoevskii"`; + +exports[`internet > 42 > username > with Latin names 1`] = `"Jane.Doe"`; + +exports[`internet > 42 > username > with accented names 1`] = `"Helene.Muller"`; + +exports[`internet > 42 > username > with all option 1`] = `"Jane.Doe"`; + +exports[`internet > 42 > username > with firstName option 1`] = `"Jane_Wiegand59"`; + +exports[`internet > 42 > username > with lastName option 1`] = `"Garnet_Doe"`; + exports[`internet > 1211 > color > noArgs 1`] = `"#77721c"`; exports[`internet > 1211 > color > with all options 1`] = `"#a9a44e"`; @@ -240,6 +256,22 @@ exports[`internet > 1211 > userName > with firstName option 1`] = `"Jane99"`; exports[`internet > 1211 > userName > with lastName option 1`] = `"Tito_Doe"`; +exports[`internet > 1211 > username > noArgs 1`] = `"Tito67"`; + +exports[`internet > 1211 > username > with Chinese names 1`] = `"hlzp8d_tpv89"`; + +exports[`internet > 1211 > username > with Cyrillic names 1`] = `"Fedor_Dostoevskii89"`; + +exports[`internet > 1211 > username > with Latin names 1`] = `"Jane_Doe89"`; + +exports[`internet > 1211 > username > with accented names 1`] = `"Helene_Muller89"`; + +exports[`internet > 1211 > username > with all option 1`] = `"Jane_Doe89"`; + +exports[`internet > 1211 > username > with firstName option 1`] = `"Jane99"`; + +exports[`internet > 1211 > username > with lastName option 1`] = `"Tito_Doe"`; + exports[`internet > 1337 > color > noArgs 1`] = `"#211423"`; exports[`internet > 1337 > color > with all options 1`] = `"#534655"`; @@ -359,3 +391,19 @@ exports[`internet > 1337 > userName > with all option 1`] = `"Jane.Doe15"`; exports[`internet > 1337 > userName > with firstName option 1`] = `"Jane.Cronin45"`; exports[`internet > 1337 > userName > with lastName option 1`] = `"Devyn.Doe27"`; + +exports[`internet > 1337 > username > noArgs 1`] = `"Devyn.Gottlieb"`; + +exports[`internet > 1337 > username > with Chinese names 1`] = `"hlzp8d.tpv15"`; + +exports[`internet > 1337 > username > with Cyrillic names 1`] = `"Fedor.Dostoevskii15"`; + +exports[`internet > 1337 > username > with Latin names 1`] = `"Jane.Doe15"`; + +exports[`internet > 1337 > username > with accented names 1`] = `"Helene.Muller15"`; + +exports[`internet > 1337 > username > with all option 1`] = `"Jane.Doe15"`; + +exports[`internet > 1337 > username > with firstName option 1`] = `"Jane.Cronin45"`; + +exports[`internet > 1337 > username > with lastName option 1`] = `"Devyn.Doe27"`; diff --git a/test/modules/internet.spec.ts b/test/modules/internet.spec.ts index 04b255fd48f..f96671eb661 100644 --- a/test/modules/internet.spec.ts +++ b/test/modules/internet.spec.ts @@ -66,6 +66,20 @@ describe('internet', () => { .it('with Chinese names', { firstName: '大羽', lastName: '陳' }); }); + t.describe('username', (t) => { + t.it('noArgs') + .it('with firstName option', { firstName: 'Jane' }) + .it('with lastName option', { lastName: 'Doe' }) + .it('with all option', { firstName: 'Jane', lastName: 'Doe' }) + .it('with Latin names', { firstName: 'Jane', lastName: 'Doe' }) + .it('with accented names', { firstName: 'Hélene', lastName: 'Müller' }) + .it('with Cyrillic names', { + firstName: 'Фёдор', + lastName: 'Достоевский', + }) + .it('with Chinese names', { firstName: '大羽', lastName: '陳' }); + }); + t.describe('displayName', (t) => { t.it('noArgs') .it('with firstName option', { firstName: 'Jane' }) @@ -347,8 +361,80 @@ describe('internet', () => { }); describe('userName()', () => { + it('should return a random userName', () => { + // eslint-disable-next-line @typescript-eslint/no-deprecated + const userName = faker.internet.userName(); + + expect(userName).toBeTruthy(); + expect(userName).toBeTypeOf('string'); + expect(userName).toMatch(/\w/); + }); + + it('should return a random userName with given firstName', () => { + // eslint-disable-next-line @typescript-eslint/no-deprecated + const userName = faker.internet.userName({ firstName: 'Aiden' }); + + expect(userName).toBeTruthy(); + expect(userName).toBeTypeOf('string'); + expect(userName).toMatch(/\w/); + expect(userName).includes('Aiden'); + }); + + it('should return a random userName with given firstName and lastName', () => { + // eslint-disable-next-line @typescript-eslint/no-deprecated + const userName = faker.internet.userName({ + firstName: 'Aiden', + lastName: 'Harann', + }); + + expect(userName).toBeTruthy(); + expect(userName).toBeTypeOf('string'); + expect(userName).includes('Aiden'); + expect(userName).includes('Harann'); + expect(userName).toMatch(/^Aiden[._]Harann\d*/); + }); + + it('should strip accents', () => { + // eslint-disable-next-line @typescript-eslint/no-deprecated + const userName = faker.internet.userName({ + firstName: 'Adèle', + lastName: 'Smith', + }); + expect(userName).includes('Adele'); + expect(userName).includes('Smith'); + }); + + it('should transliterate Cyrillic', () => { + // eslint-disable-next-line @typescript-eslint/no-deprecated + const userName = faker.internet.userName({ + firstName: 'Амос', + lastName: 'Васильев', + }); + expect(userName).includes('Amos'); + }); + + it('should provide a fallback for Chinese etc', () => { + // eslint-disable-next-line @typescript-eslint/no-deprecated + const userName = faker.internet.userName({ + firstName: '大羽', + lastName: '陳', + }); + expect(userName).includes('hlzp8d'); + }); + + it('should provide a fallback special unicode characters', () => { + // eslint-disable-next-line @typescript-eslint/no-deprecated + const userName = faker.internet.userName({ + firstName: '🐼', + lastName: '❤️', + }); + expect(userName).includes('2qt8'); + }); + }); + + describe('username()', () => { it('should return a random username', () => { - const username = faker.internet.userName(); + const username = faker.internet.username(); expect(username).toBeTruthy(); expect(username).toBeTypeOf('string'); @@ -356,7 +442,7 @@ describe('internet', () => { }); it('should return a random username with given firstName', () => { - const username = faker.internet.userName({ firstName: 'Aiden' }); + const username = faker.internet.username({ firstName: 'Aiden' }); expect(username).toBeTruthy(); expect(username).toBeTypeOf('string'); @@ -365,7 +451,7 @@ describe('internet', () => { }); it('should return a random username with given firstName and lastName', () => { - const username = faker.internet.userName({ + const username = faker.internet.username({ firstName: 'Aiden', lastName: 'Harann', }); @@ -378,7 +464,7 @@ describe('internet', () => { }); it('should strip accents', () => { - const username = faker.internet.userName({ + const username = faker.internet.username({ firstName: 'Adèle', lastName: 'Smith', }); @@ -387,7 +473,7 @@ describe('internet', () => { }); it('should transliterate Cyrillic', () => { - const username = faker.internet.userName({ + const username = faker.internet.username({ firstName: 'Амос', lastName: 'Васильев', }); @@ -395,7 +481,7 @@ describe('internet', () => { }); it('should provide a fallback for Chinese etc', () => { - const username = faker.internet.userName({ + const username = faker.internet.username({ firstName: '大羽', lastName: '陳', }); @@ -403,7 +489,7 @@ describe('internet', () => { }); it('should provide a fallback special unicode characters', () => { - const username = faker.internet.userName({ + const username = faker.internet.username({ firstName: '🐼', lastName: '❤️', }); diff --git a/test/scripts/apidocs/verify-jsdoc-tags.spec.ts b/test/scripts/apidocs/verify-jsdoc-tags.spec.ts index 753ef9b3ce9..0456d8ee477 100644 --- a/test/scripts/apidocs/verify-jsdoc-tags.spec.ts +++ b/test/scripts/apidocs/verify-jsdoc-tags.spec.ts @@ -36,6 +36,11 @@ function resolvePathToMethodFile( signature: number ): string { const dir = resolveDirToModule(moduleName); + // TODO @ST-DDT 2024-09-23: Remove this in v10 + if (methodName === 'userName') { + methodName = 'userNameDeprecated'; + } + return resolve(dir, `${methodName}_${signature}.ts`); } From 60c48653eee8cddb1599ac98a893025127421084 Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Sun, 13 Oct 2024 19:14:24 +0700 Subject: [PATCH 37/47] docs(image): update overview for image module (#3177) --- src/modules/image/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/image/index.ts b/src/modules/image/index.ts index 76aa759e7f0..67d0e2d8150 100644 --- a/src/modules/image/index.ts +++ b/src/modules/image/index.ts @@ -13,7 +13,7 @@ import { ModuleBase } from '../../internal/module-base'; * * For a random user avatar image, use [`avatar()`](https://fakerjs.dev/api/image.html#avatar). * - * This module previously also contained methods for specifically themed images like "fashion" or "food", but these are now deprecated. If you need more control over image type, you can request categorized images using [`urlLoremFlickr()`](https://fakerjs.dev/api/image.html#urlloremflickr), use an image provider directly or provide your own set of placeholder images. + * If you need more control over the content of the images, you can pass a `category` parameter e.g. `'cat'` or `'nature'` to [`urlLoremFlickr()`](https://fakerjs.dev/api/image.html#urlloremflickr) or simply use [`faker.helpers.arrayElement()`](https://fakerjs.dev/api/helpers.html#arrayelement) with your own array of image URLs. */ export class ImageModule extends ModuleBase { /** From a8dfa2fcde59a1ec9e5beb2e93c690a8ec532cdf Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Sun, 13 Oct 2024 14:20:36 +0200 Subject: [PATCH 38/47] fix(food): use arrayElement instead of fake for adjective (#3178) --- src/modules/food/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/food/index.ts b/src/modules/food/index.ts index 0effaae6bcb..45b91f3047e 100644 --- a/src/modules/food/index.ts +++ b/src/modules/food/index.ts @@ -18,7 +18,9 @@ export class FoodModule extends ModuleBase { * @since 9.0.0 */ adjective(): string { - return this.faker.helpers.fake(this.faker.definitions.food.adjective); + return this.faker.helpers.arrayElement( + this.faker.definitions.food.adjective + ); } /** From 522e7386a7205e260832e2bfae0331e8a0161d5f Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Sun, 13 Oct 2024 21:29:23 +0700 Subject: [PATCH 39/47] refactor(location): support multiple postcode_by_state patterns (#3170) --- src/definitions/location.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definitions/location.ts b/src/definitions/location.ts index 9fbda95f59b..5b4a4bc33d1 100644 --- a/src/definitions/location.ts +++ b/src/definitions/location.ts @@ -8,7 +8,7 @@ export type LocationDefinition = LocaleEntry<{ * Postcodes patterns by state */ postcode_by_state: { - [state: string]: string; + [state: string]: string | string[]; }; /** From 9105f0a15ee517348cc135658d15a5053c39b894 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 10:03:24 +0200 Subject: [PATCH 40/47] chore(deps): lock file maintenance (#3153) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 541 ++++++++++++++++++++++--------------------------- 1 file changed, 247 insertions(+), 294 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index abcddbd87b0..c67e1f120c7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -97,7 +97,7 @@ importers: version: 24.0.0 tsup: specifier: 8.3.0 - version: 8.3.0(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.2)(yaml@2.6.0) tsx: specifier: 4.19.1 version: 4.19.1 @@ -115,7 +115,7 @@ importers: version: 5.4.8(@types/node@20.16.11) vitepress: specifier: 1.4.0 - version: 1.4.0(@algolia/client-search@5.5.3)(@types/node@20.16.11)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2) + version: 1.4.0(@algolia/client-search@4.24.0)(@types/node@20.16.11)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2) vitest: specifier: 2.1.2 version: 2.1.2(@types/node@20.16.11)(@vitest/ui@2.1.2)(jsdom@25.0.1) @@ -172,20 +172,12 @@ packages: '@algolia/client-common@4.24.0': resolution: {integrity: sha512-bc2ROsNL6w6rqpl5jj/UywlIYC21TwSSoFHKl01lYirGMW+9Eek6r02Tocg4gZ8HAw3iBvu6XQiM3BEbmEMoiA==} - '@algolia/client-common@5.5.3': - resolution: {integrity: sha512-3rdSdreBL2LGYu4DWmUGlMhaGy1vy36Xp42LdbTFsW/y3bhW5viptMHI5A3PKT0hPEMZUn+te1iM/EWvLUuVGQ==} - engines: {node: '>= 14.0.0'} - '@algolia/client-personalization@4.24.0': resolution: {integrity: sha512-l5FRFm/yngztweU0HdUzz1rC4yoWCFo3IF+dVIVTfEPg906eZg5BOd1k0K6rZx5JzyyoP4LdmOikfkfGsKVE9w==} '@algolia/client-search@4.24.0': resolution: {integrity: sha512-uRW6EpNapmLAD0mW47OXqTP8eiIx5F6qN9/x/7HHO6owL3N1IXqydGwW5nhDFBrV+ldouro2W1VX3XlcUXEFCA==} - '@algolia/client-search@5.5.3': - resolution: {integrity: sha512-qrokD+uoNxchbiF9aP8niQd/9SZ6BgYg4WaesFaubHhr9DFvwGm4IePEMha8vQcc3fSsY6uL+gOtKB3J6RF0NQ==} - engines: {node: '>= 14.0.0'} - '@algolia/logger-common@4.24.0': resolution: {integrity: sha512-LLUNjkahj9KtKYrQhFKCzMx0BY3RnNP4FEtO+sBybCjJ73E8jNdaKJ/Dd8A/VA4imVHP5tADZ8pn5B8Ga/wTMA==} @@ -198,24 +190,12 @@ packages: '@algolia/requester-browser-xhr@4.24.0': resolution: {integrity: sha512-Z2NxZMb6+nVXSjF13YpjYTdvV3032YTBSGm2vnYvYPA6mMxzM3v5rsCiSspndn9rzIW4Qp1lPHBvuoKJV6jnAA==} - '@algolia/requester-browser-xhr@5.5.3': - resolution: {integrity: sha512-LsfUPokiXEpvlYF7SwNjyyjkUX7IoW7oIhH6WkDUD4PCfEZkFbVplGQA0UrCiWOAbpb25P7mmP6+ldwjwqW6Kg==} - engines: {node: '>= 14.0.0'} - '@algolia/requester-common@4.24.0': resolution: {integrity: sha512-k3CXJ2OVnvgE3HMwcojpvY6d9kgKMPRxs/kVohrwF5WMr2fnqojnycZkxPoEg+bXm8fi5BBfFmOqgYztRtHsQA==} - '@algolia/requester-fetch@5.5.3': - resolution: {integrity: sha512-RKaliEFHtVeD/fMxwrApkcI6ZxR+mU6pZna29r3NwVMpCXTJWWtlMpQmbr1RHzUsaAlpfv9pfGJN4nYPE8XWEg==} - engines: {node: '>= 14.0.0'} - '@algolia/requester-node-http@4.24.0': resolution: {integrity: sha512-JF18yTjNOVYvU/L3UosRcvbPMGT9B+/GQWNWnenIImglzNVGpyzChkXLnrSf6uxwVNO6ESGu6oN8MqcGQcjQJw==} - '@algolia/requester-node-http@5.5.3': - resolution: {integrity: sha512-2wU+HlTVrVce7BMW2b3Gd62btk8B0jBbuKYYzu3OFeBD/aZa88eHABtjcjQCdw3x+wvkIPEc56UsZx9eHYLebg==} - engines: {node: '>= 14.0.0'} - '@algolia/transporter@4.24.0': resolution: {integrity: sha512-86nI7w6NzWxd1Zp9q3413dRshDqAzSbsQjhcDhPIatEFiZrL1/TjnHL8S7jVKFePlIMzDsZWXAXwXzcok9c5oA==} @@ -223,29 +203,29 @@ packages: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} - '@babel/code-frame@7.24.7': - resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==} + '@babel/code-frame@7.25.7': + resolution: {integrity: sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==} engines: {node: '>=6.9.0'} - '@babel/helper-string-parser@7.24.8': - resolution: {integrity: sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==} + '@babel/helper-string-parser@7.25.7': + resolution: {integrity: sha512-CbkjYdsJNHFk8uqpEkpCvRs3YRp9tY6FmFY7wLMSYuGYkrdUi7r2lc4/wqsvlHoMznX3WJ9IP8giGPq68T/Y6g==} engines: {node: '>=6.9.0'} - '@babel/helper-validator-identifier@7.24.7': - resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} + '@babel/helper-validator-identifier@7.25.7': + resolution: {integrity: sha512-AM6TzwYqGChO45oiuPqwL2t20/HdMC1rTPAesnBCgPCSF1x3oN9MVUwQV2iyz4xqWrctwK5RNC8LV22kaQCNYg==} engines: {node: '>=6.9.0'} - '@babel/highlight@7.24.7': - resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} + '@babel/highlight@7.25.7': + resolution: {integrity: sha512-iYyACpW3iW8Fw+ZybQK+drQre+ns/tKpXbNESfrhNnPLIklLbXr7MYJ6gPEd0iETGLOK+SxMjVvKb/ffmk+FEw==} engines: {node: '>=6.9.0'} - '@babel/parser@7.25.6': - resolution: {integrity: sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==} + '@babel/parser@7.25.8': + resolution: {integrity: sha512-HcttkxzdPucv3nNFmfOOMfFf64KgdJVqm1KaCm25dPGMLElo9nsLvXeJECQg8UzPuBGLyTSA0ZzqCtDSzKTEoQ==} engines: {node: '>=6.0.0'} hasBin: true - '@babel/types@7.25.6': - resolution: {integrity: sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==} + '@babel/types@7.25.8': + resolution: {integrity: sha512-JWtuCu8VQsMladxVz/P4HzHUGCAwpuqacmowgXFs5XjxIgKuNjnLokQzuVjlTvIzODaDmpjT3oxcC48vyk9EWg==} engines: {node: '>=6.9.0'} '@bcoe/v8-coverage@0.2.3': @@ -721,8 +701,8 @@ packages: '@octokit/types@12.6.0': resolution: {integrity: sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==} - '@octokit/types@13.5.0': - resolution: {integrity: sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==} + '@octokit/types@13.6.1': + resolution: {integrity: sha512-PHZE9Z+kWXb23Ndik8MKPirBPziOc0D2/3KH1P+6jK5nGWe96kadZuE4jev2/Jq7FvIfTlT2Ltg8Fv2x1v0a5g==} '@pkgjs/parseargs@0.11.0': resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} @@ -735,83 +715,83 @@ packages: '@polka/url@1.0.0-next.28': resolution: {integrity: sha512-8LduaNlMZGwdZ6qWrKlfa+2M4gahzFkprZiAt2TF8uS0qQgBizKXpXURqvTJ4WtmupWxaLqjRb2UCTe72mu+Aw==} - '@rollup/rollup-android-arm-eabi@4.22.4': - resolution: {integrity: sha512-Fxamp4aEZnfPOcGA8KSNEohV8hX7zVHOemC8jVBoBUHu5zpJK/Eu3uJwt6BMgy9fkvzxDaurgj96F/NiLukF2w==} + '@rollup/rollup-android-arm-eabi@4.24.0': + resolution: {integrity: sha512-Q6HJd7Y6xdB48x8ZNVDOqsbh2uByBhgK8PiQgPhwkIw/HC/YX5Ghq2mQY5sRMZWHb3VsFkWooUVOZHKr7DmDIA==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.22.4': - resolution: {integrity: sha512-VXoK5UMrgECLYaMuGuVTOx5kcuap1Jm8g/M83RnCHBKOqvPPmROFJGQaZhGccnsFtfXQ3XYa4/jMCJvZnbJBdA==} + '@rollup/rollup-android-arm64@4.24.0': + resolution: {integrity: sha512-ijLnS1qFId8xhKjT81uBHuuJp2lU4x2yxa4ctFPtG+MqEE6+C5f/+X/bStmxapgmwLwiL3ih122xv8kVARNAZA==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.22.4': - resolution: {integrity: sha512-xMM9ORBqu81jyMKCDP+SZDhnX2QEVQzTcC6G18KlTQEzWK8r/oNZtKuZaCcHhnsa6fEeOBionoyl5JsAbE/36Q==} + '@rollup/rollup-darwin-arm64@4.24.0': + resolution: {integrity: sha512-bIv+X9xeSs1XCk6DVvkO+S/z8/2AMt/2lMqdQbMrmVpgFvXlmde9mLcbQpztXm1tajC3raFDqegsH18HQPMYtA==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.22.4': - resolution: {integrity: sha512-aJJyYKQwbHuhTUrjWjxEvGnNNBCnmpHDvrb8JFDbeSH3m2XdHcxDd3jthAzvmoI8w/kSjd2y0udT+4okADsZIw==} + '@rollup/rollup-darwin-x64@4.24.0': + resolution: {integrity: sha512-X6/nOwoFN7RT2svEQWUsW/5C/fYMBe4fnLK9DQk4SX4mgVBiTA9h64kjUYPvGQ0F/9xwJ5U5UfTbl6BEjaQdBQ==} cpu: [x64] os: [darwin] - '@rollup/rollup-linux-arm-gnueabihf@4.22.4': - resolution: {integrity: sha512-j63YtCIRAzbO+gC2L9dWXRh5BFetsv0j0va0Wi9epXDgU/XUi5dJKo4USTttVyK7fGw2nPWK0PbAvyliz50SCQ==} + '@rollup/rollup-linux-arm-gnueabihf@4.24.0': + resolution: {integrity: sha512-0KXvIJQMOImLCVCz9uvvdPgfyWo93aHHp8ui3FrtOP57svqrF/roSSR5pjqL2hcMp0ljeGlU4q9o/rQaAQ3AYA==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.22.4': - resolution: {integrity: sha512-dJnWUgwWBX1YBRsuKKMOlXCzh2Wu1mlHzv20TpqEsfdZLb3WoJW2kIEsGwLkroYf24IrPAvOT/ZQ2OYMV6vlrg==} + '@rollup/rollup-linux-arm-musleabihf@4.24.0': + resolution: {integrity: sha512-it2BW6kKFVh8xk/BnHfakEeoLPv8STIISekpoF+nBgWM4d55CZKc7T4Dx1pEbTnYm/xEKMgy1MNtYuoA8RFIWw==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.22.4': - resolution: {integrity: sha512-AdPRoNi3NKVLolCN/Sp4F4N1d98c4SBnHMKoLuiG6RXgoZ4sllseuGioszumnPGmPM2O7qaAX/IJdeDU8f26Aw==} + '@rollup/rollup-linux-arm64-gnu@4.24.0': + resolution: {integrity: sha512-i0xTLXjqap2eRfulFVlSnM5dEbTVque/3Pi4g2y7cxrs7+a9De42z4XxKLYJ7+OhE3IgxvfQM7vQc43bwTgPwA==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.22.4': - resolution: {integrity: sha512-Gl0AxBtDg8uoAn5CCqQDMqAx22Wx22pjDOjBdmG0VIWX3qUBHzYmOKh8KXHL4UpogfJ14G4wk16EQogF+v8hmA==} + '@rollup/rollup-linux-arm64-musl@4.24.0': + resolution: {integrity: sha512-9E6MKUJhDuDh604Qco5yP/3qn3y7SLXYuiC0Rpr89aMScS2UAmK1wHP2b7KAa1nSjWJc/f/Lc0Wl1L47qjiyQw==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.22.4': - resolution: {integrity: sha512-3aVCK9xfWW1oGQpTsYJJPF6bfpWfhbRnhdlyhak2ZiyFLDaayz0EP5j9V1RVLAAxlmWKTDfS9wyRyY3hvhPoOg==} + '@rollup/rollup-linux-powerpc64le-gnu@4.24.0': + resolution: {integrity: sha512-2XFFPJ2XMEiF5Zi2EBf4h73oR1V/lycirxZxHZNc93SqDN/IWhYYSYj8I9381ikUFXZrz2v7r2tOVk2NBwxrWw==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.22.4': - resolution: {integrity: sha512-ePYIir6VYnhgv2C5Xe9u+ico4t8sZWXschR6fMgoPUK31yQu7hTEJb7bCqivHECwIClJfKgE7zYsh1qTP3WHUA==} + '@rollup/rollup-linux-riscv64-gnu@4.24.0': + resolution: {integrity: sha512-M3Dg4hlwuntUCdzU7KjYqbbd+BLq3JMAOhCKdBE3TcMGMZbKkDdJ5ivNdehOssMCIokNHFOsv7DO4rlEOfyKpg==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.22.4': - resolution: {integrity: sha512-GqFJ9wLlbB9daxhVlrTe61vJtEY99/xB3C8e4ULVsVfflcpmR6c8UZXjtkMA6FhNONhj2eA5Tk9uAVw5orEs4Q==} + '@rollup/rollup-linux-s390x-gnu@4.24.0': + resolution: {integrity: sha512-mjBaoo4ocxJppTorZVKWFpy1bfFj9FeCMJqzlMQGjpNPY9JwQi7OuS1axzNIk0nMX6jSgy6ZURDZ2w0QW6D56g==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.22.4': - resolution: {integrity: sha512-87v0ol2sH9GE3cLQLNEy0K/R0pz1nvg76o8M5nhMR0+Q+BBGLnb35P0fVz4CQxHYXaAOhE8HhlkaZfsdUOlHwg==} + '@rollup/rollup-linux-x64-gnu@4.24.0': + resolution: {integrity: sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.22.4': - resolution: {integrity: sha512-UV6FZMUgePDZrFjrNGIWzDo/vABebuXBhJEqrHxrGiU6HikPy0Z3LfdtciIttEUQfuDdCn8fqh7wiFJjCNwO+g==} + '@rollup/rollup-linux-x64-musl@4.24.0': + resolution: {integrity: sha512-w1i+L7kAXZNdYl+vFvzSZy8Y1arS7vMgIy8wusXJzRrPyof5LAb02KGr1PD2EkRcl73kHulIID0M501lN+vobQ==} cpu: [x64] os: [linux] - '@rollup/rollup-win32-arm64-msvc@4.22.4': - resolution: {integrity: sha512-BjI+NVVEGAXjGWYHz/vv0pBqfGoUH0IGZ0cICTn7kB9PyjrATSkX+8WkguNjWoj2qSr1im/+tTGRaY+4/PdcQw==} + '@rollup/rollup-win32-arm64-msvc@4.24.0': + resolution: {integrity: sha512-VXBrnPWgBpVDCVY6XF3LEW0pOU51KbaHhccHw6AS6vBWIC60eqsH19DAeeObl+g8nKAz04QFdl/Cefta0xQtUQ==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.22.4': - resolution: {integrity: sha512-SiWG/1TuUdPvYmzmYnmd3IEifzR61Tragkbx9D3+R8mzQqDBz8v+BvZNDlkiTtI9T15KYZhP0ehn3Dld4n9J5g==} + '@rollup/rollup-win32-ia32-msvc@4.24.0': + resolution: {integrity: sha512-xrNcGDU0OxVcPTH/8n/ShH4UevZxKIO6HJFK0e15XItZP2UcaiLFd5kiX7hJnqCbSztUF8Qot+JWBC/QXRPYWQ==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.22.4': - resolution: {integrity: sha512-j8pPKp53/lq9lMXN57S8cFz0MynJk8OWNuUnXct/9KCpKU7DgU3bYMJhwWmcqC0UU29p8Lr0/7KEVcaM6bf47Q==} + '@rollup/rollup-win32-x64-msvc@4.24.0': + resolution: {integrity: sha512-fbMkAF7fufku0N2dE5TBXcNlg0pt0cJue4xBRE2Qc5Vqikxr4VCgKj/ht6SMdFcOacVA9rqF70APJ8RN/4vMJw==} cpu: [x64] os: [win32] @@ -848,9 +828,6 @@ packages: '@types/eslint__js@8.42.3': resolution: {integrity: sha512-alfG737uhmPdnvkrLdZLcEKJ/B8s9Y4hrZ+YAdzUeoArBlSUERA2E87ROfOaS4jd/C45fzOoZzidLc1IPwLqOw==} - '@types/estree@1.0.5': - resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} - '@types/estree@1.0.6': resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} @@ -1029,21 +1006,27 @@ packages: '@vitest/utils@2.1.2': resolution: {integrity: sha512-zMO2KdYy6mx56btx9JvAqAZ6EyS3g49krMPPrgOp1yxGZiA93HumGk+bZ5jIZtOg5/VBYl5eBmGRQHqq4FG6uQ==} - '@volar/language-core@2.4.5': - resolution: {integrity: sha512-F4tA0DCO5Q1F5mScHmca0umsi2ufKULAnMOVBfMsZdT4myhVl4WdKRwCaKcfOkIEuyrAVvtq1ESBdZ+rSyLVww==} + '@volar/language-core@2.4.6': + resolution: {integrity: sha512-FxUfxaB8sCqvY46YjyAAV6c3mMIq/NWQMVvJ+uS4yxr1KzOvyg61gAuOnNvgCvO4TZ7HcLExBEsWcDu4+K4E8A==} - '@volar/source-map@2.4.5': - resolution: {integrity: sha512-varwD7RaKE2J/Z+Zu6j3mNNJbNT394qIxXwdvz/4ao/vxOfyClZpSDtLKkwWmecinkOVos5+PWkWraelfMLfpw==} + '@volar/source-map@2.4.6': + resolution: {integrity: sha512-Nsh7UW2ruK+uURIPzjJgF0YRGP5CX9nQHypA2OMqdM2FKy7rh+uv3XgPnWPw30JADbKvZ5HuBzG4gSbVDYVtiw==} - '@volar/typescript@2.4.5': - resolution: {integrity: sha512-mcT1mHvLljAEtHviVcBuOyAwwMKz1ibXTi5uYtP/pf4XxoAzpdkQ+Br2IC0NPCvLCbjPZmbf3I0udndkfB1CDg==} + '@volar/typescript@2.4.6': + resolution: {integrity: sha512-NMIrA7y5OOqddL9VtngPWYmdQU03htNKFtAYidbYfWA0TOhyGVd9tfcP4TsLWQ+RBWDZCbBqsr8xzU0ZOxYTCQ==} '@vue/compiler-core@3.5.11': resolution: {integrity: sha512-PwAdxs7/9Hc3ieBO12tXzmTD+Ln4qhT/56S+8DvrrZ4kLDn4Z/AMUr8tXJD0axiJBS0RKIoNaR0yMuQB9v9Udg==} + '@vue/compiler-core@3.5.12': + resolution: {integrity: sha512-ISyBTRMmMYagUxhcpyEH0hpXRd/KqDU4ymofPgl2XAkY9ZhQ+h0ovEZJIiPop13UmR/54oA2cgMDjgroRelaEw==} + '@vue/compiler-dom@3.5.11': resolution: {integrity: sha512-pyGf8zdbDDRkBrEzf8p7BQlMKNNF5Fk/Cf/fQ6PiUz9at4OaUfyXW0dGJTo2Vl1f5U9jSLCNf0EZJEogLXoeew==} + '@vue/compiler-dom@3.5.12': + resolution: {integrity: sha512-9G6PbJ03uwxLHKQ3P42cMTi85lDRvGLB2rSGOiQqtXELat6uI4n8cNz9yjfVHRPIu+MsK6TE418Giruvgptckg==} + '@vue/compiler-sfc@3.5.11': resolution: {integrity: sha512-gsbBtT4N9ANXXepprle+X9YLg2htQk1sqH/qGJ/EApl+dgpUBdTv3yP7YlR535uHZY3n6XaR0/bKo0BgwwDniw==} @@ -1087,6 +1070,9 @@ packages: '@vue/shared@3.5.11': resolution: {integrity: sha512-W8GgysJVnFo81FthhzurdRAWP/byq3q2qIw70e0JWblzVhjgOMiC2GyovXrZTFQJnFVryYaKGP3Tc9vYzYm6PQ==} + '@vue/shared@3.5.12': + resolution: {integrity: sha512-L2RPSAwUFbgZH20etwrXyVyCBu9OxRSi8T/38QsvnkJyvq2LufW2lDCOzm7t/U9C1mkhJGWYfCuFBCmIuNivrg==} + '@vueuse/core@11.1.0': resolution: {integrity: sha512-P6dk79QYA6sKQnghrUz/1tHi0n9mrb/iO1WTMk/ElLmTyNqgDeSZ3wcDf6fRBGzRJbeG1dxzEOvLENMjr+E3fg==} @@ -1267,8 +1253,8 @@ packages: resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} engines: {node: '>=8'} - birpc@0.2.17: - resolution: {integrity: sha512-+hkTxhot+dWsLpp3gia5AkVHIsKlZybNT5gIYiDlNzJrmYPcTM9k5/w2uaj3IPpd7LlEYpmCj4Jj1nC41VhDFg==} + birpc@0.2.19: + resolution: {integrity: sha512-5WeXXAvTmitV1RqJFppT5QtUiz2p1mRSYU000Jkft5ZUCLJIk4uQriYNO50HknxKwM6jd8utNc66K1qGIwwWBQ==} blob-util@2.0.2: resolution: {integrity: sha512-T7JQa+zsXXEa6/8ZhHcQEW1UFfVM49Ts65uBkFL6fz2QmrElqmbajIDJvuA0tEhRe5eIjpV9ZF+0RfZR9voJFQ==} @@ -1286,8 +1272,8 @@ packages: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} - browserslist@4.23.3: - resolution: {integrity: sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==} + browserslist@4.24.0: + resolution: {integrity: sha512-Rmb62sR1Zpjql25eSanFGEhAxcFwfA1K0GuQcLoaJBAcENegrQut3hYdhXFF1obQfiDyqIW/cLM5HSJ/9k884A==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true @@ -1334,8 +1320,8 @@ packages: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} - caniuse-lite@1.0.30001663: - resolution: {integrity: sha512-o9C3X27GLKbLeTYZ6HBOLU1tsAcBZsLis28wrVzddShCS16RujjHp9GDHKZqrB3meE0YjhawvMFsGb/igqiPzA==} + caniuse-lite@1.0.30001668: + resolution: {integrity: sha512-nWLrdxqCdblixUO+27JtGJJE/txpJlyUy5YN1u53wLZkP0emYCo5zgS6QYft7VUYR42LGgi/S5hdLZTrnyIddw==} caseless@0.12.0: resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} @@ -1696,8 +1682,8 @@ packages: ecc-jsbn@0.1.2: resolution: {integrity: sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==} - electron-to-chromium@1.5.27: - resolution: {integrity: sha512-o37j1vZqCoEgBuWWXLHQgTN/KDKe7zwpiY5CPeq2RvUqOyJw9xnrULzZAEVQ5p4h+zjMk7hgtOoPdnLxr7m/jw==} + electron-to-chromium@1.5.36: + resolution: {integrity: sha512-HYTX8tKge/VNp6FGO+f/uVDmUkq+cEfcxYhKf15Akc4M5yxt5YmorwlAitKWjWhWQnKcDRBAQKXkhqqXMqcrjw==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -1937,8 +1923,8 @@ packages: forever-agent@0.6.1: resolution: {integrity: sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==} - form-data@4.0.0: - resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} + form-data@4.0.1: + resolution: {integrity: sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==} engines: {node: '>= 6'} fs-extra@9.1.0: @@ -1957,9 +1943,6 @@ packages: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} - get-func-name@2.0.2: - resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} - get-intrinsic@1.2.4: resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} engines: {node: '>= 0.4'} @@ -2030,8 +2013,8 @@ packages: resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} engines: {node: '>=18'} - globals@15.9.0: - resolution: {integrity: sha512-SmSKyLLKFbSr6rptvP8izbyxJL4ILwqO9Jg23UA0sDlGlu58V59D1//I3vlc0KJphVdUR7vMjHIplYnzBxorQA==} + globals@15.11.0: + resolution: {integrity: sha512-yeyNSjdbyVaWurlwCpcA6XNBrHTMIeDdj0/hnvX/OLJ9ekOXYbLsLinH/MucQyGvNnXhidTdNhTtJaffL2sMfw==} engines: {node: '>=18'} globby@13.2.2: @@ -2428,8 +2411,8 @@ packages: resolution: {integrity: sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==} engines: {node: '>=10'} - loupe@3.1.1: - resolution: {integrity: sha512-edNu/8D5MKVfGVFRhFf8aAxiTM6Wumfz5XsaatSxlD3w4R1d/WEKUTydCdPGbl9K7QG/Ca3GnDV2sIKIpXRQcw==} + loupe@3.1.2: + resolution: {integrity: sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==} lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} @@ -2438,8 +2421,8 @@ packages: resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} engines: {node: '>=10'} - magic-string@0.30.11: - resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} + magic-string@0.30.12: + resolution: {integrity: sha512-Ea8I3sQMVXr8JhN4z+H/d8zwo+tYDgHE9+5G4Wnrwhs0gaK9fXTKx0Tw5Xwsd/bCPTTZNRAdpyzvoeORe9LYpw==} magicast@0.3.5: resolution: {integrity: sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ==} @@ -2591,8 +2574,8 @@ packages: resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} engines: {node: '>=8'} - nwsapi@2.2.12: - resolution: {integrity: sha512-qXDmcVlZV4XRtKFzddidpfVP4oMSGhga+xdMc25mv8kaLUHtgzCDhUxkrN8exkGdTlLNaXj7CV3GtON7zuGZ+w==} + nwsapi@2.2.13: + resolution: {integrity: sha512-cTGB9ptp9dY9A5VbMSe7fQBcl/tt22Vcqdq8+eN93rblOuE0aCFu4aZ2vMwct/2t+lFnosm8RkQW1I0Omb1UtQ==} object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} @@ -2659,8 +2642,8 @@ packages: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} - package-json-from-dist@1.0.0: - resolution: {integrity: sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==} + package-json-from-dist@1.0.1: + resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} parent-module@1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} @@ -2681,8 +2664,8 @@ packages: parse-srcset@1.0.2: resolution: {integrity: sha512-/2qh0lav6CmI15FzA3i/2Bzk2zCgQhGMkvhOhKNcBVQ1ldgpbfiNTVslmooUmWJcADi1f1kIeynbDRVzNlfR6Q==} - parse5@7.1.2: - resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} + parse5@7.2.0: + resolution: {integrity: sha512-ZkDsAOcxsUMZ4Lz5fVciOehNcJ+Gb8gTzcA4yl3wnc273BAybYWrQ+Ks/OjCjSEpjvQkDSeZbybK9qj2VHHdGA==} path-browserify@1.0.1: resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} @@ -2784,8 +2767,8 @@ packages: resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==} engines: {node: ^10 || ^12 || >=14} - preact@10.24.0: - resolution: {integrity: sha512-aK8Cf+jkfyuZ0ZZRG9FbYqwmEiGQ4y/PUO4SuTWoyWL244nZZh7bd5h2APd4rSNDYTBNghg1L+5iJN3Skxtbsw==} + preact@10.24.2: + resolution: {integrity: sha512-1cSoF0aCC8uaARATfrlz4VCBqE8LwZwRfLgkxJOQwAlQt6ayTmi0D9OF7nXid1POI5SZidFuG9CnlXbDfLqY/Q==} prelude-ls@1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} @@ -2894,8 +2877,8 @@ packages: resolution: {integrity: sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==} engines: {node: '>=8'} - regex@4.3.2: - resolution: {integrity: sha512-kK/AA3A9K6q2js89+VMymcboLOlF5lZRCYJv3gzszXFHBr6kO6qLGzbm+UIugBEV8SMMKCTR59txoY6ctRHYVw==} + regex@4.3.3: + resolution: {integrity: sha512-r/AadFO7owAq1QJVeZ/nq9jNS1vyZt+6t1p/E59B56Rn2GCya+gr1KSyOzNL/er+r+B7phv5jG2xU2Nz1YkmJg==} regexp-tree@0.1.27: resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} @@ -2945,8 +2928,8 @@ packages: resolution: {integrity: sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==} hasBin: true - rollup@4.22.4: - resolution: {integrity: sha512-vD8HJ5raRcWOyymsR6Z3o6+RzfEPCnVLMFJ6vRslO1jt4LO6dUo5Qnpg7y4RkZFM2DMe3WUirkI5c16onjrc6A==} + rollup@4.24.0: + resolution: {integrity: sha512-DOmrlGSXNk1DM0ljiQA+i+o0rSLhtii1je5wgk60j49d1jHT5YYttBv1iWOnYSTG+fZZESUOSNiAl89SIet+Cg==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -3165,10 +3148,6 @@ packages: symbol-tree@3.2.4: resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} - synckit@0.9.1: - resolution: {integrity: sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==} - engines: {node: ^14.18.0 || >=16.0.0} - synckit@0.9.2: resolution: {integrity: sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==} engines: {node: ^14.18.0 || >=16.0.0} @@ -3209,10 +3188,6 @@ packages: tinyexec@0.3.0: resolution: {integrity: sha512-tVGE0mVJPGb0chKhqmsoosjsS+qUnJVGJpZgsHYQcGoPlG3B51R3PouqTgEGH2Dc9jjFyOqOpix6ZHNMXp1FZg==} - tinyglobby@0.2.6: - resolution: {integrity: sha512-NbBoFBpqfcgd1tCiO8Lkfdk+xrA7mlLR9zgvZcZWQQwU63XAfUePyd6wZBaU93Hqw347lHnwFzttAkemHzzz4g==} - engines: {node: '>=12.0.0'} - tinyglobby@0.2.9: resolution: {integrity: sha512-8or1+BGEdk1Zkkw2ii16qSS7uVrQJPre5A9o/XkWPATkk23FZh/15BKFxPnlTy6vkljZxLqYCzzBMj30ZrSvjw==} engines: {node: '>=12.0.0'} @@ -3229,11 +3204,11 @@ packages: resolution: {integrity: sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==} engines: {node: '>=14.0.0'} - tldts-core@6.1.47: - resolution: {integrity: sha512-6SWyFMnlst1fEt7GQVAAu16EGgFK0cLouH/2Mk6Ftlwhv3Ol40L0dlpGMcnnNiiOMyD2EV/aF3S+U2nKvvLvrA==} + tldts-core@6.1.51: + resolution: {integrity: sha512-bu9oCYYWC1iRjx+3UnAjqCsfrWNZV1ghNQf49b3w5xE8J/tNShHTzp5syWJfwGH+pxUgTTLUnzHnfuydW7wmbg==} - tldts@6.1.47: - resolution: {integrity: sha512-R/K2tZ5MiY+mVrnSkNJkwqYT2vUv1lcT6wJvd2emGaMJ7PHUGRY4e3tUsdFCXgqxi2QgbHjL3yJgXCo40v9Hxw==} + tldts@6.1.51: + resolution: {integrity: sha512-33lfQoL0JsDogIbZ8fgRyvv77GnRtwkNE/MOKocwUgPO1WrSfsq7+vQRKxRQZai5zd+zg97Iv9fpFQSzHyWdLA==} hasBin: true tmp@0.2.3: @@ -3406,8 +3381,8 @@ packages: resolution: {integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==} engines: {node: '>=8'} - update-browserslist-db@1.1.0: - resolution: {integrity: sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==} + update-browserslist-db@1.1.1: + resolution: {integrity: sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' @@ -3631,8 +3606,8 @@ packages: yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} - yaml@2.5.1: - resolution: {integrity: sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==} + yaml@2.6.0: + resolution: {integrity: sha512-a6ae//JvKDEra2kdi1qzCyrJW/WZCgFi8ydDV+eXExl95t+5R+ijnqHJbz9tmMh8FUjx3iv2fCQ4dclAQlO2UQ==} engines: {node: '>= 14'} hasBin: true @@ -3676,32 +3651,32 @@ snapshots: tunnel: 0.0.6 undici: 5.28.4 - '@algolia/autocomplete-core@1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0)(search-insights@2.17.2)': + '@algolia/autocomplete-core@1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0)(search-insights@2.17.2)': dependencies: - '@algolia/autocomplete-plugin-algolia-insights': 1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0)(search-insights@2.17.2) - '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0) + '@algolia/autocomplete-plugin-algolia-insights': 1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0)(search-insights@2.17.2) + '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0) transitivePeerDependencies: - '@algolia/client-search' - algoliasearch - search-insights - '@algolia/autocomplete-plugin-algolia-insights@1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0)(search-insights@2.17.2)': + '@algolia/autocomplete-plugin-algolia-insights@1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0)(search-insights@2.17.2)': dependencies: - '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0) + '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0) search-insights: 2.17.2 transitivePeerDependencies: - '@algolia/client-search' - algoliasearch - '@algolia/autocomplete-preset-algolia@1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0)': + '@algolia/autocomplete-preset-algolia@1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0)': dependencies: - '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0) - '@algolia/client-search': 5.5.3 + '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0) + '@algolia/client-search': 4.24.0 algoliasearch: 4.24.0 - '@algolia/autocomplete-shared@1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0)': + '@algolia/autocomplete-shared@1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0)': dependencies: - '@algolia/client-search': 5.5.3 + '@algolia/client-search': 4.24.0 algoliasearch: 4.24.0 '@algolia/cache-browser-local-storage@4.24.0': @@ -3732,8 +3707,6 @@ snapshots: '@algolia/requester-common': 4.24.0 '@algolia/transporter': 4.24.0 - '@algolia/client-common@5.5.3': {} - '@algolia/client-personalization@4.24.0': dependencies: '@algolia/client-common': 4.24.0 @@ -3746,13 +3719,6 @@ snapshots: '@algolia/requester-common': 4.24.0 '@algolia/transporter': 4.24.0 - '@algolia/client-search@5.5.3': - dependencies: - '@algolia/client-common': 5.5.3 - '@algolia/requester-browser-xhr': 5.5.3 - '@algolia/requester-fetch': 5.5.3 - '@algolia/requester-node-http': 5.5.3 - '@algolia/logger-common@4.24.0': {} '@algolia/logger-console@4.24.0': @@ -3777,24 +3743,12 @@ snapshots: dependencies: '@algolia/requester-common': 4.24.0 - '@algolia/requester-browser-xhr@5.5.3': - dependencies: - '@algolia/client-common': 5.5.3 - '@algolia/requester-common@4.24.0': {} - '@algolia/requester-fetch@5.5.3': - dependencies: - '@algolia/client-common': 5.5.3 - '@algolia/requester-node-http@4.24.0': dependencies: '@algolia/requester-common': 4.24.0 - '@algolia/requester-node-http@5.5.3': - dependencies: - '@algolia/client-common': 5.5.3 - '@algolia/transporter@4.24.0': dependencies: '@algolia/cache-common': 4.24.0 @@ -3806,30 +3760,30 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@babel/code-frame@7.24.7': + '@babel/code-frame@7.25.7': dependencies: - '@babel/highlight': 7.24.7 + '@babel/highlight': 7.25.7 picocolors: 1.1.0 - '@babel/helper-string-parser@7.24.8': {} + '@babel/helper-string-parser@7.25.7': {} - '@babel/helper-validator-identifier@7.24.7': {} + '@babel/helper-validator-identifier@7.25.7': {} - '@babel/highlight@7.24.7': + '@babel/highlight@7.25.7': dependencies: - '@babel/helper-validator-identifier': 7.24.7 + '@babel/helper-validator-identifier': 7.25.7 chalk: 2.4.2 js-tokens: 4.0.0 picocolors: 1.1.0 - '@babel/parser@7.25.6': + '@babel/parser@7.25.8': dependencies: - '@babel/types': 7.25.6 + '@babel/types': 7.25.8 - '@babel/types@7.25.6': + '@babel/types@7.25.8': dependencies: - '@babel/helper-string-parser': 7.24.8 - '@babel/helper-validator-identifier': 7.24.7 + '@babel/helper-string-parser': 7.25.7 + '@babel/helper-validator-identifier': 7.25.7 to-fast-properties: 2.0.0 '@bcoe/v8-coverage@0.2.3': {} @@ -3845,7 +3799,7 @@ snapshots: combined-stream: 1.0.8 extend: 3.0.2 forever-agent: 0.6.1 - form-data: 4.0.0 + form-data: 4.0.1 http-signature: 1.4.0 is-typedarray: 1.0.0 isstream: 0.1.2 @@ -3867,10 +3821,10 @@ snapshots: '@docsearch/css@3.6.2': {} - '@docsearch/js@3.6.2(@algolia/client-search@5.5.3)(search-insights@2.17.2)': + '@docsearch/js@3.6.2(@algolia/client-search@4.24.0)(search-insights@2.17.2)': dependencies: - '@docsearch/react': 3.6.2(@algolia/client-search@5.5.3)(search-insights@2.17.2) - preact: 10.24.0 + '@docsearch/react': 3.6.2(@algolia/client-search@4.24.0)(search-insights@2.17.2) + preact: 10.24.2 transitivePeerDependencies: - '@algolia/client-search' - '@types/react' @@ -3878,10 +3832,10 @@ snapshots: - react-dom - search-insights - '@docsearch/react@3.6.2(@algolia/client-search@5.5.3)(search-insights@2.17.2)': + '@docsearch/react@3.6.2(@algolia/client-search@4.24.0)(search-insights@2.17.2)': dependencies: - '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0)(search-insights@2.17.2) - '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@5.5.3)(algoliasearch@4.24.0) + '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0)(search-insights@2.17.2) + '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0) '@docsearch/css': 3.6.2 algoliasearch: 4.24.0 optionalDependencies: @@ -4142,19 +4096,19 @@ snapshots: '@octokit/graphql': 7.1.0 '@octokit/request': 8.4.0 '@octokit/request-error': 5.1.0 - '@octokit/types': 13.5.0 + '@octokit/types': 13.6.1 before-after-hook: 2.2.3 universal-user-agent: 6.0.1 '@octokit/endpoint@9.0.5': dependencies: - '@octokit/types': 13.5.0 + '@octokit/types': 13.6.1 universal-user-agent: 6.0.1 '@octokit/graphql@7.1.0': dependencies: '@octokit/request': 8.4.0 - '@octokit/types': 13.5.0 + '@octokit/types': 13.6.1 universal-user-agent: 6.0.1 '@octokit/openapi-types@20.0.0': {} @@ -4173,7 +4127,7 @@ snapshots: '@octokit/request-error@5.1.0': dependencies: - '@octokit/types': 13.5.0 + '@octokit/types': 13.6.1 deprecation: 2.3.1 once: 1.4.0 @@ -4181,14 +4135,14 @@ snapshots: dependencies: '@octokit/endpoint': 9.0.5 '@octokit/request-error': 5.1.0 - '@octokit/types': 13.5.0 + '@octokit/types': 13.6.1 universal-user-agent: 6.0.1 '@octokit/types@12.6.0': dependencies: '@octokit/openapi-types': 20.0.0 - '@octokit/types@13.5.0': + '@octokit/types@13.6.1': dependencies: '@octokit/openapi-types': 22.2.0 @@ -4199,52 +4153,52 @@ snapshots: '@polka/url@1.0.0-next.28': {} - '@rollup/rollup-android-arm-eabi@4.22.4': + '@rollup/rollup-android-arm-eabi@4.24.0': optional: true - '@rollup/rollup-android-arm64@4.22.4': + '@rollup/rollup-android-arm64@4.24.0': optional: true - '@rollup/rollup-darwin-arm64@4.22.4': + '@rollup/rollup-darwin-arm64@4.24.0': optional: true - '@rollup/rollup-darwin-x64@4.22.4': + '@rollup/rollup-darwin-x64@4.24.0': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.22.4': + '@rollup/rollup-linux-arm-gnueabihf@4.24.0': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.22.4': + '@rollup/rollup-linux-arm-musleabihf@4.24.0': optional: true - '@rollup/rollup-linux-arm64-gnu@4.22.4': + '@rollup/rollup-linux-arm64-gnu@4.24.0': optional: true - '@rollup/rollup-linux-arm64-musl@4.22.4': + '@rollup/rollup-linux-arm64-musl@4.24.0': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.22.4': + '@rollup/rollup-linux-powerpc64le-gnu@4.24.0': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.22.4': + '@rollup/rollup-linux-riscv64-gnu@4.24.0': optional: true - '@rollup/rollup-linux-s390x-gnu@4.22.4': + '@rollup/rollup-linux-s390x-gnu@4.24.0': optional: true - '@rollup/rollup-linux-x64-gnu@4.22.4': + '@rollup/rollup-linux-x64-gnu@4.24.0': optional: true - '@rollup/rollup-linux-x64-musl@4.22.4': + '@rollup/rollup-linux-x64-musl@4.24.0': optional: true - '@rollup/rollup-win32-arm64-msvc@4.22.4': + '@rollup/rollup-win32-arm64-msvc@4.24.0': optional: true - '@rollup/rollup-win32-ia32-msvc@4.22.4': + '@rollup/rollup-win32-ia32-msvc@4.24.0': optional: true - '@rollup/rollup-win32-x64-msvc@4.22.4': + '@rollup/rollup-win32-x64-msvc@4.24.0': optional: true '@shikijs/core@1.22.0': @@ -4305,8 +4259,6 @@ snapshots: dependencies: '@types/eslint': 9.6.1 - '@types/estree@1.0.5': {} - '@types/estree@1.0.6': {} '@types/hast@3.0.4': @@ -4454,7 +4406,7 @@ snapshots: istanbul-lib-report: 3.0.1 istanbul-lib-source-maps: 5.0.6 istanbul-reports: 3.1.7 - magic-string: 0.30.11 + magic-string: 0.30.12 magicast: 0.3.5 std-env: 3.7.0 test-exclude: 7.0.1 @@ -4482,7 +4434,7 @@ snapshots: dependencies: '@vitest/spy': 2.1.2 estree-walker: 3.0.3 - magic-string: 0.30.11 + magic-string: 0.30.12 optionalDependencies: vite: 5.4.8(@types/node@20.16.11) @@ -4498,7 +4450,7 @@ snapshots: '@vitest/snapshot@2.1.2': dependencies: '@vitest/pretty-format': 2.1.2 - magic-string: 0.30.11 + magic-string: 0.30.12 pathe: 1.1.2 '@vitest/spy@2.1.2': @@ -4519,43 +4471,56 @@ snapshots: '@vitest/utils@2.1.2': dependencies: '@vitest/pretty-format': 2.1.2 - loupe: 3.1.1 + loupe: 3.1.2 tinyrainbow: 1.2.0 - '@volar/language-core@2.4.5': + '@volar/language-core@2.4.6': dependencies: - '@volar/source-map': 2.4.5 + '@volar/source-map': 2.4.6 - '@volar/source-map@2.4.5': {} + '@volar/source-map@2.4.6': {} - '@volar/typescript@2.4.5': + '@volar/typescript@2.4.6': dependencies: - '@volar/language-core': 2.4.5 + '@volar/language-core': 2.4.6 path-browserify: 1.0.1 vscode-uri: 3.0.8 '@vue/compiler-core@3.5.11': dependencies: - '@babel/parser': 7.25.6 + '@babel/parser': 7.25.8 '@vue/shared': 3.5.11 entities: 4.5.0 estree-walker: 2.0.2 source-map-js: 1.2.1 + '@vue/compiler-core@3.5.12': + dependencies: + '@babel/parser': 7.25.8 + '@vue/shared': 3.5.12 + entities: 4.5.0 + estree-walker: 2.0.2 + source-map-js: 1.2.1 + '@vue/compiler-dom@3.5.11': dependencies: '@vue/compiler-core': 3.5.11 '@vue/shared': 3.5.11 + '@vue/compiler-dom@3.5.12': + dependencies: + '@vue/compiler-core': 3.5.12 + '@vue/shared': 3.5.12 + '@vue/compiler-sfc@3.5.11': dependencies: - '@babel/parser': 7.25.6 + '@babel/parser': 7.25.8 '@vue/compiler-core': 3.5.11 '@vue/compiler-dom': 3.5.11 '@vue/compiler-ssr': 3.5.11 '@vue/shared': 3.5.11 estree-walker: 2.0.2 - magic-string: 0.30.11 + magic-string: 0.30.12 postcss: 8.4.47 source-map-js: 1.2.1 @@ -4576,7 +4541,7 @@ snapshots: '@vue/devtools-kit@7.4.6': dependencies: '@vue/devtools-shared': 7.4.6 - birpc: 0.2.17 + birpc: 0.2.19 hookable: 5.5.3 mitt: 3.0.1 perfect-debounce: 1.0.0 @@ -4589,10 +4554,10 @@ snapshots: '@vue/language-core@2.1.6(typescript@5.6.2)': dependencies: - '@volar/language-core': 2.4.5 - '@vue/compiler-dom': 3.5.11 + '@volar/language-core': 2.4.6 + '@vue/compiler-dom': 3.5.12 '@vue/compiler-vue2': 2.7.16 - '@vue/shared': 3.5.11 + '@vue/shared': 3.5.12 computeds: 0.0.1 minimatch: 9.0.5 muggle-string: 0.4.1 @@ -4624,6 +4589,8 @@ snapshots: '@vue/shared@3.5.11': {} + '@vue/shared@3.5.12': {} + '@vueuse/core@11.1.0(vue@3.5.11(typescript@5.6.2))': dependencies: '@types/web-bluetooth': 0.0.20 @@ -4772,7 +4739,7 @@ snapshots: binary-extensions@2.3.0: {} - birpc@0.2.17: {} + birpc@0.2.19: {} blob-util@2.0.2: {} @@ -4791,12 +4758,12 @@ snapshots: dependencies: fill-range: 7.1.1 - browserslist@4.23.3: + browserslist@4.24.0: dependencies: - caniuse-lite: 1.0.30001663 - electron-to-chromium: 1.5.27 + caniuse-lite: 1.0.30001668 + electron-to-chromium: 1.5.36 node-releases: 2.0.18 - update-browserslist-db: 1.1.0(browserslist@4.23.3) + update-browserslist-db: 1.1.1(browserslist@4.24.0) buffer-crc32@0.2.13: {} @@ -4836,7 +4803,7 @@ snapshots: camelcase@5.3.1: {} - caniuse-lite@1.0.30001663: {} + caniuse-lite@1.0.30001668: {} caseless@0.12.0: {} @@ -4847,7 +4814,7 @@ snapshots: assertion-error: 2.0.1 check-error: 2.1.1 deep-eql: 5.0.2 - loupe: 3.1.1 + loupe: 3.1.2 pathval: 2.0.0 chalk@2.4.2: @@ -4962,7 +4929,7 @@ snapshots: jsdom: 25.0.1 semver: 7.6.3 w3c-xmlserializer: 5.0.0 - yaml: 2.5.1 + yaml: 2.6.0 yargs: 17.7.2 transitivePeerDependencies: - bufferutil @@ -5084,7 +5051,7 @@ snapshots: core-js-compat@3.38.1: dependencies: - browserslist: 4.23.3 + browserslist: 4.24.0 core-util-is@1.0.2: {} @@ -5253,7 +5220,7 @@ snapshots: jsbn: 0.1.1 safer-buffer: 2.1.2 - electron-to-chromium@1.5.27: {} + electron-to-chromium@1.5.36: {} emoji-regex@8.0.0: {} @@ -5367,21 +5334,21 @@ snapshots: eslint: 9.12.0(jiti@1.21.6) prettier: 3.3.3 prettier-linter-helpers: 1.0.0 - synckit: 0.9.1 + synckit: 0.9.2 optionalDependencies: '@types/eslint': 9.6.1 eslint-config-prettier: 9.1.0(eslint@9.12.0(jiti@1.21.6)) eslint-plugin-unicorn@56.0.0(eslint@9.12.0(jiti@1.21.6)): dependencies: - '@babel/helper-validator-identifier': 7.24.7 + '@babel/helper-validator-identifier': 7.25.7 '@eslint-community/eslint-utils': 4.4.0(eslint@9.12.0(jiti@1.21.6)) ci-info: 4.0.0 clean-regexp: 1.0.0 core-js-compat: 3.38.1 eslint: 9.12.0(jiti@1.21.6) esquery: 1.6.0 - globals: 15.9.0 + globals: 15.11.0 indent-string: 4.0.0 is-builtin-module: 3.2.1 jsesc: 3.0.2 @@ -5589,7 +5556,7 @@ snapshots: forever-agent@0.6.1: {} - form-data@4.0.0: + form-data@4.0.1: dependencies: asynckit: 0.4.0 combined-stream: 1.0.8 @@ -5609,8 +5576,6 @@ snapshots: get-caller-file@2.0.5: {} - get-func-name@2.0.2: {} - get-intrinsic@1.2.4: dependencies: es-errors: 1.3.0 @@ -5682,7 +5647,7 @@ snapshots: jackspeak: 3.4.3 minimatch: 9.0.5 minipass: 7.1.2 - package-json-from-dist: 1.0.0 + package-json-from-dist: 1.0.1 path-scurry: 1.11.1 global-dirs@3.0.1: @@ -5691,7 +5656,7 @@ snapshots: globals@14.0.0: {} - globals@15.9.0: {} + globals@15.11.0: {} globby@13.2.2: dependencies: @@ -5935,13 +5900,13 @@ snapshots: cssstyle: 4.1.0 data-urls: 5.0.0 decimal.js: 10.4.3 - form-data: 4.0.0 + form-data: 4.0.1 html-encoding-sniffer: 4.0.0 http-proxy-agent: 7.0.2 https-proxy-agent: 7.0.5 is-potential-custom-element-name: 1.0.1 - nwsapi: 2.2.12 - parse5: 7.1.2 + nwsapi: 2.2.13 + parse5: 7.2.0 rrweb-cssom: 0.7.1 saxes: 6.0.0 symbol-tree: 3.2.4 @@ -6072,9 +6037,7 @@ snapshots: slice-ansi: 4.0.0 wrap-ansi: 6.2.0 - loupe@3.1.1: - dependencies: - get-func-name: 2.0.2 + loupe@3.1.2: {} lru-cache@10.4.3: {} @@ -6082,14 +6045,14 @@ snapshots: dependencies: yallist: 4.0.0 - magic-string@0.30.11: + magic-string@0.30.12: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 magicast@0.3.5: dependencies: - '@babel/parser': 7.25.6 - '@babel/types': 7.25.6 + '@babel/parser': 7.25.8 + '@babel/types': 7.25.8 source-map-js: 1.2.1 make-dir@4.0.0: @@ -6242,7 +6205,7 @@ snapshots: dependencies: path-key: 3.1.1 - nwsapi@2.2.12: {} + nwsapi@2.2.13: {} object-assign@4.1.1: {} @@ -6258,7 +6221,7 @@ snapshots: oniguruma-to-js@0.4.3: dependencies: - regex: 4.3.2 + regex: 4.3.3 optionator@0.9.4: dependencies: @@ -6307,7 +6270,7 @@ snapshots: p-try@2.2.0: {} - package-json-from-dist@1.0.0: {} + package-json-from-dist@1.0.1: {} parent-module@1.0.1: dependencies: @@ -6325,14 +6288,14 @@ snapshots: parse-json@5.2.0: dependencies: - '@babel/code-frame': 7.24.7 + '@babel/code-frame': 7.25.7 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 parse-srcset@1.0.2: {} - parse5@7.1.2: + parse5@7.2.0: dependencies: entities: 4.5.0 @@ -6383,14 +6346,14 @@ snapshots: pluralize@8.0.0: {} - postcss-load-config@6.0.1(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(yaml@2.5.1): + postcss-load-config@6.0.1(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(yaml@2.6.0): dependencies: lilconfig: 3.1.2 optionalDependencies: jiti: 1.21.6 postcss: 8.4.47 tsx: 4.19.1 - yaml: 2.5.1 + yaml: 2.6.0 postcss@8.4.47: dependencies: @@ -6398,7 +6361,7 @@ snapshots: picocolors: 1.1.0 source-map-js: 1.2.1 - preact@10.24.0: {} + preact@10.24.2: {} prelude-ls@1.2.1: {} @@ -6505,7 +6468,7 @@ snapshots: indent-string: 4.0.0 strip-indent: 3.0.0 - regex@4.3.2: {} + regex@4.3.3: {} regexp-tree@0.1.27: {} @@ -6546,26 +6509,26 @@ snapshots: dependencies: glob: 10.4.5 - rollup@4.22.4: + rollup@4.24.0: dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.22.4 - '@rollup/rollup-android-arm64': 4.22.4 - '@rollup/rollup-darwin-arm64': 4.22.4 - '@rollup/rollup-darwin-x64': 4.22.4 - '@rollup/rollup-linux-arm-gnueabihf': 4.22.4 - '@rollup/rollup-linux-arm-musleabihf': 4.22.4 - '@rollup/rollup-linux-arm64-gnu': 4.22.4 - '@rollup/rollup-linux-arm64-musl': 4.22.4 - '@rollup/rollup-linux-powerpc64le-gnu': 4.22.4 - '@rollup/rollup-linux-riscv64-gnu': 4.22.4 - '@rollup/rollup-linux-s390x-gnu': 4.22.4 - '@rollup/rollup-linux-x64-gnu': 4.22.4 - '@rollup/rollup-linux-x64-musl': 4.22.4 - '@rollup/rollup-win32-arm64-msvc': 4.22.4 - '@rollup/rollup-win32-ia32-msvc': 4.22.4 - '@rollup/rollup-win32-x64-msvc': 4.22.4 + '@rollup/rollup-android-arm-eabi': 4.24.0 + '@rollup/rollup-android-arm64': 4.24.0 + '@rollup/rollup-darwin-arm64': 4.24.0 + '@rollup/rollup-darwin-x64': 4.24.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.24.0 + '@rollup/rollup-linux-arm-musleabihf': 4.24.0 + '@rollup/rollup-linux-arm64-gnu': 4.24.0 + '@rollup/rollup-linux-arm64-musl': 4.24.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.24.0 + '@rollup/rollup-linux-riscv64-gnu': 4.24.0 + '@rollup/rollup-linux-s390x-gnu': 4.24.0 + '@rollup/rollup-linux-x64-gnu': 4.24.0 + '@rollup/rollup-linux-x64-musl': 4.24.0 + '@rollup/rollup-win32-arm64-msvc': 4.24.0 + '@rollup/rollup-win32-ia32-msvc': 4.24.0 + '@rollup/rollup-win32-x64-msvc': 4.24.0 fsevents: 2.3.3 rrweb-cssom@0.7.1: {} @@ -6805,11 +6768,6 @@ snapshots: symbol-tree@3.2.4: {} - synckit@0.9.1: - dependencies: - '@pkgr/core': 0.1.1 - tslib: 2.7.0 - synckit@0.9.2: dependencies: '@pkgr/core': 0.1.1 @@ -6848,11 +6806,6 @@ snapshots: tinyexec@0.3.0: {} - tinyglobby@0.2.6: - dependencies: - fdir: 6.4.0(picomatch@4.0.2) - picomatch: 4.0.2 - tinyglobby@0.2.9: dependencies: fdir: 6.4.0(picomatch@4.0.2) @@ -6864,11 +6817,11 @@ snapshots: tinyspy@3.0.2: {} - tldts-core@6.1.47: {} + tldts-core@6.1.51: {} - tldts@6.1.47: + tldts@6.1.51: dependencies: - tldts-core: 6.1.47 + tldts-core: 6.1.51 tmp@0.2.3: {} @@ -6889,7 +6842,7 @@ snapshots: tough-cookie@5.0.0: dependencies: - tldts: 6.1.47 + tldts: 6.1.51 tr46@1.0.1: dependencies: @@ -6918,7 +6871,7 @@ snapshots: tslib@2.7.0: {} - tsup@8.3.0(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.2)(yaml@2.5.1): + tsup@8.3.0(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.2)(yaml@2.6.0): dependencies: bundle-require: 5.0.0(esbuild@0.23.1) cac: 6.7.14 @@ -6929,12 +6882,12 @@ snapshots: execa: 5.1.1 joycon: 3.1.1 picocolors: 1.1.0 - postcss-load-config: 6.0.1(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(yaml@2.5.1) + postcss-load-config: 6.0.1(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(yaml@2.6.0) resolve-from: 5.0.0 - rollup: 4.22.4 + rollup: 4.24.0 source-map: 0.8.0-beta.0 sucrase: 3.35.0 - tinyglobby: 0.2.6 + tinyglobby: 0.2.9 tree-kill: 1.2.2 optionalDependencies: postcss: 8.4.47 @@ -7027,9 +6980,9 @@ snapshots: untildify@4.0.0: {} - update-browserslist-db@1.1.0(browserslist@4.23.3): + update-browserslist-db@1.1.1(browserslist@4.24.0): dependencies: - browserslist: 4.23.3 + browserslist: 4.24.0 escalade: 3.2.0 picocolors: 1.1.0 @@ -7090,22 +7043,22 @@ snapshots: dependencies: esbuild: 0.21.5 postcss: 8.4.47 - rollup: 4.22.4 + rollup: 4.24.0 optionalDependencies: '@types/node': 20.16.11 fsevents: 2.3.3 - vitepress@1.4.0(@algolia/client-search@5.5.3)(@types/node@20.16.11)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2): + vitepress@1.4.0(@algolia/client-search@4.24.0)(@types/node@20.16.11)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2): dependencies: '@docsearch/css': 3.6.2 - '@docsearch/js': 3.6.2(@algolia/client-search@5.5.3)(search-insights@2.17.2) + '@docsearch/js': 3.6.2(@algolia/client-search@4.24.0)(search-insights@2.17.2) '@shikijs/core': 1.22.0 '@shikijs/transformers': 1.22.0 '@shikijs/types': 1.22.0 '@types/markdown-it': 14.1.2 '@vitejs/plugin-vue': 5.1.4(vite@5.4.8(@types/node@20.16.11))(vue@3.5.11(typescript@5.6.2)) '@vue/devtools-api': 7.4.6 - '@vue/shared': 3.5.11 + '@vue/shared': 3.5.12 '@vueuse/core': 11.1.0(vue@3.5.11(typescript@5.6.2)) '@vueuse/integrations': 11.1.0(focus-trap@7.6.0)(vue@3.5.11(typescript@5.6.2)) focus-trap: 7.6.0 @@ -7155,7 +7108,7 @@ snapshots: '@vitest/utils': 2.1.2 chai: 5.1.1 debug: 4.3.7(supports-color@8.1.1) - magic-string: 0.30.11 + magic-string: 0.30.12 pathe: 1.1.2 std-env: 3.7.0 tinybench: 2.9.0 @@ -7188,7 +7141,7 @@ snapshots: vue-tsc@2.1.6(typescript@5.6.2): dependencies: - '@volar/typescript': 2.4.5 + '@volar/typescript': 2.4.6 '@vue/language-core': 2.1.6(typescript@5.6.2) semver: 7.6.3 typescript: 5.6.2 @@ -7273,7 +7226,7 @@ snapshots: yallist@4.0.0: {} - yaml@2.5.1: {} + yaml@2.6.0: {} yargs-parser@20.2.9: {} From 40948c3f18df78adf8c285760cc28c1a802406ff Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:13:34 +0700 Subject: [PATCH 41/47] refactor(vehicle): add more non-US vehicle manufacturers (#3173) --- src/locales/en/vehicle/manufacturer.ts | 10 ++++++++++ test/modules/__snapshots__/vehicle.spec.ts.snap | 8 ++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/locales/en/vehicle/manufacturer.ts b/src/locales/en/vehicle/manufacturer.ts index 9de1e9c934b..ee13f841bff 100644 --- a/src/locales/en/vehicle/manufacturer.ts +++ b/src/locales/en/vehicle/manufacturer.ts @@ -2,11 +2,13 @@ export default [ 'Aston Martin', 'Audi', 'BMW', + 'BYD', 'Bentley', 'Bugatti', 'Cadillac', 'Chevrolet', 'Chrysler', + 'Citroën', 'Dodge', 'Ferrari', 'Fiat', @@ -22,13 +24,21 @@ export default [ 'Mazda', 'Mercedes Benz', 'Mini', + 'Mitsubishi', + 'NIO', 'Nissan', + 'Peugeot', 'Polestar', 'Porsche', + 'Renault', + 'Rivian', 'Rolls Royce', 'Smart', + 'Subaru', + 'Suzuki', 'Tesla', 'Toyota', + 'Vauxhall', 'Volkswagen', 'Volvo', ]; diff --git a/test/modules/__snapshots__/vehicle.spec.ts.snap b/test/modules/__snapshots__/vehicle.spec.ts.snap index c8164153099..9c5a6ebd5f3 100644 --- a/test/modules/__snapshots__/vehicle.spec.ts.snap +++ b/test/modules/__snapshots__/vehicle.spec.ts.snap @@ -6,13 +6,13 @@ exports[`vehicle > 42 > color 1`] = `"lime"`; exports[`vehicle > 42 > fuel 1`] = `"Electric"`; -exports[`vehicle > 42 > manufacturer 1`] = `"Ford"`; +exports[`vehicle > 42 > manufacturer 1`] = `"Hyundai"`; exports[`vehicle > 42 > model 1`] = `"Durango"`; exports[`vehicle > 42 > type 1`] = `"Extended Cab Pickup"`; -exports[`vehicle > 42 > vehicle 1`] = `"Ford Wrangler"`; +exports[`vehicle > 42 > vehicle 1`] = `"Hyundai Wrangler"`; exports[`vehicle > 42 > vin 1`] = `"CYRK551VKPAZ82113"`; @@ -42,13 +42,13 @@ exports[`vehicle > 1337 > color 1`] = `"indigo"`; exports[`vehicle > 1337 > fuel 1`] = `"Electric"`; -exports[`vehicle > 1337 > manufacturer 1`] = `"Dodge"`; +exports[`vehicle > 1337 > manufacturer 1`] = `"Ferrari"`; exports[`vehicle > 1337 > model 1`] = `"Challenger"`; exports[`vehicle > 1337 > type 1`] = `"Coupe"`; -exports[`vehicle > 1337 > vehicle 1`] = `"Dodge Aventador"`; +exports[`vehicle > 1337 > vehicle 1`] = `"Ferrari Aventador"`; exports[`vehicle > 1337 > vin 1`] = `"859FAH8ZR3JL19477"`; From df96fbabcfabfb21b870745541ca64ed370222f4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 18:24:07 +0200 Subject: [PATCH 42/47] chore(deps): update devdependencies (#3184) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 4 +- pnpm-lock.yaml | 158 +++++++++++++++++++++---------------------------- 2 files changed, 69 insertions(+), 93 deletions(-) diff --git a/package.json b/package.json index 718ab7e6d5f..e0a9c8b700e 100644 --- a/package.json +++ b/package.json @@ -116,7 +116,7 @@ "@vitest/eslint-plugin": "1.1.7", "@vitest/ui": "2.1.2", "@vueuse/core": "11.1.0", - "commit-and-tag-version": "12.4.4", + "commit-and-tag-version": "12.5.0", "cypress": "13.15.0", "eslint": "9.12.0", "eslint-config-prettier": "9.1.0", @@ -140,7 +140,7 @@ "vite": "5.4.8", "vitepress": "1.4.0", "vitest": "2.1.2", - "vue": "3.5.11", + "vue": "3.5.12", "vue-tsc": "2.1.6" }, "packageManager": "pnpm@9.12.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c67e1f120c7..70d30eba822 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -46,10 +46,10 @@ importers: version: 2.1.2(vitest@2.1.2) '@vueuse/core': specifier: 11.1.0 - version: 11.1.0(vue@3.5.11(typescript@5.6.2)) + version: 11.1.0(vue@3.5.12(typescript@5.6.2)) commit-and-tag-version: - specifier: 12.4.4 - version: 12.4.4 + specifier: 12.5.0 + version: 12.5.0 cypress: specifier: 13.15.0 version: 13.15.0 @@ -120,8 +120,8 @@ importers: specifier: 2.1.2 version: 2.1.2(@types/node@20.16.11)(@vitest/ui@2.1.2)(jsdom@25.0.1) vue: - specifier: 3.5.11 - version: 3.5.11(typescript@5.6.2) + specifier: 3.5.12 + version: 3.5.12(typescript@5.6.2) vue-tsc: specifier: 2.1.6 version: 2.1.6(typescript@5.6.2) @@ -1015,23 +1015,17 @@ packages: '@volar/typescript@2.4.6': resolution: {integrity: sha512-NMIrA7y5OOqddL9VtngPWYmdQU03htNKFtAYidbYfWA0TOhyGVd9tfcP4TsLWQ+RBWDZCbBqsr8xzU0ZOxYTCQ==} - '@vue/compiler-core@3.5.11': - resolution: {integrity: sha512-PwAdxs7/9Hc3ieBO12tXzmTD+Ln4qhT/56S+8DvrrZ4kLDn4Z/AMUr8tXJD0axiJBS0RKIoNaR0yMuQB9v9Udg==} - '@vue/compiler-core@3.5.12': resolution: {integrity: sha512-ISyBTRMmMYagUxhcpyEH0hpXRd/KqDU4ymofPgl2XAkY9ZhQ+h0ovEZJIiPop13UmR/54oA2cgMDjgroRelaEw==} - '@vue/compiler-dom@3.5.11': - resolution: {integrity: sha512-pyGf8zdbDDRkBrEzf8p7BQlMKNNF5Fk/Cf/fQ6PiUz9at4OaUfyXW0dGJTo2Vl1f5U9jSLCNf0EZJEogLXoeew==} - '@vue/compiler-dom@3.5.12': resolution: {integrity: sha512-9G6PbJ03uwxLHKQ3P42cMTi85lDRvGLB2rSGOiQqtXELat6uI4n8cNz9yjfVHRPIu+MsK6TE418Giruvgptckg==} - '@vue/compiler-sfc@3.5.11': - resolution: {integrity: sha512-gsbBtT4N9ANXXepprle+X9YLg2htQk1sqH/qGJ/EApl+dgpUBdTv3yP7YlR535uHZY3n6XaR0/bKo0BgwwDniw==} + '@vue/compiler-sfc@3.5.12': + resolution: {integrity: sha512-2k973OGo2JuAa5+ZlekuQJtitI5CgLMOwgl94BzMCsKZCX/xiqzJYzapl4opFogKHqwJk34vfsaKpfEhd1k5nw==} - '@vue/compiler-ssr@3.5.11': - resolution: {integrity: sha512-P4+GPjOuC2aFTk1Z4WANvEhyOykcvEd5bIj2KVNGKGfM745LaXGr++5njpdBTzVz5pZifdlR1kpYSJJpIlSePA==} + '@vue/compiler-ssr@3.5.12': + resolution: {integrity: sha512-eLwc7v6bfGBSM7wZOGPmRavSWzNFF6+PdRhE+VFJhNCgHiF8AM7ccoqcv5kBXA2eWUfigD7byekvf/JsOfKvPA==} '@vue/compiler-vue2@2.7.16': resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==} @@ -1053,22 +1047,19 @@ packages: typescript: optional: true - '@vue/reactivity@3.5.11': - resolution: {integrity: sha512-Nqo5VZEn8MJWlCce8XoyVqHZbd5P2NH+yuAaFzuNSR96I+y1cnuUiq7xfSG+kyvLSiWmaHTKP1r3OZY4mMD50w==} + '@vue/reactivity@3.5.12': + resolution: {integrity: sha512-UzaN3Da7xnJXdz4Okb/BGbAaomRHc3RdoWqTzlvd9+WBR5m3J39J1fGcHes7U3za0ruYn/iYy/a1euhMEHvTAg==} - '@vue/runtime-core@3.5.11': - resolution: {integrity: sha512-7PsxFGqwfDhfhh0OcDWBG1DaIQIVOLgkwA5q6MtkPiDFjp5gohVnJEahSktwSFLq7R5PtxDKy6WKURVN1UDbzA==} + '@vue/runtime-core@3.5.12': + resolution: {integrity: sha512-hrMUYV6tpocr3TL3Ad8DqxOdpDe4zuQY4HPY3X/VRh+L2myQO8MFXPAMarIOSGNu0bFAjh1yBkMPXZBqCk62Uw==} - '@vue/runtime-dom@3.5.11': - resolution: {integrity: sha512-GNghjecT6IrGf0UhuYmpgaOlN7kxzQBhxWEn08c/SQDxv1yy4IXI1bn81JgEpQ4IXjRxWtPyI8x0/7TF5rPfYQ==} + '@vue/runtime-dom@3.5.12': + resolution: {integrity: sha512-q8VFxR9A2MRfBr6/55Q3umyoN7ya836FzRXajPB6/Vvuv0zOPL+qltd9rIMzG/DbRLAIlREmnLsplEF/kotXKA==} - '@vue/server-renderer@3.5.11': - resolution: {integrity: sha512-cVOwYBxR7Wb1B1FoxYvtjJD8X/9E5nlH4VSkJy2uMA1MzYNdzAAB//l8nrmN9py/4aP+3NjWukf9PZ3TeWULaA==} + '@vue/server-renderer@3.5.12': + resolution: {integrity: sha512-I3QoeDDeEPZm8yR28JtY+rk880Oqmj43hreIBVTicisFTx/Dl7JpG72g/X7YF8hnQD3IFhkky5i2bPonwrTVPg==} peerDependencies: - vue: 3.5.11 - - '@vue/shared@3.5.11': - resolution: {integrity: sha512-W8GgysJVnFo81FthhzurdRAWP/byq3q2qIw70e0JWblzVhjgOMiC2GyovXrZTFQJnFVryYaKGP3Tc9vYzYm6PQ==} + vue: 3.5.12 '@vue/shared@3.5.12': resolution: {integrity: sha512-L2RPSAwUFbgZH20etwrXyVyCBu9OxRSi8T/38QsvnkJyvq2LufW2lDCOzm7t/U9C1mkhJGWYfCuFBCmIuNivrg==} @@ -1432,8 +1423,8 @@ packages: resolution: {integrity: sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==} engines: {node: '>= 12.0.0'} - commit-and-tag-version@12.4.4: - resolution: {integrity: sha512-sK+69usdfluwRO6DtXs8wpRvyM9OAuV6y8kTgMj+ncRG3KrXeKjNcxFsWnnwH/KZU9k8ErKu5uQ1ptX6/pPk7A==} + commit-and-tag-version@12.5.0: + resolution: {integrity: sha512-Ll7rkKntH20iEFOPUT4e503Jf3J0J8jSN+aSeHuvNdtv4xmv9kSLSBg2CWsMVihwF3J2WvMHBEUSCKuDNesiTA==} engines: {node: '>=18'} hasBin: true @@ -3510,8 +3501,8 @@ packages: peerDependencies: typescript: '>=5.0.0' - vue@3.5.11: - resolution: {integrity: sha512-/8Wurrd9J3lb72FTQS7gRMNQD4nztTtKPmuDuPuhqXmmpD6+skVjAeahNpVzsuky6Sy9gy7wn8UadqPtt9SQIg==} + vue@3.5.12: + resolution: {integrity: sha512-CLVZtXtn2ItBIi/zHZ0Sg1Xkb7+PU32bJJ8Bmy7ts3jxXTcbfsEfBivFYYWz1Hur+lalqGAh65Coin0r+HRUfg==} peerDependencies: typescript: '*' peerDependenciesMeta: @@ -4392,10 +4383,10 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue@5.1.4(vite@5.4.8(@types/node@20.16.11))(vue@3.5.11(typescript@5.6.2))': + '@vitejs/plugin-vue@5.1.4(vite@5.4.8(@types/node@20.16.11))(vue@3.5.12(typescript@5.6.2))': dependencies: vite: 5.4.8(@types/node@20.16.11) - vue: 3.5.11(typescript@5.6.2) + vue: 3.5.12(typescript@5.6.2) '@vitest/coverage-v8@2.1.2(vitest@2.1.2)': dependencies: @@ -4486,14 +4477,6 @@ snapshots: path-browserify: 1.0.1 vscode-uri: 3.0.8 - '@vue/compiler-core@3.5.11': - dependencies: - '@babel/parser': 7.25.8 - '@vue/shared': 3.5.11 - entities: 4.5.0 - estree-walker: 2.0.2 - source-map-js: 1.2.1 - '@vue/compiler-core@3.5.12': dependencies: '@babel/parser': 7.25.8 @@ -4502,32 +4485,27 @@ snapshots: estree-walker: 2.0.2 source-map-js: 1.2.1 - '@vue/compiler-dom@3.5.11': - dependencies: - '@vue/compiler-core': 3.5.11 - '@vue/shared': 3.5.11 - '@vue/compiler-dom@3.5.12': dependencies: '@vue/compiler-core': 3.5.12 '@vue/shared': 3.5.12 - '@vue/compiler-sfc@3.5.11': + '@vue/compiler-sfc@3.5.12': dependencies: '@babel/parser': 7.25.8 - '@vue/compiler-core': 3.5.11 - '@vue/compiler-dom': 3.5.11 - '@vue/compiler-ssr': 3.5.11 - '@vue/shared': 3.5.11 + '@vue/compiler-core': 3.5.12 + '@vue/compiler-dom': 3.5.12 + '@vue/compiler-ssr': 3.5.12 + '@vue/shared': 3.5.12 estree-walker: 2.0.2 magic-string: 0.30.12 postcss: 8.4.47 source-map-js: 1.2.1 - '@vue/compiler-ssr@3.5.11': + '@vue/compiler-ssr@3.5.12': dependencies: - '@vue/compiler-dom': 3.5.11 - '@vue/shared': 3.5.11 + '@vue/compiler-dom': 3.5.12 + '@vue/shared': 3.5.12 '@vue/compiler-vue2@2.7.16': dependencies: @@ -4565,47 +4543,45 @@ snapshots: optionalDependencies: typescript: 5.6.2 - '@vue/reactivity@3.5.11': + '@vue/reactivity@3.5.12': dependencies: - '@vue/shared': 3.5.11 + '@vue/shared': 3.5.12 - '@vue/runtime-core@3.5.11': + '@vue/runtime-core@3.5.12': dependencies: - '@vue/reactivity': 3.5.11 - '@vue/shared': 3.5.11 + '@vue/reactivity': 3.5.12 + '@vue/shared': 3.5.12 - '@vue/runtime-dom@3.5.11': + '@vue/runtime-dom@3.5.12': dependencies: - '@vue/reactivity': 3.5.11 - '@vue/runtime-core': 3.5.11 - '@vue/shared': 3.5.11 + '@vue/reactivity': 3.5.12 + '@vue/runtime-core': 3.5.12 + '@vue/shared': 3.5.12 csstype: 3.1.3 - '@vue/server-renderer@3.5.11(vue@3.5.11(typescript@5.6.2))': + '@vue/server-renderer@3.5.12(vue@3.5.12(typescript@5.6.2))': dependencies: - '@vue/compiler-ssr': 3.5.11 - '@vue/shared': 3.5.11 - vue: 3.5.11(typescript@5.6.2) - - '@vue/shared@3.5.11': {} + '@vue/compiler-ssr': 3.5.12 + '@vue/shared': 3.5.12 + vue: 3.5.12(typescript@5.6.2) '@vue/shared@3.5.12': {} - '@vueuse/core@11.1.0(vue@3.5.11(typescript@5.6.2))': + '@vueuse/core@11.1.0(vue@3.5.12(typescript@5.6.2))': dependencies: '@types/web-bluetooth': 0.0.20 '@vueuse/metadata': 11.1.0 - '@vueuse/shared': 11.1.0(vue@3.5.11(typescript@5.6.2)) - vue-demi: 0.14.10(vue@3.5.11(typescript@5.6.2)) + '@vueuse/shared': 11.1.0(vue@3.5.12(typescript@5.6.2)) + vue-demi: 0.14.10(vue@3.5.12(typescript@5.6.2)) transitivePeerDependencies: - '@vue/composition-api' - vue - '@vueuse/integrations@11.1.0(focus-trap@7.6.0)(vue@3.5.11(typescript@5.6.2))': + '@vueuse/integrations@11.1.0(focus-trap@7.6.0)(vue@3.5.12(typescript@5.6.2))': dependencies: - '@vueuse/core': 11.1.0(vue@3.5.11(typescript@5.6.2)) - '@vueuse/shared': 11.1.0(vue@3.5.11(typescript@5.6.2)) - vue-demi: 0.14.10(vue@3.5.11(typescript@5.6.2)) + '@vueuse/core': 11.1.0(vue@3.5.12(typescript@5.6.2)) + '@vueuse/shared': 11.1.0(vue@3.5.12(typescript@5.6.2)) + vue-demi: 0.14.10(vue@3.5.12(typescript@5.6.2)) optionalDependencies: focus-trap: 7.6.0 transitivePeerDependencies: @@ -4614,9 +4590,9 @@ snapshots: '@vueuse/metadata@11.1.0': {} - '@vueuse/shared@11.1.0(vue@3.5.11(typescript@5.6.2))': + '@vueuse/shared@11.1.0(vue@3.5.12(typescript@5.6.2))': dependencies: - vue-demi: 0.14.10(vue@3.5.11(typescript@5.6.2)) + vue-demi: 0.14.10(vue@3.5.12(typescript@5.6.2)) transitivePeerDependencies: - '@vue/composition-api' - vue @@ -4913,7 +4889,7 @@ snapshots: comment-parser@1.4.1: {} - commit-and-tag-version@12.4.4: + commit-and-tag-version@12.5.0: dependencies: chalk: 2.4.2 conventional-changelog: 4.0.0 @@ -7056,17 +7032,17 @@ snapshots: '@shikijs/transformers': 1.22.0 '@shikijs/types': 1.22.0 '@types/markdown-it': 14.1.2 - '@vitejs/plugin-vue': 5.1.4(vite@5.4.8(@types/node@20.16.11))(vue@3.5.11(typescript@5.6.2)) + '@vitejs/plugin-vue': 5.1.4(vite@5.4.8(@types/node@20.16.11))(vue@3.5.12(typescript@5.6.2)) '@vue/devtools-api': 7.4.6 '@vue/shared': 3.5.12 - '@vueuse/core': 11.1.0(vue@3.5.11(typescript@5.6.2)) - '@vueuse/integrations': 11.1.0(focus-trap@7.6.0)(vue@3.5.11(typescript@5.6.2)) + '@vueuse/core': 11.1.0(vue@3.5.12(typescript@5.6.2)) + '@vueuse/integrations': 11.1.0(focus-trap@7.6.0)(vue@3.5.12(typescript@5.6.2)) focus-trap: 7.6.0 mark.js: 8.11.1 minisearch: 7.1.0 shiki: 1.22.0 vite: 5.4.8(@types/node@20.16.11) - vue: 3.5.11(typescript@5.6.2) + vue: 3.5.12(typescript@5.6.2) optionalDependencies: postcss: 8.4.47 transitivePeerDependencies: @@ -7135,9 +7111,9 @@ snapshots: vscode-uri@3.0.8: {} - vue-demi@0.14.10(vue@3.5.11(typescript@5.6.2)): + vue-demi@0.14.10(vue@3.5.12(typescript@5.6.2)): dependencies: - vue: 3.5.11(typescript@5.6.2) + vue: 3.5.12(typescript@5.6.2) vue-tsc@2.1.6(typescript@5.6.2): dependencies: @@ -7146,13 +7122,13 @@ snapshots: semver: 7.6.3 typescript: 5.6.2 - vue@3.5.11(typescript@5.6.2): + vue@3.5.12(typescript@5.6.2): dependencies: - '@vue/compiler-dom': 3.5.11 - '@vue/compiler-sfc': 3.5.11 - '@vue/runtime-dom': 3.5.11 - '@vue/server-renderer': 3.5.11(vue@3.5.11(typescript@5.6.2)) - '@vue/shared': 3.5.11 + '@vue/compiler-dom': 3.5.12 + '@vue/compiler-sfc': 3.5.12 + '@vue/runtime-dom': 3.5.12 + '@vue/server-renderer': 3.5.12(vue@3.5.12(typescript@5.6.2)) + '@vue/shared': 3.5.12 optionalDependencies: typescript: 5.6.2 From e5b10f0972283dd6923091c166e3f1903c96e68c Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Tue, 15 Oct 2024 21:27:49 +0200 Subject: [PATCH 43/47] docs: support browser console based exploration (#3168) --- docs/.vitepress/config.ts | 30 +++++++++++++++++++++++++++--- docs/.vitepress/versions.ts | 24 ++++++++++++++++++++++-- docs/guide/usage.md | 5 +++++ 3 files changed, 54 insertions(+), 5 deletions(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 593b413e899..4e46315fed5 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -3,8 +3,9 @@ import type { DefaultTheme } from 'vitepress/theme'; import { apiPages } from './api-pages'; import { algoliaIndex, - currentVersion, + version, versionBannerInfix, + versionLabel, versionLinks, } from './versions'; @@ -149,6 +150,26 @@ const config: UserConfig = { href: 'https://fosstodon.org/@faker_js', }, ], + [ + 'script', + { + id: 'browser-console-faker', + }, + ` +const logStyle = 'background: rgba(16, 183, 127, 0.14); color: rgba(255, 255, 245, 0.86); padding: 0.5rem; display: inline-block;'; +console.log(\`%cIf you would like to test Faker in the browser console, you can do so using 'await enableFaker()'. +If you would like to test Faker in a playground, visit https://new.fakerjs.dev.\`, logStyle); +async function enableFaker() { + const imported = await import('https://cdn.jsdelivr.net/npm/@faker-js/faker@${version}/+esm'); + Object.assign(globalThis, imported); + console.log(\`%cYou can now start using Faker v${version}: +e.g. 'faker.food.description()' or 'fakerZH_CN.person.firstName()' +For other languages please refer to https://fakerjs.dev/guide/localization.html#available-locales +For a full list of all methods please refer to https://fakerjs.dev/api/\`, logStyle); + return imported; +} +`, + ], ], themeConfig: { @@ -197,7 +218,10 @@ const config: UserConfig = { }, { text: 'Try it', - items: [{ text: 'StackBlitz ', link: 'https://fakerjs.dev/new' }], + items: [ + { text: 'StackBlitz ', link: 'https://fakerjs.dev/new' }, + { text: 'Browser Console ', link: '/guide/usage.html#browser' }, + ], }, { text: 'About', @@ -222,7 +246,7 @@ const config: UserConfig = { ], }, { - text: currentVersion, + text: versionLabel, items: [ { text: 'Release Notes', diff --git a/docs/.vitepress/versions.ts b/docs/.vitepress/versions.ts index 93414dc8143..dd903d22f35 100644 --- a/docs/.vitepress/versions.ts +++ b/docs/.vitepress/versions.ts @@ -1,6 +1,6 @@ import { execSync } from 'node:child_process'; import * as semver from 'semver'; -import { version } from '../../package.json'; +import { version as version_ } from '../../package.json'; function readBranchName(): string { return ( @@ -39,6 +39,11 @@ const { const otherVersions = readOtherLatestReleaseTagNames(); const isReleaseBranch = /^v\d+$/.test(branchName); +/** + * The text of the version banner describing the current version. + * + * This is `null` in production and thus should not be displayed. + */ export const versionBannerInfix: string | null = (() => { if (deployContext === 'production') { return null; @@ -55,7 +60,19 @@ export const versionBannerInfix: string | null = (() => { return '"a development version"'; })(); -export const currentVersion = isReleaseBranch ? `v${version}` : branchName; +/** + * The current version of Faker from package.json. + */ +export const version = version_; + +/** + * The version label to display in the top-right corner of the site. + */ +export const versionLabel = isReleaseBranch ? `v${version}` : branchName; + +/** + * The links to other versions of the documentation. + */ export const versionLinks = [ { version: 'next', @@ -69,6 +86,9 @@ export const versionLinks = [ // Don't link to the current branch's version. .filter(({ link }) => link !== `https://${branchName}.fakerjs.dev/`); +/** + * The name of the Algolia index to use for search. + */ export const algoliaIndex = isReleaseBranch ? `fakerjs-v${semver.major(version)}` : 'fakerjs-next'; diff --git a/docs/guide/usage.md b/docs/guide/usage.md index b6be99ef90f..522056779cf 100644 --- a/docs/guide/usage.md +++ b/docs/guide/usage.md @@ -32,6 +32,11 @@ For more information on selecting and customizing a locale, please refer to our If you want to try it yourself, you can open your browser console via `Ctrl + Shift + J` / `F12`. +On our website, you can load faker into the browser console + +- by using `await enableFaker()` +- or using the following code: + ```js const { faker } = await import('https://esm.sh/@faker-js/faker'); From 98d1dc04ac92395f72496b6010c2d5f61eba8cbf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 11:44:45 +0200 Subject: [PATCH 44/47] chore(deps): update dependency typescript to v5.6.3 (#3182) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 156 ++++++++++++++++++++++++------------------------- 2 files changed, 79 insertions(+), 79 deletions(-) diff --git a/package.json b/package.json index e0a9c8b700e..ec539cbec12 100644 --- a/package.json +++ b/package.json @@ -134,7 +134,7 @@ "ts-morph": "24.0.0", "tsup": "8.3.0", "tsx": "4.19.1", - "typescript": "5.6.2", + "typescript": "5.6.3", "typescript-eslint": "8.8.1", "validator": "13.12.0", "vite": "5.4.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 70d30eba822..588f215beeb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,7 +19,7 @@ importers: version: 9.12.0 '@stylistic/eslint-plugin': specifier: 2.9.0 - version: 2.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) + version: 2.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3) '@types/eslint__js': specifier: 8.42.3 version: 8.42.3 @@ -40,13 +40,13 @@ importers: version: 2.1.2(vitest@2.1.2) '@vitest/eslint-plugin': specifier: 1.1.7 - version: 1.1.7(@typescript-eslint/utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.2) + version: 1.1.7(@typescript-eslint/utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3)(vitest@2.1.2) '@vitest/ui': specifier: 2.1.2 version: 2.1.2(vitest@2.1.2) '@vueuse/core': specifier: 11.1.0 - version: 11.1.0(vue@3.5.12(typescript@5.6.2)) + version: 11.1.0(vue@3.5.12(typescript@5.6.3)) commit-and-tag-version: specifier: 12.5.0 version: 12.5.0 @@ -79,7 +79,7 @@ importers: version: 3.3.3 prettier-plugin-organize-imports: specifier: 4.1.0 - version: 4.1.0(prettier@3.3.3)(typescript@5.6.2)(vue-tsc@2.1.6(typescript@5.6.2)) + version: 4.1.0(prettier@3.3.3)(typescript@5.6.3)(vue-tsc@2.1.6(typescript@5.6.3)) prettier-plugin-packagejson: specifier: 2.5.3 version: 2.5.3(prettier@3.3.3) @@ -97,16 +97,16 @@ importers: version: 24.0.0 tsup: specifier: 8.3.0 - version: 8.3.0(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.2)(yaml@2.6.0) + version: 8.3.0(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.3)(yaml@2.6.0) tsx: specifier: 4.19.1 version: 4.19.1 typescript: - specifier: 5.6.2 - version: 5.6.2 + specifier: 5.6.3 + version: 5.6.3 typescript-eslint: specifier: 8.8.1 - version: 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) + version: 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3) validator: specifier: 13.12.0 version: 13.12.0 @@ -115,16 +115,16 @@ importers: version: 5.4.8(@types/node@20.16.11) vitepress: specifier: 1.4.0 - version: 1.4.0(@algolia/client-search@4.24.0)(@types/node@20.16.11)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2) + version: 1.4.0(@algolia/client-search@4.24.0)(@types/node@20.16.11)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.3) vitest: specifier: 2.1.2 version: 2.1.2(@types/node@20.16.11)(@vitest/ui@2.1.2)(jsdom@25.0.1) vue: specifier: 3.5.12 - version: 3.5.12(typescript@5.6.2) + version: 3.5.12(typescript@5.6.3) vue-tsc: specifier: 2.1.6 - version: 2.1.6(typescript@5.6.2) + version: 2.1.6(typescript@5.6.3) packages: @@ -3325,8 +3325,8 @@ packages: typescript: optional: true - typescript@5.6.2: - resolution: {integrity: sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==} + typescript@5.6.3: + resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} engines: {node: '>=14.17'} hasBin: true @@ -4223,9 +4223,9 @@ snapshots: '@shikijs/vscode-textmate@9.3.0': {} - '@stylistic/eslint-plugin@2.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)': + '@stylistic/eslint-plugin@2.9.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: - '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.12.0(jiti@1.21.6) eslint-visitor-keys: 4.1.0 espree: 10.2.0 @@ -4300,34 +4300,34 @@ snapshots: '@types/node': 20.16.11 optional: true - '@typescript-eslint/eslint-plugin@8.8.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/eslint-plugin@8.8.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@eslint-community/regexpp': 4.11.1 - '@typescript-eslint/parser': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/parser': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3) '@typescript-eslint/scope-manager': 8.8.1 - '@typescript-eslint/type-utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/type-utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3) '@typescript-eslint/visitor-keys': 8.8.1 eslint: 9.12.0(jiti@1.21.6) graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 - ts-api-utils: 1.3.0(typescript@5.6.2) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/parser@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@typescript-eslint/scope-manager': 8.8.1 '@typescript-eslint/types': 8.8.1 - '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.2) + '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.3) '@typescript-eslint/visitor-keys': 8.8.1 debug: 4.3.7(supports-color@8.1.1) eslint: 9.12.0(jiti@1.21.6) optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - supports-color @@ -4336,21 +4336,21 @@ snapshots: '@typescript-eslint/types': 8.8.1 '@typescript-eslint/visitor-keys': 8.8.1 - '@typescript-eslint/type-utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/type-utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: - '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.2) - '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.3) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3) debug: 4.3.7(supports-color@8.1.1) - ts-api-utils: 1.3.0(typescript@5.6.2) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - eslint - supports-color '@typescript-eslint/types@8.8.1': {} - '@typescript-eslint/typescript-estree@8.8.1(typescript@5.6.2)': + '@typescript-eslint/typescript-estree@8.8.1(typescript@5.6.3)': dependencies: '@typescript-eslint/types': 8.8.1 '@typescript-eslint/visitor-keys': 8.8.1 @@ -4359,18 +4359,18 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.6.2) + ts-api-utils: 1.3.0(typescript@5.6.3) optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.12.0(jiti@1.21.6)) '@typescript-eslint/scope-manager': 8.8.1 '@typescript-eslint/types': 8.8.1 - '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.2) + '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.6.3) eslint: 9.12.0(jiti@1.21.6) transitivePeerDependencies: - supports-color @@ -4383,10 +4383,10 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue@5.1.4(vite@5.4.8(@types/node@20.16.11))(vue@3.5.12(typescript@5.6.2))': + '@vitejs/plugin-vue@5.1.4(vite@5.4.8(@types/node@20.16.11))(vue@3.5.12(typescript@5.6.3))': dependencies: vite: 5.4.8(@types/node@20.16.11) - vue: 3.5.12(typescript@5.6.2) + vue: 3.5.12(typescript@5.6.3) '@vitest/coverage-v8@2.1.2(vitest@2.1.2)': dependencies: @@ -4406,12 +4406,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/eslint-plugin@1.1.7(@typescript-eslint/utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.2)': + '@vitest/eslint-plugin@1.1.7(@typescript-eslint/utils@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3)(vitest@2.1.2)': dependencies: - '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.12.0(jiti@1.21.6) optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 vitest: 2.1.2(@types/node@20.16.11)(@vitest/ui@2.1.2)(jsdom@25.0.1) '@vitest/expect@2.1.2': @@ -4530,7 +4530,7 @@ snapshots: dependencies: rfdc: 1.4.1 - '@vue/language-core@2.1.6(typescript@5.6.2)': + '@vue/language-core@2.1.6(typescript@5.6.3)': dependencies: '@volar/language-core': 2.4.6 '@vue/compiler-dom': 3.5.12 @@ -4541,7 +4541,7 @@ snapshots: muggle-string: 0.4.1 path-browserify: 1.0.1 optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 '@vue/reactivity@3.5.12': dependencies: @@ -4559,29 +4559,29 @@ snapshots: '@vue/shared': 3.5.12 csstype: 3.1.3 - '@vue/server-renderer@3.5.12(vue@3.5.12(typescript@5.6.2))': + '@vue/server-renderer@3.5.12(vue@3.5.12(typescript@5.6.3))': dependencies: '@vue/compiler-ssr': 3.5.12 '@vue/shared': 3.5.12 - vue: 3.5.12(typescript@5.6.2) + vue: 3.5.12(typescript@5.6.3) '@vue/shared@3.5.12': {} - '@vueuse/core@11.1.0(vue@3.5.12(typescript@5.6.2))': + '@vueuse/core@11.1.0(vue@3.5.12(typescript@5.6.3))': dependencies: '@types/web-bluetooth': 0.0.20 '@vueuse/metadata': 11.1.0 - '@vueuse/shared': 11.1.0(vue@3.5.12(typescript@5.6.2)) - vue-demi: 0.14.10(vue@3.5.12(typescript@5.6.2)) + '@vueuse/shared': 11.1.0(vue@3.5.12(typescript@5.6.3)) + vue-demi: 0.14.10(vue@3.5.12(typescript@5.6.3)) transitivePeerDependencies: - '@vue/composition-api' - vue - '@vueuse/integrations@11.1.0(focus-trap@7.6.0)(vue@3.5.12(typescript@5.6.2))': + '@vueuse/integrations@11.1.0(focus-trap@7.6.0)(vue@3.5.12(typescript@5.6.3))': dependencies: - '@vueuse/core': 11.1.0(vue@3.5.12(typescript@5.6.2)) - '@vueuse/shared': 11.1.0(vue@3.5.12(typescript@5.6.2)) - vue-demi: 0.14.10(vue@3.5.12(typescript@5.6.2)) + '@vueuse/core': 11.1.0(vue@3.5.12(typescript@5.6.3)) + '@vueuse/shared': 11.1.0(vue@3.5.12(typescript@5.6.3)) + vue-demi: 0.14.10(vue@3.5.12(typescript@5.6.3)) optionalDependencies: focus-trap: 7.6.0 transitivePeerDependencies: @@ -4590,9 +4590,9 @@ snapshots: '@vueuse/metadata@11.1.0': {} - '@vueuse/shared@11.1.0(vue@3.5.12(typescript@5.6.2))': + '@vueuse/shared@11.1.0(vue@3.5.12(typescript@5.6.3))': dependencies: - vue-demi: 0.14.10(vue@3.5.12(typescript@5.6.2)) + vue-demi: 0.14.10(vue@3.5.12(typescript@5.6.3)) transitivePeerDependencies: - '@vue/composition-api' - vue @@ -6345,12 +6345,12 @@ snapshots: dependencies: fast-diff: 1.3.0 - prettier-plugin-organize-imports@4.1.0(prettier@3.3.3)(typescript@5.6.2)(vue-tsc@2.1.6(typescript@5.6.2)): + prettier-plugin-organize-imports@4.1.0(prettier@3.3.3)(typescript@5.6.3)(vue-tsc@2.1.6(typescript@5.6.3)): dependencies: prettier: 3.3.3 - typescript: 5.6.2 + typescript: 5.6.3 optionalDependencies: - vue-tsc: 2.1.6(typescript@5.6.2) + vue-tsc: 2.1.6(typescript@5.6.3) prettier-plugin-packagejson@2.5.3(prettier@3.3.3): dependencies: @@ -6834,9 +6834,9 @@ snapshots: trim-newlines@3.0.1: {} - ts-api-utils@1.3.0(typescript@5.6.2): + ts-api-utils@1.3.0(typescript@5.6.3): dependencies: - typescript: 5.6.2 + typescript: 5.6.3 ts-interface-checker@0.1.13: {} @@ -6847,7 +6847,7 @@ snapshots: tslib@2.7.0: {} - tsup@8.3.0(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.2)(yaml@2.6.0): + tsup@8.3.0(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.3)(yaml@2.6.0): dependencies: bundle-require: 5.0.0(esbuild@0.23.1) cac: 6.7.14 @@ -6867,7 +6867,7 @@ snapshots: tree-kill: 1.2.2 optionalDependencies: postcss: 8.4.47 - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - jiti - supports-color @@ -6903,18 +6903,18 @@ snapshots: typedarray@0.0.6: {} - typescript-eslint@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2): + typescript-eslint@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3): dependencies: - '@typescript-eslint/eslint-plugin': 8.8.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/parser': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/eslint-plugin': 8.8.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/parser': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3) + '@typescript-eslint/utils': 8.8.1(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.3) optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 transitivePeerDependencies: - eslint - supports-color - typescript@5.6.2: {} + typescript@5.6.3: {} uglify-js@3.19.3: optional: true @@ -7024,7 +7024,7 @@ snapshots: '@types/node': 20.16.11 fsevents: 2.3.3 - vitepress@1.4.0(@algolia/client-search@4.24.0)(@types/node@20.16.11)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.2): + vitepress@1.4.0(@algolia/client-search@4.24.0)(@types/node@20.16.11)(postcss@8.4.47)(search-insights@2.17.2)(typescript@5.6.3): dependencies: '@docsearch/css': 3.6.2 '@docsearch/js': 3.6.2(@algolia/client-search@4.24.0)(search-insights@2.17.2) @@ -7032,17 +7032,17 @@ snapshots: '@shikijs/transformers': 1.22.0 '@shikijs/types': 1.22.0 '@types/markdown-it': 14.1.2 - '@vitejs/plugin-vue': 5.1.4(vite@5.4.8(@types/node@20.16.11))(vue@3.5.12(typescript@5.6.2)) + '@vitejs/plugin-vue': 5.1.4(vite@5.4.8(@types/node@20.16.11))(vue@3.5.12(typescript@5.6.3)) '@vue/devtools-api': 7.4.6 '@vue/shared': 3.5.12 - '@vueuse/core': 11.1.0(vue@3.5.12(typescript@5.6.2)) - '@vueuse/integrations': 11.1.0(focus-trap@7.6.0)(vue@3.5.12(typescript@5.6.2)) + '@vueuse/core': 11.1.0(vue@3.5.12(typescript@5.6.3)) + '@vueuse/integrations': 11.1.0(focus-trap@7.6.0)(vue@3.5.12(typescript@5.6.3)) focus-trap: 7.6.0 mark.js: 8.11.1 minisearch: 7.1.0 shiki: 1.22.0 vite: 5.4.8(@types/node@20.16.11) - vue: 3.5.12(typescript@5.6.2) + vue: 3.5.12(typescript@5.6.3) optionalDependencies: postcss: 8.4.47 transitivePeerDependencies: @@ -7111,26 +7111,26 @@ snapshots: vscode-uri@3.0.8: {} - vue-demi@0.14.10(vue@3.5.12(typescript@5.6.2)): + vue-demi@0.14.10(vue@3.5.12(typescript@5.6.3)): dependencies: - vue: 3.5.12(typescript@5.6.2) + vue: 3.5.12(typescript@5.6.3) - vue-tsc@2.1.6(typescript@5.6.2): + vue-tsc@2.1.6(typescript@5.6.3): dependencies: '@volar/typescript': 2.4.6 - '@vue/language-core': 2.1.6(typescript@5.6.2) + '@vue/language-core': 2.1.6(typescript@5.6.3) semver: 7.6.3 - typescript: 5.6.2 + typescript: 5.6.3 - vue@3.5.12(typescript@5.6.2): + vue@3.5.12(typescript@5.6.3): dependencies: '@vue/compiler-dom': 3.5.12 '@vue/compiler-sfc': 3.5.12 '@vue/runtime-dom': 3.5.12 - '@vue/server-renderer': 3.5.12(vue@3.5.12(typescript@5.6.2)) + '@vue/server-renderer': 3.5.12(vue@3.5.12(typescript@5.6.3)) '@vue/shared': 3.5.12 optionalDependencies: - typescript: 5.6.2 + typescript: 5.6.3 w3c-xmlserializer@5.0.0: dependencies: From df597241003824279268c1dc9eae6c772c54760b Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Wed, 16 Oct 2024 16:49:29 +0700 Subject: [PATCH 45/47] fix(location): fix US ZIP code anomalies for zipCode({state}) (#3180) --- .../en_US/location/postcode_by_state.ts | 49 +++++++++++++++++-- 1 file changed, 44 insertions(+), 5 deletions(-) diff --git a/src/locales/en_US/location/postcode_by_state.ts b/src/locales/en_US/location/postcode_by_state.ts index 4f8ab247d15..ba175dd0a0c 100644 --- a/src/locales/en_US/location/postcode_by_state.ts +++ b/src/locales/en_US/location/postcode_by_state.ts @@ -1,18 +1,54 @@ export default { AK: '{{number.int({"min": 99501,"max": 99950})}}', AL: '{{number.int({"min": 35004,"max": 36925})}}', - AR: '{{number.int({"min": 71601,"max": 72959})}}', + AR: [ + '{{number.int({"min": 71601,"max": 72642})}}', + '{{number.int({"min": 72644,"max": 72959})}}', + ], AZ: '{{number.int({"min": 85001,"max": 86556})}}', CA: '{{number.int({"min": 90001,"max": 96162})}}', CO: '{{number.int({"min": 80001,"max": 81658})}}', CT: '0{{number.int({"min": 6001,"max": 6389})}}', DC: '{{number.int({"min": 20001,"max": 20039})}}', DE: '{{number.int({"min": 19701,"max": 19980})}}', - FL: '{{helpers.arrayElement(["320","321","322","323","324","325","326","327","328","329","330","331","332","333","334","335","336","337","338","339","341","342","344","346","347","349"])}}{{string.numeric({"length": 2})}}', + FL: [ + '{{number.int({"min": 32003,"max": 32099})}}', + '{{number.int({"min": 32102,"max": 32198})}}', + '{{number.int({"min": 32201,"max": 32290})}}', + '{{number.int({"min": 32301,"max": 32399})}}', + '{{number.int({"min": 32401,"max": 32466})}}', + '{{number.int({"min": 32501,"max": 32592})}}', + '{{number.int({"min": 32601,"max": 32697})}}', + '{{number.int({"min": 32701,"max": 32799})}}', + '{{number.int({"min": 32801,"max": 32899})}}', + '{{number.int({"min": 32901,"max": 32978})}}', + '{{number.int({"min": 33001,"max": 33097})}}', + '{{number.int({"min": 33101,"max": 33199})}}', + '{{number.int({"min": 33206,"max": 33299})}}', + '{{number.int({"min": 33301,"max": 33394})}}', + '{{number.int({"min": 33401,"max": 33499})}}', + '{{number.int({"min": 33503,"max": 33598})}}', + '{{number.int({"min": 33601,"max": 33694})}}', + '{{number.int({"min": 33701,"max": 33786})}}', + '{{number.int({"min": 33801,"max": 33898})}}', + '{{number.int({"min": 33900,"max": 33994})}}', + '{{number.int({"min": 34101,"max": 34146})}}', + '{{number.int({"min": 34201,"max": 34295})}}', + '{{number.int({"min": 34420,"max": 34498})}}', + '{{number.int({"min": 34601,"max": 34698})}}', + '{{number.int({"min": 34705,"max": 34797})}}', + '{{number.int({"min": 34945,"max": 34997})}}', + ], GA: '{{number.int({"min": 30001,"max": 31999})}}', - HI: '{{number.int({"min": 96701,"max": 96898})}}', + HI: [ + '{{number.int({"min": 96701,"max": 96798})}}', + '{{number.int({"min": 96801,"max": 96898})}}', + ], IA: '{{number.int({"min": 50001,"max": 52809})}}', - ID: '{{number.int({"min": 83201,"max": 83876})}}', + ID: [ + '{{number.int({"min": 83201,"max": 83406})}}', + '{{number.int({"min": 83415,"max": 83876})}}', + ], IL: '{{number.int({"min": 60001,"max": 62999})}}', IN: '{{number.int({"min": 46001,"max": 47997})}}', KS: '{{number.int({"min": 66002,"max": 67954})}}', @@ -38,7 +74,10 @@ export default { OK: '{{number.int({"min": 73001,"max": 73199})}}', OR: '{{number.int({"min": 97001,"max": 97920})}}', PA: '{{number.int({"min": 15001,"max": 19640})}}', - PR: '00{{number.int({"min": 601,"max": 988})}}', + PR: [ + '00{{number.int({"min": 601,"max": 799})}}', + '00{{number.int({"min": 901,"max": 988})}}', + ], RI: '0{{number.int({"min": 2801,"max": 2940})}}', SC: '{{number.int({"min": 29001,"max": 29948})}}', SD: '{{number.int({"min": 57001,"max": 57799})}}', From 6a9ca8abec3d8956b45a8607a5371b61de85378a Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Wed, 16 Oct 2024 20:56:03 +0200 Subject: [PATCH 46/47] docs: iban might be invalid due to country specific rules (#3175) --- src/modules/finance/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/finance/index.ts b/src/modules/finance/index.ts index 4c84fe4c148..0e9a6883994 100644 --- a/src/modules/finance/index.ts +++ b/src/modules/finance/index.ts @@ -816,7 +816,9 @@ export class FinanceModule extends ModuleBase { } /** - * Generates a random iban. + * Generates a random IBAN. + * + * Please note that the generated IBAN might be invalid due to randomly generated bank codes/other country specific validation rules. * * @param options An options object. * @param options.formatted Return a formatted version of the generated IBAN. Defaults to `false`. From ba4ef9a5a671ffc6ed10db7fed896dccda90dca1 Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Thu, 17 Oct 2024 02:00:24 +0700 Subject: [PATCH 47/47] feat(commerce): more varied product descriptions (#3174) --- .../en/commerce/product_description.ts | 32 ++++++++++++------- src/modules/commerce/index.ts | 4 +-- .../__snapshots__/commerce.spec.ts.snap | 6 ++-- test/modules/commerce.spec.ts | 7 ++-- 4 files changed, 28 insertions(+), 21 deletions(-) diff --git a/src/locales/en/commerce/product_description.ts b/src/locales/en/commerce/product_description.ts index ddaa271eaa5..725e32da9d8 100644 --- a/src/locales/en/commerce/product_description.ts +++ b/src/locales/en/commerce/product_description.ts @@ -1,14 +1,22 @@ export default [ - 'Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals', - "Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles", - 'Carbonite web goalkeeper gloves are ergonomically designed to give easy fit', - 'Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support', - 'New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016', - 'New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart', - 'The Apollotech B340 is an affordable wireless mouse with reliable connectivity, 12 months battery life and modern design', - 'The Football Is Good For Training And Recreational Purposes', - 'The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J', - 'The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive', - 'The beautiful range of Apple Naturalé that has an exciting mix of natural ingredients. With the Goodness of 100% Natural Ingredients', - 'The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality', + 'Discover the {{animal.type}}-like agility of our {{commerce.product}}, perfect for {{word.adjective}} users', + 'Discover the {{word.adjective}} new {{commerce.product}} with an exciting mix of {{commerce.productMaterial}} ingredients', + 'Ergonomic {{commerce.product}} made with {{commerce.productMaterial}} for all-day {{word.adjective}} support', + 'Experience the {{color.human}} brilliance of our {{commerce.product}}, perfect for {{word.adjective}} environments', + 'Featuring {{science.chemical_element.name}}-enhanced technology, our {{commerce.product}} offers unparalleled {{word.adjective}} performance', + 'Innovative {{commerce.product}} featuring {{word.adjective}} technology and {{commerce.productMaterial}} construction', + 'Introducing the {{location.country}}-inspired {{commerce.product}}, blending {{word.adjective}} style with local craftsmanship', + 'New {{color.human}} {{commerce.product}} with ergonomic design for {{word.adjective}} comfort', + 'New {{commerce.product}} model with {{number.int({"min": 1, "max": 100})}} GB RAM, {{number.int({"min": 1, "max": 1000})}} GB storage, and {{word.adjective}} features', + 'Our {{animal.type}}-friendly {{commerce.product}} ensures {{word.adjective}} comfort for your pets', + 'Our {{food.adjective}}-inspired {{commerce.product}} brings a taste of luxury to your {{word.adjective}} lifestyle', + 'Professional-grade {{commerce.product}} perfect for {{word.adjective}} training and recreational use', + 'Savor the {{food.adjective}} essence in our {{commerce.product}}, designed for {{word.adjective}} culinary adventures', + 'Stylish {{commerce.product}} designed to make you stand out with {{word.adjective}} looks', + 'The sleek and {{word.adjective}} {{commerce.product}} comes with {{color.human}} LED lighting for smart functionality', + 'The {{color.human}} {{commerce.product}} combines {{location.country}} aesthetics with {{science.chemical_element.name}}-based durability', + 'The {{company.catchPhrase}} {{commerce.product}} offers reliable performance and {{word.adjective}} design', + 'The {{person.firstName}} {{commerce.product}} is the latest in a series of {{word.adjective}} products from {{company.name}}', + '{{commerce.productAdjective}} {{commerce.product}} designed with {{commerce.productMaterial}} for {{word.adjective}} performance', + "{{company.name}}'s most advanced {{commerce.product}} technology increases {{word.adjective}} capabilities", ]; diff --git a/src/modules/commerce/index.ts b/src/modules/commerce/index.ts index 12ab94b8575..61dd9a9c2b9 100644 --- a/src/modules/commerce/index.ts +++ b/src/modules/commerce/index.ts @@ -254,12 +254,12 @@ export class CommerceModule extends ModuleBase { * Returns a product description. * * @example - * faker.commerce.productDescription() // 'Andy shoes are designed to keeping...' + * faker.commerce.productDescription() // 'Featuring Phosphorus-enhanced technology, our Fish offers unparalleled Modern performance' * * @since 5.0.0 */ productDescription(): string { - return this.faker.helpers.arrayElement( + return this.faker.helpers.fake( this.faker.definitions.commerce.product_description ); } diff --git a/test/modules/__snapshots__/commerce.spec.ts.snap b/test/modules/__snapshots__/commerce.spec.ts.snap index efad4c8ff0d..11d5503849f 100644 --- a/test/modules/__snapshots__/commerce.spec.ts.snap +++ b/test/modules/__snapshots__/commerce.spec.ts.snap @@ -30,7 +30,7 @@ exports[`commerce > 42 > product 1`] = `"Computer"`; exports[`commerce > 42 > productAdjective 1`] = `"Handcrafted"`; -exports[`commerce > 42 > productDescription 1`] = `"New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016"`; +exports[`commerce > 42 > productDescription 1`] = `"New salmon Pants with ergonomic design for crushing comfort"`; exports[`commerce > 42 > productMaterial 1`] = `"Frozen"`; @@ -66,7 +66,7 @@ exports[`commerce > 1211 > product 1`] = `"Towels"`; exports[`commerce > 1211 > productAdjective 1`] = `"Tasty"`; -exports[`commerce > 1211 > productDescription 1`] = `"The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality"`; +exports[`commerce > 1211 > productDescription 1`] = `"Small Cheese designed with Wooden for right performance"`; exports[`commerce > 1211 > productMaterial 1`] = `"Wooden"`; @@ -102,7 +102,7 @@ exports[`commerce > 1337 > product 1`] = `"Chicken"`; exports[`commerce > 1337 > productAdjective 1`] = `"Generic"`; -exports[`commerce > 1337 > productDescription 1`] = `"Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support"`; +exports[`commerce > 1337 > productDescription 1`] = `"Innovative Car featuring lawful technology and Fresh construction"`; exports[`commerce > 1337 > productMaterial 1`] = `"Fresh"`; diff --git a/test/modules/commerce.spec.ts b/test/modules/commerce.spec.ts index e009e93057d..ceca3a1376b 100644 --- a/test/modules/commerce.spec.ts +++ b/test/modules/commerce.spec.ts @@ -187,11 +187,10 @@ describe('commerce', () => { }); describe(`productDescription()`, () => { - it('should return random value from product description array', () => { + it('should return a product description string', () => { const actual = faker.commerce.productDescription(); - expect(faker.definitions.commerce.product_description).toContain( - actual - ); + expect(actual).toBeTruthy(); + expect(actual).toBeTypeOf('string'); }); });