diff --git a/package.json b/package.json index 9e279b13..f85ac506 100644 --- a/package.json +++ b/package.json @@ -114,7 +114,7 @@ "typescript": "5.3.3", "vite-plugin-svgr": "4.2.0", "vite-tsconfig-paths": "4.3.2", - "vitest": "1.2.2" + "vitest": "1.6.0" }, "peerDependencies": { "@parcel/watcher": "2.4.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4ca7b735..2d3d0d58 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -146,7 +146,7 @@ devDependencies: version: 7.6.19(encoding@0.1.13)(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3) '@storybook/test': specifier: 7.6.19 - version: 7.6.19(vitest@1.2.2) + version: 7.6.19(vitest@1.6.0) '@storybook/testing-library': specifier: 0.2.2 version: 0.2.2 @@ -155,7 +155,7 @@ devDependencies: version: 0.1.1(tailwindcss@3.4.3) '@testing-library/jest-dom': specifier: 6.4.5 - version: 6.4.5(vitest@1.2.2) + version: 6.4.5(vitest@1.6.0) '@testing-library/react': specifier: 14.2.2 version: 14.2.2(react-dom@18.2.0)(react@18.2.0) @@ -265,8 +265,8 @@ devDependencies: specifier: 4.3.2 version: 4.3.2(typescript@5.3.3)(vite@5.3.1) vitest: - specifier: 1.2.2 - version: 1.2.2(@types/node@18.19.33)(jsdom@24.0.0)(sass@1.77.5) + specifier: 1.6.0 + version: 1.6.0(@types/node@18.19.33)(jsdom@24.0.0)(sass@1.77.5) packages: @@ -809,6 +809,16 @@ packages: '@babel/helper-plugin-utils': 7.24.7 dev: true + /@babel/plugin-syntax-import-assertions@7.24.7(@babel/core@7.22.9): + resolution: {integrity: sha512-Ec3NRUMoi8gskrkBe3fNmEQfxDvY8bgfQpz6jlk/41kX9eUjvpyqWU7PBP/pLAvMaSQjbMNKJmvX57jP+M6bPg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.22.9 + '@babel/helper-plugin-utils': 7.24.7 + dev: true + /@babel/plugin-syntax-import-assertions@7.24.7(@babel/core@7.23.9): resolution: {integrity: sha512-Ec3NRUMoi8gskrkBe3fNmEQfxDvY8bgfQpz6jlk/41kX9eUjvpyqWU7PBP/pLAvMaSQjbMNKJmvX57jP+M6bPg==} engines: {node: '>=6.9.0'} @@ -2633,7 +2643,7 @@ packages: peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-tools/code-file-loader': 8.0.1(@babel/core@7.23.9)(graphql@16.8.2) + '@graphql-tools/code-file-loader': 8.0.1(@babel/core@7.22.9)(graphql@16.8.2) graphql: 16.8.2 tslib: 2.6.2 transitivePeerDependencies: @@ -2924,6 +2934,23 @@ packages: value-or-promise: 1.0.12 dev: true + /@graphql-tools/code-file-loader@8.0.1(@babel/core@7.22.9)(graphql@16.8.2): + resolution: {integrity: sha512-pmg81lsIXGW3uW+nFSCIG0lFQIxWVbgDjeBkSWlnP8CZsrHTQEkB53DT7t4BHLryoxDS4G4cPxM52yNINDSL8w==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + dependencies: + '@graphql-tools/graphql-tag-pluck': 8.0.1(@babel/core@7.22.9)(graphql@16.8.2) + '@graphql-tools/utils': 10.0.3(graphql@16.8.2) + globby: 11.1.0 + graphql: 16.8.2 + tslib: 2.6.2 + unixify: 1.0.0 + transitivePeerDependencies: + - '@babel/core' + - supports-color + dev: true + /@graphql-tools/code-file-loader@8.0.1(@babel/core@7.23.9)(graphql@16.8.2): resolution: {integrity: sha512-pmg81lsIXGW3uW+nFSCIG0lFQIxWVbgDjeBkSWlnP8CZsrHTQEkB53DT7t4BHLryoxDS4G4cPxM52yNINDSL8w==} engines: {node: '>=16.0.0'} @@ -3056,7 +3083,7 @@ packages: peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 dependencies: - '@graphql-tools/graphql-tag-pluck': 8.0.1(@babel/core@7.23.9)(graphql@16.8.2) + '@graphql-tools/graphql-tag-pluck': 8.0.1(@babel/core@7.22.9)(graphql@16.8.2) '@graphql-tools/utils': 10.2.2(graphql@16.8.2) graphql: 16.8.2 is-glob: 4.0.3 @@ -3153,6 +3180,24 @@ packages: unixify: 1.0.0 dev: true + /@graphql-tools/graphql-tag-pluck@8.0.1(@babel/core@7.22.9)(graphql@16.8.2): + resolution: {integrity: sha512-4sfBJSoXxVB4rRCCp2GTFhAYsUJgAPSKxSV+E3Voc600mK52JO+KsHCCTnPgCeyJFMNR9l94J6+tqxVKmlqKvw==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + dependencies: + '@babel/parser': 7.24.7 + '@babel/plugin-syntax-import-assertions': 7.24.7(@babel/core@7.22.9) + '@babel/traverse': 7.24.7 + '@babel/types': 7.24.7 + '@graphql-tools/utils': 10.0.3(graphql@16.8.2) + graphql: 16.8.2 + tslib: 2.6.2 + transitivePeerDependencies: + - '@babel/core' + - supports-color + dev: true + /@graphql-tools/graphql-tag-pluck@8.0.1(@babel/core@7.23.9)(graphql@16.8.2): resolution: {integrity: sha512-4sfBJSoXxVB4rRCCp2GTFhAYsUJgAPSKxSV+E3Voc600mK52JO+KsHCCTnPgCeyJFMNR9l94J6+tqxVKmlqKvw==} engines: {node: '>=16.0.0'} @@ -6077,7 +6122,7 @@ packages: - supports-color dev: true - /@storybook/test@7.6.19(vitest@1.2.2): + /@storybook/test@7.6.19(vitest@1.6.0): resolution: {integrity: sha512-pEMyrPsV6zfcoH8z/sXlmJYBMBocZU6MZhM//dVGf4OiaOSwCLGDXNImZYNDUOpq4//kxC51yTytkdDgm1QFMg==} dependencies: '@storybook/client-logger': 7.6.19 @@ -6085,7 +6130,7 @@ packages: '@storybook/instrumenter': 7.6.19 '@storybook/preview-api': 7.6.19 '@testing-library/dom': 9.3.4 - '@testing-library/jest-dom': 6.4.5(vitest@1.2.2) + '@testing-library/jest-dom': 6.4.5(vitest@1.6.0) '@testing-library/user-event': 14.3.0(@testing-library/dom@9.3.4) '@types/chai': 4.3.16 '@vitest/expect': 0.34.7 @@ -6416,7 +6461,7 @@ packages: pretty-format: 27.5.1 dev: true - /@testing-library/jest-dom@6.4.5(vitest@1.2.2): + /@testing-library/jest-dom@6.4.5(vitest@1.6.0): resolution: {integrity: sha512-AguB9yvTXmCnySBP1lWjfNNUwpbElsaQ567lt2VdGqAdHtpieLgjmcVyv1q7PMIvLbgpDdkWV5Ydv3FEejyp2A==} engines: {node: '>=14', npm: '>=6', yarn: '>=1'} peerDependencies: @@ -6445,7 +6490,7 @@ packages: dom-accessibility-api: 0.6.3 lodash: 4.17.21 redent: 3.0.0 - vitest: 1.2.2(@types/node@18.19.33)(jsdom@24.0.0)(sass@1.77.5) + vitest: 1.6.0(@types/node@18.19.33)(jsdom@24.0.0)(sass@1.77.5) dev: true /@testing-library/react@14.2.2(react-dom@18.2.0)(react@18.2.0): @@ -7104,24 +7149,24 @@ packages: chai: 4.4.1 dev: true - /@vitest/expect@1.2.2: - resolution: {integrity: sha512-3jpcdPAD7LwHUUiT2pZTj2U82I2Tcgg2oVPvKxhn6mDI2On6tfvPQTjAI4628GUGDZrCm4Zna9iQHm5cEexOAg==} + /@vitest/expect@1.6.0: + resolution: {integrity: sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==} dependencies: - '@vitest/spy': 1.2.2 - '@vitest/utils': 1.2.2 + '@vitest/spy': 1.6.0 + '@vitest/utils': 1.6.0 chai: 4.4.1 dev: true - /@vitest/runner@1.2.2: - resolution: {integrity: sha512-JctG7QZ4LSDXr5CsUweFgcpEvrcxOV1Gft7uHrvkQ+fsAVylmWQvnaAr/HDp3LAH1fztGMQZugIheTWjaGzYIg==} + /@vitest/runner@1.6.0: + resolution: {integrity: sha512-P4xgwPjwesuBiHisAVz/LSSZtDjOTPYZVmNAnpHHSR6ONrf8eCJOFRvUwdHn30F5M1fxhqtl7QZQUk2dprIXAg==} dependencies: - '@vitest/utils': 1.2.2 + '@vitest/utils': 1.6.0 p-limit: 5.0.0 pathe: 1.1.2 dev: true - /@vitest/snapshot@1.2.2: - resolution: {integrity: sha512-SmGY4saEw1+bwE1th6S/cZmPxz/Q4JWsl7LvbQIky2tKE35US4gd0Mjzqfr84/4OD0tikGWaWdMja/nWL5NIPA==} + /@vitest/snapshot@1.6.0: + resolution: {integrity: sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==} dependencies: magic-string: 0.30.10 pathe: 1.1.2 @@ -7134,8 +7179,8 @@ packages: tinyspy: 2.2.1 dev: true - /@vitest/spy@1.2.2: - resolution: {integrity: sha512-k9Gcahssw8d7X3pSLq3e3XEu/0L78mUkCjivUqCQeXJm9clfXR/Td8+AP+VC1O6fKPIDLcHDTAmBOINVuv6+7g==} + /@vitest/spy@1.6.0: + resolution: {integrity: sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==} dependencies: tinyspy: 2.2.1 dev: true @@ -7148,8 +7193,8 @@ packages: pretty-format: 29.7.0 dev: true - /@vitest/utils@1.2.2: - resolution: {integrity: sha512-WKITBHLsBHlpjnDQahr+XK6RE7MiAsgrIkr0pGhQ9ygoxBfUeG0lUG5iLlzqjmKSlBv3+j5EGsriBzh+C3Tq9g==} + /@vitest/utils@1.6.0: + resolution: {integrity: sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==} dependencies: diff-sequences: 29.6.3 estree-walker: 3.0.3 @@ -11986,6 +12031,10 @@ packages: /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + /js-tokens@9.0.0: + resolution: {integrity: sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==} + dev: true + /js-yaml@3.14.1: resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} hasBin: true @@ -15811,10 +15860,10 @@ packages: engines: {node: '>=8'} dev: true - /strip-literal@1.3.0: - resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==} + /strip-literal@2.1.0: + resolution: {integrity: sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==} dependencies: - acorn: 8.12.0 + js-tokens: 9.0.0 dev: true /style-loader@3.3.4(webpack@5.92.0): @@ -16889,8 +16938,8 @@ packages: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - /vite-node@1.2.2(@types/node@18.19.33)(sass@1.77.5): - resolution: {integrity: sha512-1as4rDTgVWJO3n1uHmUYqq7nsFgINQ9u+mRcXpjeOMJUmviqNKjcZB7UfRZrlM7MjYXMKpuWp5oGkjaFLnjawg==} + /vite-node@1.6.0(@types/node@18.19.33)(sass@1.77.5): + resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: @@ -16978,15 +17027,15 @@ packages: optionalDependencies: fsevents: 2.3.3 - /vitest@1.2.2(@types/node@18.19.33)(jsdom@24.0.0)(sass@1.77.5): - resolution: {integrity: sha512-d5Ouvrnms3GD9USIK36KG8OZ5bEvKEkITFtnGv56HFaSlbItJuYr7hv2Lkn903+AvRAgSixiamozUVfORUekjw==} + /vitest@1.6.0(@types/node@18.19.33)(jsdom@24.0.0)(sass@1.77.5): + resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': ^1.0.0 - '@vitest/ui': ^1.0.0 + '@vitest/browser': 1.6.0 + '@vitest/ui': 1.6.0 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -17004,13 +17053,12 @@ packages: optional: true dependencies: '@types/node': 18.19.33 - '@vitest/expect': 1.2.2 - '@vitest/runner': 1.2.2 - '@vitest/snapshot': 1.2.2 - '@vitest/spy': 1.2.2 - '@vitest/utils': 1.2.2 + '@vitest/expect': 1.6.0 + '@vitest/runner': 1.6.0 + '@vitest/snapshot': 1.6.0 + '@vitest/spy': 1.6.0 + '@vitest/utils': 1.6.0 acorn-walk: 8.3.3 - cac: 6.7.14 chai: 4.4.1 debug: 4.3.5 execa: 8.0.1 @@ -17020,11 +17068,11 @@ packages: pathe: 1.1.2 picocolors: 1.0.1 std-env: 3.7.0 - strip-literal: 1.3.0 + strip-literal: 2.1.0 tinybench: 2.8.0 tinypool: 0.8.4 vite: 5.3.1(@types/node@18.19.33)(sass@1.77.5) - vite-node: 1.2.2(@types/node@18.19.33)(sass@1.77.5) + vite-node: 1.6.0(@types/node@18.19.33)(sass@1.77.5) why-is-node-running: 2.2.2 transitivePeerDependencies: - less