diff --git a/package.json b/package.json index 4b8cdaf..b601172 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.1.1" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1b1d154..41b9ff1 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.1.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.9.0 - version: 3.9.0(h3@1.9.0)(vite@5.0.10)(vitest@0.34.6)(vue-router@4.2.5)(vue@3.4.3) + version: 3.9.0(h3@1.9.0)(vite@5.0.10)(vitest@1.1.1)(vue-router@4.2.5)(vue@3.4.3) '@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.40.1)(sass@1.69.5) + specifier: ^1.1.1 + version: 1.1.1(@types/node@20.10.6)(sass@1.69.5) packages: @@ -88,7 +88,7 @@ packages: '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.20 - /@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.1.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.3.2) eslint-plugin-unicorn: 49.0.0(eslint@8.56.0) eslint-plugin-unused-imports: 3.0.0(@typescript-eslint/eslint-plugin@6.16.0)(eslint@8.56.0) - eslint-plugin-vitest: 0.3.20(@typescript-eslint/eslint-plugin@6.16.0)(eslint@8.56.0)(typescript@5.3.3)(vitest@0.34.6) + eslint-plugin-vitest: 0.3.20(@typescript-eslint/eslint-plugin@6.16.0)(eslint@8.56.0)(typescript@5.3.3)(vitest@1.1.1) eslint-plugin-vue: 9.19.2(eslint@8.56.0) eslint-plugin-yml: 1.11.0(eslint@8.56.0) execa: 8.0.1 @@ -1245,7 +1245,7 @@ packages: - supports-color dev: true - /@nuxt/test-utils@3.9.0(h3@1.9.0)(vite@5.0.10)(vitest@0.34.6)(vue-router@4.2.5)(vue@3.4.3): + /@nuxt/test-utils@3.9.0(h3@1.9.0)(vite@5.0.10)(vitest@1.1.1)(vue-router@4.2.5)(vue@3.4.3): resolution: {integrity: sha512-17qaU4vfFJWIaT4BJ/R6C2rIuvxaF5HaiRusXHhA/34SyiduNEhezIvIVqhWVkn33y5CNueduE0AykBEj1IgEA==} engines: {node: ^14.18.0 || >=16.10.0} peerDependencies: @@ -1303,8 +1303,8 @@ packages: unenv: 1.8.0 unplugin: 1.6.0 vite: 5.0.10(@types/node@20.10.6)(sass@1.69.5) - vitest: 0.34.6(playwright@1.40.1)(sass@1.69.5) - vitest-environment-nuxt: 1.0.0(h3@1.9.0)(vite@5.0.10)(vitest@0.34.6)(vue-router@4.2.5)(vue@3.4.3) + vitest: 1.1.1(@types/node@20.10.6)(sass@1.69.5) + vitest-environment-nuxt: 1.0.0(h3@1.9.0)(vite@5.0.10)(vitest@1.1.1)(vue-router@4.2.5)(vue@3.4.3) vue: 3.4.3(typescript@5.3.3) vue-router: 4.2.5(vue@3.4.3) transitivePeerDependencies: @@ -1611,6 +1611,7 @@ packages: dependencies: is-glob: 4.0.3 micromatch: 4.0.5 + napi-wasm: 1.1.0 dev: true bundledDependencies: - napi-wasm @@ -2085,16 +2086,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.13: resolution: {integrity: sha512-B9Sl+URLvBTzBs2Yfj6tuEOEtHX8DYwQLiyTq51OeoXF2IeTfuFxJbx2XffQJkSbx4VIqKx5uy9X62aQl593aw==} dev: true @@ -2616,7 +2607,7 @@ packages: dependencies: '@mapbox/node-pre-gyp': 1.0.11 '@rollup/pluginutils': 4.2.1 - acorn: 8.11.2 + acorn: 8.11.3 async-sema: 3.1.1 bindings: 1.5.0 estree-walker: 2.0.2 @@ -2657,38 +2648,38 @@ packages: vue: 3.4.3(typescript@5.3.3) dev: true - /@vitest/expect@0.34.6: - resolution: {integrity: sha512-QUzKpUQRc1qC7qdGo7rMK3AkETI7w18gTCUrsNnyjjJKYiuUB9+TQK3QnR1unhCnWRC0AbKv2omLGQDF/mIjOw==} + /@vitest/expect@1.1.1: + resolution: {integrity: sha512-Qpw01C2Hyb3085jBkOJLQ7HRX0Ncnh2qV4p+xWmmhcIUlMykUF69zsnZ1vPmAjZpomw9+5tWEGOQ0GTfR8U+kA==} dependencies: - '@vitest/spy': 0.34.6 - '@vitest/utils': 0.34.6 + '@vitest/spy': 1.1.1 + '@vitest/utils': 1.1.1 chai: 4.3.10 dev: true - /@vitest/runner@0.34.6: - resolution: {integrity: sha512-1CUQgtJSLF47NnhN+F9X2ycxUP0kLHQ/JWvNHbeBfwW8CzEGgeskzNnHDyv1ieKTltuR6sdIHV+nmR6kPxQqzQ==} + /@vitest/runner@1.1.1: + resolution: {integrity: sha512-8HokyJo1SnSi3uPFKfWm/Oq1qDwLC4QDcVsqpXIXwsRPAg3gIDh8EbZ1ri8cmQkBxdOu62aOF9B4xcqJhvt4xQ==} dependencies: - '@vitest/utils': 0.34.6 - p-limit: 4.0.0 + '@vitest/utils': 1.1.1 + p-limit: 5.0.0 pathe: 1.1.1 dev: true - /@vitest/snapshot@0.34.6: - resolution: {integrity: sha512-B3OZqYn6k4VaN011D+ve+AA4whM4QkcwcrwaKwAbyyvS/NB1hCWjFIBQxAQQSQir9/RtyAAGuq+4RJmbn2dH4w==} + /@vitest/snapshot@1.1.1: + resolution: {integrity: sha512-WnMHjv4VdHLbFGgCdVVvyRkRPnOKN75JJg+LLTdr6ah7YnL75W+7CTIMdzPEPzaDxA8r5yvSVlc1d8lH3yE28w==} dependencies: magic-string: 0.30.5 pathe: 1.1.1 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.1.1: + resolution: {integrity: sha512-hDU2KkOTfFp4WFFPWwHFauddwcKuGQ7gF6Un/ZZkCogoAiTMN7/7YKvUDbywPZZ754iCQGjdUmXN3t4k0jm1IQ==} dependencies: tinyspy: 2.2.0 dev: true - /@vitest/utils@0.34.6: - resolution: {integrity: sha512-IG5aDD8S6zlvloDsnzHw0Ut5xczlF+kv2BOTo+iXfPr54Yhi5qbVOgGB1hZaVq4iJ4C/MZ2J0y15IlsV/ZcI0A==} + /@vitest/utils@1.1.1: + resolution: {integrity: sha512-E9LedH093vST/JuBSyHLFMpxJKW3dLhe/flUSPFedoyj4wKiFX7Jm8gYLtOIiin59dgrssfmFv0BJ1u8P/LC/A==} dependencies: diff-sequences: 29.6.3 loupe: 2.3.7 @@ -4902,7 +4893,7 @@ packages: eslint-rule-composer: 0.3.0 dev: true - /eslint-plugin-vitest@0.3.20(@typescript-eslint/eslint-plugin@6.16.0)(eslint@8.56.0)(typescript@5.3.3)(vitest@0.34.6): + /eslint-plugin-vitest@0.3.20(@typescript-eslint/eslint-plugin@6.16.0)(eslint@8.56.0)(typescript@5.3.3)(vitest@1.1.1): resolution: {integrity: sha512-O05k4j9TGMOkkghj9dRgpeLDyOSiVIxQWgNDPfhYPm5ioJsehcYV/zkRLekQs+c8+RBCVXucSED3fYOyy2EoWA==} engines: {node: ^18.0.0 || >= 20.0.0} peerDependencies: @@ -4918,7 +4909,7 @@ packages: '@typescript-eslint/eslint-plugin': 6.16.0(@typescript-eslint/parser@6.16.0)(eslint@8.56.0)(typescript@5.3.3) '@typescript-eslint/utils': 6.16.0(eslint@8.56.0)(typescript@5.3.3) eslint: 8.56.0 - vitest: 0.34.6(playwright@1.40.1)(sass@1.69.5) + vitest: 1.1.1(@types/node@20.10.6)(sass@1.69.5) transitivePeerDependencies: - supports-color - typescript @@ -7144,6 +7135,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 @@ -7781,6 +7777,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'} @@ -9375,7 +9378,7 @@ packages: /strip-literal@1.3.0: resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==} dependencies: - acorn: 8.11.2 + acorn: 8.11.3 /stylehacks@6.0.1(postcss@8.4.32): resolution: {integrity: sha512-jTqG2aIoX2fYg0YsGvqE4ooE/e75WmaEjnNiP6Ag7irLtHxML8NJRxRxS0HyDpde8DRGuEXTFVHVfR5Tmbxqzg==} @@ -9524,7 +9527,7 @@ packages: hasBin: true dependencies: '@jridgewell/source-map': 0.3.5 - acorn: 8.11.2 + acorn: 8.11.3 commander: 2.20.3 source-map-support: 0.5.21 dev: true @@ -9555,8 +9558,8 @@ packages: resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} dev: true - /tinypool@0.7.0: - resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==} + /tinypool@0.8.1: + resolution: {integrity: sha512-zBTCK0cCgRROxvs9c0CGK838sPkeokNGdQVUUwHAbynHFlmyJYj825f/oRs528HaIJ97lo0pLIlDUzwN+IorWg==} engines: {node: '>=14.0.0'} dev: true @@ -10123,28 +10126,6 @@ packages: builtins: 5.0.1 dev: true - /vite-node@0.34.6(@types/node@20.10.6)(sass@1.69.5): - resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==} - engines: {node: '>=v14.18.0'} - hasBin: true - dependencies: - cac: 6.7.14 - debug: 4.3.4 - mlly: 1.4.2 - pathe: 1.1.1 - picocolors: 1.0.0 - vite: 5.0.10(@types/node@20.10.6)(sass@1.69.5) - transitivePeerDependencies: - - '@types/node' - - less - - lightningcss - - sass - - stylus - - sugarss - - supports-color - - terser - dev: true - /vite-node@1.1.1(@types/node@20.10.6)(sass@1.69.5): resolution: {integrity: sha512-2bGE5w4jvym5v8llF6Gu1oBrmImoNSs4WmRVcavnG2me6+8UQntTqLiAMFyiAobp+ZXhj5ZFhI7SmLiFr/jrow==} engines: {node: ^18.0.0 || >=20.0.0} @@ -10300,10 +10281,10 @@ packages: fsevents: 2.3.3 dev: true - /vitest-environment-nuxt@1.0.0(h3@1.9.0)(vite@5.0.10)(vitest@0.34.6)(vue-router@4.2.5)(vue@3.4.3): + /vitest-environment-nuxt@1.0.0(h3@1.9.0)(vite@5.0.10)(vitest@1.1.1)(vue-router@4.2.5)(vue@3.4.3): resolution: {integrity: sha512-AWMO9h4HdbaFdPWZw34gALFI8gbBiOpvfbyeZwHIPfh4kWg/TwElYHvYMQ61WPUlCGaS5LebfHkaI0WPyb//Iw==} dependencies: - '@nuxt/test-utils': 3.9.0(h3@1.9.0)(vite@5.0.10)(vitest@0.34.6)(vue-router@4.2.5)(vue@3.4.3) + '@nuxt/test-utils': 3.9.0(h3@1.9.0)(vite@5.0.10)(vitest@1.1.1)(vue-router@4.2.5)(vue@3.4.3) transitivePeerDependencies: - '@jest/globals' - '@testing-library/vue' @@ -10321,22 +10302,22 @@ packages: - vue-router dev: true - /vitest@0.34.6(playwright@1.40.1)(sass@1.69.5): - resolution: {integrity: sha512-+5CALsOvbNKnS+ZHMXtuUC7nL8/7F1F2DnHGjSsszX8zCjWSSviphCb/NuS9Nzf4Q03KyyDRBAXhF/8lffME4Q==} - engines: {node: '>=v14.18.0'} + /vitest@1.1.1(@types/node@20.10.6)(sass@1.69.5): + resolution: {integrity: sha512-Ry2qs4UOu/KjpXVfOCfQkTnwSXYGrqTbBZxw6reIYEFjSy1QUARRg5pxiI5BEXy+kBVntxUYNMlq4Co+2vD3fQ==} + 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.0.0 + '@vitest/ui': ^1.0.0 happy-dom: '*' jsdom: '*' - playwright: '*' - safaridriver: '*' - webdriverio: '*' peerDependenciesMeta: '@edge-runtime/vm': optional: true + '@types/node': + optional: true '@vitest/browser': optional: true '@vitest/ui': @@ -10345,37 +10326,28 @@ 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.10.6 - '@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.1.1 + '@vitest/runner': 1.1.1 + '@vitest/snapshot': 1.1.1 + '@vitest/spy': 1.1.1 + '@vitest/utils': 1.1.1 acorn-walk: 8.3.1 cac: 6.7.14 chai: 4.3.10 debug: 4.3.4 - local-pkg: 0.4.3 + execa: 8.0.1 + local-pkg: 0.5.0 magic-string: 0.30.5 pathe: 1.1.1 picocolors: 1.0.0 - playwright: 1.40.1 std-env: 3.7.0 strip-literal: 1.3.0 tinybench: 2.5.1 - tinypool: 0.7.0 + tinypool: 0.8.1 vite: 5.0.10(@types/node@20.10.6)(sass@1.69.5) - vite-node: 0.34.6(@types/node@20.10.6)(sass@1.69.5) + vite-node: 1.1.1(@types/node@20.10.6)(sass@1.69.5) why-is-node-running: 2.2.2 transitivePeerDependencies: - less