diff --git a/package.json b/package.json index 6141d8b..a650d6e 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,6 @@ "release-it": "^16.2.1", "sass": "1.69.5", "typescript": "^5.2.2", - "vitest": "^0.34.6" + "vitest": "^1.3.1" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a94a826..f6bf61f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,7 +12,7 @@ dependencies: devDependencies: '@antfu/eslint-config': specifier: 1.1.2 - version: 1.1.2(eslint@8.56.0)(typescript@5.3.3)(vitest@0.34.6) + version: 1.1.2(eslint@8.56.0)(typescript@5.3.3)(vitest@1.3.1) '@iconify-icons/devicon': specifier: ^1.2.17 version: 1.2.17 @@ -24,7 +24,7 @@ devDependencies: version: 1.0.0 '@nuxt/test-utils': specifier: ^3.11.0 - version: 3.11.0(h3@1.10.1)(vite@5.1.1)(vitest@0.34.6)(vue-router@4.2.5)(vue@3.4.18) + version: 3.11.0(h3@1.10.1)(vite@5.1.1)(vitest@1.3.1)(vue-router@4.2.5)(vue@3.4.18) '@nuxtjs/google-fonts': specifier: ^3.0.2 version: 3.1.3 @@ -71,8 +71,8 @@ devDependencies: specifier: ^5.2.2 version: 5.3.3 vitest: - specifier: ^0.34.6 - version: 0.34.6(playwright@1.41.2)(sass@1.69.5) + specifier: ^1.3.1 + version: 1.3.1(@types/node@20.11.17)(sass@1.69.5) packages: @@ -88,7 +88,7 @@ packages: '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.22 - /@antfu/eslint-config@1.1.2(eslint@8.56.0)(typescript@5.3.3)(vitest@0.34.6): + /@antfu/eslint-config@1.1.2(eslint@8.56.0)(typescript@5.3.3)(vitest@1.3.1): resolution: {integrity: sha512-5wOOd7hgPFvSeeJB5BcQxzuEdfI3L2/nvUxPhdkNGCuUUXKbmH9dC5jAi32psIhYwwzH5WHHi/rRumfyrGmh/w==} hasBin: true peerDependencies: @@ -114,7 +114,7 @@ packages: eslint-plugin-perfectionist: 2.5.0(eslint@8.56.0)(typescript@5.3.3)(vue-eslint-parser@9.4.2) eslint-plugin-unicorn: 49.0.0(eslint@8.56.0) eslint-plugin-unused-imports: 3.0.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.56.0) - eslint-plugin-vitest: 0.3.22(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.56.0)(typescript@5.3.3)(vitest@0.34.6) + eslint-plugin-vitest: 0.3.22(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.56.0)(typescript@5.3.3)(vitest@1.3.1) eslint-plugin-vue: 9.21.1(eslint@8.56.0) eslint-plugin-yml: 1.12.2(eslint@8.56.0) execa: 8.0.1 @@ -1452,7 +1452,7 @@ packages: - supports-color dev: true - /@nuxt/test-utils@3.11.0(h3@1.10.1)(vite@5.1.1)(vitest@0.34.6)(vue-router@4.2.5)(vue@3.4.18): + /@nuxt/test-utils@3.11.0(h3@1.10.1)(vite@5.1.1)(vitest@1.3.1)(vue-router@4.2.5)(vue@3.4.18): resolution: {integrity: sha512-9ovgpQZkZpVg/MhYVVn2169WjH/IL0XUqwGryTa/lkx0/BCi1LMVEp3HTPkmt4qbRcxitO+kL4vFqqrFGVaSVg==} engines: {node: ^14.18.0 || >=16.10.0} peerDependencies: @@ -1513,8 +1513,8 @@ packages: unenv: 1.9.0 unplugin: 1.7.1 vite: 5.1.1(@types/node@20.11.17)(sass@1.69.5) - vitest: 0.34.6(playwright@1.41.2)(sass@1.69.5) - vitest-environment-nuxt: 1.0.0(h3@1.10.1)(vite@5.1.1)(vitest@0.34.6)(vue-router@4.2.5)(vue@3.4.18) + vitest: 1.3.1(@types/node@20.11.17)(sass@1.69.5) + vitest-environment-nuxt: 1.0.0(h3@1.10.1)(vite@5.1.1)(vitest@1.3.1)(vue-router@4.2.5)(vue@3.4.18) vue: 3.4.18(typescript@5.3.3) vue-router: 4.2.5(vue@3.4.18) transitivePeerDependencies: @@ -1822,6 +1822,7 @@ packages: dependencies: is-glob: 4.0.3 micromatch: 4.0.5 + napi-wasm: 1.1.0 dev: true bundledDependencies: - napi-wasm @@ -2312,16 +2313,6 @@ packages: minimatch: 9.0.3 dev: true - /@types/chai-subset@1.3.5: - resolution: {integrity: sha512-c2mPnw+xHtXDoHmdtcCXGwyLMiauiAyxWMzhGpqHC4nqI/Y5G2XhTampslK2rb59kpcuHon03UH8W6iYUzw88A==} - dependencies: - '@types/chai': 4.3.11 - dev: true - - /@types/chai@4.3.11: - resolution: {integrity: sha512-qQR1dr2rGIHYlJulmr8Ioq3De0Le9E4MJ5AiaeAETJJpndT1uUNHsGFK3L/UIu+rbkQSdj8J/w2bCsBZc/Y5fQ==} - dev: true - /@types/cloudflare@2.7.14: resolution: {integrity: sha512-xtqgOnylmGsuN/j6KKGLoBrEwU2ufZmotifP7Sj/bay2Yi0foz2KLUT79C7oeI5fsNLluLsfwFuir4Jfh4LdqQ==} dev: true @@ -2884,40 +2875,41 @@ packages: vue: 3.4.18(typescript@5.3.3) dev: true - /@vitest/expect@0.34.6: - resolution: {integrity: sha512-QUzKpUQRc1qC7qdGo7rMK3AkETI7w18gTCUrsNnyjjJKYiuUB9+TQK3QnR1unhCnWRC0AbKv2omLGQDF/mIjOw==} + /@vitest/expect@1.3.1: + resolution: {integrity: sha512-xofQFwIzfdmLLlHa6ag0dPV8YsnKOCP1KdAeVVh34vSjN2dcUiXYCD9htu/9eM7t8Xln4v03U9HLxLpPlsXdZw==} dependencies: - '@vitest/spy': 0.34.6 - '@vitest/utils': 0.34.6 + '@vitest/spy': 1.3.1 + '@vitest/utils': 1.3.1 chai: 4.4.1 dev: true - /@vitest/runner@0.34.6: - resolution: {integrity: sha512-1CUQgtJSLF47NnhN+F9X2ycxUP0kLHQ/JWvNHbeBfwW8CzEGgeskzNnHDyv1ieKTltuR6sdIHV+nmR6kPxQqzQ==} + /@vitest/runner@1.3.1: + resolution: {integrity: sha512-5FzF9c3jG/z5bgCnjr8j9LNq/9OxV2uEBAITOXfoe3rdZJTdO7jzThth7FXv/6b+kdY65tpRQB7WaKhNZwX+Kg==} dependencies: - '@vitest/utils': 0.34.6 - p-limit: 4.0.0 + '@vitest/utils': 1.3.1 + p-limit: 5.0.0 pathe: 1.1.2 dev: true - /@vitest/snapshot@0.34.6: - resolution: {integrity: sha512-B3OZqYn6k4VaN011D+ve+AA4whM4QkcwcrwaKwAbyyvS/NB1hCWjFIBQxAQQSQir9/RtyAAGuq+4RJmbn2dH4w==} + /@vitest/snapshot@1.3.1: + resolution: {integrity: sha512-EF++BZbt6RZmOlE3SuTPu/NfwBF6q4ABS37HHXzs2LUVPBLx2QoY/K0fKpRChSo8eLiuxcbCVfqKgx/dplCDuQ==} dependencies: magic-string: 0.30.7 pathe: 1.1.2 pretty-format: 29.7.0 dev: true - /@vitest/spy@0.34.6: - resolution: {integrity: sha512-xaCvneSaeBw/cz8ySmF7ZwGvL0lBjfvqc1LpQ/vcdHEvpLn3Ff1vAvjw+CoGn0802l++5L/pxb7whwcWAw+DUQ==} + /@vitest/spy@1.3.1: + resolution: {integrity: sha512-xAcW+S099ylC9VLU7eZfdT9myV67Nor9w9zhf0mGCYJSO+zM2839tOeROTdikOi/8Qeusffvxb/MyBSOja1Uig==} dependencies: tinyspy: 2.2.1 dev: true - /@vitest/utils@0.34.6: - resolution: {integrity: sha512-IG5aDD8S6zlvloDsnzHw0Ut5xczlF+kv2BOTo+iXfPr54Yhi5qbVOgGB1hZaVq4iJ4C/MZ2J0y15IlsV/ZcI0A==} + /@vitest/utils@1.3.1: + resolution: {integrity: sha512-d3Waie/299qqRyHTm2DjADeTaNdNSVsnwHPWrs20JMpjh6eiVq7ggggweO8rc4arhf6rRkWuHKwvxGvejUXZZQ==} dependencies: diff-sequences: 29.6.3 + estree-walker: 3.0.3 loupe: 2.3.7 pretty-format: 29.7.0 dev: true @@ -5248,7 +5240,7 @@ packages: eslint-rule-composer: 0.3.0 dev: true - /eslint-plugin-vitest@0.3.22(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.56.0)(typescript@5.3.3)(vitest@0.34.6): + /eslint-plugin-vitest@0.3.22(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.56.0)(typescript@5.3.3)(vitest@1.3.1): resolution: {integrity: sha512-atkFGQ7aVgcuSeSMDqnyevIyUpfBPMnosksgEPrKE7Y8xQlqG/5z2IQ6UDau05zXaaFv7Iz8uzqvIuKshjZ0Zw==} engines: {node: ^18.0.0 || >= 20.0.0} peerDependencies: @@ -5264,7 +5256,7 @@ packages: '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) eslint: 8.56.0 - vitest: 0.34.6(playwright@1.41.2)(sass@1.69.5) + vitest: 1.3.1(@types/node@20.11.17)(sass@1.69.5) transitivePeerDependencies: - supports-color - typescript @@ -7515,6 +7507,11 @@ packages: dev: true optional: true + /napi-wasm@1.1.0: + resolution: {integrity: sha512-lHwIAJbmLSjF9VDRm9GoVOy9AGp3aIvkjv+Kvz9h16QR3uSVYH78PNQUnT2U4X53mhlnV2M7wrhibQ3GHicDmg==} + requiresBuild: true + dev: true + /natural-compare-lite@1.4.0: resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} dev: true @@ -8163,6 +8160,13 @@ packages: yocto-queue: 1.0.0 dev: true + /p-limit@5.0.0: + resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} + engines: {node: '>=18'} + dependencies: + yocto-queue: 1.0.0 + dev: true + /p-locate@4.1.0: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} engines: {node: '>=8'} @@ -9988,8 +9992,8 @@ packages: resolution: {integrity: sha512-N8hW3PG/3aOoZAN5V/NSAEDz0ZixDSSt5b/a05iqtpgfLWMSVuCo7w0k2vVvEjdrIoeGqZzweX2WlyioNIHchA==} dev: true - /tinypool@0.7.0: - resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==} + /tinypool@0.8.2: + resolution: {integrity: sha512-SUszKYe5wgsxnNOVlBYO6IC+8VGWdVGZWAqUxp3UErNBtptZvWbwyUOyzNL59zigz2rCA92QiL3wvG+JDSdJdQ==} engines: {node: '>=14.0.0'} dev: true @@ -10556,14 +10560,13 @@ packages: builtins: 5.0.1 dev: true - /vite-node@0.34.6(@types/node@20.11.17)(sass@1.69.5): - resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==} - engines: {node: '>=v14.18.0'} + /vite-node@1.2.2(@types/node@20.11.17)(sass@1.69.5): + resolution: {integrity: sha512-1as4rDTgVWJO3n1uHmUYqq7nsFgINQ9u+mRcXpjeOMJUmviqNKjcZB7UfRZrlM7MjYXMKpuWp5oGkjaFLnjawg==} + engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: cac: 6.7.14 debug: 4.3.4 - mlly: 1.5.0 pathe: 1.1.2 picocolors: 1.0.0 vite: 5.1.1(@types/node@20.11.17)(sass@1.69.5) @@ -10578,8 +10581,8 @@ packages: - terser dev: true - /vite-node@1.2.2(@types/node@20.11.17)(sass@1.69.5): - resolution: {integrity: sha512-1as4rDTgVWJO3n1uHmUYqq7nsFgINQ9u+mRcXpjeOMJUmviqNKjcZB7UfRZrlM7MjYXMKpuWp5oGkjaFLnjawg==} + /vite-node@1.3.1(@types/node@20.11.17)(sass@1.69.5): + resolution: {integrity: sha512-azbRrqRxlWTJEVbzInZCTchx0X69M/XPTCz4H+TLvlTcR/xH/3hkRqhOakT41fMJCMzXTu4UvegkZiEoJAWvng==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: @@ -10587,7 +10590,7 @@ packages: debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.0.12(@types/node@20.11.17)(sass@1.69.5) + vite: 5.1.1(@types/node@20.11.17)(sass@1.69.5) transitivePeerDependencies: - '@types/node' - less @@ -10769,10 +10772,10 @@ packages: fsevents: 2.3.3 dev: true - /vitest-environment-nuxt@1.0.0(h3@1.10.1)(vite@5.1.1)(vitest@0.34.6)(vue-router@4.2.5)(vue@3.4.18): + /vitest-environment-nuxt@1.0.0(h3@1.10.1)(vite@5.1.1)(vitest@1.3.1)(vue-router@4.2.5)(vue@3.4.18): resolution: {integrity: sha512-AWMO9h4HdbaFdPWZw34gALFI8gbBiOpvfbyeZwHIPfh4kWg/TwElYHvYMQ61WPUlCGaS5LebfHkaI0WPyb//Iw==} dependencies: - '@nuxt/test-utils': 3.11.0(h3@1.10.1)(vite@5.1.1)(vitest@0.34.6)(vue-router@4.2.5)(vue@3.4.18) + '@nuxt/test-utils': 3.11.0(h3@1.10.1)(vite@5.1.1)(vitest@1.3.1)(vue-router@4.2.5)(vue@3.4.18) transitivePeerDependencies: - '@cucumber/cucumber' - '@jest/globals' @@ -10791,22 +10794,22 @@ packages: - vue-router dev: true - /vitest@0.34.6(playwright@1.41.2)(sass@1.69.5): - resolution: {integrity: sha512-+5CALsOvbNKnS+ZHMXtuUC7nL8/7F1F2DnHGjSsszX8zCjWSSviphCb/NuS9Nzf4Q03KyyDRBAXhF/8lffME4Q==} - engines: {node: '>=v14.18.0'} + /vitest@1.3.1(@types/node@20.11.17)(sass@1.69.5): + resolution: {integrity: sha512-/1QJqXs8YbCrfv/GPQ05wAZf2eakUPLPa18vkJAKE7RXOKfVHqMZZ1WlTjiwl6Gcn65M5vpNUB6EFLnEdRdEXQ==} + engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' - '@vitest/browser': '*' - '@vitest/ui': '*' + '@types/node': ^18.0.0 || >=20.0.0 + '@vitest/browser': 1.3.1 + '@vitest/ui': 1.3.1 happy-dom: '*' jsdom: '*' - playwright: '*' - safaridriver: '*' - webdriverio: '*' peerDependenciesMeta: '@edge-runtime/vm': optional: true + '@types/node': + optional: true '@vitest/browser': optional: true '@vitest/ui': @@ -10815,37 +10818,27 @@ packages: optional: true jsdom: optional: true - playwright: - optional: true - safaridriver: - optional: true - webdriverio: - optional: true dependencies: - '@types/chai': 4.3.11 - '@types/chai-subset': 1.3.5 '@types/node': 20.11.17 - '@vitest/expect': 0.34.6 - '@vitest/runner': 0.34.6 - '@vitest/snapshot': 0.34.6 - '@vitest/spy': 0.34.6 - '@vitest/utils': 0.34.6 - acorn: 8.11.3 + '@vitest/expect': 1.3.1 + '@vitest/runner': 1.3.1 + '@vitest/snapshot': 1.3.1 + '@vitest/spy': 1.3.1 + '@vitest/utils': 1.3.1 acorn-walk: 8.3.2 - cac: 6.7.14 chai: 4.4.1 debug: 4.3.4 - local-pkg: 0.4.3 + execa: 8.0.1 + local-pkg: 0.5.0 magic-string: 0.30.7 pathe: 1.1.2 picocolors: 1.0.0 - playwright: 1.41.2 std-env: 3.7.0 - strip-literal: 1.3.0 + strip-literal: 2.0.0 tinybench: 2.6.0 - tinypool: 0.7.0 + tinypool: 0.8.2 vite: 5.1.1(@types/node@20.11.17)(sass@1.69.5) - vite-node: 0.34.6(@types/node@20.11.17)(sass@1.69.5) + vite-node: 1.3.1(@types/node@20.11.17)(sass@1.69.5) why-is-node-running: 2.2.2 transitivePeerDependencies: - less