From 4a43e6904f9aad5d06afe7dfa9e584d4ebef83bb Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sun, 16 Jul 2023 16:32:58 +1000 Subject: [PATCH 1/3] Update vitest --- .../src/routes/api/data/+server.ts | 3 +- .../src/routes/api/data/+server.ts | 3 +- examples/vue/persister/src/main.ts | 3 +- package.json | 4 +- packages/query-core/src/tests/utils.ts | 5 +- .../src/__tests__/utils.tsx | 3 +- packages/react-query/src/__tests__/utils.tsx | 5 +- packages/solid-query/src/__tests__/utils.tsx | 5 +- packages/svelte-query/src/__tests__/utils.ts | 8 +- pnpm-lock.yaml | 141 +++++++++++++----- 10 files changed, 130 insertions(+), 50 deletions(-) diff --git a/examples/svelte/auto-refetching/src/routes/api/data/+server.ts b/examples/svelte/auto-refetching/src/routes/api/data/+server.ts index 863c0feadf..cc192e37ee 100644 --- a/examples/svelte/auto-refetching/src/routes/api/data/+server.ts +++ b/examples/svelte/auto-refetching/src/routes/api/data/+server.ts @@ -1,4 +1,5 @@ -import { json, type RequestHandler } from '@sveltejs/kit' +import { json } from '@sveltejs/kit' +import type { RequestHandler } from '@sveltejs/kit' const list = { items: ['Item 1', 'Item 2', 'Item 3'] } diff --git a/examples/svelte/optimistic-updates-typescript/src/routes/api/data/+server.ts b/examples/svelte/optimistic-updates-typescript/src/routes/api/data/+server.ts index 301018f5cc..ab139de78d 100644 --- a/examples/svelte/optimistic-updates-typescript/src/routes/api/data/+server.ts +++ b/examples/svelte/optimistic-updates-typescript/src/routes/api/data/+server.ts @@ -1,4 +1,5 @@ -import { json, type RequestHandler } from '@sveltejs/kit' +import { json, } from '@sveltejs/kit' +import type { RequestHandler } from '@sveltejs/kit' type Todo = { id: string diff --git a/examples/vue/persister/src/main.ts b/examples/vue/persister/src/main.ts index 11dcb67f7b..dc894371f0 100644 --- a/examples/vue/persister/src/main.ts +++ b/examples/vue/persister/src/main.ts @@ -1,7 +1,8 @@ import { createApp } from 'vue' -import { VueQueryPlugin, type VueQueryPluginOptions } from '@tanstack/vue-query' +import { VueQueryPlugin } from '@tanstack/vue-query' import { persistQueryClient } from '@tanstack/query-persist-client-core' import { createSyncStoragePersister } from '@tanstack/query-sync-storage-persister' +import type { VueQueryPluginOptions } from '@tanstack/vue-query' import App from './App.vue' diff --git a/package.json b/package.json index 6d5902b559..6e715df996 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "@types/testing-library__jest-dom": "^5.14.5", "@typescript-eslint/eslint-plugin": "^5.54.0", "@typescript-eslint/parser": "^5.54.0", - "@vitest/coverage-istanbul": "^0.27.1", + "@vitest/coverage-istanbul": "^0.28.5", "axios": "^1.4.0", "babel-preset-solid": "^1.6.10", "chalk": "^5.2.0", @@ -96,7 +96,7 @@ "type-fest": "^3.13.0", "typescript": "^5.0.4", "vite": "^4.2.0", - "vitest": "^0.27.1", + "vitest": "^0.28.5", "vue": "^3.2.47" }, "pnpm": { diff --git a/packages/query-core/src/tests/utils.ts b/packages/query-core/src/tests/utils.ts index b98788f1ac..09cf98f3b3 100644 --- a/packages/query-core/src/tests/utils.ts +++ b/packages/query-core/src/tests/utils.ts @@ -1,5 +1,6 @@ import { act } from '@testing-library/react' import { vi } from 'vitest' +import type { SpyInstance } from 'vitest' import { QueryClient } from '..' import * as utils from '../utils' @@ -9,11 +10,11 @@ export function createQueryClient(config?: QueryClientConfig): QueryClient { return new QueryClient(config) } -export function mockVisibilityState(value: DocumentVisibilityState) { +export function mockVisibilityState(value: DocumentVisibilityState): SpyInstance<[], DocumentVisibilityState> { return vi.spyOn(document, 'visibilityState', 'get').mockReturnValue(value) } -export function mockNavigatorOnLine(value: boolean) { +export function mockNavigatorOnLine(value: boolean): SpyInstance<[], boolean> { return vi.spyOn(navigator, 'onLine', 'get').mockReturnValue(value) } diff --git a/packages/react-query-devtools/src/__tests__/utils.tsx b/packages/react-query-devtools/src/__tests__/utils.tsx index 383eda5312..2280705615 100644 --- a/packages/react-query-devtools/src/__tests__/utils.tsx +++ b/packages/react-query-devtools/src/__tests__/utils.tsx @@ -1,4 +1,4 @@ -import { type RenderOptions, render } from '@testing-library/react' +import { render } from '@testing-library/react' import * as React from 'react' import { QueryCache, @@ -6,6 +6,7 @@ import { QueryClientProvider, } from '@tanstack/react-query' import { ReactQueryDevtools } from '../devtools' +import type { RenderOptions } from '@testing-library/react' export function renderWithClient( client: QueryClient, diff --git a/packages/react-query/src/__tests__/utils.tsx b/packages/react-query/src/__tests__/utils.tsx index 0876f54f73..d86d4031ed 100644 --- a/packages/react-query/src/__tests__/utils.tsx +++ b/packages/react-query/src/__tests__/utils.tsx @@ -4,6 +4,7 @@ import * as utils from '@tanstack/query-core' import { vi } from 'vitest' import { QueryClient, QueryClientProvider } from '..' import type { QueryClientConfig } from '..' +import type { SpyInstance } from 'vitest' export function renderWithClient( client: QueryClient, @@ -45,11 +46,11 @@ export function createQueryClient(config?: QueryClientConfig): QueryClient { return new QueryClient(config) } -export function mockVisibilityState(value: DocumentVisibilityState) { +export function mockVisibilityState(value: DocumentVisibilityState): SpyInstance<[], DocumentVisibilityState> { return vi.spyOn(document, 'visibilityState', 'get').mockReturnValue(value) } -export function mockNavigatorOnLine(value: boolean) { +export function mockNavigatorOnLine(value: boolean): SpyInstance<[], boolean> { return vi.spyOn(navigator, 'onLine', 'get').mockReturnValue(value) } diff --git a/packages/solid-query/src/__tests__/utils.tsx b/packages/solid-query/src/__tests__/utils.tsx index d6eb5f17f2..b42392b1d3 100644 --- a/packages/solid-query/src/__tests__/utils.tsx +++ b/packages/solid-query/src/__tests__/utils.tsx @@ -3,6 +3,7 @@ import { vi } from 'vitest' import { QueryClient } from '../QueryClient' import type { QueryClientConfig } from '@tanstack/query-core' import type { ParentProps } from 'solid-js' +import type { SpyInstance } from 'vitest' let queryKeyCount = 0 export function queryKey(): Array { @@ -34,11 +35,11 @@ export function createQueryClient(config?: QueryClientConfig): QueryClient { return new QueryClient(config) } -export function mockVisibilityState(value: DocumentVisibilityState) { +export function mockVisibilityState(value: DocumentVisibilityState): SpyInstance<[], DocumentVisibilityState> { return vi.spyOn(document, 'visibilityState', 'get').mockReturnValue(value) } -export function mockNavigatorOnLine(value: boolean) { +export function mockNavigatorOnLine(value: boolean): SpyInstance<[], boolean> { return vi.spyOn(navigator, 'onLine', 'get').mockReturnValue(value) } diff --git a/packages/svelte-query/src/__tests__/utils.ts b/packages/svelte-query/src/__tests__/utils.ts index 67488053f2..e19a4f67c1 100644 --- a/packages/svelte-query/src/__tests__/utils.ts +++ b/packages/svelte-query/src/__tests__/utils.ts @@ -1,16 +1,18 @@ import { vi } from 'vitest' import { act } from '@testing-library/svelte' -import { QueryClient, type QueryClientConfig } from '../index' +import { QueryClient } from '../index' +import type { QueryClientConfig } from '../index' +import type { SpyInstance } from 'vitest' export function createQueryClient(config?: QueryClientConfig): QueryClient { return new QueryClient(config) } -export function mockVisibilityState(value: DocumentVisibilityState) { +export function mockVisibilityState(value: DocumentVisibilityState): SpyInstance<[], DocumentVisibilityState> { return vi.spyOn(document, 'visibilityState', 'get').mockReturnValue(value) } -export function mockNavigatorOnLine(value: boolean) { +export function mockNavigatorOnLine(value: boolean): SpyInstance<[], boolean> { return vi.spyOn(navigator, 'onLine', 'get').mockReturnValue(value) } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 303d7e6b86..f7d182b1ca 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -91,8 +91,8 @@ importers: specifier: ^5.54.0 version: 5.54.0(eslint@8.34.0)(typescript@5.0.4) '@vitest/coverage-istanbul': - specifier: ^0.27.1 - version: 0.27.1(jsdom@22.0.0) + specifier: ^0.28.5 + version: 0.28.5(jsdom@22.0.0) axios: specifier: ^1.4.0 version: 1.4.0 @@ -208,8 +208,8 @@ importers: specifier: ^4.2.0 version: 4.2.0(@types/node@18.16.0) vitest: - specifier: ^0.27.1 - version: 0.27.1(jsdom@22.0.0) + specifier: ^0.28.5 + version: 0.28.5(jsdom@22.0.0) vue: specifier: ^3.2.47 version: 3.2.47 @@ -6711,8 +6711,8 @@ packages: vue: 3.2.47 dev: true - /@vitest/coverage-istanbul@0.27.1(jsdom@22.0.0): - resolution: {integrity: sha512-VVLwkyRloXb5laEWdCDb5Ns4+W7vtb1PBJR0nLXZRCuzDKH3VeWYmb4xeYn6I9fz9Yv9Vmcke2X/gd3/lKW5Vw==} + /@vitest/coverage-istanbul@0.28.5(jsdom@22.0.0): + resolution: {integrity: sha512-na1pkr3AVrdFflzuBXsBh1MvBfhSMrv4nfd4N8rm0HEJlvlbQc+GiqNwtwzfO8TPsXxcjNphSIMp5wvCy+0xrQ==} dependencies: istanbul-lib-coverage: 3.2.0 istanbul-lib-instrument: 5.2.1 @@ -6720,7 +6720,7 @@ packages: istanbul-lib-source-maps: 4.0.1 istanbul-reports: 3.1.5 test-exclude: 6.0.0 - vitest: 0.27.1(jsdom@22.0.0) + vitest: 0.28.5(jsdom@22.0.0) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -6735,6 +6735,38 @@ packages: - terser dev: true + /@vitest/expect@0.28.5: + resolution: {integrity: sha512-gqTZwoUTwepwGIatnw4UKpQfnoyV0Z9Czn9+Lo2/jLIt4/AXLTn+oVZxlQ7Ng8bzcNkR+3DqLJ08kNr8jRmdNQ==} + dependencies: + '@vitest/spy': 0.28.5 + '@vitest/utils': 0.28.5 + chai: 4.3.7 + dev: true + + /@vitest/runner@0.28.5: + resolution: {integrity: sha512-NKkHtLB+FGjpp5KmneQjTcPLWPTDfB7ie+MmF1PnUBf/tGe2OjGxWyB62ySYZ25EYp9krR5Bw0YPLS/VWh1QiA==} + dependencies: + '@vitest/utils': 0.28.5 + p-limit: 4.0.0 + pathe: 1.1.1 + dev: true + + /@vitest/spy@0.28.5: + resolution: {integrity: sha512-7if6rsHQr9zbmvxN7h+gGh2L9eIIErgf8nSKYDlg07HHimCxp4H6I/X/DPXktVPPLQfiZ1Cw2cbDIx9fSqDjGw==} + dependencies: + tinyspy: 1.0.2 + dev: true + + /@vitest/utils@0.28.5: + resolution: {integrity: sha512-UyZdYwdULlOa4LTUSwZ+Paz7nBHGTT72jKwdFSV4IjHF1xsokp+CabMdhjvVhYwkLfO88ylJT46YMilnkSARZA==} + dependencies: + cli-truncate: 3.1.0 + diff: 5.1.0 + loupe: 2.3.6 + picocolors: 1.0.0 + pretty-format: 27.5.1 + dev: true + /@vue/compiler-core@3.2.47: resolution: {integrity: sha512-p4D7FDnQb7+YJmO2iPEv0SQNeNzcbHdGByJDsT4lynf63AFkOTFN07HsiRSvjGo0QrxR/o3d0hUyNCUnBU2Tig==} dependencies: @@ -6885,23 +6917,18 @@ packages: mime-types: 2.1.35 negotiator: 0.6.3 - /acorn-jsx@5.3.2(acorn@8.8.1): + /acorn-jsx@5.3.2(acorn@8.9.0): resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - acorn: 8.8.1 + acorn: 8.9.0 /acorn-walk@8.2.0: resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} engines: {node: '>=0.4.0'} dev: true - /acorn@8.8.1: - resolution: {integrity: sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==} - engines: {node: '>=0.4.0'} - hasBin: true - /acorn@8.9.0: resolution: {integrity: sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==} engines: {node: '>=0.4.0'} @@ -7983,6 +8010,14 @@ packages: '@colors/colors': 1.5.0 dev: true + /cli-truncate@3.1.0: + resolution: {integrity: sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + slice-ansi: 5.0.0 + string-width: 5.1.2 + dev: true + /cli-width@3.0.0: resolution: {integrity: sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==} engines: {node: '>= 10'} @@ -8716,6 +8751,11 @@ packages: engines: {node: '>= 10.14.2'} dev: true + /diff@5.1.0: + resolution: {integrity: sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==} + engines: {node: '>=0.3.1'} + dev: true + /dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} @@ -9820,8 +9860,8 @@ packages: resolution: {integrity: sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - acorn: 8.8.1 - acorn-jsx: 5.3.2(acorn@8.8.1) + acorn: 8.9.0 + acorn-jsx: 5.3.2(acorn@8.9.0) eslint-visitor-keys: 3.3.0 /esprima@4.0.1: @@ -11276,6 +11316,11 @@ packages: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} + /is-fullwidth-code-point@4.0.0: + resolution: {integrity: sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==} + engines: {node: '>=12'} + dev: true + /is-generator-function@1.0.10: resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==} engines: {node: '>= 0.4'} @@ -13427,7 +13472,7 @@ packages: resolution: {integrity: sha512-cwzBrBfwGC1gYJyfcy8TcZU1f+dbH/T+TuOhtYP2wLv/Fb51/uV7HJQfBPtEupZ2ORLRU1EKFS/QfS3eo9+kBQ==} dependencies: acorn: 8.9.0 - pathe: 1.0.0 + pathe: 1.1.1 pkg-types: 1.0.1 ufo: 1.0.1 dev: true @@ -14192,6 +14237,13 @@ packages: dependencies: yocto-queue: 0.1.0 + /p-limit@4.0.0: + resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + yocto-queue: 1.0.0 + dev: true + /p-locate@3.0.0: resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==} engines: {node: '>=6'} @@ -14351,12 +14403,8 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} - /pathe@0.2.0: - resolution: {integrity: sha512-sTitTPYnn23esFR3RlqYBWn4c45WGeLcsKzQiUpXJAyfcWkolvlYpV8FLo7JishK946oQwMFUCHXQ9AjGPKExw==} - dev: true - - /pathe@1.0.0: - resolution: {integrity: sha512-nPdMG0Pd09HuSsr7QOKUXO2Jr9eqaDiZvDwdyIhNG5SHYujkQHYKDfGQkulBxvbDHz8oHLsTgKN86LSwYzSHAg==} + /pathe@1.1.1: + resolution: {integrity: sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==} dev: true /pathval@1.1.1: @@ -14406,7 +14454,7 @@ packages: dependencies: jsonc-parser: 3.2.0 mlly: 1.1.0 - pathe: 1.0.0 + pathe: 1.1.1 dev: true /pkg-up@3.1.0: @@ -15990,6 +16038,14 @@ packages: is-fullwidth-code-point: 2.0.0 dev: false + /slice-ansi@5.0.0: + resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==} + engines: {node: '>=12'} + dependencies: + ansi-styles: 6.2.1 + is-fullwidth-code-point: 4.0.0 + dev: true + /slugify@1.6.5: resolution: {integrity: sha512-8mo9bslnBO3tr5PEVFzMPIWwWnipGS0xVbYf65zxDqfNwmzYn1LpiKNrR6DlClusuvo+hDHd1zKpmfAe83NQSQ==} engines: {node: '>=8.0.0'} @@ -16331,6 +16387,10 @@ packages: engines: {node: '>= 0.8'} dev: false + /std-env@3.3.3: + resolution: {integrity: sha512-Rz6yejtVyWnVjC1RFvNmYL10kgjC49EOghxWn0RFqlCHGFpQx+Xe7yW3I4ceK1SGrWIGMjD5Kbue8W/udkbMJg==} + dev: true + /stop-iteration-iterator@1.0.0: resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} engines: {node: '>= 0.4'} @@ -16506,7 +16566,7 @@ packages: /strip-literal@1.0.0: resolution: {integrity: sha512-5o4LsH1lzBzO9UFH63AJ2ad2/S2AVx6NtjOcaz+VTT2h1RiRvbipW72z8M/lxEhcPHDBQwpDrnTF7sXy/7OwCQ==} dependencies: - acorn: 8.8.1 + acorn: 8.9.0 dev: true /strnum@1.0.5: @@ -16962,8 +17022,8 @@ packages: resolution: {integrity: sha512-hGYWYBMPr7p4g5IarQE7XhlyWveh1EKhy4wUBS1LrHXCKYgvz+4/jCqgmJqZxxldesn05vccrtME2RLLZNW7iA==} dev: true - /tinypool@0.3.0: - resolution: {integrity: sha512-NX5KeqHOBZU6Bc0xj9Vr5Szbb1j8tUHIeD18s41aDJaPeC5QTdEhK0SpdpUrZlj2nv5cctNcSjaKNanXlfcVEQ==} + /tinypool@0.3.1: + resolution: {integrity: sha512-zLA1ZXlstbU2rlpA4CIeVaqvWq41MTWqLY3FfsAXgC8+f7Pk7zroaJQxDgxn1xNudKW6Kmj4808rPFShUlIRmQ==} engines: {node: '>=14.0.0'} dev: true @@ -17543,15 +17603,15 @@ packages: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} - /vite-node@0.27.1(@types/node@18.16.0): - resolution: {integrity: sha512-d6+ue/3NzsfndWaPbYh/bFkHbmAWfDXI4B874zRx+WREnG6CUHUbBC8lKaRYZjeR6gCPN5m1aVNNRXBYICA9XA==} + /vite-node@0.28.5(@types/node@18.16.0): + resolution: {integrity: sha512-LmXb9saMGlrMZbXTvOveJKwMTBTNUH66c8rJnQ0ZPNX+myPEol64+szRzXtV5ORb0Hb/91yq+/D3oERoyAt6LA==} engines: {node: '>=v14.16.0'} hasBin: true dependencies: cac: 6.7.14 debug: 4.3.4 mlly: 1.1.0 - pathe: 0.2.0 + pathe: 1.1.1 picocolors: 1.0.0 source-map: 0.6.1 source-map-support: 0.5.21 @@ -17663,8 +17723,8 @@ packages: dependencies: vite: 4.2.0(@types/node@18.16.0) - /vitest@0.27.1(jsdom@22.0.0): - resolution: {integrity: sha512-1sIpQ1DVFTEn7c1ici1XHcVfdU4nKiBmPtPAtGKJJJLuJjojTv/OHGgcf69P57alM4ty8V4NMv+7Yoi5Cxqx9g==} + /vitest@0.28.5(jsdom@22.0.0): + resolution: {integrity: sha512-pyCQ+wcAOX7mKMcBNkzDwEHRGqQvHUl0XnoHR+3Pb1hytAHISgSxv9h0gUiSiYtISXUU3rMrKiKzFYDrI6ZIHA==} engines: {node: '>=v14.16.0'} hasBin: true peerDependencies: @@ -17688,21 +17748,27 @@ packages: '@types/chai': 4.3.4 '@types/chai-subset': 1.3.3 '@types/node': 18.16.0 - acorn: 8.8.1 + '@vitest/expect': 0.28.5 + '@vitest/runner': 0.28.5 + '@vitest/spy': 0.28.5 + '@vitest/utils': 0.28.5 + acorn: 8.9.0 acorn-walk: 8.2.0 cac: 6.7.14 chai: 4.3.7 debug: 4.3.4 jsdom: 22.0.0 local-pkg: 0.4.2 + pathe: 1.1.1 picocolors: 1.0.0 source-map: 0.6.1 + std-env: 3.3.3 strip-literal: 1.0.0 tinybench: 2.3.1 - tinypool: 0.3.0 + tinypool: 0.3.1 tinyspy: 1.0.2 vite: 4.2.0(@types/node@18.16.0) - vite-node: 0.27.1(@types/node@18.16.0) + vite-node: 0.28.5(@types/node@18.16.0) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -18161,5 +18227,10 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + /yocto-queue@1.0.0: + resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} + engines: {node: '>=12.20'} + dev: true + /zod@3.21.4: resolution: {integrity: sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==} From 58fca7b53e52e1bd076d713046c1741cd6a6dfd7 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sun, 16 Jul 2023 16:33:49 +1000 Subject: [PATCH 2/3] Update to 0.33.0 --- package.json | 4 +- pnpm-lock.yaml | 203 +++++++++++++++++++++++-------------------------- 2 files changed, 97 insertions(+), 110 deletions(-) diff --git a/package.json b/package.json index 6e715df996..34674b2583 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "@types/testing-library__jest-dom": "^5.14.5", "@typescript-eslint/eslint-plugin": "^5.54.0", "@typescript-eslint/parser": "^5.54.0", - "@vitest/coverage-istanbul": "^0.28.5", + "@vitest/coverage-istanbul": "^0.33.0", "axios": "^1.4.0", "babel-preset-solid": "^1.6.10", "chalk": "^5.2.0", @@ -96,7 +96,7 @@ "type-fest": "^3.13.0", "typescript": "^5.0.4", "vite": "^4.2.0", - "vitest": "^0.28.5", + "vitest": "^0.33.0", "vue": "^3.2.47" }, "pnpm": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f7d182b1ca..97d54150c7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -91,8 +91,8 @@ importers: specifier: ^5.54.0 version: 5.54.0(eslint@8.34.0)(typescript@5.0.4) '@vitest/coverage-istanbul': - specifier: ^0.28.5 - version: 0.28.5(jsdom@22.0.0) + specifier: ^0.33.0 + version: 0.33.0(vitest@0.33.0) axios: specifier: ^1.4.0 version: 1.4.0 @@ -208,8 +208,8 @@ importers: specifier: ^4.2.0 version: 4.2.0(@types/node@18.16.0) vitest: - specifier: ^0.28.5 - version: 0.28.5(jsdom@22.0.0) + specifier: ^0.33.0 + version: 0.33.0(jsdom@22.0.0) vue: specifier: ^3.2.47 version: 3.2.47 @@ -4627,7 +4627,6 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@sinclair/typebox': 0.25.24 - dev: false /@jest/types@26.6.2: resolution: {integrity: sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ==} @@ -4667,14 +4666,14 @@ packages: engines: {node: '>=6.0.0'} dependencies: '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.14 + '@jridgewell/sourcemap-codec': 1.4.15 /@jridgewell/gen-mapping@0.3.2: resolution: {integrity: sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==} engines: {node: '>=6.0.0'} dependencies: '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.14 + '@jridgewell/sourcemap-codec': 1.4.15 '@jridgewell/trace-mapping': 0.3.14 /@jridgewell/resolve-uri@3.1.0: @@ -5877,7 +5876,6 @@ packages: /@sinclair/typebox@0.25.24: resolution: {integrity: sha512-XJfwUVUKDHF5ugKwIcxEgc9k8b7HbznCp6eUfWgu710hMPNIO4aw4/zB5RogDQz8nd6gyCDpU9O/m6qYEWY6yQ==} - dev: false /@sinonjs/commons@3.0.0: resolution: {integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==} @@ -6092,7 +6090,7 @@ packages: debug: 4.3.4 deepmerge: 4.3.1 kleur: 4.1.5 - magic-string: 0.30.0 + magic-string: 0.30.1 svelte: 4.0.0 svelte-hmr: 0.15.1(svelte@4.0.0) vite: 4.2.0(@types/node@18.16.0) @@ -6290,11 +6288,11 @@ packages: /@types/chai-subset@1.3.3: resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} dependencies: - '@types/chai': 4.3.4 + '@types/chai': 4.3.5 dev: true - /@types/chai@4.3.4: - resolution: {integrity: sha512-KnRanxnpfpjUTqTCXslZSEdLfXExwgNxYPdiO2WGUj8+HDjFi8R3k5RVKPeSCzLjCcshCAtVO2QBbVuAV4kTnw==} + /@types/chai@4.3.5: + resolution: {integrity: sha512-mEo1sAde+UCE6b2hxn332f1g1E8WfYRu6p5SvTKr2ZKC1f7gFJXk4h5PyGP9Dt6gCaG8y8XhwnXWC6Iy2cmBng==} dev: true /@types/cookie@0.4.1: @@ -6711,8 +6709,10 @@ packages: vue: 3.2.47 dev: true - /@vitest/coverage-istanbul@0.28.5(jsdom@22.0.0): - resolution: {integrity: sha512-na1pkr3AVrdFflzuBXsBh1MvBfhSMrv4nfd4N8rm0HEJlvlbQc+GiqNwtwzfO8TPsXxcjNphSIMp5wvCy+0xrQ==} + /@vitest/coverage-istanbul@0.33.0(vitest@0.33.0): + resolution: {integrity: sha512-DGv6ybomCbLFGlNOGHgVCsaqHPWJWLp8JPrwzZo8I4vZ/O3muqTyZq5R52CZl0ENqgjFGWjra7yNPFUgxKf5pw==} + peerDependencies: + vitest: '>=0.32.0 <1' dependencies: istanbul-lib-coverage: 3.2.0 istanbul-lib-instrument: 5.2.1 @@ -6720,51 +6720,47 @@ packages: istanbul-lib-source-maps: 4.0.1 istanbul-reports: 3.1.5 test-exclude: 6.0.0 - vitest: 0.28.5(jsdom@22.0.0) + vitest: 0.33.0(jsdom@22.0.0) transitivePeerDependencies: - - '@edge-runtime/vm' - - '@vitest/browser' - - '@vitest/ui' - - happy-dom - - jsdom - - less - - sass - - stylus - - sugarss - supports-color - - terser dev: true - /@vitest/expect@0.28.5: - resolution: {integrity: sha512-gqTZwoUTwepwGIatnw4UKpQfnoyV0Z9Czn9+Lo2/jLIt4/AXLTn+oVZxlQ7Ng8bzcNkR+3DqLJ08kNr8jRmdNQ==} + /@vitest/expect@0.33.0: + resolution: {integrity: sha512-sVNf+Gla3mhTCxNJx+wJLDPp/WcstOe0Ksqz4Vec51MmgMth/ia0MGFEkIZmVGeTL5HtjYR4Wl/ZxBxBXZJTzQ==} dependencies: - '@vitest/spy': 0.28.5 - '@vitest/utils': 0.28.5 + '@vitest/spy': 0.33.0 + '@vitest/utils': 0.33.0 chai: 4.3.7 dev: true - /@vitest/runner@0.28.5: - resolution: {integrity: sha512-NKkHtLB+FGjpp5KmneQjTcPLWPTDfB7ie+MmF1PnUBf/tGe2OjGxWyB62ySYZ25EYp9krR5Bw0YPLS/VWh1QiA==} + /@vitest/runner@0.33.0: + resolution: {integrity: sha512-UPfACnmCB6HKRHTlcgCoBh6ppl6fDn+J/xR8dTufWiKt/74Y9bHci5CKB8tESSV82zKYtkBJo9whU3mNvfaisg==} dependencies: - '@vitest/utils': 0.28.5 + '@vitest/utils': 0.33.0 p-limit: 4.0.0 pathe: 1.1.1 dev: true - /@vitest/spy@0.28.5: - resolution: {integrity: sha512-7if6rsHQr9zbmvxN7h+gGh2L9eIIErgf8nSKYDlg07HHimCxp4H6I/X/DPXktVPPLQfiZ1Cw2cbDIx9fSqDjGw==} + /@vitest/snapshot@0.33.0: + resolution: {integrity: sha512-tJjrl//qAHbyHajpFvr8Wsk8DIOODEebTu7pgBrP07iOepR5jYkLFiqLq2Ltxv+r0uptUb4izv1J8XBOwKkVYA==} dependencies: - tinyspy: 1.0.2 + magic-string: 0.30.1 + pathe: 1.1.1 + pretty-format: 29.5.0 + dev: true + + /@vitest/spy@0.33.0: + resolution: {integrity: sha512-Kv+yZ4hnH1WdiAkPUQTpRxW8kGtH8VRTnus7ZTGovFYM1ZezJpvGtb9nPIjPnptHbsyIAxYZsEpVPYgtpjGnrg==} + dependencies: + tinyspy: 2.1.1 dev: true - /@vitest/utils@0.28.5: - resolution: {integrity: sha512-UyZdYwdULlOa4LTUSwZ+Paz7nBHGTT72jKwdFSV4IjHF1xsokp+CabMdhjvVhYwkLfO88ylJT46YMilnkSARZA==} + /@vitest/utils@0.33.0: + resolution: {integrity: sha512-pF1w22ic965sv+EN6uoePkAOTkAPWM03Ri/jXNyMIKBb/XHLDPfhLvf/Fa9g0YECevAIz56oVYXhodLvLQ/awA==} dependencies: - cli-truncate: 3.1.0 - diff: 5.1.0 + diff-sequences: 29.4.3 loupe: 2.3.6 - picocolors: 1.0.0 - pretty-format: 27.5.1 + pretty-format: 29.5.0 dev: true /@vue/compiler-core@3.2.47: @@ -8010,14 +8006,6 @@ packages: '@colors/colors': 1.5.0 dev: true - /cli-truncate@3.1.0: - resolution: {integrity: sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - slice-ansi: 5.0.0 - string-width: 5.1.2 - dev: true - /cli-width@3.0.0: resolution: {integrity: sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==} engines: {node: '>= 10'} @@ -8751,9 +8739,9 @@ packages: engines: {node: '>= 10.14.2'} dev: true - /diff@5.1.0: - resolution: {integrity: sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==} - engines: {node: '>=0.3.1'} + /diff-sequences@29.4.3: + resolution: {integrity: sha512-ofrBgwpPhCD85kMKtE9RYFFq6OC1A89oW2vvgWZNCwxrUpRUILopY7lsYyMDSjc8g6U6aiO0Qubg6r4Wgt5ZnA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dev: true /dir-glob@3.0.1: @@ -11316,11 +11304,6 @@ packages: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} - /is-fullwidth-code-point@4.0.0: - resolution: {integrity: sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==} - engines: {node: '>=12'} - dev: true - /is-generator-function@1.0.10: resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==} engines: {node: '>= 0.4'} @@ -12276,8 +12259,8 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dev: true - /local-pkg@0.4.2: - resolution: {integrity: sha512-mlERgSPrbxU3BP4qBqAvvwlgW4MTg78iwJdGGnv7kibKjWcJksrG3t6LB5lXI93wXRDvG4NpUgJFmTG4T6rdrg==} + /local-pkg@0.4.3: + resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==} engines: {node: '>=14'} dev: true @@ -12426,7 +12409,14 @@ packages: resolution: {integrity: sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==} engines: {node: '>=12'} dependencies: - '@jridgewell/sourcemap-codec': 1.4.14 + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true + + /magic-string@0.30.1: + resolution: {integrity: sha512-mbVKXPmS0z0G4XqFDCTllmDQ6coZzn94aMlb0o/A4HEHJCKcanlDZwYJgwnkmgD3jyWhUgj9VsPrfd972yPffA==} + engines: {node: '>=12'} + dependencies: + '@jridgewell/sourcemap-codec': 1.4.15 dev: true /make-dir@2.1.0: @@ -13468,13 +13458,13 @@ packages: engines: {node: '>=10'} hasBin: true - /mlly@1.1.0: - resolution: {integrity: sha512-cwzBrBfwGC1gYJyfcy8TcZU1f+dbH/T+TuOhtYP2wLv/Fb51/uV7HJQfBPtEupZ2ORLRU1EKFS/QfS3eo9+kBQ==} + /mlly@1.4.0: + resolution: {integrity: sha512-ua8PAThnTwpprIaU47EPeZ/bPUVp2QYBbWMphUQpVdBI3Lgqzm5KZQ45Agm3YJedHXaIHl6pBGabaLSUPPSptg==} dependencies: acorn: 8.9.0 pathe: 1.1.1 - pkg-types: 1.0.1 - ufo: 1.0.1 + pkg-types: 1.0.3 + ufo: 1.1.2 dev: true /mri@1.2.0: @@ -14449,11 +14439,11 @@ packages: dependencies: find-up: 3.0.0 - /pkg-types@1.0.1: - resolution: {integrity: sha512-jHv9HB+Ho7dj6ItwppRDDl0iZRYBD0jsakHXtFgoLr+cHSF6xC+QL54sJmWxyGxOLYSHm0afhXhXcQDQqH9z8g==} + /pkg-types@1.0.3: + resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==} dependencies: jsonc-parser: 3.2.0 - mlly: 1.1.0 + mlly: 1.4.0 pathe: 1.1.1 dev: true @@ -14664,7 +14654,6 @@ packages: '@jest/schemas': 29.4.3 ansi-styles: 5.2.0 react-is: 18.2.0 - dev: false /process-nextick-args@2.0.1: resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} @@ -14904,7 +14893,6 @@ packages: /react-is@18.2.0: resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} - dev: false /react-native-codegen@0.0.6(@babel/preset-env@7.21.5): resolution: {integrity: sha512-cMvrUelD81wiPitEPiwE/TCNscIVauXxmt4NTGcy18HrUd0WRWXfYzAQGXm0eI87u3NMudNhqFj2NISJenxQHg==} @@ -16038,14 +16026,6 @@ packages: is-fullwidth-code-point: 2.0.0 dev: false - /slice-ansi@5.0.0: - resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==} - engines: {node: '>=12'} - dependencies: - ansi-styles: 6.2.1 - is-fullwidth-code-point: 4.0.0 - dev: true - /slugify@1.6.5: resolution: {integrity: sha512-8mo9bslnBO3tr5PEVFzMPIWwWnipGS0xVbYf65zxDqfNwmzYn1LpiKNrR6DlClusuvo+hDHd1zKpmfAe83NQSQ==} engines: {node: '>=8.0.0'} @@ -16563,8 +16543,8 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} - /strip-literal@1.0.0: - resolution: {integrity: sha512-5o4LsH1lzBzO9UFH63AJ2ad2/S2AVx6NtjOcaz+VTT2h1RiRvbipW72z8M/lxEhcPHDBQwpDrnTF7sXy/7OwCQ==} + /strip-literal@1.0.1: + resolution: {integrity: sha512-QZTsipNpa2Ppr6v1AmJHESqJ3Uz247MUS0OjrnnZjFAvEoWqxuyFuXn2xLgMtRnijJShAa1HL0gtJyUs7u7n3Q==} dependencies: acorn: 8.9.0 dev: true @@ -17018,17 +16998,17 @@ packages: resolution: {integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==} dev: false - /tinybench@2.3.1: - resolution: {integrity: sha512-hGYWYBMPr7p4g5IarQE7XhlyWveh1EKhy4wUBS1LrHXCKYgvz+4/jCqgmJqZxxldesn05vccrtME2RLLZNW7iA==} + /tinybench@2.5.0: + resolution: {integrity: sha512-kRwSG8Zx4tjF9ZiyH4bhaebu+EDz1BOx9hOigYHlUW4xxI/wKIUQUqo018UlU4ar6ATPBsaMrdbKZ+tmPdohFA==} dev: true - /tinypool@0.3.1: - resolution: {integrity: sha512-zLA1ZXlstbU2rlpA4CIeVaqvWq41MTWqLY3FfsAXgC8+f7Pk7zroaJQxDgxn1xNudKW6Kmj4808rPFShUlIRmQ==} + /tinypool@0.6.0: + resolution: {integrity: sha512-FdswUUo5SxRizcBc6b1GSuLpLjisa8N8qMyYoP3rl+bym+QauhtJP5bvZY1ytt8krKGmMLYIRl36HBZfeAoqhQ==} engines: {node: '>=14.0.0'} dev: true - /tinyspy@1.0.2: - resolution: {integrity: sha512-bSGlgwLBYf7PnUsQ6WOc6SJ3pGOcd+d8AA6EUnLDDM0kWEstC1JIlSZA3UNliDXhd9ABoS7hiRBDCu+XP/sf1Q==} + /tinyspy@2.1.1: + resolution: {integrity: sha512-XPJL2uSzcOyBMky6OFrusqWlzfFrXtE0hPuMgW8A2HmaqrPo4ZQHRN/V0QXN3FSjKxpsbRrFc5LI7KOwBsT1/w==} engines: {node: '>=14.0.0'} dev: true @@ -17331,8 +17311,8 @@ packages: resolution: {integrity: sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==} dev: false - /ufo@1.0.1: - resolution: {integrity: sha512-boAm74ubXHY7KJQZLlXrtMz52qFvpsbOxDcZOnw/Wf+LS4Mmyu7JxmzD4tDLtUQtmZECypJ0FrCz4QIe6dvKRA==} + /ufo@1.1.2: + resolution: {integrity: sha512-TrY6DsjTQQgyS3E3dBaOXf0TpPD8u9FVrVYmKVegJuFw51n/YB9XPt+U6ydzFG5ZIN7+DIjPbNmXoBj9esYhgQ==} dev: true /uglify-es@3.3.9: @@ -17603,18 +17583,16 @@ packages: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} - /vite-node@0.28.5(@types/node@18.16.0): - resolution: {integrity: sha512-LmXb9saMGlrMZbXTvOveJKwMTBTNUH66c8rJnQ0ZPNX+myPEol64+szRzXtV5ORb0Hb/91yq+/D3oERoyAt6LA==} - engines: {node: '>=v14.16.0'} + /vite-node@0.33.0(@types/node@18.16.0): + resolution: {integrity: sha512-19FpHYbwWWxDr73ruNahC+vtEdza52kA90Qb3La98yZ0xULqV8A5JLNPUff0f5zID4984tW7l3DH2przTJUZSw==} + engines: {node: '>=v14.18.0'} hasBin: true dependencies: cac: 6.7.14 debug: 4.3.4 - mlly: 1.1.0 + mlly: 1.4.0 pathe: 1.1.1 picocolors: 1.0.0 - source-map: 0.6.1 - source-map-support: 0.5.21 vite: 4.2.0(@types/node@18.16.0) transitivePeerDependencies: - '@types/node' @@ -17723,9 +17701,9 @@ packages: dependencies: vite: 4.2.0(@types/node@18.16.0) - /vitest@0.28.5(jsdom@22.0.0): - resolution: {integrity: sha512-pyCQ+wcAOX7mKMcBNkzDwEHRGqQvHUl0XnoHR+3Pb1hytAHISgSxv9h0gUiSiYtISXUU3rMrKiKzFYDrI6ZIHA==} - engines: {node: '>=v14.16.0'} + /vitest@0.33.0(jsdom@22.0.0): + resolution: {integrity: sha512-1CxaugJ50xskkQ0e969R/hW47za4YXDUfWJDxip1hwbnhUjYolpfUn2AMOulqG/Dtd9WYAtkHmM/m3yKVrEejQ==} + engines: {node: '>=v14.18.0'} hasBin: true peerDependencies: '@edge-runtime/vm': '*' @@ -17733,6 +17711,9 @@ packages: '@vitest/ui': '*' happy-dom: '*' jsdom: '*' + playwright: '*' + safaridriver: '*' + webdriverio: '*' peerDependenciesMeta: '@edge-runtime/vm': optional: true @@ -17744,31 +17725,37 @@ packages: optional: true jsdom: optional: true + playwright: + optional: true + safaridriver: + optional: true + webdriverio: + optional: true dependencies: - '@types/chai': 4.3.4 + '@types/chai': 4.3.5 '@types/chai-subset': 1.3.3 '@types/node': 18.16.0 - '@vitest/expect': 0.28.5 - '@vitest/runner': 0.28.5 - '@vitest/spy': 0.28.5 - '@vitest/utils': 0.28.5 + '@vitest/expect': 0.33.0 + '@vitest/runner': 0.33.0 + '@vitest/snapshot': 0.33.0 + '@vitest/spy': 0.33.0 + '@vitest/utils': 0.33.0 acorn: 8.9.0 acorn-walk: 8.2.0 cac: 6.7.14 chai: 4.3.7 debug: 4.3.4 jsdom: 22.0.0 - local-pkg: 0.4.2 + local-pkg: 0.4.3 + magic-string: 0.30.1 pathe: 1.1.1 picocolors: 1.0.0 - source-map: 0.6.1 std-env: 3.3.3 - strip-literal: 1.0.0 - tinybench: 2.3.1 - tinypool: 0.3.1 - tinyspy: 1.0.2 + strip-literal: 1.0.1 + tinybench: 2.5.0 + tinypool: 0.6.0 vite: 4.2.0(@types/node@18.16.0) - vite-node: 0.28.5(@types/node@18.16.0) + vite-node: 0.33.0(@types/node@18.16.0) why-is-node-running: 2.2.2 transitivePeerDependencies: - less From 1133e9ce656dff65390d65bbe4917bbb3c2e1916 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sun, 16 Jul 2023 16:45:07 +1000 Subject: [PATCH 3/3] Update to vite 4.4 --- examples/react/algolia/package.json | 2 +- .../react/basic-graphql-request/package.json | 2 +- examples/react/basic-typescript/package.json | 2 +- examples/react/basic/package.json | 2 +- .../react/default-query-function/package.json | 2 +- examples/react/offline/package.json | 2 +- examples/react/playground/package.json | 2 +- examples/react/react-router/package.json | 2 +- examples/react/rick-morty/package.json | 2 +- examples/react/simple/package.json | 2 +- examples/react/star-wars/package.json | 2 +- examples/react/suspense/package.json | 2 +- .../solid/basic-graphql-request/package.json | 2 +- examples/solid/basic-typescript/package.json | 2 +- .../solid/default-query-function/package.json | 2 +- examples/solid/simple/package.json | 2 +- .../solid/solid-start-streaming/package.json | 2 +- examples/svelte/auto-refetching/package.json | 2 +- examples/svelte/basic/package.json | 2 +- .../load-more-infinite-scroll/package.json | 2 +- .../package.json | 2 +- .../src/routes/api/data/+server.ts | 2 +- examples/svelte/playground/package.json | 2 +- examples/svelte/simple/package.json | 2 +- examples/svelte/ssr/package.json | 2 +- examples/svelte/star-wars/package.json | 2 +- examples/vue/2.6-basic/package.json | 2 +- examples/vue/basic/package.json | 2 +- examples/vue/dependent-queries/package.json | 2 +- examples/vue/persister/package.json | 2 +- package.json | 2 +- packages/query-core/src/tests/utils.ts | 7 +- packages/react-query/src/__tests__/utils.tsx | 4 +- packages/solid-query/src/__tests__/utils.tsx | 4 +- packages/svelte-query-devtools/package.json | 2 +- packages/svelte-query/package.json | 2 +- packages/svelte-query/src/__tests__/utils.ts | 4 +- .../vue-query/src/__mocks__/useBaseQuery.ts | 3 +- .../vue-query/src/__mocks__/useQueryClient.ts | 3 +- pnpm-lock.yaml | 518 +++++------------- 40 files changed, 198 insertions(+), 411 deletions(-) diff --git a/examples/react/algolia/package.json b/examples/react/algolia/package.json index b567646f6a..9f528db308 100644 --- a/examples/react/algolia/package.json +++ b/examples/react/algolia/package.json @@ -22,7 +22,7 @@ "@types/react-dom": "^18.2.4", "@vitejs/plugin-react": "^4.0.0", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "browserslist": { "production": [ diff --git a/examples/react/basic-graphql-request/package.json b/examples/react/basic-graphql-request/package.json index 71f21ee82d..4a94a12f2e 100644 --- a/examples/react/basic-graphql-request/package.json +++ b/examples/react/basic-graphql-request/package.json @@ -17,7 +17,7 @@ }, "devDependencies": { "@vitejs/plugin-react": "^4.0.0", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "browserslist": { "production": [ diff --git a/examples/react/basic-typescript/package.json b/examples/react/basic-typescript/package.json index 18189e0d5b..76ec2a8d6f 100644 --- a/examples/react/basic-typescript/package.json +++ b/examples/react/basic-typescript/package.json @@ -24,7 +24,7 @@ "eslint": "^8.34.0", "eslint-config-prettier": "^8.8.0", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "browserslist": { "production": [ diff --git a/examples/react/basic/package.json b/examples/react/basic/package.json index fb2946a1ff..8ffaabbc1c 100644 --- a/examples/react/basic/package.json +++ b/examples/react/basic/package.json @@ -17,7 +17,7 @@ "devDependencies": { "@tanstack/eslint-plugin-query": "^5.0.0-alpha.74", "@vitejs/plugin-react": "^4.0.0", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "browserslist": { "production": [ diff --git a/examples/react/default-query-function/package.json b/examples/react/default-query-function/package.json index 9bad95ee17..3d3e9728b8 100644 --- a/examples/react/default-query-function/package.json +++ b/examples/react/default-query-function/package.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@vitejs/plugin-react": "^4.0.0", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "browserslist": { "production": [ diff --git a/examples/react/offline/package.json b/examples/react/offline/package.json index 05a443b432..9f00843500 100644 --- a/examples/react/offline/package.json +++ b/examples/react/offline/package.json @@ -21,7 +21,7 @@ }, "devDependencies": { "@vitejs/plugin-react": "^4.0.0", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "browserslist": { "production": [ diff --git a/examples/react/playground/package.json b/examples/react/playground/package.json index 28187ec7c5..1cf1b26a77 100644 --- a/examples/react/playground/package.json +++ b/examples/react/playground/package.json @@ -15,7 +15,7 @@ }, "devDependencies": { "@vitejs/plugin-react": "^4.0.0", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "browserslist": { "production": [ diff --git a/examples/react/react-router/package.json b/examples/react/react-router/package.json index b4f5fc2c0f..babd748ee0 100644 --- a/examples/react/react-router/package.json +++ b/examples/react/react-router/package.json @@ -21,7 +21,7 @@ }, "devDependencies": { "@vitejs/plugin-react": "^4.0.0", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "browserslist": { "production": [ diff --git a/examples/react/rick-morty/package.json b/examples/react/rick-morty/package.json index 9512fd3b09..e3ab9b30f4 100644 --- a/examples/react/rick-morty/package.json +++ b/examples/react/rick-morty/package.json @@ -21,7 +21,7 @@ }, "devDependencies": { "@vitejs/plugin-react": "^4.0.0", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "browserslist": { "production": [ diff --git a/examples/react/simple/package.json b/examples/react/simple/package.json index 0c92ae2efe..d767102cc2 100644 --- a/examples/react/simple/package.json +++ b/examples/react/simple/package.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@vitejs/plugin-react": "^4.0.0", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "browserslist": { "production": [ diff --git a/examples/react/star-wars/package.json b/examples/react/star-wars/package.json index 8d922881cc..fd1038b7e1 100644 --- a/examples/react/star-wars/package.json +++ b/examples/react/star-wars/package.json @@ -21,7 +21,7 @@ }, "devDependencies": { "@vitejs/plugin-react": "^4.0.0", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "browserslist": { "production": [ diff --git a/examples/react/suspense/package.json b/examples/react/suspense/package.json index 15dfff3e79..fa17ce8637 100644 --- a/examples/react/suspense/package.json +++ b/examples/react/suspense/package.json @@ -12,7 +12,7 @@ }, "devDependencies": { "@vitejs/plugin-react": "^4.0.0", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "scripts": { "dev": "vite", diff --git a/examples/solid/basic-graphql-request/package.json b/examples/solid/basic-graphql-request/package.json index b72335ca4c..d66063e0b5 100644 --- a/examples/solid/basic-graphql-request/package.json +++ b/examples/solid/basic-graphql-request/package.json @@ -16,7 +16,7 @@ }, "devDependencies": { "typescript": "^5.0.4", - "vite": "^4.2.0", + "vite": "^4.4.4", "vite-plugin-solid": "^2.5.0" } } diff --git a/examples/solid/basic-typescript/package.json b/examples/solid/basic-typescript/package.json index 6aa14c19b9..fd3cd7fa6d 100644 --- a/examples/solid/basic-typescript/package.json +++ b/examples/solid/basic-typescript/package.json @@ -14,7 +14,7 @@ }, "devDependencies": { "typescript": "^5.0.4", - "vite": "^4.2.0", + "vite": "^4.4.4", "vite-plugin-solid": "^2.5.0" } } diff --git a/examples/solid/default-query-function/package.json b/examples/solid/default-query-function/package.json index 99c837bfff..820fcb22f1 100644 --- a/examples/solid/default-query-function/package.json +++ b/examples/solid/default-query-function/package.json @@ -14,7 +14,7 @@ }, "devDependencies": { "typescript": "^5.0.4", - "vite": "^4.2.0", + "vite": "^4.4.4", "vite-plugin-solid": "^2.5.0" } } diff --git a/examples/solid/simple/package.json b/examples/solid/simple/package.json index c4e26618da..a10f07cbb0 100644 --- a/examples/solid/simple/package.json +++ b/examples/solid/simple/package.json @@ -15,7 +15,7 @@ "devDependencies": { "@tanstack/eslint-plugin-query": "^5.0.0-alpha.74", "typescript": "^5.0.4", - "vite": "^4.2.0", + "vite": "^4.4.4", "vite-plugin-solid": "^2.5.0" } } diff --git a/examples/solid/solid-start-streaming/package.json b/examples/solid/solid-start-streaming/package.json index a0b0fab674..9c874bc413 100644 --- a/examples/solid/solid-start-streaming/package.json +++ b/examples/solid/solid-start-streaming/package.json @@ -21,7 +21,7 @@ "postcss": "^8.4.23", "solid-start-node": "^0.2.0", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "engines": { "node": ">=16.8" diff --git a/examples/svelte/auto-refetching/package.json b/examples/svelte/auto-refetching/package.json index 0ebd8fd930..717e123c86 100644 --- a/examples/svelte/auto-refetching/package.json +++ b/examples/svelte/auto-refetching/package.json @@ -19,6 +19,6 @@ "svelte-check": "^3.4.4", "tslib": "^2.5.2", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" } } diff --git a/examples/svelte/basic/package.json b/examples/svelte/basic/package.json index 7af76a5147..76f2726ced 100644 --- a/examples/svelte/basic/package.json +++ b/examples/svelte/basic/package.json @@ -19,6 +19,6 @@ "svelte-check": "^3.4.4", "tslib": "^2.5.2", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" } } diff --git a/examples/svelte/load-more-infinite-scroll/package.json b/examples/svelte/load-more-infinite-scroll/package.json index cae7fba115..71c04eb794 100644 --- a/examples/svelte/load-more-infinite-scroll/package.json +++ b/examples/svelte/load-more-infinite-scroll/package.json @@ -19,6 +19,6 @@ "svelte-check": "^3.4.4", "tslib": "^2.5.2", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" } } diff --git a/examples/svelte/optimistic-updates-typescript/package.json b/examples/svelte/optimistic-updates-typescript/package.json index bf26ab502d..ca6ab8bb89 100644 --- a/examples/svelte/optimistic-updates-typescript/package.json +++ b/examples/svelte/optimistic-updates-typescript/package.json @@ -19,6 +19,6 @@ "svelte-check": "^3.4.4", "tslib": "^2.5.2", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" } } diff --git a/examples/svelte/optimistic-updates-typescript/src/routes/api/data/+server.ts b/examples/svelte/optimistic-updates-typescript/src/routes/api/data/+server.ts index ab139de78d..46bfe05612 100644 --- a/examples/svelte/optimistic-updates-typescript/src/routes/api/data/+server.ts +++ b/examples/svelte/optimistic-updates-typescript/src/routes/api/data/+server.ts @@ -1,4 +1,4 @@ -import { json, } from '@sveltejs/kit' +import { json } from '@sveltejs/kit' import type { RequestHandler } from '@sveltejs/kit' type Todo = { diff --git a/examples/svelte/playground/package.json b/examples/svelte/playground/package.json index d232b83869..16192cde7b 100644 --- a/examples/svelte/playground/package.json +++ b/examples/svelte/playground/package.json @@ -19,6 +19,6 @@ "svelte-check": "^3.4.4", "tslib": "^2.5.2", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" } } diff --git a/examples/svelte/simple/package.json b/examples/svelte/simple/package.json index db72bd10dc..904f446ad4 100644 --- a/examples/svelte/simple/package.json +++ b/examples/svelte/simple/package.json @@ -19,6 +19,6 @@ "svelte-check": "^3.4.4", "tslib": "^2.5.2", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" } } diff --git a/examples/svelte/ssr/package.json b/examples/svelte/ssr/package.json index 4c8aca2ffe..94fab2d361 100644 --- a/examples/svelte/ssr/package.json +++ b/examples/svelte/ssr/package.json @@ -19,6 +19,6 @@ "svelte-check": "^3.4.4", "tslib": "^2.5.2", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" } } diff --git a/examples/svelte/star-wars/package.json b/examples/svelte/star-wars/package.json index d9033e5660..5ee294f326 100644 --- a/examples/svelte/star-wars/package.json +++ b/examples/svelte/star-wars/package.json @@ -22,6 +22,6 @@ "tailwindcss": "^3.3.2", "tslib": "^2.5.2", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" } } diff --git a/examples/vue/2.6-basic/package.json b/examples/vue/2.6-basic/package.json index d8cec05f77..d276e88866 100644 --- a/examples/vue/2.6-basic/package.json +++ b/examples/vue/2.6-basic/package.json @@ -15,7 +15,7 @@ }, "devDependencies": { "typescript": "^5.0.4", - "vite": "^4.2.0", + "vite": "^4.4.4", "vite-plugin-vue2": "2.0.2" } } diff --git a/examples/vue/basic/package.json b/examples/vue/basic/package.json index e13f2ee2f7..71ea1ad9fc 100644 --- a/examples/vue/basic/package.json +++ b/examples/vue/basic/package.json @@ -14,6 +14,6 @@ "devDependencies": { "@vitejs/plugin-vue": "^4.2.3", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" } } diff --git a/examples/vue/dependent-queries/package.json b/examples/vue/dependent-queries/package.json index 5bb601d8ec..c047c617c0 100644 --- a/examples/vue/dependent-queries/package.json +++ b/examples/vue/dependent-queries/package.json @@ -14,6 +14,6 @@ "devDependencies": { "@vitejs/plugin-vue": "^4.2.3", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" } } diff --git a/examples/vue/persister/package.json b/examples/vue/persister/package.json index ce7c2cc065..8f5bb140a9 100644 --- a/examples/vue/persister/package.json +++ b/examples/vue/persister/package.json @@ -16,6 +16,6 @@ "devDependencies": { "@vitejs/plugin-vue": "^4.2.3", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" } } diff --git a/package.json b/package.json index 34674b2583..a8484fc844 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "tsup": "^7.1.0", "type-fest": "^3.13.0", "typescript": "^5.0.4", - "vite": "^4.2.0", + "vite": "^4.4.4", "vitest": "^0.33.0", "vue": "^3.2.47" }, diff --git a/packages/query-core/src/tests/utils.ts b/packages/query-core/src/tests/utils.ts index 09cf98f3b3..230f3c7eb3 100644 --- a/packages/query-core/src/tests/utils.ts +++ b/packages/query-core/src/tests/utils.ts @@ -1,16 +1,17 @@ import { act } from '@testing-library/react' import { vi } from 'vitest' -import type { SpyInstance } from 'vitest' - import { QueryClient } from '..' import * as utils from '../utils' +import type { SpyInstance } from 'vitest' import type { MutationOptions, QueryClientConfig } from '..' export function createQueryClient(config?: QueryClientConfig): QueryClient { return new QueryClient(config) } -export function mockVisibilityState(value: DocumentVisibilityState): SpyInstance<[], DocumentVisibilityState> { +export function mockVisibilityState( + value: DocumentVisibilityState, +): SpyInstance<[], DocumentVisibilityState> { return vi.spyOn(document, 'visibilityState', 'get').mockReturnValue(value) } diff --git a/packages/react-query/src/__tests__/utils.tsx b/packages/react-query/src/__tests__/utils.tsx index d86d4031ed..02d0569502 100644 --- a/packages/react-query/src/__tests__/utils.tsx +++ b/packages/react-query/src/__tests__/utils.tsx @@ -46,7 +46,9 @@ export function createQueryClient(config?: QueryClientConfig): QueryClient { return new QueryClient(config) } -export function mockVisibilityState(value: DocumentVisibilityState): SpyInstance<[], DocumentVisibilityState> { +export function mockVisibilityState( + value: DocumentVisibilityState, +): SpyInstance<[], DocumentVisibilityState> { return vi.spyOn(document, 'visibilityState', 'get').mockReturnValue(value) } diff --git a/packages/solid-query/src/__tests__/utils.tsx b/packages/solid-query/src/__tests__/utils.tsx index b42392b1d3..f9f99d05ba 100644 --- a/packages/solid-query/src/__tests__/utils.tsx +++ b/packages/solid-query/src/__tests__/utils.tsx @@ -35,7 +35,9 @@ export function createQueryClient(config?: QueryClientConfig): QueryClient { return new QueryClient(config) } -export function mockVisibilityState(value: DocumentVisibilityState): SpyInstance<[], DocumentVisibilityState> { +export function mockVisibilityState( + value: DocumentVisibilityState, +): SpyInstance<[], DocumentVisibilityState> { return vi.spyOn(document, 'visibilityState', 'get').mockReturnValue(value) } diff --git a/packages/svelte-query-devtools/package.json b/packages/svelte-query-devtools/package.json index 7b0297c270..b57fa7517c 100644 --- a/packages/svelte-query-devtools/package.json +++ b/packages/svelte-query-devtools/package.json @@ -47,7 +47,7 @@ "svelte-check": "^3.4.4", "tslib": "^2.5.2", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "peerDependencies": { "@tanstack/svelte-query": "workspace:*", diff --git a/packages/svelte-query/package.json b/packages/svelte-query/package.json index d810477d1e..51bf5649a5 100644 --- a/packages/svelte-query/package.json +++ b/packages/svelte-query/package.json @@ -50,7 +50,7 @@ "svelte-check": "^3.4.4", "tslib": "^2.5.2", "typescript": "^5.0.4", - "vite": "^4.2.0" + "vite": "^4.4.4" }, "peerDependencies": { "svelte": ">=3 <5" diff --git a/packages/svelte-query/src/__tests__/utils.ts b/packages/svelte-query/src/__tests__/utils.ts index e19a4f67c1..ab1bf3cdb7 100644 --- a/packages/svelte-query/src/__tests__/utils.ts +++ b/packages/svelte-query/src/__tests__/utils.ts @@ -8,7 +8,9 @@ export function createQueryClient(config?: QueryClientConfig): QueryClient { return new QueryClient(config) } -export function mockVisibilityState(value: DocumentVisibilityState): SpyInstance<[], DocumentVisibilityState> { +export function mockVisibilityState( + value: DocumentVisibilityState, +): SpyInstance<[], DocumentVisibilityState> { return vi.spyOn(document, 'visibilityState', 'get').mockReturnValue(value) } diff --git a/packages/vue-query/src/__mocks__/useBaseQuery.ts b/packages/vue-query/src/__mocks__/useBaseQuery.ts index 7d6794f3fe..e24bab237f 100644 --- a/packages/vue-query/src/__mocks__/useBaseQuery.ts +++ b/packages/vue-query/src/__mocks__/useBaseQuery.ts @@ -1,8 +1,9 @@ import { vi } from 'vitest' +import type { Mock } from 'vitest' const { useBaseQuery: originImpl, unrefQueryArgs: originalParse } = // @ts-expect-error - vitest uses esmodules; tsconfig is not set to use them (await vi.importActual('../useBaseQuery')) as any -export const useBaseQuery = vi.fn(originImpl) +export const useBaseQuery: Mock = vi.fn(originImpl) export const unrefQueryArgs = originalParse diff --git a/packages/vue-query/src/__mocks__/useQueryClient.ts b/packages/vue-query/src/__mocks__/useQueryClient.ts index f1461d1653..6f66834398 100644 --- a/packages/vue-query/src/__mocks__/useQueryClient.ts +++ b/packages/vue-query/src/__mocks__/useQueryClient.ts @@ -1,5 +1,6 @@ import { vi } from 'vitest' import { QueryClient } from '../queryClient' +import type { Mock } from 'vitest' const queryClient = new QueryClient({ defaultOptions: { @@ -7,4 +8,4 @@ const queryClient = new QueryClient({ }, }) -export const useQueryClient = vi.fn(() => queryClient) +export const useQueryClient: Mock<[], QueryClient> = vi.fn(() => queryClient) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 97d54150c7..50a54b4ea9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -205,8 +205,8 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) vitest: specifier: ^0.33.0 version: 0.33.0(jsdom@22.0.0) @@ -249,13 +249,13 @@ importers: version: 18.2.4 '@vitejs/plugin-react': specifier: ^4.0.0 - version: 4.0.0(vite@4.2.0) + version: 4.0.0(vite@4.4.4) typescript: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/react/auto-refetching: dependencies: @@ -304,10 +304,10 @@ importers: version: link:../../../packages/eslint-plugin-query '@vitejs/plugin-react': specifier: ^4.0.0 - version: 4.0.0(vite@4.2.0) + version: 4.0.0(vite@4.4.4) vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/react/basic-graphql-request: dependencies: @@ -332,10 +332,10 @@ importers: devDependencies: '@vitejs/plugin-react': specifier: ^4.0.0 - version: 4.0.0(vite@4.2.0) + version: 4.0.0(vite@4.4.4) vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/react/basic-typescript: dependencies: @@ -372,7 +372,7 @@ importers: version: 18.2.4 '@vitejs/plugin-react': specifier: ^4.0.0 - version: 4.0.0(vite@4.2.0) + version: 4.0.0(vite@4.4.4) eslint: specifier: ^8.34.0 version: 8.34.0 @@ -383,8 +383,8 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/react/default-query-function: dependencies: @@ -406,10 +406,10 @@ importers: devDependencies: '@vitejs/plugin-react': specifier: ^4.0.0 - version: 4.0.0(vite@4.2.0) + version: 4.0.0(vite@4.4.4) vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/react/infinite-query-with-max-pages: dependencies: @@ -564,10 +564,10 @@ importers: devDependencies: '@vitejs/plugin-react': specifier: ^4.0.0 - version: 4.0.0(vite@4.2.0) + version: 4.0.0(vite@4.4.4) vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/react/optimistic-updates-typescript: dependencies: @@ -647,10 +647,10 @@ importers: devDependencies: '@vitejs/plugin-react': specifier: ^4.0.0 - version: 4.0.0(vite@4.2.0) + version: 4.0.0(vite@4.4.4) vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/react/prefetching: dependencies: @@ -793,10 +793,10 @@ importers: devDependencies: '@vitejs/plugin-react': specifier: ^4.0.0 - version: 4.0.0(vite@4.2.0) + version: 4.0.0(vite@4.4.4) vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/react/rick-morty: dependencies: @@ -833,10 +833,10 @@ importers: devDependencies: '@vitejs/plugin-react': specifier: ^4.0.0 - version: 4.0.0(vite@4.2.0) + version: 4.0.0(vite@4.4.4) vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/react/simple: dependencies: @@ -858,10 +858,10 @@ importers: devDependencies: '@vitejs/plugin-react': specifier: ^4.0.0 - version: 4.0.0(vite@4.2.0) + version: 4.0.0(vite@4.4.4) vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/react/star-wars: dependencies: @@ -898,10 +898,10 @@ importers: devDependencies: '@vitejs/plugin-react': specifier: ^4.0.0 - version: 4.0.0(vite@4.2.0) + version: 4.0.0(vite@4.4.4) vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/react/suspense: dependencies: @@ -926,10 +926,10 @@ importers: devDependencies: '@vitejs/plugin-react': specifier: ^4.0.0 - version: 4.0.0(vite@4.2.0) + version: 4.0.0(vite@4.4.4) vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/solid/basic-graphql-request: dependencies: @@ -950,11 +950,11 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) vite-plugin-solid: specifier: ^2.5.0 - version: 2.5.0(solid-js@1.6.13)(vite@4.2.0) + version: 2.5.0(solid-js@1.6.13)(vite@4.4.4) examples/solid/basic-typescript: dependencies: @@ -969,11 +969,11 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) vite-plugin-solid: specifier: ^2.5.0 - version: 2.5.0(solid-js@1.6.13)(vite@4.2.0) + version: 2.5.0(solid-js@1.6.13)(vite@4.4.4) examples/solid/default-query-function: dependencies: @@ -988,11 +988,11 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) vite-plugin-solid: specifier: ^2.5.0 - version: 2.5.0(solid-js@1.6.13)(vite@4.2.0) + version: 2.5.0(solid-js@1.6.13)(vite@4.4.4) examples/solid/simple: dependencies: @@ -1010,11 +1010,11 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) vite-plugin-solid: specifier: ^2.5.0 - version: 2.5.0(solid-js@1.6.13)(vite@4.2.0) + version: 2.5.0(solid-js@1.6.13)(vite@4.4.4) examples/solid/solid-start-streaming: dependencies: @@ -1032,7 +1032,7 @@ importers: version: 1.6.13 solid-start: specifier: ^0.2.23 - version: 0.2.23(@solidjs/meta@0.28.2)(@solidjs/router@0.7.0)(solid-js@1.6.13)(solid-start-node@0.2.0)(vite@4.2.0) + version: 0.2.23(@solidjs/meta@0.28.2)(@solidjs/router@0.7.0)(solid-js@1.6.13)(solid-start-node@0.2.0)(vite@4.4.4) undici: specifier: ^5.22.1 version: 5.22.1 @@ -1048,13 +1048,13 @@ importers: version: 8.4.23 solid-start-node: specifier: ^0.2.0 - version: 0.2.0(solid-start@0.2.23)(undici@5.22.1)(vite@4.2.0) + version: 0.2.0(solid-start@0.2.23)(undici@5.22.1)(vite@4.4.4) typescript: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/svelte/auto-refetching: dependencies: @@ -1070,7 +1070,7 @@ importers: version: 2.1.0(@sveltejs/kit@1.19.0) '@sveltejs/kit': specifier: ^1.19.0 - version: 1.19.0(svelte@4.0.0)(vite@4.2.0) + version: 1.19.0(svelte@4.0.0)(vite@4.4.4) svelte: specifier: ^4.0.0 version: 4.0.0 @@ -1084,8 +1084,8 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/svelte/basic: dependencies: @@ -1101,7 +1101,7 @@ importers: version: 2.1.0(@sveltejs/kit@1.19.0) '@sveltejs/kit': specifier: ^1.19.0 - version: 1.19.0(svelte@4.0.0)(vite@4.2.0) + version: 1.19.0(svelte@4.0.0)(vite@4.4.4) svelte: specifier: ^4.0.0 version: 4.0.0 @@ -1115,8 +1115,8 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/svelte/load-more-infinite-scroll: dependencies: @@ -1132,7 +1132,7 @@ importers: version: 2.1.0(@sveltejs/kit@1.19.0) '@sveltejs/kit': specifier: ^1.19.0 - version: 1.19.0(svelte@4.0.0)(vite@4.2.0) + version: 1.19.0(svelte@4.0.0)(vite@4.4.4) svelte: specifier: ^4.0.0 version: 4.0.0 @@ -1146,8 +1146,8 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/svelte/optimistic-updates-typescript: dependencies: @@ -1163,7 +1163,7 @@ importers: version: 2.1.0(@sveltejs/kit@1.19.0) '@sveltejs/kit': specifier: ^1.19.0 - version: 1.19.0(svelte@4.0.0)(vite@4.2.0) + version: 1.19.0(svelte@4.0.0)(vite@4.4.4) svelte: specifier: ^4.0.0 version: 4.0.0 @@ -1177,8 +1177,8 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/svelte/playground: dependencies: @@ -1194,7 +1194,7 @@ importers: version: 2.1.0(@sveltejs/kit@1.19.0) '@sveltejs/kit': specifier: ^1.19.0 - version: 1.19.0(svelte@4.0.0)(vite@4.2.0) + version: 1.19.0(svelte@4.0.0)(vite@4.4.4) svelte: specifier: ^4.0.0 version: 4.0.0 @@ -1208,8 +1208,8 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/svelte/simple: dependencies: @@ -1222,7 +1222,7 @@ importers: devDependencies: '@sveltejs/vite-plugin-svelte': specifier: ^2.4.2 - version: 2.4.2(svelte@4.0.0)(vite@4.2.0) + version: 2.4.2(svelte@4.0.0)(vite@4.4.4) '@tsconfig/svelte': specifier: ^4.0.1 version: 4.0.1 @@ -1239,8 +1239,8 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/svelte/ssr: dependencies: @@ -1256,7 +1256,7 @@ importers: version: 2.1.0(@sveltejs/kit@1.19.0) '@sveltejs/kit': specifier: ^1.19.0 - version: 1.19.0(svelte@4.0.0)(vite@4.2.0) + version: 1.19.0(svelte@4.0.0)(vite@4.4.4) svelte: specifier: ^4.0.0 version: 4.0.0 @@ -1270,8 +1270,8 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/svelte/star-wars: dependencies: @@ -1287,7 +1287,7 @@ importers: version: 2.1.0(@sveltejs/kit@1.19.0) '@sveltejs/kit': specifier: ^1.19.0 - version: 1.19.0(svelte@4.0.0)(vite@4.2.0) + version: 1.19.0(svelte@4.0.0)(vite@4.4.4) autoprefixer: specifier: ^10.4.14 version: 10.4.14(postcss@8.4.23) @@ -1310,8 +1310,8 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/vue/basic: dependencies: @@ -1324,13 +1324,13 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: ^4.2.3 - version: 4.2.3(vite@4.2.0)(vue@3.2.47) + version: 4.2.3(vite@4.4.4)(vue@3.2.47) typescript: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/vue/dependent-queries: dependencies: @@ -1343,13 +1343,13 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: ^4.2.3 - version: 4.2.3(vite@4.2.0)(vue@3.2.47) + version: 4.2.3(vite@4.4.4)(vue@3.2.47) typescript: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) examples/vue/persister: dependencies: @@ -1368,13 +1368,13 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: ^4.2.3 - version: 4.2.3(vite@4.2.0)(vue@3.2.47) + version: 4.2.3(vite@4.4.4)(vue@3.2.47) typescript: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) packages/codemods: devDependencies: @@ -1444,7 +1444,7 @@ importers: version: link:../query-core vite-plugin-solid: specifier: ^2.5.0 - version: 2.5.0(solid-js@1.6.13)(vite@4.2.0) + version: 2.5.0(solid-js@1.6.13)(vite@4.4.4) packages/query-persist-client-core: dependencies: @@ -1571,7 +1571,7 @@ importers: devDependencies: vite-plugin-solid: specifier: ^2.5.0 - version: 2.5.0(solid-js@1.6.13)(vite@4.2.0) + version: 2.5.0(solid-js@1.6.13)(vite@4.4.4) packages/svelte-query: dependencies: @@ -1584,7 +1584,7 @@ importers: version: 2.1.0(svelte@4.0.0)(typescript@5.0.4) '@sveltejs/vite-plugin-svelte': specifier: ^2.4.2 - version: 2.4.2(svelte@4.0.0)(vite@4.2.0) + version: 2.4.2(svelte@4.0.0)(vite@4.4.4) '@testing-library/svelte': specifier: ^4.0.3 version: 4.0.3(svelte@4.0.0) @@ -1604,8 +1604,8 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) packages/svelte-query-devtools: dependencies: @@ -1621,7 +1621,7 @@ importers: version: 2.1.0(svelte@4.0.0)(typescript@5.0.4) '@sveltejs/vite-plugin-svelte': specifier: ^2.4.2 - version: 2.4.2(svelte@4.0.0)(vite@4.2.0) + version: 2.4.2(svelte@4.0.0)(vite@4.4.4) '@tanstack/svelte-query': specifier: workspace:* version: link:../svelte-query @@ -1641,8 +1641,8 @@ importers: specifier: ^5.0.4 version: 5.0.4 vite: - specifier: ^4.2.0 - version: 4.2.0(@types/node@18.16.0) + specifier: ^4.4.4 + version: 4.4.4(@types/node@18.16.0) packages/vue-query: dependencies: @@ -3792,21 +3792,12 @@ packages: resolution: {integrity: sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==} dev: false - /@esbuild/android-arm64@0.17.19: - resolution: {integrity: sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - optional: true - /@esbuild/android-arm64@0.18.13: resolution: {integrity: sha512-j7NhycJUoUAG5kAzGf4fPWfd17N6SM3o1X6MlXVqfHvs2buFraCJzos9vbeWjLxOyBKHyPOnuCuipbhvbYtTAg==} engines: {node: '>=12'} cpu: [arm64] os: [android] requiresBuild: true - dev: true optional: true /@esbuild/android-arm@0.15.18: @@ -3818,29 +3809,12 @@ packages: dev: true optional: true - /@esbuild/android-arm@0.17.19: - resolution: {integrity: sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - optional: true - /@esbuild/android-arm@0.18.13: resolution: {integrity: sha512-KwqFhxRFMKZINHzCqf8eKxE0XqWlAVPRxwy6rc7CbVFxzUWB2sA/s3hbMZeemPdhN3fKBkqOaFhTbS8xJXYIWQ==} engines: {node: '>=12'} cpu: [arm] os: [android] requiresBuild: true - dev: true - optional: true - - /@esbuild/android-x64@0.17.19: - resolution: {integrity: sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true optional: true /@esbuild/android-x64@0.18.13: @@ -3849,15 +3823,6 @@ packages: cpu: [x64] os: [android] requiresBuild: true - dev: true - optional: true - - /@esbuild/darwin-arm64@0.17.19: - resolution: {integrity: sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true optional: true /@esbuild/darwin-arm64@0.18.13: @@ -3866,15 +3831,6 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true - dev: true - optional: true - - /@esbuild/darwin-x64@0.17.19: - resolution: {integrity: sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true optional: true /@esbuild/darwin-x64@0.18.13: @@ -3883,15 +3839,6 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true - dev: true - optional: true - - /@esbuild/freebsd-arm64@0.17.19: - resolution: {integrity: sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true optional: true /@esbuild/freebsd-arm64@0.18.13: @@ -3900,15 +3847,6 @@ packages: cpu: [arm64] os: [freebsd] requiresBuild: true - dev: true - optional: true - - /@esbuild/freebsd-x64@0.17.19: - resolution: {integrity: sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true optional: true /@esbuild/freebsd-x64@0.18.13: @@ -3917,15 +3855,6 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-arm64@0.17.19: - resolution: {integrity: sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-arm64@0.18.13: @@ -3934,15 +3863,6 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-arm@0.17.19: - resolution: {integrity: sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-arm@0.18.13: @@ -3951,15 +3871,6 @@ packages: cpu: [arm] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-ia32@0.17.19: - resolution: {integrity: sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-ia32@0.18.13: @@ -3968,7 +3879,6 @@ packages: cpu: [ia32] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-loong64@0.14.54: @@ -3988,29 +3898,12 @@ packages: dev: true optional: true - /@esbuild/linux-loong64@0.17.19: - resolution: {integrity: sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - optional: true - /@esbuild/linux-loong64@0.18.13: resolution: {integrity: sha512-8pcKDApAsKc6WW51ZEVidSGwGbebYw2qKnO1VyD8xd6JN0RN6EUXfhXmDk9Vc4/U3Y4AoFTexQewQDJGsBXBpg==} engines: {node: '>=12'} cpu: [loong64] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-mips64el@0.17.19: - resolution: {integrity: sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-mips64el@0.18.13: @@ -4019,15 +3912,6 @@ packages: cpu: [mips64el] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-ppc64@0.17.19: - resolution: {integrity: sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-ppc64@0.18.13: @@ -4036,15 +3920,6 @@ packages: cpu: [ppc64] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-riscv64@0.17.19: - resolution: {integrity: sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-riscv64@0.18.13: @@ -4053,15 +3928,6 @@ packages: cpu: [riscv64] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-s390x@0.17.19: - resolution: {integrity: sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-s390x@0.18.13: @@ -4070,15 +3936,6 @@ packages: cpu: [s390x] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-x64@0.17.19: - resolution: {integrity: sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-x64@0.18.13: @@ -4087,15 +3944,6 @@ packages: cpu: [x64] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/netbsd-x64@0.17.19: - resolution: {integrity: sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true optional: true /@esbuild/netbsd-x64@0.18.13: @@ -4104,15 +3952,6 @@ packages: cpu: [x64] os: [netbsd] requiresBuild: true - dev: true - optional: true - - /@esbuild/openbsd-x64@0.17.19: - resolution: {integrity: sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true optional: true /@esbuild/openbsd-x64@0.18.13: @@ -4121,15 +3960,6 @@ packages: cpu: [x64] os: [openbsd] requiresBuild: true - dev: true - optional: true - - /@esbuild/sunos-x64@0.17.19: - resolution: {integrity: sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true optional: true /@esbuild/sunos-x64@0.18.13: @@ -4138,15 +3968,6 @@ packages: cpu: [x64] os: [sunos] requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-arm64@0.17.19: - resolution: {integrity: sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true optional: true /@esbuild/win32-arm64@0.18.13: @@ -4155,15 +3976,6 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-ia32@0.17.19: - resolution: {integrity: sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true optional: true /@esbuild/win32-ia32@0.18.13: @@ -4172,15 +3984,6 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-x64@0.17.19: - resolution: {integrity: sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true optional: true /@esbuild/win32-x64@0.18.13: @@ -4189,7 +3992,6 @@ packages: cpu: [x64] os: [win32] requiresBuild: true - dev: true optional: true /@eslint-community/eslint-utils@4.4.0(eslint@8.34.0): @@ -5999,11 +5801,11 @@ packages: peerDependencies: '@sveltejs/kit': ^1.0.0 dependencies: - '@sveltejs/kit': 1.19.0(svelte@4.0.0)(vite@4.2.0) + '@sveltejs/kit': 1.19.0(svelte@4.0.0)(vite@4.4.4) import-meta-resolve: 3.0.0 dev: true - /@sveltejs/kit@1.19.0(svelte@4.0.0)(vite@4.2.0): + /@sveltejs/kit@1.19.0(svelte@4.0.0)(vite@4.4.4): resolution: {integrity: sha512-39fHvYvUQL3bCdV6Ed9MRIESO6ceM/MRNxAloQin+Qs9DfiM53vhUJBWtbwWAvRR/nM6isWnsbContjE/2/JxQ==} engines: {node: ^16.14 || >=18} hasBin: true @@ -6012,7 +5814,7 @@ packages: svelte: ^3.54.0 vite: ^4.0.0 dependencies: - '@sveltejs/vite-plugin-svelte': 2.4.0(svelte@4.0.0)(vite@4.2.0) + '@sveltejs/vite-plugin-svelte': 2.4.0(svelte@4.0.0)(vite@4.4.4) '@types/cookie': 0.5.1 cookie: 0.5.0 devalue: 4.3.2 @@ -6026,7 +5828,7 @@ packages: svelte: 4.0.0 tiny-glob: 0.2.9 undici: 5.22.1 - vite: 4.2.0(@types/node@18.16.0) + vite: 4.4.4(@types/node@18.16.0) transitivePeerDependencies: - supports-color dev: true @@ -6047,7 +5849,7 @@ packages: - typescript dev: true - /@sveltejs/vite-plugin-svelte-inspector@1.0.3(@sveltejs/vite-plugin-svelte@2.4.0)(svelte@4.0.0)(vite@4.2.0): + /@sveltejs/vite-plugin-svelte-inspector@1.0.3(@sveltejs/vite-plugin-svelte@2.4.0)(svelte@4.0.0)(vite@4.4.4): resolution: {integrity: sha512-Khdl5jmmPN6SUsVuqSXatKpQTMIifoQPDanaxC84m9JxIibWvSABJyHpyys0Z+1yYrxY5TTEQm+6elh0XCMaOA==} engines: {node: ^14.18.0 || >= 16} peerDependencies: @@ -6055,15 +5857,15 @@ packages: svelte: ^3.54.0 || ^4.0.0 vite: ^4.0.0 dependencies: - '@sveltejs/vite-plugin-svelte': 2.4.0(svelte@4.0.0)(vite@4.2.0) + '@sveltejs/vite-plugin-svelte': 2.4.0(svelte@4.0.0)(vite@4.4.4) debug: 4.3.4 svelte: 4.0.0 - vite: 4.2.0(@types/node@18.16.0) + vite: 4.4.4(@types/node@18.16.0) transitivePeerDependencies: - supports-color dev: true - /@sveltejs/vite-plugin-svelte-inspector@1.0.3(@sveltejs/vite-plugin-svelte@2.4.2)(svelte@4.0.0)(vite@4.2.0): + /@sveltejs/vite-plugin-svelte-inspector@1.0.3(@sveltejs/vite-plugin-svelte@2.4.2)(svelte@4.0.0)(vite@4.4.4): resolution: {integrity: sha512-Khdl5jmmPN6SUsVuqSXatKpQTMIifoQPDanaxC84m9JxIibWvSABJyHpyys0Z+1yYrxY5TTEQm+6elh0XCMaOA==} engines: {node: ^14.18.0 || >= 16} peerDependencies: @@ -6071,50 +5873,50 @@ packages: svelte: ^3.54.0 || ^4.0.0 vite: ^4.0.0 dependencies: - '@sveltejs/vite-plugin-svelte': 2.4.2(svelte@4.0.0)(vite@4.2.0) + '@sveltejs/vite-plugin-svelte': 2.4.2(svelte@4.0.0)(vite@4.4.4) debug: 4.3.4 svelte: 4.0.0 - vite: 4.2.0(@types/node@18.16.0) + vite: 4.4.4(@types/node@18.16.0) transitivePeerDependencies: - supports-color dev: true - /@sveltejs/vite-plugin-svelte@2.4.0(svelte@4.0.0)(vite@4.2.0): + /@sveltejs/vite-plugin-svelte@2.4.0(svelte@4.0.0)(vite@4.4.4): resolution: {integrity: sha512-OdKTMNZTb4OPrXY0IAJiOG5krQcgEaDtqjLNFj5KInyzn3/HNVuXx9egAneMMhStqk1K5Nf7DIG40e9HeBxeOA==} engines: {node: ^14.18.0 || >= 16} peerDependencies: svelte: ^3.54.0 vite: ^4.0.0 dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 1.0.3(@sveltejs/vite-plugin-svelte@2.4.0)(svelte@4.0.0)(vite@4.2.0) + '@sveltejs/vite-plugin-svelte-inspector': 1.0.3(@sveltejs/vite-plugin-svelte@2.4.0)(svelte@4.0.0)(vite@4.4.4) debug: 4.3.4 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.1 svelte: 4.0.0 svelte-hmr: 0.15.1(svelte@4.0.0) - vite: 4.2.0(@types/node@18.16.0) - vitefu: 0.2.4(vite@4.2.0) + vite: 4.4.4(@types/node@18.16.0) + vitefu: 0.2.4(vite@4.4.4) transitivePeerDependencies: - supports-color dev: true - /@sveltejs/vite-plugin-svelte@2.4.2(svelte@4.0.0)(vite@4.2.0): + /@sveltejs/vite-plugin-svelte@2.4.2(svelte@4.0.0)(vite@4.4.4): resolution: {integrity: sha512-ePfcC48ftMKhkT0OFGdOyycYKnnkT6i/buzey+vHRTR/JpQvuPzzhf1PtKqCDQfJRgoPSN2vscXs6gLigx/zGw==} engines: {node: ^14.18.0 || >= 16} peerDependencies: svelte: ^3.54.0 || ^4.0.0 vite: ^4.0.0 dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 1.0.3(@sveltejs/vite-plugin-svelte@2.4.2)(svelte@4.0.0)(vite@4.2.0) + '@sveltejs/vite-plugin-svelte-inspector': 1.0.3(@sveltejs/vite-plugin-svelte@2.4.2)(svelte@4.0.0)(vite@4.4.4) debug: 4.3.4 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.0 svelte: 4.0.0 svelte-hmr: 0.15.2(svelte@4.0.0) - vite: 4.2.0(@types/node@18.16.0) - vitefu: 0.2.4(vite@4.2.0) + vite: 4.4.4(@types/node@18.16.0) + vitefu: 0.2.4(vite@4.4.4) transitivePeerDependencies: - supports-color dev: true @@ -6683,7 +6485,7 @@ packages: wonka: 4.0.15 dev: false - /@vitejs/plugin-react@4.0.0(vite@4.2.0): + /@vitejs/plugin-react@4.0.0(vite@4.4.4): resolution: {integrity: sha512-HX0XzMjL3hhOYm+0s95pb0Z7F8O81G7joUHgfDd/9J/ZZf5k4xX6QAMFkKsHFxaHlf6X7GD7+XuaZ66ULiJuhQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -6693,19 +6495,19 @@ packages: '@babel/plugin-transform-react-jsx-self': 7.22.5(@babel/core@7.21.8) '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.21.8) react-refresh: 0.14.0 - vite: 4.2.0(@types/node@18.16.0) + vite: 4.4.4(@types/node@18.16.0) transitivePeerDependencies: - supports-color dev: true - /@vitejs/plugin-vue@4.2.3(vite@4.2.0)(vue@3.2.47): + /@vitejs/plugin-vue@4.2.3(vite@4.4.4)(vue@3.2.47): resolution: {integrity: sha512-R6JDUfiZbJA9cMiguQ7jxALsgiprjBeHL5ikpXfJCH62pPHtI+JdJ5xWj6Ev73yXSlYl86+blXn1kZHQ7uElxw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 4.2.0(@types/node@18.16.0) + vite: 4.4.4(@types/node@18.16.0) vue: 3.2.47 dev: true @@ -9392,35 +9194,6 @@ packages: esbuild-windows-arm64: 0.15.18 dev: true - /esbuild@0.17.19: - resolution: {integrity: sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/android-arm': 0.17.19 - '@esbuild/android-arm64': 0.17.19 - '@esbuild/android-x64': 0.17.19 - '@esbuild/darwin-arm64': 0.17.19 - '@esbuild/darwin-x64': 0.17.19 - '@esbuild/freebsd-arm64': 0.17.19 - '@esbuild/freebsd-x64': 0.17.19 - '@esbuild/linux-arm': 0.17.19 - '@esbuild/linux-arm64': 0.17.19 - '@esbuild/linux-ia32': 0.17.19 - '@esbuild/linux-loong64': 0.17.19 - '@esbuild/linux-mips64el': 0.17.19 - '@esbuild/linux-ppc64': 0.17.19 - '@esbuild/linux-riscv64': 0.17.19 - '@esbuild/linux-s390x': 0.17.19 - '@esbuild/linux-x64': 0.17.19 - '@esbuild/netbsd-x64': 0.17.19 - '@esbuild/openbsd-x64': 0.17.19 - '@esbuild/sunos-x64': 0.17.19 - '@esbuild/win32-arm64': 0.17.19 - '@esbuild/win32-ia32': 0.17.19 - '@esbuild/win32-x64': 0.17.19 - /esbuild@0.18.13: resolution: {integrity: sha512-vhg/WR/Oiu4oUIkVhmfcc23G6/zWuEQKFS+yiosSHe4aN6+DQRXIfeloYGibIfVhkr4wyfuVsGNLr+sQU1rWWw==} engines: {node: '>=12'} @@ -9449,7 +9222,6 @@ packages: '@esbuild/win32-arm64': 0.18.13 '@esbuild/win32-ia32': 0.18.13 '@esbuild/win32-x64': 0.18.13 - dev: true /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} @@ -14588,6 +14360,7 @@ packages: nanoid: 3.3.6 picocolors: 1.0.0 source-map-js: 1.0.2 + dev: true /postcss@8.4.26: resolution: {integrity: sha512-jrXHFF8iTloAenySjM/ob3gSj7pCu0Ji49hnjqzsgSRa50hkWCKD0HQ+gMNJkW38jBI68MpAAg7ZWwHwX8NMMw==} @@ -15490,6 +15263,7 @@ packages: is-core-module: 2.12.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 + dev: true /resolve@1.22.2: resolution: {integrity: sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==} @@ -16088,7 +15862,7 @@ packages: '@babel/types': 7.22.5 solid-js: 1.6.13 - /solid-start-node@0.2.0(solid-start@0.2.23)(undici@5.22.1)(vite@4.2.0): + /solid-start-node@0.2.0(solid-start@0.2.23)(undici@5.22.1)(vite@4.4.4): resolution: {integrity: sha512-PBGm9HkzKrVf0cl3V2ViWmy51GgbrA1tklDAqbbMvhO7Dhh0TnkVRoySgJuahln9nX+1yoJw+uJST3+s0leQ9w==} peerDependencies: solid-start: '*' @@ -16102,14 +15876,14 @@ packages: polka: 1.0.0-next.22 rollup: 2.79.1 sirv: 2.0.2 - solid-start: 0.2.23(@solidjs/meta@0.28.2)(@solidjs/router@0.7.0)(solid-js@1.6.13)(solid-start-node@0.2.0)(vite@4.2.0) + solid-start: 0.2.23(@solidjs/meta@0.28.2)(@solidjs/router@0.7.0)(solid-js@1.6.13)(solid-start-node@0.2.0)(vite@4.4.4) terser: 5.18.1 undici: 5.22.1 - vite: 4.2.0(@types/node@18.16.0) + vite: 4.4.4(@types/node@18.16.0) transitivePeerDependencies: - supports-color - /solid-start@0.2.23(@solidjs/meta@0.28.2)(@solidjs/router@0.7.0)(solid-js@1.6.13)(solid-start-node@0.2.0)(vite@4.2.0): + /solid-start@0.2.23(@solidjs/meta@0.28.2)(@solidjs/router@0.7.0)(solid-js@1.6.13)(solid-start-node@0.2.0)(vite@4.4.4): resolution: {integrity: sha512-dKTRFtpjskHFyLq9n6oJxqWHYL7H8w14y4+OgIR+57+lqb1N7289kZLTHrzWxWyzDkIG9V1s2MQtiDfIaBP/MQ==} hasBin: true peerDependencies: @@ -16172,12 +15946,12 @@ packages: set-cookie-parser: 2.5.1 sirv: 2.0.2 solid-js: 1.6.13 - solid-start-node: 0.2.0(solid-start@0.2.23)(undici@5.22.1)(vite@4.2.0) + solid-start-node: 0.2.0(solid-start@0.2.23)(undici@5.22.1)(vite@4.4.4) terser: 5.18.1 undici: 5.22.1 - vite: 4.2.0(@types/node@18.16.0) - vite-plugin-inspect: 0.7.29(rollup@3.26.0)(vite@4.2.0) - vite-plugin-solid: 2.7.0(solid-js@1.6.13)(vite@4.2.0) + vite: 4.4.4(@types/node@18.16.0) + vite-plugin-inspect: 0.7.29(rollup@3.26.0)(vite@4.4.4) + vite-plugin-solid: 2.7.0(solid-js@1.6.13)(vite@4.4.4) wait-on: 6.0.1(debug@4.3.4) transitivePeerDependencies: - supports-color @@ -17593,10 +17367,11 @@ packages: mlly: 1.4.0 pathe: 1.1.1 picocolors: 1.0.0 - vite: 4.2.0(@types/node@18.16.0) + vite: 4.4.4(@types/node@18.16.0) transitivePeerDependencies: - '@types/node' - less + - lightningcss - sass - stylus - sugarss @@ -17604,7 +17379,7 @@ packages: - terser dev: true - /vite-plugin-inspect@0.7.29(rollup@3.26.0)(vite@4.2.0): + /vite-plugin-inspect@0.7.29(rollup@3.26.0)(vite@4.4.4): resolution: {integrity: sha512-vPbwChmLaHXu2ZXAtRlqXS7BTJoTNIhEjwLv55XGoPOtDOCMkh4X+ziy3/Y6ZhFRDvg0AggHLumn8YqEaIlMJg==} engines: {node: '>=14'} peerDependencies: @@ -17617,12 +17392,12 @@ packages: open: 9.1.0 picocolors: 1.0.0 sirv: 2.0.3 - vite: 4.2.0(@types/node@18.16.0) + vite: 4.4.4(@types/node@18.16.0) transitivePeerDependencies: - rollup - supports-color - /vite-plugin-solid@2.5.0(solid-js@1.6.13)(vite@4.2.0): + /vite-plugin-solid@2.5.0(solid-js@1.6.13)(vite@4.4.4): resolution: {integrity: sha512-VneGd3RyFJvwaiffsqgymeMaofn0IzQLPwDzafTV2f1agoWeeJlk5VrI5WqT9BTtLe69vNNbCJWqLhHr9fOdDw==} peerDependencies: solid-js: ^1.3.17 || ^1.4.0 || ^1.5.0 || ^1.6.0 @@ -17634,13 +17409,13 @@ packages: merge-anything: 5.1.7 solid-js: 1.6.13 solid-refresh: 0.4.1(solid-js@1.6.13) - vite: 4.2.0(@types/node@18.16.0) - vitefu: 0.2.4(vite@4.2.0) + vite: 4.4.4(@types/node@18.16.0) + vitefu: 0.2.4(vite@4.4.4) transitivePeerDependencies: - supports-color dev: true - /vite-plugin-solid@2.7.0(solid-js@1.6.13)(vite@4.2.0): + /vite-plugin-solid@2.7.0(solid-js@1.6.13)(vite@4.4.4): resolution: {integrity: sha512-avp/Jl5zOp/Itfo67xtDB2O61U7idviaIp4mLsjhCa13PjKNasz+IID0jYTyqUp9SFx6/PmBr6v4KgDppqompg==} peerDependencies: solid-js: ^1.7.2 @@ -17653,18 +17428,19 @@ packages: merge-anything: 5.1.7 solid-js: 1.6.13 solid-refresh: 0.5.3(solid-js@1.6.13) - vite: 4.2.0(@types/node@18.16.0) - vitefu: 0.2.4(vite@4.2.0) + vite: 4.4.4(@types/node@18.16.0) + vitefu: 0.2.4(vite@4.4.4) transitivePeerDependencies: - supports-color - /vite@4.2.0(@types/node@18.16.0): - resolution: {integrity: sha512-AbDTyzzwuKoRtMIRLGNxhLRuv1FpRgdIw+1y6AQG73Q5+vtecmvzKo/yk8X/vrHDpETRTx01ABijqUHIzBXi0g==} + /vite@4.4.4(@types/node@18.16.0): + resolution: {integrity: sha512-4mvsTxjkveWrKDJI70QmelfVqTm+ihFAb6+xf4sjEU2TmUCTlVX87tmg/QooPEMQb/lM9qGHT99ebqPziEd3wg==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: '@types/node': '>= 14' less: '*' + lightningcss: ^1.21.0 sass: '*' stylus: '*' sugarss: '*' @@ -17674,6 +17450,8 @@ packages: optional: true less: optional: true + lightningcss: + optional: true sass: optional: true stylus: @@ -17684,14 +17462,13 @@ packages: optional: true dependencies: '@types/node': 18.16.0 - esbuild: 0.17.19 - postcss: 8.4.23 - resolve: 1.22.1 + esbuild: 0.18.13 + postcss: 8.4.26 rollup: 3.26.0 optionalDependencies: fsevents: 2.3.2 - /vitefu@0.2.4(vite@4.2.0): + /vitefu@0.2.4(vite@4.4.4): resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==} peerDependencies: vite: ^3.0.0 || ^4.0.0 @@ -17699,7 +17476,7 @@ packages: vite: optional: true dependencies: - vite: 4.2.0(@types/node@18.16.0) + vite: 4.4.4(@types/node@18.16.0) /vitest@0.33.0(jsdom@22.0.0): resolution: {integrity: sha512-1CxaugJ50xskkQ0e969R/hW47za4YXDUfWJDxip1hwbnhUjYolpfUn2AMOulqG/Dtd9WYAtkHmM/m3yKVrEejQ==} @@ -17754,11 +17531,12 @@ packages: strip-literal: 1.0.1 tinybench: 2.5.0 tinypool: 0.6.0 - vite: 4.2.0(@types/node@18.16.0) + vite: 4.4.4(@types/node@18.16.0) vite-node: 0.33.0(@types/node@18.16.0) why-is-node-running: 2.2.2 transitivePeerDependencies: - less + - lightningcss - sass - stylus - sugarss