From 385f173aa86230413688168f669ff8a44c8836b2 Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Sat, 20 May 2023 12:37:11 +0200 Subject: [PATCH 1/6] feat: enable experimentalOptimizer --- packages/vitest/src/node/error.ts | 9 +- packages/vitest/src/node/plugins/index.ts | 66 ++--- packages/vitest/src/types/config.ts | 2 +- pnpm-lock.yaml | 284 ++++++++++++++++------ 4 files changed, 239 insertions(+), 122 deletions(-) diff --git a/packages/vitest/src/node/error.ts b/packages/vitest/src/node/error.ts index e6e9114e63e2..5b3584cf20e6 100644 --- a/packages/vitest/src/node/error.ts +++ b/packages/vitest/src/node/error.ts @@ -169,9 +169,12 @@ function printModuleWarningForPackage(logger: Logger, path: string, name: string + c.green(`export default { test: { deps: { - inline: [ - ${c.yellow(c.bold(`"${name}"`))} - ] + experimentalOptimizer: { + enabled: true, + include: [ + ${c.yellow(c.bold(`"${name}"`))} + ] + } } } }\n`))) diff --git a/packages/vitest/src/node/plugins/index.ts b/packages/vitest/src/node/plugins/index.ts index da177f7bca6f..9329b4d51c55 100644 --- a/packages/vitest/src/node/plugins/index.ts +++ b/packages/vitest/src/node/plugins/index.ts @@ -1,3 +1,5 @@ +import { builtinModules } from 'node:module' +import { version as viteVersion } from 'vite' import type { UserConfig as ViteConfig, Plugin as VitePlugin } from 'vite' import { relative } from 'pathe' import { configDefaults } from '../../defaults' @@ -134,49 +136,29 @@ export async function VitestPlugin(options: UserConfig = {}, ctx = new Vitest('t } const optimizeConfig: Partial = {} - // TODO: optimizer is temporary disabled, until Vite provides "optimzier.byDefault" option - // const optimizer = preOptions.deps?.experimentalOptimizer - // if (!optimizer?.enabled) { - optimizeConfig.cacheDir = undefined - optimizeConfig.optimizeDeps = { - // experimental in Vite >2.9.2, entries remains to help with older versions - disabled: true, - entries: [], + const optimizer = preOptions.deps?.experimentalOptimizer + const [major, minor] = viteVersion.split('.').map(Number) + const allowed = major >= 5 || (major === 4 && minor >= 3) + if (!allowed || !optimizer?.enabled) { + optimizeConfig.cacheDir = undefined + optimizeConfig.optimizeDeps = { + // experimental in Vite >2.9.2, entries remains to help with older versions + disabled: true, + entries: [], + } + } + else { + const cacheDir = preOptions.cache !== false ? preOptions.cache?.dir : null + optimizeConfig.cacheDir = cacheDir ?? 'node_modules/.vitest' + optimizeConfig.optimizeDeps = { + ...viteConfig.optimizeDeps, + ...optimizer, + noDiscovery: true, + disabled: false, + exclude: ['vitest', ...builtinModules, ...(optimizer.exclude || viteConfig.optimizeDeps?.exclude || [])], + include: (optimizer.include || viteConfig.optimizeDeps?.include || []).filter((n: string) => n !== 'vitest'), + } } - // } - // else { - // const root = config.root || process.cwd() - // // TODO: add support for experimental optimizer - // const entries = [] - // // const [...entries] = await ctx.globAllTestFiles(preOptions as ResolvedConfig, preOptions.dir || root) - // if (preOptions?.setupFiles) { - // const setupFiles = toArray(preOptions.setupFiles).map((file: string) => - // normalize( - // resolveModule(file, { paths: [root] }) - // ?? resolve(root, file), - // ), - // ) - // entries.push(...setupFiles) - // } - // const cacheDir = preOptions.cache !== false ? preOptions.cache?.dir : null - // optimizeConfig.cacheDir = cacheDir ?? 'node_modules/.vitest' - // optimizeConfig.optimizeDeps = { - // ...viteConfig.optimizeDeps, - // ...optimizer, - // disabled: false, - // entries: [...(viteConfig.optimizeDeps?.entries || []), ...entries], - // exclude: ['vitest', ...builtinModules, ...(optimizer.exclude || viteConfig.optimizeDeps?.exclude || [])], - // include: (optimizer.include || viteConfig.optimizeDeps?.include || []).filter((n: string) => n !== 'vitest'), - // } - // // Vite throws an error that it cannot rename "deps_temp", but optimization still works - // // let's not show this error to users - // const { error: logError } = console - // console.error = (...args) => { - // if (typeof args[0] === 'string' && args[0].includes('/deps_temp')) - // return - // return logError(...args) - // } - // } Object.assign(config, optimizeConfig) return config diff --git a/packages/vitest/src/types/config.ts b/packages/vitest/src/types/config.ts index e8e9b2f064ff..0a18bca805a6 100644 --- a/packages/vitest/src/types/config.ts +++ b/packages/vitest/src/types/config.ts @@ -74,7 +74,7 @@ interface DepsOptions { /** * Enable dependency optimization. This can improve the performance of your tests. */ - experimentalOptimizer?: Omit & { + experimentalOptimizer?: Omit & { enabled: boolean } /** diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 64ea153b44d9..31d4c6ed0f15 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -131,13 +131,13 @@ importers: dependencies: '@vueuse/core': specifier: ^10.1.2 - version: 10.1.2(vue@3.3.4) + version: 10.1.2(vue@3.3.2) jiti: specifier: ^1.18.2 version: 1.18.2 vue: specifier: latest - version: 3.3.4 + version: 3.3.2 devDependencies: '@iconify-json/carbon': specifier: ^1.1.16 @@ -168,7 +168,7 @@ importers: version: 0.51.8(postcss@8.4.24)(rollup@2.79.1)(vite@4.3.9) unplugin-vue-components: specifier: ^0.24.1 - version: 0.24.1(rollup@2.79.1)(vue@3.3.4) + version: 0.24.1(rollup@2.79.1)(vue@3.3.2) vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -325,7 +325,7 @@ importers: version: 20.2.5 '@types/react': specifier: latest - version: 18.2.7 + version: 18.2.6 '@vitejs/plugin-react': specifier: latest version: 4.0.0(vite@4.3.9) @@ -685,7 +685,7 @@ importers: version: 4.2.3(vite@4.3.9)(vue@3.3.4) '@vue/test-utils': specifier: latest - version: 2.3.2(vue@3.3.4) + version: 2.3.2(vue@3.3.2) jsdom: specifier: latest version: 22.1.0 @@ -700,7 +700,7 @@ importers: version: link:../../packages/vitest vue: specifier: latest - version: 3.3.4 + version: 3.3.2 examples/solid: dependencies: @@ -755,14 +755,14 @@ importers: dependencies: vue: specifier: latest - version: 3.3.4 + version: 3.3.2 devDependencies: '@vitejs/plugin-vue': specifier: latest version: 4.2.3(vite@4.3.9)(vue@3.3.4) '@vue/test-utils': specifier: ^2.0.2 - version: 2.0.2(vue@3.3.4) + version: 2.0.2(vue@3.3.2) jsdom: specifier: latest version: 22.1.0 @@ -771,7 +771,7 @@ importers: version: 0.12.1(rollup@3.20.2) unplugin-vue-components: specifier: latest - version: 0.22.12(rollup@3.20.2)(vue@3.3.4) + version: 0.22.12(rollup@3.20.2)(vue@3.3.2) vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -783,14 +783,14 @@ importers: dependencies: vue: specifier: latest - version: 3.3.4 + version: 3.3.2 devDependencies: '@vitejs/plugin-vue': specifier: latest version: 4.2.3(vite@4.3.9)(vue@3.3.4) '@vue/test-utils': specifier: ^2.0.0 - version: 2.0.0(vue@3.3.4) + version: 2.0.0(vue@3.3.2) jsdom: specifier: latest version: 22.1.0 @@ -811,7 +811,7 @@ importers: version: 3.0.1(vite@4.3.9)(vue@3.3.4) '@vue/test-utils': specifier: latest - version: 2.3.2(vue@3.3.4) + version: 2.3.2(vue@3.3.2) jsdom: specifier: latest version: 22.1.0 @@ -823,7 +823,7 @@ importers: version: link:../../packages/vitest vue: specifier: latest - version: 3.3.4 + version: 3.3.2 examples/vue2: dependencies: @@ -1527,7 +1527,7 @@ importers: version: link:../../packages/browser '@vue/test-utils': specifier: latest - version: 2.3.2(vue@3.3.4) + version: 2.3.2(vue@3.3.2) happy-dom: specifier: latest version: 9.1.9 @@ -1542,7 +1542,7 @@ importers: version: link:../../packages/vitest vue: specifier: latest - version: 3.3.4 + version: 3.3.2 webdriverio: specifier: latest version: 8.10.2(typescript@5.0.4) @@ -5506,7 +5506,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/types': 27.5.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 chalk: 4.1.2 jest-message-util: 27.5.1 jest-util: 27.5.1 @@ -5527,7 +5527,7 @@ packages: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.8.1 @@ -5564,7 +5564,7 @@ packages: dependencies: '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 jest-mock: 27.5.1 dev: true @@ -5581,7 +5581,7 @@ packages: dependencies: '@jest/types': 27.5.1 '@sinonjs/fake-timers': 8.1.0 - '@types/node': 20.2.5 + '@types/node': 20.2.1 jest-message-util: 27.5.1 jest-mock: 27.5.1 jest-util: 27.5.1 @@ -5610,7 +5610,7 @@ packages: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 chalk: 4.1.2 collect-v8-coverage: 1.0.1 exit: 0.1.2 @@ -5724,7 +5724,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 '@types/yargs': 15.0.14 chalk: 4.1.2 dev: true @@ -5735,7 +5735,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 '@types/yargs': 16.0.5 chalk: 4.1.2 dev: true @@ -5747,7 +5747,7 @@ packages: '@jest/schemas': 29.0.0 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 '@types/yargs': 17.0.12 chalk: 4.1.2 dev: true @@ -8212,7 +8212,7 @@ packages: /@types/cheerio@0.22.31: resolution: {integrity: sha512-Kt7Cdjjdi2XWSfrZ53v4Of0wG3ZcmaegFXjMmz9tfNrZSkzzo36G0AL1YqSdcIA78Etjt6E609pt5h1xnQkPUw==} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 dev: true /@types/codemirror@5.60.7: @@ -8247,7 +8247,7 @@ packages: resolution: {integrity: sha512-xryQlOEIe1TduDWAOphR0ihfebKFSWOXpIsk+70JskCfRfW+xALdnJ0r1ZOTo85F9Qsjk6vtlU7edTYHbls9tA==} dependencies: '@types/cheerio': 0.22.31 - '@types/react': 18.2.7 + '@types/react': 18.2.6 dev: true /@types/eslint-scope@3.7.4: @@ -8292,20 +8292,20 @@ packages: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 5.1.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 dev: true /@types/glob@8.0.0: resolution: {integrity: sha512-l6NQsDDyQUVeoTynNpC9uRvCUint/gSUXQA2euwmTuWGvPY5LSDUu6tkCtJB2SvGQlJQzLaKqcGZP4//7EDveA==} dependencies: '@types/minimatch': 5.1.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 dev: true /@types/graceful-fs@4.1.5: resolution: {integrity: sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 dev: true /@types/hast@2.3.4: @@ -8386,7 +8386,7 @@ packages: /@types/jsonfile@6.1.1: resolution: {integrity: sha512-GSgiRCVeapDN+3pqA35IkQwasaCh/0YFH5dEF6S88iDvEn901DjOeH3/QPY+XYP1DFzDZPvIvfeEgk+7br5png==} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 dev: true /@types/lodash@4.14.194: @@ -8420,7 +8420,7 @@ packages: /@types/node-fetch@2.6.2: resolution: {integrity: sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 form-data: 3.0.1 dev: true @@ -8489,19 +8489,19 @@ packages: /@types/react-dom@18.0.6: resolution: {integrity: sha512-/5OFZgfIPSwy+YuIBP/FgJnQnsxhZhjjrnxudMddeblOouIodEQ75X14Rr4wGSG/bknL+Omy9iWlLo1u/9GzAA==} dependencies: - '@types/react': 18.2.7 + '@types/react': 18.2.6 dev: true /@types/react-dom@18.0.8: resolution: {integrity: sha512-C3GYO0HLaOkk9dDAz3Dl4sbe4AKUGTCfFIZsz3n/82dPNN8Du533HzKatDxeUYWu24wJgMP1xICqkWk1YOLOIw==} dependencies: - '@types/react': 18.2.7 + '@types/react': 18.2.6 dev: true /@types/react-is@17.0.3: resolution: {integrity: sha512-aBTIWg1emtu95bLTLx0cpkxwGW3ueZv71nE2YFBpL8k/z5czEW8yYpOo8Dp+UUAFAtKwNaOsh/ioSeQnWlZcfw==} dependencies: - '@types/react': 18.2.7 + '@types/react': 18.2.6 dev: false /@types/react-test-renderer@17.0.2: @@ -8513,7 +8513,7 @@ packages: /@types/react-transition-group@4.4.5: resolution: {integrity: sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA==} dependencies: - '@types/react': 18.2.7 + '@types/react': 18.2.6 dev: false /@types/react@17.0.49: @@ -8532,17 +8532,17 @@ packages: csstype: 3.1.0 dev: true - /@types/react@18.2.7: - resolution: {integrity: sha512-ojrXpSH2XFCmHm7Jy3q44nXDyN54+EYKP2lBhJ2bqfyPj6cIUW/FZW/Csdia34NQgq7KYcAlHi5184m4X88+yw==} + /@types/react@18.2.6: + resolution: {integrity: sha512-wRZClXn//zxCFW+ye/D2qY65UsYP1Fpex2YXorHc8awoNamkMZSvBxwxdYVInsHOZZd2Ppq8isnSzJL5Mpf8OA==} dependencies: '@types/prop-types': 15.7.5 '@types/scheduler': 0.16.2 - csstype: 3.1.2 + csstype: 3.1.0 /@types/resolve@1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 dev: true /@types/resolve@1.20.2: @@ -8559,7 +8559,7 @@ packages: /@types/set-cookie-parser@2.4.2: resolution: {integrity: sha512-fBZgytwhYAUkj/jC/FAV4RQ5EerRup1YQsXQCh8rZfiHkc4UahC192oH0smGwsXol3cL3A5oETuAHeQHmhXM4w==} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 dev: true /@types/sinonjs__fake-timers@8.1.1: @@ -8633,7 +8633,7 @@ packages: /@types/webpack-sources@3.2.0: resolution: {integrity: sha512-Ft7YH3lEVRQ6ls8k4Ff1oB4jN6oy/XmU6tQISKdhfh+1mR+viZFphS6WL0IrtDOzvefmJg5a0s7ZQoRXwqTEFg==} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 '@types/source-list-map': 0.1.2 source-map: 0.7.4 dev: true @@ -8641,7 +8641,7 @@ packages: /@types/webpack@4.41.32: resolution: {integrity: sha512-cb+0ioil/7oz5//7tZUSwbrSAN/NWHrQylz5cW8G0dWTcF/g+/dSdMlKVZspBYuMAN1+WnwHrkxiRrLcwd0Heg==} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 '@types/tapable': 1.0.8 '@types/uglify-js': 3.17.0 '@types/webpack-sources': 3.2.0 @@ -8685,7 +8685,7 @@ packages: resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==} requiresBuild: true dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 dev: true optional: true @@ -9252,6 +9252,14 @@ packages: source-map: 0.6.1 dev: true + /@vue/compiler-core@3.3.2: + resolution: {integrity: sha512-CKZWo1dzsQYTNTft7whzjL0HsrEpMfiK7pjZ2WFE3bC1NA7caUjWioHSK+49y/LK7Bsm4poJZzAMnvZMQ7OTeg==} + dependencies: + '@babel/parser': 7.21.4 + '@vue/shared': 3.3.2 + estree-walker: 2.0.2 + source-map-js: 1.0.2 + /@vue/compiler-core@3.3.4: resolution: {integrity: sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==} dependencies: @@ -9259,6 +9267,7 @@ packages: '@vue/shared': 3.3.4 estree-walker: 2.0.2 source-map-js: 1.0.2 + dev: true /@vue/compiler-dom@3.2.39: resolution: {integrity: sha512-HMFI25Be1C8vLEEv1hgEO1dWwG9QQ8LTTPmCkblVJY/O3OvWx6r1+zsox5mKPMGvqYEZa6l8j+xgOfUspgo7hw==} @@ -9273,11 +9282,18 @@ packages: '@vue/shared': 3.2.47 dev: true + /@vue/compiler-dom@3.3.2: + resolution: {integrity: sha512-6gS3auANuKXLw0XH6QxkWqyPYPunziS2xb6VRenM3JY7gVfZcJvkCBHkb5RuNY1FCbBO3lkIi0CdXUCW1c7SXw==} + dependencies: + '@vue/compiler-core': 3.3.2 + '@vue/shared': 3.3.2 + /@vue/compiler-dom@3.3.4: resolution: {integrity: sha512-wyM+OjOVpuUukIq6p5+nwHYtj9cFroz9cwkfmP9O1nzH68BenTTv0u7/ndggT8cIQlnBeOo6sUT/gvHcIkLA5w==} dependencies: '@vue/compiler-core': 3.3.4 '@vue/shared': 3.3.4 + dev: true /@vue/compiler-sfc@2.7.10: resolution: {integrity: sha512-55Shns6WPxlYsz4WX7q9ZJBL77sKE1ZAYNYStLs6GbhIOMrNtjMvzcob6gu3cGlfpCR4bT7NXgyJ3tly2+Hx8Q==} @@ -9315,6 +9331,20 @@ packages: source-map: 0.6.1 dev: true + /@vue/compiler-sfc@3.3.2: + resolution: {integrity: sha512-jG4jQy28H4BqzEKsQqqW65BZgmo3vzdLHTBjF+35RwtDdlFE+Fk1VWJYUnDMMqkFBo6Ye1ltSKVOMPgkzYj7SQ==} + dependencies: + '@babel/parser': 7.21.4 + '@vue/compiler-core': 3.3.2 + '@vue/compiler-dom': 3.3.2 + '@vue/compiler-ssr': 3.3.2 + '@vue/reactivity-transform': 3.3.2 + '@vue/shared': 3.3.2 + estree-walker: 2.0.2 + magic-string: 0.30.0 + postcss: 8.4.23 + source-map-js: 1.0.2 + /@vue/compiler-sfc@3.3.4: resolution: {integrity: sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==} dependencies: @@ -9328,6 +9358,7 @@ packages: magic-string: 0.30.0 postcss: 8.4.24 source-map-js: 1.0.2 + dev: true /@vue/compiler-ssr@3.2.39: resolution: {integrity: sha512-EoGCJ6lincKOZGW+0Ky4WOKsSmqL7hp1ZYgen8M7u/mlvvEQUaO9tKKOy7K43M9U2aA3tPv0TuYYQFrEbK2eFQ==} @@ -9342,11 +9373,18 @@ packages: '@vue/shared': 3.2.47 dev: true + /@vue/compiler-ssr@3.3.2: + resolution: {integrity: sha512-K8OfY5FQtZaSOJHHe8xhEfIfLrefL/Y9frv4k4NsyQL3+0lRKxr9QuJhfdBDjkl7Fhz8CzKh63mULvmOfx3l2w==} + dependencies: + '@vue/compiler-dom': 3.3.2 + '@vue/shared': 3.3.2 + /@vue/compiler-ssr@3.3.4: resolution: {integrity: sha512-m0v6oKpup2nMSehwA6Uuu+j+wEwcy7QmwMkVNVfrV9P2qE5KshC6RwOCq8fjGS/Eak/uNb8AaWekfiXxbBB6gQ==} dependencies: '@vue/compiler-dom': 3.3.4 '@vue/shared': 3.3.4 + dev: true /@vue/devtools-api@6.4.5: resolution: {integrity: sha512-JD5fcdIuFxU4fQyXUu3w2KpAJHzTVdN+p4iOX2lMWSHMOoQdMAcpFLZzm9Z/2nmsoZ1a96QEhZ26e50xLBsgOQ==} @@ -9375,6 +9413,15 @@ packages: magic-string: 0.25.9 dev: true + /@vue/reactivity-transform@3.3.2: + resolution: {integrity: sha512-iu2WaQvlJHdnONrsyv4ibIEnSsuKF+aHFngGj/y1lwpHQtalpVhKg9wsKMoiKXS9zPNjG9mNKzJS9vudvjzvyg==} + dependencies: + '@babel/parser': 7.21.4 + '@vue/compiler-core': 3.3.2 + '@vue/shared': 3.3.2 + estree-walker: 2.0.2 + magic-string: 0.30.0 + /@vue/reactivity-transform@3.3.4: resolution: {integrity: sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==} dependencies: @@ -9383,6 +9430,7 @@ packages: '@vue/shared': 3.3.4 estree-walker: 2.0.2 magic-string: 0.30.0 + dev: true /@vue/reactivity@3.2.38: resolution: {integrity: sha512-6L4myYcH9HG2M25co7/BSo0skKFHpAN8PhkNPM4xRVkyGl1K5M3Jx4rp5bsYhvYze2K4+l+pioN4e6ZwFLUVtw==} @@ -9401,10 +9449,16 @@ packages: '@vue/shared': 3.2.47 dev: true + /@vue/reactivity@3.3.2: + resolution: {integrity: sha512-yX8C4uTgg2Tdj+512EEMnMKbLveoITl7YdQX35AYgx8vBvQGszKiiCN46g4RY6/deeo/5DLbeUUGxCq1qWMf5g==} + dependencies: + '@vue/shared': 3.3.2 + /@vue/reactivity@3.3.4: resolution: {integrity: sha512-kLTDLwd0B1jG08NBF3R5rqULtv/f8x3rOFByTDz4J53ttIQEDmALqKqXY0J+XQeN0aV2FBxY8nJDf88yvOPAqQ==} dependencies: '@vue/shared': 3.3.4 + dev: true /@vue/runtime-core@3.2.39: resolution: {integrity: sha512-xKH5XP57JW5JW+8ZG1khBbuLakINTgPuINKL01hStWLTTGFOrM49UfCFXBcFvWmSbci3gmJyLl2EAzCaZWsx8g==} @@ -9419,11 +9473,18 @@ packages: '@vue/shared': 3.2.47 dev: true + /@vue/runtime-core@3.3.2: + resolution: {integrity: sha512-qSl95qj0BvKfcsO+hICqFEoLhJn6++HtsPxmTkkadFbuhe3uQfJ8HmQwvEr7xbxBd2rcJB6XOJg7nWAn/ymC5A==} + dependencies: + '@vue/reactivity': 3.3.2 + '@vue/shared': 3.3.2 + /@vue/runtime-core@3.3.4: resolution: {integrity: sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==} dependencies: '@vue/reactivity': 3.3.4 '@vue/shared': 3.3.4 + dev: true /@vue/runtime-dom@3.2.39: resolution: {integrity: sha512-4G9AEJP+sLhsqf5wXcyKVWQKUhI+iWfy0hWQgea+CpaTD7BR0KdQzvoQdZhwCY6B3oleSyNLkLAQwm0ya/wNoA==} @@ -9440,12 +9501,20 @@ packages: csstype: 2.6.20 dev: true + /@vue/runtime-dom@3.3.2: + resolution: {integrity: sha512-+drStsJT+0mtgHdarT7cXZReCcTFfm6ptxMrz0kAW5hms6UNBd8Q1pi4JKlncAhu+Ld/TevsSp7pqAZxBBoGng==} + dependencies: + '@vue/runtime-core': 3.3.2 + '@vue/shared': 3.3.2 + csstype: 3.1.2 + /@vue/runtime-dom@3.3.4: resolution: {integrity: sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==} dependencies: '@vue/runtime-core': 3.3.4 '@vue/shared': 3.3.4 csstype: 3.1.2 + dev: true /@vue/server-renderer@3.2.39(vue@3.2.39): resolution: {integrity: sha512-1yn9u2YBQWIgytFMjz4f/t0j43awKytTGVptfd3FtBk76t1pd8mxbek0G/DrnjJhd2V7mSTb5qgnxMYt8Z5iSQ==} @@ -9466,6 +9535,15 @@ packages: vue: 3.2.47 dev: true + /@vue/server-renderer@3.3.2(vue@3.3.2): + resolution: {integrity: sha512-QCwh6OGwJg6GDLE0fbQhRTR6tnU+XDJ1iCsTYHXBiezCXAhqMygFRij7BiLF4ytvvHcg5kX9joX5R5vP85++wg==} + peerDependencies: + vue: 3.3.2 + dependencies: + '@vue/compiler-ssr': 3.3.2 + '@vue/shared': 3.3.2 + vue: 3.3.2 + /@vue/server-renderer@3.3.4(vue@3.3.4): resolution: {integrity: sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==} peerDependencies: @@ -9474,6 +9552,7 @@ packages: '@vue/compiler-ssr': 3.3.4 '@vue/shared': 3.3.4 vue: 3.3.4 + dev: true /@vue/shared@3.2.38: resolution: {integrity: sha512-dTyhTIRmGXBjxJE+skC8tTWCGLCVc4wQgRRLt8+O9p5ewBAjoBwtCAkLPrtToSr1xltoe3st21Pv953aOZ7alg==} @@ -9486,8 +9565,12 @@ packages: resolution: {integrity: sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==} dev: true + /@vue/shared@3.3.2: + resolution: {integrity: sha512-0rFu3h8JbclbnvvKrs7Fe5FNGV9/5X2rPD7KmOzhLSUAiQH5//Hq437Gv0fR5Mev3u/nbtvmLl8XgwCU20/ZfQ==} + /@vue/shared@3.3.4: resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==} + dev: true /@vue/test-utils@1.3.0(vue-template-compiler@2.7.10)(vue@2.7.10): resolution: {integrity: sha512-Xk2Xiyj2k5dFb8eYUKkcN9PzqZSppTlx7LaQWBbdA8tqh3jHr/KHX2/YLhNFc/xwDrgeLybqd+4ZCPJSGPIqeA==} @@ -9502,32 +9585,32 @@ packages: vue-template-compiler: 2.7.10 dev: true - /@vue/test-utils@2.0.0(vue@3.3.4): + /@vue/test-utils@2.0.0(vue@3.3.2): resolution: {integrity: sha512-zL5kygNq7hONrO1CzaUGprEAklAX+pH8J1MPMCU3Rd2xtSYkZ+PmKU3oEDRg8VAGdL5lNJHzDgrud5amFPtirw==} peerDependencies: vue: ^3.0.1 dependencies: - vue: 3.3.4 + vue: 3.3.2 dev: true - /@vue/test-utils@2.0.2(vue@3.3.4): + /@vue/test-utils@2.0.2(vue@3.3.2): resolution: {integrity: sha512-E2P4oXSaWDqTZNbmKZFVLrNN/siVN78YkEqs7pHryWerrlZR9bBFLWdJwRoguX45Ru6HxIflzKl4vQvwRMwm5g==} peerDependencies: vue: ^3.0.1 dependencies: - vue: 3.3.4 + vue: 3.3.2 dev: true - /@vue/test-utils@2.3.2(vue@3.3.4): + /@vue/test-utils@2.3.2(vue@3.3.2): resolution: {integrity: sha512-hJnVaYhbrIm0yBS0+e1Y0Sj85cMyAi+PAbK4JHqMRUZ6S622Goa+G7QzkRSyvCteG8wop7tipuEbHoZo26wsSA==} peerDependencies: vue: ^3.0.1 dependencies: js-beautify: 1.14.6 - vue: 3.3.4 + vue: 3.3.2 optionalDependencies: - '@vue/compiler-dom': 3.3.4 - '@vue/server-renderer': 3.3.4(vue@3.3.4) + '@vue/compiler-dom': 3.3.2 + '@vue/server-renderer': 3.3.2(vue@3.3.2) dev: true /@vueuse/core@10.1.2(vue@3.2.47): @@ -9542,6 +9625,18 @@ packages: - vue dev: true + /@vueuse/core@10.1.2(vue@3.3.2): + resolution: {integrity: sha512-roNn8WuerI56A5uiTyF/TEYX0Y+VKlhZAF94unUfdhbDUI+NfwQMn4FUnUscIRUhv3344qvAghopU4bzLPNFlA==} + dependencies: + '@types/web-bluetooth': 0.0.17 + '@vueuse/metadata': 10.1.2 + '@vueuse/shared': 10.1.2(vue@3.3.2) + vue-demi: 0.14.0(vue@3.3.2) + transitivePeerDependencies: + - '@vue/composition-api' + - vue + dev: false + /@vueuse/core@10.1.2(vue@3.3.4): resolution: {integrity: sha512-roNn8WuerI56A5uiTyF/TEYX0Y+VKlhZAF94unUfdhbDUI+NfwQMn4FUnUscIRUhv3344qvAghopU4bzLPNFlA==} dependencies: @@ -9552,6 +9647,7 @@ packages: transitivePeerDependencies: - '@vue/composition-api' - vue + dev: true /@vueuse/core@8.9.4(vue@3.2.39): resolution: {integrity: sha512-B/Mdj9TK1peFyWaPof+Zf/mP9XuGAngaJZBwPaXBvU3aCTZlx3ltlrFFFyMV4iGBwsjSCeUCgZrtkEj9dS2Y3Q==} @@ -9631,6 +9727,15 @@ packages: - vue dev: true + /@vueuse/shared@10.1.2(vue@3.3.2): + resolution: {integrity: sha512-1uoUTPBlgyscK9v6ScGeVYDDzlPSFXBlxuK7SfrDGyUTBiznb3mNceqhwvZHjtDRELZEN79V5uWPTF1VDV8svA==} + dependencies: + vue-demi: 0.14.0(vue@3.3.2) + transitivePeerDependencies: + - '@vue/composition-api' + - vue + dev: false + /@vueuse/shared@10.1.2(vue@3.3.4): resolution: {integrity: sha512-1uoUTPBlgyscK9v6ScGeVYDDzlPSFXBlxuK7SfrDGyUTBiznb3mNceqhwvZHjtDRELZEN79V5uWPTF1VDV8svA==} dependencies: @@ -9638,6 +9743,7 @@ packages: transitivePeerDependencies: - '@vue/composition-api' - vue + dev: true /@vueuse/shared@8.9.4(vue@3.2.39): resolution: {integrity: sha512-wt+T30c4K6dGRMVqPddexEVLa28YwxW5OFIPmzUHICjphfAuBFTTdDoyqREZNDOFJZ44ARH1WWQNCUK8koJ+Ag==} @@ -9704,7 +9810,7 @@ packages: resolution: {integrity: sha512-VZ1WFHTNKjR8Ga97TtV2SZM6fvRjWbYI2i/f4pJB4PtusorKvONAMJf2LQcUBIyzbVobqr7KSrcjmSwRolI+yw==} engines: {node: ^16.13 || >=18} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 dev: true /@wdio/repl@8.6.6: @@ -9718,7 +9824,7 @@ packages: resolution: {integrity: sha512-d0oWX82CVE4Z7ipD2GpPhaeFKh7JDaDNzgiQpPYkS74TBSqQV+yrqvqRlrmHD4nmRgFwnjtD8AFOo7ackeURhg==} engines: {node: ^16.13 || >=18} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 dev: true /@wdio/types@8.8.7: @@ -11694,7 +11800,7 @@ packages: engines: {node: '>=12.13.0'} hasBin: true dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 escape-string-regexp: 4.0.0 is-wsl: 2.2.0 lighthouse-logger: 1.3.0 @@ -12936,7 +13042,7 @@ packages: resolution: {integrity: sha512-pvnTf0GtY1ILgBBxjGpQmwmiIklPQFQNirW4deluoLnhKLt6ekdKjYRLoK7goNN0rYPx7R/KK6Aqe5mgWKxBaA==} engines: {node: ^16.13 || >=18} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 '@wdio/config': 8.10.2 '@wdio/logger': 8.6.6 '@wdio/protocols': 8.10.2 @@ -16860,7 +16966,7 @@ packages: '@jest/environment': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 chalk: 4.1.2 co: 4.6.0 dedent: 0.7.0 @@ -16996,7 +17102,7 @@ packages: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 jest-mock: 27.5.1 jest-util: 27.5.1 jsdom: 16.7.0 @@ -17014,7 +17120,7 @@ packages: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 jest-mock: 27.5.1 jest-util: 27.5.1 dev: true @@ -17035,7 +17141,7 @@ packages: dependencies: '@jest/types': 26.6.2 '@types/graceful-fs': 4.1.5 - '@types/node': 20.2.5 + '@types/node': 20.2.1 anymatch: 3.1.2 fb-watchman: 2.0.1 graceful-fs: 4.2.10 @@ -17058,7 +17164,7 @@ packages: dependencies: '@jest/types': 27.5.1 '@types/graceful-fs': 4.1.5 - '@types/node': 20.2.5 + '@types/node': 20.2.1 anymatch: 3.1.2 fb-watchman: 2.0.1 graceful-fs: 4.2.10 @@ -17098,7 +17204,7 @@ packages: '@jest/source-map': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 chalk: 4.1.2 co: 4.6.0 expect: 27.5.1 @@ -17178,7 +17284,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/types': 27.5.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 dev: true /jest-pnp-resolver@1.2.3(jest-resolve@27.5.1): @@ -17239,7 +17345,7 @@ packages: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 chalk: 4.1.2 emittery: 0.8.1 graceful-fs: 4.2.10 @@ -17296,7 +17402,7 @@ packages: resolution: {integrity: sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g==} engines: {node: '>= 10.14.2'} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 graceful-fs: 4.2.10 dev: true @@ -17304,7 +17410,7 @@ packages: resolution: {integrity: sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 graceful-fs: 4.2.10 dev: true @@ -17343,7 +17449,7 @@ packages: engines: {node: '>= 10.14.2'} dependencies: '@jest/types': 26.6.2 - '@types/node': 20.2.5 + '@types/node': 20.2.1 chalk: 4.1.2 graceful-fs: 4.2.10 is-ci: 2.0.0 @@ -17355,7 +17461,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/types': 27.5.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 chalk: 4.1.2 ci-info: 3.7.0 graceful-fs: 4.2.10 @@ -17367,7 +17473,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.0.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 chalk: 4.1.2 ci-info: 3.7.0 graceful-fs: 4.2.10 @@ -17392,7 +17498,7 @@ packages: dependencies: '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.5 + '@types/node': 20.2.1 ansi-escapes: 4.3.2 chalk: 4.1.2 jest-util: 27.5.1 @@ -17403,7 +17509,7 @@ packages: resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 merge-stream: 2.0.0 supports-color: 7.2.0 dev: true @@ -17412,7 +17518,7 @@ packages: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true @@ -23683,7 +23789,7 @@ packages: - rollup dev: true - /unplugin-vue-components@0.22.12(rollup@3.20.2)(vue@3.3.4): + /unplugin-vue-components@0.22.12(rollup@3.20.2)(vue@3.3.2): resolution: {integrity: sha512-FxyzsuBvMCYPIk+8cgscGBQ345tvwVu+qY5IhE++eorkyvA4Z1TiD/HCiim+Kbqozl10i4K+z+NCa2WO2jexRA==} engines: {node: '>=14'} peerDependencies: @@ -23704,13 +23810,13 @@ packages: resolve: 1.22.1 unimport: 3.0.7(rollup@3.20.2) unplugin: 1.3.1 - vue: 3.3.4 + vue: 3.3.2 transitivePeerDependencies: - rollup - supports-color dev: true - /unplugin-vue-components@0.24.1(rollup@2.79.1)(vue@3.3.4): + /unplugin-vue-components@0.24.1(rollup@2.79.1)(vue@3.3.2): resolution: {integrity: sha512-T3A8HkZoIE1Cja95xNqolwza0yD5IVlgZZ1PVAGvVCx8xthmjsv38xWRCtHtwl+rvZyL9uif42SRkDGw9aCfMA==} engines: {node: '>=14'} peerDependencies: @@ -23733,7 +23839,7 @@ packages: minimatch: 7.4.2 resolve: 1.22.1 unplugin: 1.3.1 - vue: 3.3.4 + vue: 3.3.2 transitivePeerDependencies: - rollup - supports-color @@ -24277,6 +24383,21 @@ packages: vue: 3.2.47 dev: true + /vue-demi@0.14.0(vue@3.3.2): + resolution: {integrity: sha512-gt58r2ogsNQeVoQ3EhoUAvUsH9xviydl0dWJj7dabBC/2L4uBId7ujtCwDRD0JhkGsV1i0CtfLAeyYKBht9oWg==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + peerDependencies: + '@vue/composition-api': ^1.0.0-rc.1 + vue: ^3.0.0-0 || ^2.6.0 + peerDependenciesMeta: + '@vue/composition-api': + optional: true + dependencies: + vue: 3.3.2 + dev: false + /vue-demi@0.14.0(vue@3.3.4): resolution: {integrity: sha512-gt58r2ogsNQeVoQ3EhoUAvUsH9xviydl0dWJj7dabBC/2L4uBId7ujtCwDRD0JhkGsV1i0CtfLAeyYKBht9oWg==} engines: {node: '>=12'} @@ -24290,6 +24411,7 @@ packages: optional: true dependencies: vue: 3.3.4 + dev: true /vue-eslint-parser@9.1.0(eslint@8.39.0): resolution: {integrity: sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==} @@ -24370,6 +24492,15 @@ packages: '@vue/shared': 3.2.47 dev: true + /vue@3.3.2: + resolution: {integrity: sha512-98hJcAhyDwZoOo2flAQBSPVYG/o0HA9ivIy2ktHshjE+6/q8IMQ+kvDKQzOZTFPxvnNMcGM+zS2A00xeZMA7tA==} + dependencies: + '@vue/compiler-dom': 3.3.2 + '@vue/compiler-sfc': 3.3.2 + '@vue/runtime-dom': 3.3.2 + '@vue/server-renderer': 3.3.2(vue@3.3.2) + '@vue/shared': 3.3.2 + /vue@3.3.4: resolution: {integrity: sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==} dependencies: @@ -24378,6 +24509,7 @@ packages: '@vue/runtime-dom': 3.3.4 '@vue/server-renderer': 3.3.4(vue@3.3.4) '@vue/shared': 3.3.4 + dev: true /w3c-hr-time@1.0.2: resolution: {integrity: sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==} @@ -24470,7 +24602,7 @@ packages: resolution: {integrity: sha512-xwoY+JtmEwN9hFx00V08PBlLLbuOHnPcO78ImPn6IzlhDW960f/6C8fzP0oiJkDyjQ7U81gHU6Mjkp/tBNpKEQ==} engines: {node: ^16.13 || >=18} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 '@types/ws': 8.5.4 '@wdio/config': 8.10.2 '@wdio/logger': 8.6.6 @@ -24510,7 +24642,7 @@ packages: resolution: {integrity: sha512-VrA9oFI17sBhPDvMwywve4CwODHi5FEzjn9gyInN7Nv+6tVaDC+PVGsKV7ZQQSj5C0bzPCn3IgXSoM1Qqn3XeQ==} engines: {node: ^16.13 || >=18} dependencies: - '@types/node': 20.2.5 + '@types/node': 20.2.1 '@wdio/config': 8.10.2 '@wdio/logger': 8.6.6 '@wdio/protocols': 8.10.2 From 5b0f63c76b0ba139d14c50d60f091bf8d3d117d5 Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Sat, 20 May 2023 12:48:58 +0200 Subject: [PATCH 2/6] chore: cleanup --- packages/vitest/src/node/plugins/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vitest/src/node/plugins/index.ts b/packages/vitest/src/node/plugins/index.ts index 9329b4d51c55..d61f7f6d7213 100644 --- a/packages/vitest/src/node/plugins/index.ts +++ b/packages/vitest/src/node/plugins/index.ts @@ -139,7 +139,7 @@ export async function VitestPlugin(options: UserConfig = {}, ctx = new Vitest('t const optimizer = preOptions.deps?.experimentalOptimizer const [major, minor] = viteVersion.split('.').map(Number) const allowed = major >= 5 || (major === 4 && minor >= 3) - if (!allowed || !optimizer?.enabled) { + if (!allowed || optimizer?.enabled !== true) { optimizeConfig.cacheDir = undefined optimizeConfig.optimizeDeps = { // experimental in Vite >2.9.2, entries remains to help with older versions From 73bad11c2f502dc95fa9e53258e13fb1237a417f Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Thu, 1 Jun 2023 09:14:59 +0200 Subject: [PATCH 3/6] chore: lockfile --- pnpm-lock.yaml | 303 +++++++++++++------------------------------------ 1 file changed, 76 insertions(+), 227 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 31d4c6ed0f15..e06c00ab0dbb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -131,13 +131,13 @@ importers: dependencies: '@vueuse/core': specifier: ^10.1.2 - version: 10.1.2(vue@3.3.2) + version: 10.1.2(vue@3.3.4) jiti: specifier: ^1.18.2 version: 1.18.2 vue: specifier: latest - version: 3.3.2 + version: 3.3.4 devDependencies: '@iconify-json/carbon': specifier: ^1.1.16 @@ -168,7 +168,7 @@ importers: version: 0.51.8(postcss@8.4.24)(rollup@2.79.1)(vite@4.3.9) unplugin-vue-components: specifier: ^0.24.1 - version: 0.24.1(rollup@2.79.1)(vue@3.3.2) + version: 0.24.1(rollup@2.79.1)(vue@3.3.4) vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -325,7 +325,7 @@ importers: version: 20.2.5 '@types/react': specifier: latest - version: 18.2.6 + version: 18.2.7 '@vitejs/plugin-react': specifier: latest version: 4.0.0(vite@4.3.9) @@ -685,7 +685,7 @@ importers: version: 4.2.3(vite@4.3.9)(vue@3.3.4) '@vue/test-utils': specifier: latest - version: 2.3.2(vue@3.3.2) + version: 2.3.2(vue@3.3.4) jsdom: specifier: latest version: 22.1.0 @@ -700,7 +700,7 @@ importers: version: link:../../packages/vitest vue: specifier: latest - version: 3.3.2 + version: 3.3.4 examples/solid: dependencies: @@ -755,14 +755,14 @@ importers: dependencies: vue: specifier: latest - version: 3.3.2 + version: 3.3.4 devDependencies: '@vitejs/plugin-vue': specifier: latest version: 4.2.3(vite@4.3.9)(vue@3.3.4) '@vue/test-utils': specifier: ^2.0.2 - version: 2.0.2(vue@3.3.2) + version: 2.0.2(vue@3.3.4) jsdom: specifier: latest version: 22.1.0 @@ -771,7 +771,7 @@ importers: version: 0.12.1(rollup@3.20.2) unplugin-vue-components: specifier: latest - version: 0.22.12(rollup@3.20.2)(vue@3.3.2) + version: 0.22.12(rollup@3.20.2)(vue@3.3.4) vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -783,14 +783,14 @@ importers: dependencies: vue: specifier: latest - version: 3.3.2 + version: 3.3.4 devDependencies: '@vitejs/plugin-vue': specifier: latest version: 4.2.3(vite@4.3.9)(vue@3.3.4) '@vue/test-utils': specifier: ^2.0.0 - version: 2.0.0(vue@3.3.2) + version: 2.0.0(vue@3.3.4) jsdom: specifier: latest version: 22.1.0 @@ -811,7 +811,7 @@ importers: version: 3.0.1(vite@4.3.9)(vue@3.3.4) '@vue/test-utils': specifier: latest - version: 2.3.2(vue@3.3.2) + version: 2.3.2(vue@3.3.4) jsdom: specifier: latest version: 22.1.0 @@ -823,7 +823,7 @@ importers: version: link:../../packages/vitest vue: specifier: latest - version: 3.3.2 + version: 3.3.4 examples/vue2: dependencies: @@ -1527,7 +1527,7 @@ importers: version: link:../../packages/browser '@vue/test-utils': specifier: latest - version: 2.3.2(vue@3.3.2) + version: 2.3.2(vue@3.3.4) happy-dom: specifier: latest version: 9.1.9 @@ -1542,7 +1542,7 @@ importers: version: link:../../packages/vitest vue: specifier: latest - version: 3.3.2 + version: 3.3.4 webdriverio: specifier: latest version: 8.10.2(typescript@5.0.4) @@ -5506,7 +5506,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/types': 27.5.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 chalk: 4.1.2 jest-message-util: 27.5.1 jest-util: 27.5.1 @@ -5527,7 +5527,7 @@ packages: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.8.1 @@ -5564,7 +5564,7 @@ packages: dependencies: '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 jest-mock: 27.5.1 dev: true @@ -5581,7 +5581,7 @@ packages: dependencies: '@jest/types': 27.5.1 '@sinonjs/fake-timers': 8.1.0 - '@types/node': 20.2.1 + '@types/node': 20.2.5 jest-message-util: 27.5.1 jest-mock: 27.5.1 jest-util: 27.5.1 @@ -5610,7 +5610,7 @@ packages: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 chalk: 4.1.2 collect-v8-coverage: 1.0.1 exit: 0.1.2 @@ -5724,7 +5724,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 '@types/yargs': 15.0.14 chalk: 4.1.2 dev: true @@ -5735,7 +5735,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 '@types/yargs': 16.0.5 chalk: 4.1.2 dev: true @@ -5747,7 +5747,7 @@ packages: '@jest/schemas': 29.0.0 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 '@types/yargs': 17.0.12 chalk: 4.1.2 dev: true @@ -8212,7 +8212,7 @@ packages: /@types/cheerio@0.22.31: resolution: {integrity: sha512-Kt7Cdjjdi2XWSfrZ53v4Of0wG3ZcmaegFXjMmz9tfNrZSkzzo36G0AL1YqSdcIA78Etjt6E609pt5h1xnQkPUw==} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 dev: true /@types/codemirror@5.60.7: @@ -8247,7 +8247,7 @@ packages: resolution: {integrity: sha512-xryQlOEIe1TduDWAOphR0ihfebKFSWOXpIsk+70JskCfRfW+xALdnJ0r1ZOTo85F9Qsjk6vtlU7edTYHbls9tA==} dependencies: '@types/cheerio': 0.22.31 - '@types/react': 18.2.6 + '@types/react': 18.2.7 dev: true /@types/eslint-scope@3.7.4: @@ -8292,20 +8292,20 @@ packages: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 5.1.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 dev: true /@types/glob@8.0.0: resolution: {integrity: sha512-l6NQsDDyQUVeoTynNpC9uRvCUint/gSUXQA2euwmTuWGvPY5LSDUu6tkCtJB2SvGQlJQzLaKqcGZP4//7EDveA==} dependencies: '@types/minimatch': 5.1.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 dev: true /@types/graceful-fs@4.1.5: resolution: {integrity: sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 dev: true /@types/hast@2.3.4: @@ -8386,7 +8386,7 @@ packages: /@types/jsonfile@6.1.1: resolution: {integrity: sha512-GSgiRCVeapDN+3pqA35IkQwasaCh/0YFH5dEF6S88iDvEn901DjOeH3/QPY+XYP1DFzDZPvIvfeEgk+7br5png==} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 dev: true /@types/lodash@4.14.194: @@ -8420,7 +8420,7 @@ packages: /@types/node-fetch@2.6.2: resolution: {integrity: sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 form-data: 3.0.1 dev: true @@ -8489,19 +8489,19 @@ packages: /@types/react-dom@18.0.6: resolution: {integrity: sha512-/5OFZgfIPSwy+YuIBP/FgJnQnsxhZhjjrnxudMddeblOouIodEQ75X14Rr4wGSG/bknL+Omy9iWlLo1u/9GzAA==} dependencies: - '@types/react': 18.2.6 + '@types/react': 18.2.7 dev: true /@types/react-dom@18.0.8: resolution: {integrity: sha512-C3GYO0HLaOkk9dDAz3Dl4sbe4AKUGTCfFIZsz3n/82dPNN8Du533HzKatDxeUYWu24wJgMP1xICqkWk1YOLOIw==} dependencies: - '@types/react': 18.2.6 + '@types/react': 18.2.7 dev: true /@types/react-is@17.0.3: resolution: {integrity: sha512-aBTIWg1emtu95bLTLx0cpkxwGW3ueZv71nE2YFBpL8k/z5czEW8yYpOo8Dp+UUAFAtKwNaOsh/ioSeQnWlZcfw==} dependencies: - '@types/react': 18.2.6 + '@types/react': 18.2.7 dev: false /@types/react-test-renderer@17.0.2: @@ -8513,7 +8513,7 @@ packages: /@types/react-transition-group@4.4.5: resolution: {integrity: sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA==} dependencies: - '@types/react': 18.2.6 + '@types/react': 18.2.7 dev: false /@types/react@17.0.49: @@ -8532,17 +8532,17 @@ packages: csstype: 3.1.0 dev: true - /@types/react@18.2.6: - resolution: {integrity: sha512-wRZClXn//zxCFW+ye/D2qY65UsYP1Fpex2YXorHc8awoNamkMZSvBxwxdYVInsHOZZd2Ppq8isnSzJL5Mpf8OA==} + /@types/react@18.2.7: + resolution: {integrity: sha512-ojrXpSH2XFCmHm7Jy3q44nXDyN54+EYKP2lBhJ2bqfyPj6cIUW/FZW/Csdia34NQgq7KYcAlHi5184m4X88+yw==} dependencies: '@types/prop-types': 15.7.5 '@types/scheduler': 0.16.2 - csstype: 3.1.0 + csstype: 3.1.2 /@types/resolve@1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 dev: true /@types/resolve@1.20.2: @@ -8559,7 +8559,7 @@ packages: /@types/set-cookie-parser@2.4.2: resolution: {integrity: sha512-fBZgytwhYAUkj/jC/FAV4RQ5EerRup1YQsXQCh8rZfiHkc4UahC192oH0smGwsXol3cL3A5oETuAHeQHmhXM4w==} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 dev: true /@types/sinonjs__fake-timers@8.1.1: @@ -8633,7 +8633,7 @@ packages: /@types/webpack-sources@3.2.0: resolution: {integrity: sha512-Ft7YH3lEVRQ6ls8k4Ff1oB4jN6oy/XmU6tQISKdhfh+1mR+viZFphS6WL0IrtDOzvefmJg5a0s7ZQoRXwqTEFg==} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 '@types/source-list-map': 0.1.2 source-map: 0.7.4 dev: true @@ -8641,7 +8641,7 @@ packages: /@types/webpack@4.41.32: resolution: {integrity: sha512-cb+0ioil/7oz5//7tZUSwbrSAN/NWHrQylz5cW8G0dWTcF/g+/dSdMlKVZspBYuMAN1+WnwHrkxiRrLcwd0Heg==} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 '@types/tapable': 1.0.8 '@types/uglify-js': 3.17.0 '@types/webpack-sources': 3.2.0 @@ -8685,7 +8685,7 @@ packages: resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==} requiresBuild: true dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 dev: true optional: true @@ -9252,14 +9252,6 @@ packages: source-map: 0.6.1 dev: true - /@vue/compiler-core@3.3.2: - resolution: {integrity: sha512-CKZWo1dzsQYTNTft7whzjL0HsrEpMfiK7pjZ2WFE3bC1NA7caUjWioHSK+49y/LK7Bsm4poJZzAMnvZMQ7OTeg==} - dependencies: - '@babel/parser': 7.21.4 - '@vue/shared': 3.3.2 - estree-walker: 2.0.2 - source-map-js: 1.0.2 - /@vue/compiler-core@3.3.4: resolution: {integrity: sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==} dependencies: @@ -9267,7 +9259,6 @@ packages: '@vue/shared': 3.3.4 estree-walker: 2.0.2 source-map-js: 1.0.2 - dev: true /@vue/compiler-dom@3.2.39: resolution: {integrity: sha512-HMFI25Be1C8vLEEv1hgEO1dWwG9QQ8LTTPmCkblVJY/O3OvWx6r1+zsox5mKPMGvqYEZa6l8j+xgOfUspgo7hw==} @@ -9282,18 +9273,11 @@ packages: '@vue/shared': 3.2.47 dev: true - /@vue/compiler-dom@3.3.2: - resolution: {integrity: sha512-6gS3auANuKXLw0XH6QxkWqyPYPunziS2xb6VRenM3JY7gVfZcJvkCBHkb5RuNY1FCbBO3lkIi0CdXUCW1c7SXw==} - dependencies: - '@vue/compiler-core': 3.3.2 - '@vue/shared': 3.3.2 - /@vue/compiler-dom@3.3.4: resolution: {integrity: sha512-wyM+OjOVpuUukIq6p5+nwHYtj9cFroz9cwkfmP9O1nzH68BenTTv0u7/ndggT8cIQlnBeOo6sUT/gvHcIkLA5w==} dependencies: '@vue/compiler-core': 3.3.4 '@vue/shared': 3.3.4 - dev: true /@vue/compiler-sfc@2.7.10: resolution: {integrity: sha512-55Shns6WPxlYsz4WX7q9ZJBL77sKE1ZAYNYStLs6GbhIOMrNtjMvzcob6gu3cGlfpCR4bT7NXgyJ3tly2+Hx8Q==} @@ -9331,20 +9315,6 @@ packages: source-map: 0.6.1 dev: true - /@vue/compiler-sfc@3.3.2: - resolution: {integrity: sha512-jG4jQy28H4BqzEKsQqqW65BZgmo3vzdLHTBjF+35RwtDdlFE+Fk1VWJYUnDMMqkFBo6Ye1ltSKVOMPgkzYj7SQ==} - dependencies: - '@babel/parser': 7.21.4 - '@vue/compiler-core': 3.3.2 - '@vue/compiler-dom': 3.3.2 - '@vue/compiler-ssr': 3.3.2 - '@vue/reactivity-transform': 3.3.2 - '@vue/shared': 3.3.2 - estree-walker: 2.0.2 - magic-string: 0.30.0 - postcss: 8.4.23 - source-map-js: 1.0.2 - /@vue/compiler-sfc@3.3.4: resolution: {integrity: sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==} dependencies: @@ -9358,7 +9328,6 @@ packages: magic-string: 0.30.0 postcss: 8.4.24 source-map-js: 1.0.2 - dev: true /@vue/compiler-ssr@3.2.39: resolution: {integrity: sha512-EoGCJ6lincKOZGW+0Ky4WOKsSmqL7hp1ZYgen8M7u/mlvvEQUaO9tKKOy7K43M9U2aA3tPv0TuYYQFrEbK2eFQ==} @@ -9373,18 +9342,11 @@ packages: '@vue/shared': 3.2.47 dev: true - /@vue/compiler-ssr@3.3.2: - resolution: {integrity: sha512-K8OfY5FQtZaSOJHHe8xhEfIfLrefL/Y9frv4k4NsyQL3+0lRKxr9QuJhfdBDjkl7Fhz8CzKh63mULvmOfx3l2w==} - dependencies: - '@vue/compiler-dom': 3.3.2 - '@vue/shared': 3.3.2 - /@vue/compiler-ssr@3.3.4: resolution: {integrity: sha512-m0v6oKpup2nMSehwA6Uuu+j+wEwcy7QmwMkVNVfrV9P2qE5KshC6RwOCq8fjGS/Eak/uNb8AaWekfiXxbBB6gQ==} dependencies: '@vue/compiler-dom': 3.3.4 '@vue/shared': 3.3.4 - dev: true /@vue/devtools-api@6.4.5: resolution: {integrity: sha512-JD5fcdIuFxU4fQyXUu3w2KpAJHzTVdN+p4iOX2lMWSHMOoQdMAcpFLZzm9Z/2nmsoZ1a96QEhZ26e50xLBsgOQ==} @@ -9413,15 +9375,6 @@ packages: magic-string: 0.25.9 dev: true - /@vue/reactivity-transform@3.3.2: - resolution: {integrity: sha512-iu2WaQvlJHdnONrsyv4ibIEnSsuKF+aHFngGj/y1lwpHQtalpVhKg9wsKMoiKXS9zPNjG9mNKzJS9vudvjzvyg==} - dependencies: - '@babel/parser': 7.21.4 - '@vue/compiler-core': 3.3.2 - '@vue/shared': 3.3.2 - estree-walker: 2.0.2 - magic-string: 0.30.0 - /@vue/reactivity-transform@3.3.4: resolution: {integrity: sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==} dependencies: @@ -9430,7 +9383,6 @@ packages: '@vue/shared': 3.3.4 estree-walker: 2.0.2 magic-string: 0.30.0 - dev: true /@vue/reactivity@3.2.38: resolution: {integrity: sha512-6L4myYcH9HG2M25co7/BSo0skKFHpAN8PhkNPM4xRVkyGl1K5M3Jx4rp5bsYhvYze2K4+l+pioN4e6ZwFLUVtw==} @@ -9449,16 +9401,10 @@ packages: '@vue/shared': 3.2.47 dev: true - /@vue/reactivity@3.3.2: - resolution: {integrity: sha512-yX8C4uTgg2Tdj+512EEMnMKbLveoITl7YdQX35AYgx8vBvQGszKiiCN46g4RY6/deeo/5DLbeUUGxCq1qWMf5g==} - dependencies: - '@vue/shared': 3.3.2 - /@vue/reactivity@3.3.4: resolution: {integrity: sha512-kLTDLwd0B1jG08NBF3R5rqULtv/f8x3rOFByTDz4J53ttIQEDmALqKqXY0J+XQeN0aV2FBxY8nJDf88yvOPAqQ==} dependencies: '@vue/shared': 3.3.4 - dev: true /@vue/runtime-core@3.2.39: resolution: {integrity: sha512-xKH5XP57JW5JW+8ZG1khBbuLakINTgPuINKL01hStWLTTGFOrM49UfCFXBcFvWmSbci3gmJyLl2EAzCaZWsx8g==} @@ -9473,18 +9419,11 @@ packages: '@vue/shared': 3.2.47 dev: true - /@vue/runtime-core@3.3.2: - resolution: {integrity: sha512-qSl95qj0BvKfcsO+hICqFEoLhJn6++HtsPxmTkkadFbuhe3uQfJ8HmQwvEr7xbxBd2rcJB6XOJg7nWAn/ymC5A==} - dependencies: - '@vue/reactivity': 3.3.2 - '@vue/shared': 3.3.2 - /@vue/runtime-core@3.3.4: resolution: {integrity: sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==} dependencies: '@vue/reactivity': 3.3.4 '@vue/shared': 3.3.4 - dev: true /@vue/runtime-dom@3.2.39: resolution: {integrity: sha512-4G9AEJP+sLhsqf5wXcyKVWQKUhI+iWfy0hWQgea+CpaTD7BR0KdQzvoQdZhwCY6B3oleSyNLkLAQwm0ya/wNoA==} @@ -9501,20 +9440,12 @@ packages: csstype: 2.6.20 dev: true - /@vue/runtime-dom@3.3.2: - resolution: {integrity: sha512-+drStsJT+0mtgHdarT7cXZReCcTFfm6ptxMrz0kAW5hms6UNBd8Q1pi4JKlncAhu+Ld/TevsSp7pqAZxBBoGng==} - dependencies: - '@vue/runtime-core': 3.3.2 - '@vue/shared': 3.3.2 - csstype: 3.1.2 - /@vue/runtime-dom@3.3.4: resolution: {integrity: sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==} dependencies: '@vue/runtime-core': 3.3.4 '@vue/shared': 3.3.4 csstype: 3.1.2 - dev: true /@vue/server-renderer@3.2.39(vue@3.2.39): resolution: {integrity: sha512-1yn9u2YBQWIgytFMjz4f/t0j43awKytTGVptfd3FtBk76t1pd8mxbek0G/DrnjJhd2V7mSTb5qgnxMYt8Z5iSQ==} @@ -9535,15 +9466,6 @@ packages: vue: 3.2.47 dev: true - /@vue/server-renderer@3.3.2(vue@3.3.2): - resolution: {integrity: sha512-QCwh6OGwJg6GDLE0fbQhRTR6tnU+XDJ1iCsTYHXBiezCXAhqMygFRij7BiLF4ytvvHcg5kX9joX5R5vP85++wg==} - peerDependencies: - vue: 3.3.2 - dependencies: - '@vue/compiler-ssr': 3.3.2 - '@vue/shared': 3.3.2 - vue: 3.3.2 - /@vue/server-renderer@3.3.4(vue@3.3.4): resolution: {integrity: sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==} peerDependencies: @@ -9552,7 +9474,6 @@ packages: '@vue/compiler-ssr': 3.3.4 '@vue/shared': 3.3.4 vue: 3.3.4 - dev: true /@vue/shared@3.2.38: resolution: {integrity: sha512-dTyhTIRmGXBjxJE+skC8tTWCGLCVc4wQgRRLt8+O9p5ewBAjoBwtCAkLPrtToSr1xltoe3st21Pv953aOZ7alg==} @@ -9565,12 +9486,8 @@ packages: resolution: {integrity: sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==} dev: true - /@vue/shared@3.3.2: - resolution: {integrity: sha512-0rFu3h8JbclbnvvKrs7Fe5FNGV9/5X2rPD7KmOzhLSUAiQH5//Hq437Gv0fR5Mev3u/nbtvmLl8XgwCU20/ZfQ==} - /@vue/shared@3.3.4: resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==} - dev: true /@vue/test-utils@1.3.0(vue-template-compiler@2.7.10)(vue@2.7.10): resolution: {integrity: sha512-Xk2Xiyj2k5dFb8eYUKkcN9PzqZSppTlx7LaQWBbdA8tqh3jHr/KHX2/YLhNFc/xwDrgeLybqd+4ZCPJSGPIqeA==} @@ -9585,32 +9502,32 @@ packages: vue-template-compiler: 2.7.10 dev: true - /@vue/test-utils@2.0.0(vue@3.3.2): + /@vue/test-utils@2.0.0(vue@3.3.4): resolution: {integrity: sha512-zL5kygNq7hONrO1CzaUGprEAklAX+pH8J1MPMCU3Rd2xtSYkZ+PmKU3oEDRg8VAGdL5lNJHzDgrud5amFPtirw==} peerDependencies: vue: ^3.0.1 dependencies: - vue: 3.3.2 + vue: 3.3.4 dev: true - /@vue/test-utils@2.0.2(vue@3.3.2): + /@vue/test-utils@2.0.2(vue@3.3.4): resolution: {integrity: sha512-E2P4oXSaWDqTZNbmKZFVLrNN/siVN78YkEqs7pHryWerrlZR9bBFLWdJwRoguX45Ru6HxIflzKl4vQvwRMwm5g==} peerDependencies: vue: ^3.0.1 dependencies: - vue: 3.3.2 + vue: 3.3.4 dev: true - /@vue/test-utils@2.3.2(vue@3.3.2): + /@vue/test-utils@2.3.2(vue@3.3.4): resolution: {integrity: sha512-hJnVaYhbrIm0yBS0+e1Y0Sj85cMyAi+PAbK4JHqMRUZ6S622Goa+G7QzkRSyvCteG8wop7tipuEbHoZo26wsSA==} peerDependencies: vue: ^3.0.1 dependencies: js-beautify: 1.14.6 - vue: 3.3.2 + vue: 3.3.4 optionalDependencies: - '@vue/compiler-dom': 3.3.2 - '@vue/server-renderer': 3.3.2(vue@3.3.2) + '@vue/compiler-dom': 3.3.4 + '@vue/server-renderer': 3.3.4(vue@3.3.4) dev: true /@vueuse/core@10.1.2(vue@3.2.47): @@ -9625,18 +9542,6 @@ packages: - vue dev: true - /@vueuse/core@10.1.2(vue@3.3.2): - resolution: {integrity: sha512-roNn8WuerI56A5uiTyF/TEYX0Y+VKlhZAF94unUfdhbDUI+NfwQMn4FUnUscIRUhv3344qvAghopU4bzLPNFlA==} - dependencies: - '@types/web-bluetooth': 0.0.17 - '@vueuse/metadata': 10.1.2 - '@vueuse/shared': 10.1.2(vue@3.3.2) - vue-demi: 0.14.0(vue@3.3.2) - transitivePeerDependencies: - - '@vue/composition-api' - - vue - dev: false - /@vueuse/core@10.1.2(vue@3.3.4): resolution: {integrity: sha512-roNn8WuerI56A5uiTyF/TEYX0Y+VKlhZAF94unUfdhbDUI+NfwQMn4FUnUscIRUhv3344qvAghopU4bzLPNFlA==} dependencies: @@ -9647,7 +9552,6 @@ packages: transitivePeerDependencies: - '@vue/composition-api' - vue - dev: true /@vueuse/core@8.9.4(vue@3.2.39): resolution: {integrity: sha512-B/Mdj9TK1peFyWaPof+Zf/mP9XuGAngaJZBwPaXBvU3aCTZlx3ltlrFFFyMV4iGBwsjSCeUCgZrtkEj9dS2Y3Q==} @@ -9727,15 +9631,6 @@ packages: - vue dev: true - /@vueuse/shared@10.1.2(vue@3.3.2): - resolution: {integrity: sha512-1uoUTPBlgyscK9v6ScGeVYDDzlPSFXBlxuK7SfrDGyUTBiznb3mNceqhwvZHjtDRELZEN79V5uWPTF1VDV8svA==} - dependencies: - vue-demi: 0.14.0(vue@3.3.2) - transitivePeerDependencies: - - '@vue/composition-api' - - vue - dev: false - /@vueuse/shared@10.1.2(vue@3.3.4): resolution: {integrity: sha512-1uoUTPBlgyscK9v6ScGeVYDDzlPSFXBlxuK7SfrDGyUTBiznb3mNceqhwvZHjtDRELZEN79V5uWPTF1VDV8svA==} dependencies: @@ -9743,7 +9638,6 @@ packages: transitivePeerDependencies: - '@vue/composition-api' - vue - dev: true /@vueuse/shared@8.9.4(vue@3.2.39): resolution: {integrity: sha512-wt+T30c4K6dGRMVqPddexEVLa28YwxW5OFIPmzUHICjphfAuBFTTdDoyqREZNDOFJZ44ARH1WWQNCUK8koJ+Ag==} @@ -9810,7 +9704,7 @@ packages: resolution: {integrity: sha512-VZ1WFHTNKjR8Ga97TtV2SZM6fvRjWbYI2i/f4pJB4PtusorKvONAMJf2LQcUBIyzbVobqr7KSrcjmSwRolI+yw==} engines: {node: ^16.13 || >=18} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 dev: true /@wdio/repl@8.6.6: @@ -9824,7 +9718,7 @@ packages: resolution: {integrity: sha512-d0oWX82CVE4Z7ipD2GpPhaeFKh7JDaDNzgiQpPYkS74TBSqQV+yrqvqRlrmHD4nmRgFwnjtD8AFOo7ackeURhg==} engines: {node: ^16.13 || >=18} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 dev: true /@wdio/types@8.8.7: @@ -11800,7 +11694,7 @@ packages: engines: {node: '>=12.13.0'} hasBin: true dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 escape-string-regexp: 4.0.0 is-wsl: 2.2.0 lighthouse-logger: 1.3.0 @@ -13042,7 +12936,7 @@ packages: resolution: {integrity: sha512-pvnTf0GtY1ILgBBxjGpQmwmiIklPQFQNirW4deluoLnhKLt6ekdKjYRLoK7goNN0rYPx7R/KK6Aqe5mgWKxBaA==} engines: {node: ^16.13 || >=18} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 '@wdio/config': 8.10.2 '@wdio/logger': 8.6.6 '@wdio/protocols': 8.10.2 @@ -16966,7 +16860,7 @@ packages: '@jest/environment': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 chalk: 4.1.2 co: 4.6.0 dedent: 0.7.0 @@ -17102,7 +16996,7 @@ packages: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 jest-mock: 27.5.1 jest-util: 27.5.1 jsdom: 16.7.0 @@ -17120,7 +17014,7 @@ packages: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 jest-mock: 27.5.1 jest-util: 27.5.1 dev: true @@ -17141,7 +17035,7 @@ packages: dependencies: '@jest/types': 26.6.2 '@types/graceful-fs': 4.1.5 - '@types/node': 20.2.1 + '@types/node': 20.2.5 anymatch: 3.1.2 fb-watchman: 2.0.1 graceful-fs: 4.2.10 @@ -17164,7 +17058,7 @@ packages: dependencies: '@jest/types': 27.5.1 '@types/graceful-fs': 4.1.5 - '@types/node': 20.2.1 + '@types/node': 20.2.5 anymatch: 3.1.2 fb-watchman: 2.0.1 graceful-fs: 4.2.10 @@ -17204,7 +17098,7 @@ packages: '@jest/source-map': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 chalk: 4.1.2 co: 4.6.0 expect: 27.5.1 @@ -17284,7 +17178,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/types': 27.5.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 dev: true /jest-pnp-resolver@1.2.3(jest-resolve@27.5.1): @@ -17345,7 +17239,7 @@ packages: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 chalk: 4.1.2 emittery: 0.8.1 graceful-fs: 4.2.10 @@ -17402,7 +17296,7 @@ packages: resolution: {integrity: sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g==} engines: {node: '>= 10.14.2'} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 graceful-fs: 4.2.10 dev: true @@ -17410,7 +17304,7 @@ packages: resolution: {integrity: sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 graceful-fs: 4.2.10 dev: true @@ -17449,7 +17343,7 @@ packages: engines: {node: '>= 10.14.2'} dependencies: '@jest/types': 26.6.2 - '@types/node': 20.2.1 + '@types/node': 20.2.5 chalk: 4.1.2 graceful-fs: 4.2.10 is-ci: 2.0.0 @@ -17461,7 +17355,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/types': 27.5.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 chalk: 4.1.2 ci-info: 3.7.0 graceful-fs: 4.2.10 @@ -17473,7 +17367,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.0.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 chalk: 4.1.2 ci-info: 3.7.0 graceful-fs: 4.2.10 @@ -17498,7 +17392,7 @@ packages: dependencies: '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.2.1 + '@types/node': 20.2.5 ansi-escapes: 4.3.2 chalk: 4.1.2 jest-util: 27.5.1 @@ -17509,7 +17403,7 @@ packages: resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 merge-stream: 2.0.0 supports-color: 7.2.0 dev: true @@ -17518,7 +17412,7 @@ packages: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true @@ -23556,24 +23450,6 @@ packages: - rollup dev: true - /unimport@3.0.7(rollup@3.20.2): - resolution: {integrity: sha512-2dVQUxJEGcrSZ0U4qtwJVODrlfyGcwmIOoHVqbAFFUx7kPoEN5JWr1cZFhLwoAwTmZOvqAm3YIkzv1engIQocg==} - dependencies: - '@rollup/pluginutils': 5.0.2(rollup@3.20.2) - escape-string-regexp: 5.0.0 - fast-glob: 3.2.12 - local-pkg: 0.4.3 - magic-string: 0.30.0 - mlly: 1.3.0 - pathe: 1.1.0 - pkg-types: 1.0.3 - scule: 1.0.0 - strip-literal: 1.0.1 - unplugin: 1.3.1 - transitivePeerDependencies: - - rollup - dev: true - /union-value@1.0.1: resolution: {integrity: sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==} engines: {node: '>=0.10.0'} @@ -23789,7 +23665,7 @@ packages: - rollup dev: true - /unplugin-vue-components@0.22.12(rollup@3.20.2)(vue@3.3.2): + /unplugin-vue-components@0.22.12(rollup@3.20.2)(vue@3.3.4): resolution: {integrity: sha512-FxyzsuBvMCYPIk+8cgscGBQ345tvwVu+qY5IhE++eorkyvA4Z1TiD/HCiim+Kbqozl10i4K+z+NCa2WO2jexRA==} engines: {node: '>=14'} peerDependencies: @@ -23808,15 +23684,14 @@ packages: magic-string: 0.27.0 minimatch: 5.1.1 resolve: 1.22.1 - unimport: 3.0.7(rollup@3.20.2) unplugin: 1.3.1 - vue: 3.3.2 + vue: 3.3.4 transitivePeerDependencies: - rollup - supports-color dev: true - /unplugin-vue-components@0.24.1(rollup@2.79.1)(vue@3.3.2): + /unplugin-vue-components@0.24.1(rollup@2.79.1)(vue@3.3.4): resolution: {integrity: sha512-T3A8HkZoIE1Cja95xNqolwza0yD5IVlgZZ1PVAGvVCx8xthmjsv38xWRCtHtwl+rvZyL9uif42SRkDGw9aCfMA==} engines: {node: '>=14'} peerDependencies: @@ -23839,7 +23714,7 @@ packages: minimatch: 7.4.2 resolve: 1.22.1 unplugin: 1.3.1 - vue: 3.3.2 + vue: 3.3.4 transitivePeerDependencies: - rollup - supports-color @@ -24383,21 +24258,6 @@ packages: vue: 3.2.47 dev: true - /vue-demi@0.14.0(vue@3.3.2): - resolution: {integrity: sha512-gt58r2ogsNQeVoQ3EhoUAvUsH9xviydl0dWJj7dabBC/2L4uBId7ujtCwDRD0JhkGsV1i0CtfLAeyYKBht9oWg==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - peerDependencies: - '@vue/composition-api': ^1.0.0-rc.1 - vue: ^3.0.0-0 || ^2.6.0 - peerDependenciesMeta: - '@vue/composition-api': - optional: true - dependencies: - vue: 3.3.2 - dev: false - /vue-demi@0.14.0(vue@3.3.4): resolution: {integrity: sha512-gt58r2ogsNQeVoQ3EhoUAvUsH9xviydl0dWJj7dabBC/2L4uBId7ujtCwDRD0JhkGsV1i0CtfLAeyYKBht9oWg==} engines: {node: '>=12'} @@ -24411,7 +24271,6 @@ packages: optional: true dependencies: vue: 3.3.4 - dev: true /vue-eslint-parser@9.1.0(eslint@8.39.0): resolution: {integrity: sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==} @@ -24492,15 +24351,6 @@ packages: '@vue/shared': 3.2.47 dev: true - /vue@3.3.2: - resolution: {integrity: sha512-98hJcAhyDwZoOo2flAQBSPVYG/o0HA9ivIy2ktHshjE+6/q8IMQ+kvDKQzOZTFPxvnNMcGM+zS2A00xeZMA7tA==} - dependencies: - '@vue/compiler-dom': 3.3.2 - '@vue/compiler-sfc': 3.3.2 - '@vue/runtime-dom': 3.3.2 - '@vue/server-renderer': 3.3.2(vue@3.3.2) - '@vue/shared': 3.3.2 - /vue@3.3.4: resolution: {integrity: sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==} dependencies: @@ -24509,7 +24359,6 @@ packages: '@vue/runtime-dom': 3.3.4 '@vue/server-renderer': 3.3.4(vue@3.3.4) '@vue/shared': 3.3.4 - dev: true /w3c-hr-time@1.0.2: resolution: {integrity: sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==} @@ -24602,7 +24451,7 @@ packages: resolution: {integrity: sha512-xwoY+JtmEwN9hFx00V08PBlLLbuOHnPcO78ImPn6IzlhDW960f/6C8fzP0oiJkDyjQ7U81gHU6Mjkp/tBNpKEQ==} engines: {node: ^16.13 || >=18} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 '@types/ws': 8.5.4 '@wdio/config': 8.10.2 '@wdio/logger': 8.6.6 @@ -24642,7 +24491,7 @@ packages: resolution: {integrity: sha512-VrA9oFI17sBhPDvMwywve4CwODHi5FEzjn9gyInN7Nv+6tVaDC+PVGsKV7ZQQSj5C0bzPCn3IgXSoM1Qqn3XeQ==} engines: {node: ^16.13 || >=18} dependencies: - '@types/node': 20.2.1 + '@types/node': 20.2.5 '@wdio/config': 8.10.2 '@wdio/logger': 8.6.6 '@wdio/protocols': 8.10.2 From a4ad7f1aa485f362ad82625d8b5fd244e72b90d3 Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Thu, 1 Jun 2023 09:47:11 +0200 Subject: [PATCH 4/6] chore: support workspaces --- docs/config/index.md | 7 ++--- packages/vitest/src/node/plugins/index.ts | 3 ++ packages/vitest/src/node/plugins/workspace.ts | 31 +++++++++++++++++++ 3 files changed, 36 insertions(+), 5 deletions(-) diff --git a/docs/config/index.md b/docs/config/index.md index 6f8e92213767..107463f96463 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -113,10 +113,6 @@ Handling for dependencies resolution. - **Version:** Since Vitest 0.29.0 - **See also:** [Dep Optimization Options](https://vitejs.dev/config/dep-optimization-options.html) -::: warning -This feature is temporarily disabled since Vitest 0.30.0. -::: - Enable dependency optimization. If you have a lot of tests, this might improve their performance. For `jsdom` and `happy-dom` environments, when Vitest will encounter the external library, it will be bundled into a single file using esbuild and imported as a whole module. This is good for several reasons: @@ -124,8 +120,9 @@ For `jsdom` and `happy-dom` environments, when Vitest will encounter the externa - Importing packages with a lot of imports is expensive. By bundling them into one file we can save a lot of time - Importing UI libraries is expensive because they are not meant to run inside Node.js - Your `alias` configuration is now respected inside bundled packages +- Code in your tests is running closer to how it's running in the browser -You can opt-out of this behavior for certain packages with `exclude` option. You can read more about available options in [Vite](https://vitejs.dev/config/dep-optimization-options.html) docs. +Be aware that only packages in `deps.experimentalOptimizer.include` option are bundled (some plugins populate this automatically, like Svelte). You can read more about available options in [Vite](https://vitejs.dev/config/dep-optimization-options.html) docs. This options also inherits your `optimizeDeps` configuration. If you redefine `include`/`exclude`/`entries` option in `deps.experimentalOptimizer` it will overwrite your `optimizeDeps` when running tests. diff --git a/packages/vitest/src/node/plugins/index.ts b/packages/vitest/src/node/plugins/index.ts index d61f7f6d7213..47defea31662 100644 --- a/packages/vitest/src/node/plugins/index.ts +++ b/packages/vitest/src/node/plugins/index.ts @@ -139,6 +139,8 @@ export async function VitestPlugin(options: UserConfig = {}, ctx = new Vitest('t const optimizer = preOptions.deps?.experimentalOptimizer const [major, minor] = viteVersion.split('.').map(Number) const allowed = major >= 5 || (major === 4 && minor >= 3) + if (!allowed && optimizer?.enabled === true) + console.warn(`Vitest: "deps.experimentalOptimizer" is only available in Vite >= 4.3.0, current Vite version: ${viteVersion}`) if (!allowed || optimizer?.enabled !== true) { optimizeConfig.cacheDir = undefined optimizeConfig.optimizeDeps = { @@ -155,6 +157,7 @@ export async function VitestPlugin(options: UserConfig = {}, ctx = new Vitest('t ...optimizer, noDiscovery: true, disabled: false, + entries: [], exclude: ['vitest', ...builtinModules, ...(optimizer.exclude || viteConfig.optimizeDeps?.exclude || [])], include: (optimizer.include || viteConfig.optimizeDeps?.include || []).filter((n: string) => n !== 'vitest'), } diff --git a/packages/vitest/src/node/plugins/workspace.ts b/packages/vitest/src/node/plugins/workspace.ts index bef905d8a90c..91aebe65b8d5 100644 --- a/packages/vitest/src/node/plugins/workspace.ts +++ b/packages/vitest/src/node/plugins/workspace.ts @@ -1,5 +1,7 @@ +import { builtinModules } from 'node:module' import { dirname, relative } from 'pathe' import type { UserConfig as ViteConfig, Plugin as VitePlugin } from 'vite' +import { version as viteVersion } from 'vite' import { configDefaults } from '../../defaults' import { generateScopedClassName } from '../../integrations/css/css-modules' import { deepMerge } from '../../utils/base' @@ -116,6 +118,35 @@ export function WorkspaceVitestPlugin(project: WorkspaceProject, options: Worksp } } + const optimizeConfig: Partial = {} + const optimizer = testConfig.deps?.experimentalOptimizer + const [major, minor] = viteVersion.split('.').map(Number) + const allowed = major >= 5 || (major === 4 && minor >= 3) + if (!allowed && optimizer?.enabled === true) + console.warn(`Vitest: "deps.experimentalOptimizer" is only available in Vite >= 4.3.0, current Vite version: ${viteVersion}`) + if (!allowed || optimizer?.enabled !== true) { + optimizeConfig.cacheDir = undefined + optimizeConfig.optimizeDeps = { + // experimental in Vite >2.9.2, entries remains to help with older versions + disabled: true, + entries: [], + } + } + else { + const cacheDir = testConfig.cache !== false ? testConfig.cache?.dir : null + optimizeConfig.cacheDir = cacheDir ?? 'node_modules/.vitest' + optimizeConfig.optimizeDeps = { + ...viteConfig.optimizeDeps, + ...optimizer, + noDiscovery: true, + disabled: false, + entries: [], + exclude: ['vitest', ...builtinModules, ...(optimizer.exclude || viteConfig.optimizeDeps?.exclude || [])], + include: (optimizer.include || viteConfig.optimizeDeps?.include || []).filter((n: string) => n !== 'vitest'), + } + } + Object.assign(config, optimizeConfig) + return config }, async configureServer(server) { From d22f995b76a66a92a82d919ba394206e8dc5b38c Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Thu, 1 Jun 2023 10:02:59 +0200 Subject: [PATCH 5/6] chore: undo lockfile change --- pnpm-lock.yaml | 322 +++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 283 insertions(+), 39 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e06c00ab0dbb..a9c3796fa008 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,8 +1,4 @@ -lockfileVersion: '6.1' - -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false +lockfileVersion: '6.0' overrides: vite: ^4.3.9 @@ -263,7 +259,7 @@ importers: version: link:../../packages/ui jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -322,7 +318,7 @@ importers: version: 13.3.0(react-dom@18.0.0)(react@18.0.0) '@types/node': specifier: latest - version: 20.2.5 + version: 20.2.3 '@types/react': specifier: latest version: 18.2.7 @@ -331,7 +327,7 @@ importers: version: 4.0.0(vite@4.3.9) jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 typescript: specifier: ^4.8.4 version: 4.8.4 @@ -395,7 +391,7 @@ importers: version: 9.1.9 jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 react-test-renderer: specifier: 17.0.2 version: 17.0.2(react@17.0.2) @@ -499,7 +495,7 @@ importers: version: 2.29.2 jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -569,7 +565,7 @@ importers: version: 8.2.5(@babel/core@7.18.13)(webpack@5.74.0) jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 msw: specifier: ^0.49.2 version: 0.49.2(typescript@4.8.4) @@ -621,7 +617,7 @@ importers: version: link:../../packages/ui jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 typescript: specifier: ^4.8.4 version: 4.8.4 @@ -667,7 +663,7 @@ importers: version: 3.1.5 jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 msw: specifier: ^1.2.1 version: 1.2.1(typescript@5.0.4) @@ -688,7 +684,7 @@ importers: version: 2.3.2(vue@3.3.4) jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -713,7 +709,7 @@ importers: version: 5.16.5 jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 solid-testing-library: specifier: ^0.5.0 version: 0.5.0(solid-js@1.5.2) @@ -740,7 +736,7 @@ importers: version: link:../../packages/ui jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 svelte: specifier: latest version: 3.58.0 @@ -765,7 +761,7 @@ importers: version: 2.0.2(vue@3.3.4) jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 unplugin-auto-import: specifier: latest version: 0.12.1(rollup@3.20.2) @@ -793,7 +789,7 @@ importers: version: 2.0.0(vue@3.3.4) jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -814,7 +810,7 @@ importers: version: 2.3.2(vue@3.3.4) jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -839,7 +835,7 @@ importers: version: 1.3.0(vue-template-compiler@2.7.10)(vue@2.7.10) jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -1831,7 +1827,7 @@ importers: version: 3.2.0 jsdom: specifier: latest - version: 22.1.0 + version: 22.0.0 vitest: specifier: workspace:* version: link:../../packages/vitest @@ -5126,12 +5122,21 @@ packages: get-tsconfig: 4.5.0 dev: true + /@esbuild/android-arm64@0.17.15: + resolution: {integrity: sha512-0kOB6Y7Br3KDVgHeg8PRcvfLkq+AccreK///B4Z6fNZGr/tNHX0z2VywCc7PTeWp+bPvjA5WMvNXltHw5QjAIA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + optional: true + /@esbuild/android-arm64@0.17.18: resolution: {integrity: sha512-/iq0aK0eeHgSC3z55ucMAHO05OIqmQehiGay8eP5l/5l+iEr4EIbh4/MI8xD9qRFjqzgkc0JkX0LculNC9mXBw==} engines: {node: '>=12'} cpu: [arm64] os: [android] requiresBuild: true + dev: true optional: true /@esbuild/android-arm@0.15.18: @@ -5143,12 +5148,29 @@ packages: dev: true optional: true + /@esbuild/android-arm@0.17.15: + resolution: {integrity: sha512-sRSOVlLawAktpMvDyJIkdLI/c/kdRTOqo8t6ImVxg8yT7LQDUYV5Rp2FKeEosLr6ZCja9UjYAzyRSxGteSJPYg==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + optional: true + /@esbuild/android-arm@0.17.18: resolution: {integrity: sha512-EmwL+vUBZJ7mhFCs5lA4ZimpUH3WMAoqvOIYhVQwdIgSpHC8ImHdsRyhHAVxpDYUSm0lWvd63z0XH1IlImS2Qw==} engines: {node: '>=12'} cpu: [arm] os: [android] requiresBuild: true + dev: true + optional: true + + /@esbuild/android-x64@0.17.15: + resolution: {integrity: sha512-MzDqnNajQZ63YkaUWVl9uuhcWyEyh69HGpMIrf+acR4otMkfLJ4sUCxqwbCyPGicE9dVlrysI3lMcDBjGiBBcQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true optional: true /@esbuild/android-x64@0.17.18: @@ -5157,6 +5179,15 @@ packages: cpu: [x64] os: [android] requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-arm64@0.17.15: + resolution: {integrity: sha512-7siLjBc88Z4+6qkMDxPT2juf2e8SJxmsbNVKFY2ifWCDT72v5YJz9arlvBw5oB4W/e61H1+HDB/jnu8nNg0rLA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true optional: true /@esbuild/darwin-arm64@0.17.18: @@ -5165,6 +5196,15 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-x64@0.17.15: + resolution: {integrity: sha512-NbImBas2rXwYI52BOKTW342Tm3LTeVlaOQ4QPZ7XuWNKiO226DisFk/RyPk3T0CKZkKMuU69yOvlapJEmax7cg==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true optional: true /@esbuild/darwin-x64@0.17.18: @@ -5173,6 +5213,15 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-arm64@0.17.15: + resolution: {integrity: sha512-Xk9xMDjBVG6CfgoqlVczHAdJnCs0/oeFOspFap5NkYAmRCT2qTn1vJWA2f419iMtsHSLm+O8B6SLV/HlY5cYKg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true optional: true /@esbuild/freebsd-arm64@0.17.18: @@ -5181,6 +5230,15 @@ packages: cpu: [arm64] os: [freebsd] requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-x64@0.17.15: + resolution: {integrity: sha512-3TWAnnEOdclvb2pnfsTWtdwthPfOz7qAfcwDLcfZyGJwm1SRZIMOeB5FODVhnM93mFSPsHB9b/PmxNNbSnd0RQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true optional: true /@esbuild/freebsd-x64@0.17.18: @@ -5189,6 +5247,15 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm64@0.17.15: + resolution: {integrity: sha512-T0MVnYw9KT6b83/SqyznTs/3Jg2ODWrZfNccg11XjDehIved2oQfrX/wVuev9N936BpMRaTR9I1J0tdGgUgpJA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-arm64@0.17.18: @@ -5197,6 +5264,15 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm@0.17.15: + resolution: {integrity: sha512-MLTgiXWEMAMr8nmS9Gigx43zPRmEfeBfGCwxFQEMgJ5MC53QKajaclW6XDPjwJvhbebv+RzK05TQjvH3/aM4Xw==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-arm@0.17.18: @@ -5205,6 +5281,15 @@ packages: cpu: [arm] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ia32@0.17.15: + resolution: {integrity: sha512-wp02sHs015T23zsQtU4Cj57WiteiuASHlD7rXjKUyAGYzlOKDAjqK6bk5dMi2QEl/KVOcsjwL36kD+WW7vJt8Q==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-ia32@0.17.18: @@ -5213,6 +5298,7 @@ packages: cpu: [ia32] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-loong64@0.14.54: @@ -5233,12 +5319,29 @@ packages: dev: true optional: true + /@esbuild/linux-loong64@0.17.15: + resolution: {integrity: sha512-k7FsUJjGGSxwnBmMh8d7IbObWu+sF/qbwc+xKZkBe/lTAF16RqxRCnNHA7QTd3oS2AfGBAnHlXL67shV5bBThQ==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + optional: true + /@esbuild/linux-loong64@0.17.18: resolution: {integrity: sha512-bvPG+MyFs5ZlwYclCG1D744oHk1Pv7j8psF5TfYx7otCVmcJsEXgFEhQkbhNW8otDHL1a2KDINW20cfCgnzgMQ==} engines: {node: '>=12'} cpu: [loong64] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-mips64el@0.17.15: + resolution: {integrity: sha512-ZLWk6czDdog+Q9kE/Jfbilu24vEe/iW/Sj2d8EVsmiixQ1rM2RKH2n36qfxK4e8tVcaXkvuV3mU5zTZviE+NVQ==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-mips64el@0.17.18: @@ -5247,6 +5350,15 @@ packages: cpu: [mips64el] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ppc64@0.17.15: + resolution: {integrity: sha512-mY6dPkIRAiFHRsGfOYZC8Q9rmr8vOBZBme0/j15zFUKM99d4ILY4WpOC7i/LqoY+RE7KaMaSfvY8CqjJtuO4xg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-ppc64@0.17.18: @@ -5255,6 +5367,15 @@ packages: cpu: [ppc64] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-riscv64@0.17.15: + resolution: {integrity: sha512-EcyUtxffdDtWjjwIH8sKzpDRLcVtqANooMNASO59y+xmqqRYBBM7xVLQhqF7nksIbm2yHABptoioS9RAbVMWVA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-riscv64@0.17.18: @@ -5263,6 +5384,15 @@ packages: cpu: [riscv64] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-s390x@0.17.15: + resolution: {integrity: sha512-BuS6Jx/ezxFuHxgsfvz7T4g4YlVrmCmg7UAwboeyNNg0OzNzKsIZXpr3Sb/ZREDXWgt48RO4UQRDBxJN3B9Rbg==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-s390x@0.17.18: @@ -5271,6 +5401,15 @@ packages: cpu: [s390x] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-x64@0.17.15: + resolution: {integrity: sha512-JsdS0EgEViwuKsw5tiJQo9UdQdUJYuB+Mf6HxtJSPN35vez1hlrNb1KajvKWF5Sa35j17+rW1ECEO9iNrIXbNg==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true optional: true /@esbuild/linux-x64@0.17.18: @@ -5279,6 +5418,15 @@ packages: cpu: [x64] os: [linux] requiresBuild: true + dev: true + optional: true + + /@esbuild/netbsd-x64@0.17.15: + resolution: {integrity: sha512-R6fKjtUysYGym6uXf6qyNephVUQAGtf3n2RCsOST/neIwPqRWcnc3ogcielOd6pT+J0RDR1RGcy0ZY7d3uHVLA==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true optional: true /@esbuild/netbsd-x64@0.17.18: @@ -5287,6 +5435,15 @@ packages: cpu: [x64] os: [netbsd] requiresBuild: true + dev: true + optional: true + + /@esbuild/openbsd-x64@0.17.15: + resolution: {integrity: sha512-mVD4PGc26b8PI60QaPUltYKeSX0wxuy0AltC+WCTFwvKCq2+OgLP4+fFd+hZXzO2xW1HPKcytZBdjqL6FQFa7w==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true optional: true /@esbuild/openbsd-x64@0.17.18: @@ -5295,6 +5452,15 @@ packages: cpu: [x64] os: [openbsd] requiresBuild: true + dev: true + optional: true + + /@esbuild/sunos-x64@0.17.15: + resolution: {integrity: sha512-U6tYPovOkw3459t2CBwGcFYfFRjivcJJc1WC8Q3funIwX8x4fP+R6xL/QuTPNGOblbq/EUDxj9GU+dWKX0oWlQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true optional: true /@esbuild/sunos-x64@0.17.18: @@ -5303,6 +5469,15 @@ packages: cpu: [x64] os: [sunos] requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-arm64@0.17.15: + resolution: {integrity: sha512-W+Z5F++wgKAleDABemiyXVnzXgvRFs+GVKThSI+mGgleLWluv0D7Diz4oQpgdpNzh4i2nNDzQtWbjJiqutRp6Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true optional: true /@esbuild/win32-arm64@0.17.18: @@ -5311,6 +5486,15 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-ia32@0.17.15: + resolution: {integrity: sha512-Muz/+uGgheShKGqSVS1KsHtCyEzcdOn/W/Xbh6H91Etm+wiIfwZaBn1W58MeGtfI8WA961YMHFYTthBdQs4t+w==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true optional: true /@esbuild/win32-ia32@0.17.18: @@ -5319,6 +5503,15 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-x64@0.17.15: + resolution: {integrity: sha512-DjDa9ywLUUmjhV2Y9wUTIF+1XsmuFGvZoCmOWkli1XcNAh5t25cc7fgsCx4Zi/Uurep3TTLyDiKATgGEg61pkA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true optional: true /@esbuild/win32-x64@0.17.18: @@ -5327,6 +5520,7 @@ packages: cpu: [x64] os: [win32] requiresBuild: true + dev: true optional: true /@eslint-community/eslint-utils@4.4.0(eslint@8.39.0): @@ -6267,7 +6461,7 @@ packages: engines: {node: '>=14'} hasBin: true dependencies: - '@types/node': 20.2.5 + '@types/node': 18.16.3 playwright-core: 1.28.0 dev: true @@ -7864,7 +8058,7 @@ packages: fs-extra: 9.1.0 global: 4.4.0 isomorphic-unfetch: 3.1.0 - nanoid: 3.3.6 + nanoid: 3.3.4 read-pkg-up: 7.0.1 regenerator-runtime: 0.13.11 transitivePeerDependencies: @@ -8279,13 +8473,13 @@ packages: resolution: {integrity: sha512-MxObHvNl4A69ofaTRU8DFqvgzzv8s9yRtaPPm5gud9HDNvpB3GPQFvNuTWAI59B9huVGV5jXYJwbCsmBsOGYWA==} dependencies: '@types/jsonfile': 6.1.1 - '@types/node': 20.2.5 + '@types/node': 18.16.3 dev: true /@types/fs-extra@9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 20.2.5 + '@types/node': 18.16.3 dev: true /@types/glob@7.2.0: @@ -8370,7 +8564,7 @@ packages: /@types/jsdom@21.1.1: resolution: {integrity: sha512-cZFuoVLtzKP3gmq9eNosUL1R50U+USkbLtUQ1bYVgl/lKp0FZM7Cq4aIHAL8oIvQ17uSHi7jXPtfDOdjPwBE7A==} dependencies: - '@types/node': 20.2.5 + '@types/node': 18.16.3 '@types/tough-cookie': 4.0.2 parse5: 7.1.2 dev: true @@ -8439,6 +8633,10 @@ packages: resolution: {integrity: sha512-46yIhxSe5xEaJZXWdIBP7GU4HDTG8/eo0qd9atdiL+lFpA03y8KS+lkTN834TWJj5767GbWv4n/P6efyTFt1Dw==} dev: false + /@types/node@20.2.3: + resolution: {integrity: sha512-pg9d0yC4rVNWQzX8U7xb4olIOFuuVL9za3bzMT2pu2SU0SNEi66i2qrvhE2qt0HvkhuCaWJu7pLNOt/Pj8BIrw==} + dev: true + /@types/node@20.2.5: resolution: {integrity: sha512-JJulVEQXmiY9Px5axXHeYGLSjhkZEnD+MDPDGbCbIAbMslkKwmygtZFy1X6s/075Yo94sf8GuSlFfPzysQrWZQ==} dev: true @@ -8469,7 +8667,7 @@ packages: /@types/prompts@2.4.4: resolution: {integrity: sha512-p5N9uoTH76lLvSAaYSZtBCdEXzpOOufsRjnhjVSrZGXikVGHX9+cc9ERtHRV4hvBKHyZb1bg4K+56Bd2TqUn4A==} dependencies: - '@types/node': 20.2.5 + '@types/node': 18.16.3 kleur: 3.0.3 dev: true @@ -8656,7 +8854,7 @@ packages: /@types/ws@8.5.4: resolution: {integrity: sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==} dependencies: - '@types/node': 20.2.5 + '@types/node': 18.16.3 dev: true /@types/yargs-parser@21.0.0: @@ -9202,7 +9400,7 @@ packages: '@vue/compiler-core': 3.3.4 '@vue/compiler-dom': 3.3.4 '@vue/compiler-sfc': 3.3.4 - '@vue/reactivity': 3.3.4 + '@vue/reactivity': 3.2.47 '@vue/shared': 3.3.4 dev: true @@ -13862,6 +14060,35 @@ packages: esbuild-windows-arm64: 0.15.18 dev: true + /esbuild@0.17.15: + resolution: {integrity: sha512-LBUV2VsUIc/iD9ME75qhT4aJj0r75abCVS0jakhFzOtR7TQsqQA5w0tZ+KTKnwl3kXE0MhskNdHDh/I5aCR1Zw==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/android-arm': 0.17.15 + '@esbuild/android-arm64': 0.17.15 + '@esbuild/android-x64': 0.17.15 + '@esbuild/darwin-arm64': 0.17.15 + '@esbuild/darwin-x64': 0.17.15 + '@esbuild/freebsd-arm64': 0.17.15 + '@esbuild/freebsd-x64': 0.17.15 + '@esbuild/linux-arm': 0.17.15 + '@esbuild/linux-arm64': 0.17.15 + '@esbuild/linux-ia32': 0.17.15 + '@esbuild/linux-loong64': 0.17.15 + '@esbuild/linux-mips64el': 0.17.15 + '@esbuild/linux-ppc64': 0.17.15 + '@esbuild/linux-riscv64': 0.17.15 + '@esbuild/linux-s390x': 0.17.15 + '@esbuild/linux-x64': 0.17.15 + '@esbuild/netbsd-x64': 0.17.15 + '@esbuild/openbsd-x64': 0.17.15 + '@esbuild/sunos-x64': 0.17.15 + '@esbuild/win32-arm64': 0.17.15 + '@esbuild/win32-ia32': 0.17.15 + '@esbuild/win32-x64': 0.17.15 + /esbuild@0.17.18: resolution: {integrity: sha512-z1lix43jBs6UKjcZVKOw2xx69ffE2aG0PygLL5qJ9OS/gy0Ewd1gW/PUQIOIQGXBHWNywSc0floSKoMFF8aK2w==} engines: {node: '>=12'} @@ -13890,6 +14117,7 @@ packages: '@esbuild/win32-arm64': 0.17.18 '@esbuild/win32-ia32': 0.17.18 '@esbuild/win32-x64': 0.17.18 + dev: true /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} @@ -17704,8 +17932,8 @@ packages: - utf-8-validate dev: true - /jsdom@22.1.0: - resolution: {integrity: sha512-/9AVW7xNbsBv6GfWho4TTNjEo9fe6Zhf9O7s0Fhhr3u+awPwAJMKwAMXnkk5vBxflqLW9hTHX/0cs+P3gW+cQw==} + /jsdom@22.0.0: + resolution: {integrity: sha512-p5ZTEb5h+O+iU02t0GfEjAnkdYPrQSkfuTSMkMYyIoMvUNEHsbG0bHHbfXIcfTqD2UfvjQX7mmgiFsyRwGscVw==} engines: {node: '>=16'} peerDependencies: canvas: ^2.5.0 @@ -18811,6 +19039,7 @@ packages: pathe: 1.1.0 pkg-types: 1.0.3 ufo: 1.1.2 + dev: true /modern-node-polyfills@0.1.3(rollup@3.20.2): resolution: {integrity: sha512-/4dB85Sdkt9MjWwtpKnsNTYhh0+fqjFC4ZEgDP4B0e6kyzbGUnX4NDxTUCaVwRLVF9gcEDcRQjol8pn05B3TUQ==} @@ -18979,12 +19208,6 @@ packages: resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - dev: false - - /nanoid@3.3.6: - resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true /nanomatch@1.2.13: resolution: {integrity: sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==} @@ -20047,7 +20270,7 @@ packages: resolution: {integrity: sha512-hM58GKXOcj8WTqUXnsQyJYXdeAPbythQgEF3nTcEo+nkD49chjQ9IKm/QJy9xf6JakXptz86h7ecP2024rrLaQ==} dependencies: jsonc-parser: 3.2.0 - mlly: 1.3.0 + mlly: 1.2.0 pathe: 1.1.0 /pkg-types@1.0.3: @@ -20056,6 +20279,7 @@ packages: jsonc-parser: 3.2.0 mlly: 1.2.0 pathe: 1.1.0 + dev: true /playwright-chromium@1.30.0: resolution: {integrity: sha512-ZfqjYdFuxnZxK02mDZtHFK/Mi0+cjCVn51RmwLwLLHA8PkCExk0odmZH2REx+LjqX8tDLGnmf6vDnPAirdSY0g==} @@ -20243,7 +20467,7 @@ packages: resolution: {integrity: sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==} engines: {node: ^10 || ^12 || >=14} dependencies: - nanoid: 3.3.6 + nanoid: 3.3.4 picocolors: 1.0.0 source-map-js: 1.0.2 @@ -23330,6 +23554,7 @@ packages: /ufo@1.1.2: resolution: {integrity: sha512-TrY6DsjTQQgyS3E3dBaOXf0TpPD8u9FVrVYmKVegJuFw51n/YB9XPt+U6ydzFG5ZIN7+DIjPbNmXoBj9esYhgQ==} + dev: true /uglify-js@3.17.0: resolution: {integrity: sha512-aTeNPVmgIMPpm1cxXr2Q/nEbvkmV8yq66F3om7X3P/cvOXQ0TMQ64Wk63iyT1gPlmdmGzjGpyLh1f3y8MZWXGg==} @@ -23434,6 +23659,24 @@ packages: /unimport@3.0.6(rollup@3.20.2): resolution: {integrity: sha512-GYxGJ1Bri1oqx8VFDjdgooGzeK7jBk3bvhXmamTIpu3nONOcUMGwZbX7X0L5RA7OWMXpR4vzpSQP7pXUzJg1/Q==} + dependencies: + '@rollup/pluginutils': 5.0.2(rollup@3.20.2) + escape-string-regexp: 5.0.0 + fast-glob: 3.2.12 + local-pkg: 0.4.3 + magic-string: 0.30.0 + mlly: 1.2.0 + pathe: 1.1.0 + pkg-types: 1.0.3 + scule: 1.0.0 + strip-literal: 1.0.1 + unplugin: 1.3.1 + transitivePeerDependencies: + - rollup + dev: true + + /unimport@3.0.7(rollup@3.20.2): + resolution: {integrity: sha512-2dVQUxJEGcrSZ0U4qtwJVODrlfyGcwmIOoHVqbAFFUx7kPoEN5JWr1cZFhLwoAwTmZOvqAm3YIkzv1engIQocg==} dependencies: '@rollup/pluginutils': 5.0.2(rollup@3.20.2) escape-string-regexp: 5.0.0 @@ -23684,6 +23927,7 @@ packages: magic-string: 0.27.0 minimatch: 5.1.1 resolve: 1.22.1 + unimport: 3.0.7(rollup@3.20.2) unplugin: 1.3.1 vue: 3.3.4 transitivePeerDependencies: From 0158bb2799242d8719bc1dfa988f2abe2148bfa4 Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Thu, 1 Jun 2023 10:25:47 +0200 Subject: [PATCH 6/6] chore: cleanup --- pnpm-lock.yaml | 296 +++++++------------------------------------------ 1 file changed, 37 insertions(+), 259 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a9c3796fa008..a65e911d3eaa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,8 @@ -lockfileVersion: '6.0' +lockfileVersion: '6.1' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false overrides: vite: ^4.3.9 @@ -259,7 +263,7 @@ importers: version: link:../../packages/ui jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -318,7 +322,7 @@ importers: version: 13.3.0(react-dom@18.0.0)(react@18.0.0) '@types/node': specifier: latest - version: 20.2.3 + version: 20.2.5 '@types/react': specifier: latest version: 18.2.7 @@ -327,7 +331,7 @@ importers: version: 4.0.0(vite@4.3.9) jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 typescript: specifier: ^4.8.4 version: 4.8.4 @@ -391,7 +395,7 @@ importers: version: 9.1.9 jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 react-test-renderer: specifier: 17.0.2 version: 17.0.2(react@17.0.2) @@ -495,7 +499,7 @@ importers: version: 2.29.2 jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -565,7 +569,7 @@ importers: version: 8.2.5(@babel/core@7.18.13)(webpack@5.74.0) jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 msw: specifier: ^0.49.2 version: 0.49.2(typescript@4.8.4) @@ -617,7 +621,7 @@ importers: version: link:../../packages/ui jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 typescript: specifier: ^4.8.4 version: 4.8.4 @@ -663,7 +667,7 @@ importers: version: 3.1.5 jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 msw: specifier: ^1.2.1 version: 1.2.1(typescript@5.0.4) @@ -684,7 +688,7 @@ importers: version: 2.3.2(vue@3.3.4) jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -709,7 +713,7 @@ importers: version: 5.16.5 jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 solid-testing-library: specifier: ^0.5.0 version: 0.5.0(solid-js@1.5.2) @@ -736,7 +740,7 @@ importers: version: link:../../packages/ui jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 svelte: specifier: latest version: 3.58.0 @@ -761,7 +765,7 @@ importers: version: 2.0.2(vue@3.3.4) jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 unplugin-auto-import: specifier: latest version: 0.12.1(rollup@3.20.2) @@ -789,7 +793,7 @@ importers: version: 2.0.0(vue@3.3.4) jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -810,7 +814,7 @@ importers: version: 2.3.2(vue@3.3.4) jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -835,7 +839,7 @@ importers: version: 1.3.0(vue-template-compiler@2.7.10)(vue@2.7.10) jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 vite: specifier: ^4.3.9 version: 4.3.9(@types/node@18.16.3) @@ -1827,7 +1831,7 @@ importers: version: 3.2.0 jsdom: specifier: latest - version: 22.0.0 + version: 22.1.0 vitest: specifier: workspace:* version: link:../../packages/vitest @@ -5122,21 +5126,12 @@ packages: get-tsconfig: 4.5.0 dev: true - /@esbuild/android-arm64@0.17.15: - resolution: {integrity: sha512-0kOB6Y7Br3KDVgHeg8PRcvfLkq+AccreK///B4Z6fNZGr/tNHX0z2VywCc7PTeWp+bPvjA5WMvNXltHw5QjAIA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - optional: true - /@esbuild/android-arm64@0.17.18: resolution: {integrity: sha512-/iq0aK0eeHgSC3z55ucMAHO05OIqmQehiGay8eP5l/5l+iEr4EIbh4/MI8xD9qRFjqzgkc0JkX0LculNC9mXBw==} engines: {node: '>=12'} cpu: [arm64] os: [android] requiresBuild: true - dev: true optional: true /@esbuild/android-arm@0.15.18: @@ -5148,29 +5143,12 @@ packages: dev: true optional: true - /@esbuild/android-arm@0.17.15: - resolution: {integrity: sha512-sRSOVlLawAktpMvDyJIkdLI/c/kdRTOqo8t6ImVxg8yT7LQDUYV5Rp2FKeEosLr6ZCja9UjYAzyRSxGteSJPYg==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - optional: true - /@esbuild/android-arm@0.17.18: resolution: {integrity: sha512-EmwL+vUBZJ7mhFCs5lA4ZimpUH3WMAoqvOIYhVQwdIgSpHC8ImHdsRyhHAVxpDYUSm0lWvd63z0XH1IlImS2Qw==} engines: {node: '>=12'} cpu: [arm] os: [android] requiresBuild: true - dev: true - optional: true - - /@esbuild/android-x64@0.17.15: - resolution: {integrity: sha512-MzDqnNajQZ63YkaUWVl9uuhcWyEyh69HGpMIrf+acR4otMkfLJ4sUCxqwbCyPGicE9dVlrysI3lMcDBjGiBBcQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true optional: true /@esbuild/android-x64@0.17.18: @@ -5179,15 +5157,6 @@ packages: cpu: [x64] os: [android] requiresBuild: true - dev: true - optional: true - - /@esbuild/darwin-arm64@0.17.15: - resolution: {integrity: sha512-7siLjBc88Z4+6qkMDxPT2juf2e8SJxmsbNVKFY2ifWCDT72v5YJz9arlvBw5oB4W/e61H1+HDB/jnu8nNg0rLA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true optional: true /@esbuild/darwin-arm64@0.17.18: @@ -5196,15 +5165,6 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true - dev: true - optional: true - - /@esbuild/darwin-x64@0.17.15: - resolution: {integrity: sha512-NbImBas2rXwYI52BOKTW342Tm3LTeVlaOQ4QPZ7XuWNKiO226DisFk/RyPk3T0CKZkKMuU69yOvlapJEmax7cg==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true optional: true /@esbuild/darwin-x64@0.17.18: @@ -5213,15 +5173,6 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true - dev: true - optional: true - - /@esbuild/freebsd-arm64@0.17.15: - resolution: {integrity: sha512-Xk9xMDjBVG6CfgoqlVczHAdJnCs0/oeFOspFap5NkYAmRCT2qTn1vJWA2f419iMtsHSLm+O8B6SLV/HlY5cYKg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true optional: true /@esbuild/freebsd-arm64@0.17.18: @@ -5230,15 +5181,6 @@ packages: cpu: [arm64] os: [freebsd] requiresBuild: true - dev: true - optional: true - - /@esbuild/freebsd-x64@0.17.15: - resolution: {integrity: sha512-3TWAnnEOdclvb2pnfsTWtdwthPfOz7qAfcwDLcfZyGJwm1SRZIMOeB5FODVhnM93mFSPsHB9b/PmxNNbSnd0RQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true optional: true /@esbuild/freebsd-x64@0.17.18: @@ -5247,15 +5189,6 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-arm64@0.17.15: - resolution: {integrity: sha512-T0MVnYw9KT6b83/SqyznTs/3Jg2ODWrZfNccg11XjDehIved2oQfrX/wVuev9N936BpMRaTR9I1J0tdGgUgpJA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-arm64@0.17.18: @@ -5264,15 +5197,6 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-arm@0.17.15: - resolution: {integrity: sha512-MLTgiXWEMAMr8nmS9Gigx43zPRmEfeBfGCwxFQEMgJ5MC53QKajaclW6XDPjwJvhbebv+RzK05TQjvH3/aM4Xw==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-arm@0.17.18: @@ -5281,15 +5205,6 @@ packages: cpu: [arm] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-ia32@0.17.15: - resolution: {integrity: sha512-wp02sHs015T23zsQtU4Cj57WiteiuASHlD7rXjKUyAGYzlOKDAjqK6bk5dMi2QEl/KVOcsjwL36kD+WW7vJt8Q==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-ia32@0.17.18: @@ -5298,7 +5213,6 @@ packages: cpu: [ia32] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-loong64@0.14.54: @@ -5319,29 +5233,12 @@ packages: dev: true optional: true - /@esbuild/linux-loong64@0.17.15: - resolution: {integrity: sha512-k7FsUJjGGSxwnBmMh8d7IbObWu+sF/qbwc+xKZkBe/lTAF16RqxRCnNHA7QTd3oS2AfGBAnHlXL67shV5bBThQ==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - optional: true - /@esbuild/linux-loong64@0.17.18: resolution: {integrity: sha512-bvPG+MyFs5ZlwYclCG1D744oHk1Pv7j8psF5TfYx7otCVmcJsEXgFEhQkbhNW8otDHL1a2KDINW20cfCgnzgMQ==} engines: {node: '>=12'} cpu: [loong64] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-mips64el@0.17.15: - resolution: {integrity: sha512-ZLWk6czDdog+Q9kE/Jfbilu24vEe/iW/Sj2d8EVsmiixQ1rM2RKH2n36qfxK4e8tVcaXkvuV3mU5zTZviE+NVQ==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-mips64el@0.17.18: @@ -5350,15 +5247,6 @@ packages: cpu: [mips64el] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-ppc64@0.17.15: - resolution: {integrity: sha512-mY6dPkIRAiFHRsGfOYZC8Q9rmr8vOBZBme0/j15zFUKM99d4ILY4WpOC7i/LqoY+RE7KaMaSfvY8CqjJtuO4xg==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-ppc64@0.17.18: @@ -5367,15 +5255,6 @@ packages: cpu: [ppc64] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-riscv64@0.17.15: - resolution: {integrity: sha512-EcyUtxffdDtWjjwIH8sKzpDRLcVtqANooMNASO59y+xmqqRYBBM7xVLQhqF7nksIbm2yHABptoioS9RAbVMWVA==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-riscv64@0.17.18: @@ -5384,15 +5263,6 @@ packages: cpu: [riscv64] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-s390x@0.17.15: - resolution: {integrity: sha512-BuS6Jx/ezxFuHxgsfvz7T4g4YlVrmCmg7UAwboeyNNg0OzNzKsIZXpr3Sb/ZREDXWgt48RO4UQRDBxJN3B9Rbg==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-s390x@0.17.18: @@ -5401,15 +5271,6 @@ packages: cpu: [s390x] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-x64@0.17.15: - resolution: {integrity: sha512-JsdS0EgEViwuKsw5tiJQo9UdQdUJYuB+Mf6HxtJSPN35vez1hlrNb1KajvKWF5Sa35j17+rW1ECEO9iNrIXbNg==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true optional: true /@esbuild/linux-x64@0.17.18: @@ -5418,15 +5279,6 @@ packages: cpu: [x64] os: [linux] requiresBuild: true - dev: true - optional: true - - /@esbuild/netbsd-x64@0.17.15: - resolution: {integrity: sha512-R6fKjtUysYGym6uXf6qyNephVUQAGtf3n2RCsOST/neIwPqRWcnc3ogcielOd6pT+J0RDR1RGcy0ZY7d3uHVLA==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true optional: true /@esbuild/netbsd-x64@0.17.18: @@ -5435,15 +5287,6 @@ packages: cpu: [x64] os: [netbsd] requiresBuild: true - dev: true - optional: true - - /@esbuild/openbsd-x64@0.17.15: - resolution: {integrity: sha512-mVD4PGc26b8PI60QaPUltYKeSX0wxuy0AltC+WCTFwvKCq2+OgLP4+fFd+hZXzO2xW1HPKcytZBdjqL6FQFa7w==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true optional: true /@esbuild/openbsd-x64@0.17.18: @@ -5452,15 +5295,6 @@ packages: cpu: [x64] os: [openbsd] requiresBuild: true - dev: true - optional: true - - /@esbuild/sunos-x64@0.17.15: - resolution: {integrity: sha512-U6tYPovOkw3459t2CBwGcFYfFRjivcJJc1WC8Q3funIwX8x4fP+R6xL/QuTPNGOblbq/EUDxj9GU+dWKX0oWlQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true optional: true /@esbuild/sunos-x64@0.17.18: @@ -5469,15 +5303,6 @@ packages: cpu: [x64] os: [sunos] requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-arm64@0.17.15: - resolution: {integrity: sha512-W+Z5F++wgKAleDABemiyXVnzXgvRFs+GVKThSI+mGgleLWluv0D7Diz4oQpgdpNzh4i2nNDzQtWbjJiqutRp6Q==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true optional: true /@esbuild/win32-arm64@0.17.18: @@ -5486,15 +5311,6 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-ia32@0.17.15: - resolution: {integrity: sha512-Muz/+uGgheShKGqSVS1KsHtCyEzcdOn/W/Xbh6H91Etm+wiIfwZaBn1W58MeGtfI8WA961YMHFYTthBdQs4t+w==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true optional: true /@esbuild/win32-ia32@0.17.18: @@ -5503,15 +5319,6 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-x64@0.17.15: - resolution: {integrity: sha512-DjDa9ywLUUmjhV2Y9wUTIF+1XsmuFGvZoCmOWkli1XcNAh5t25cc7fgsCx4Zi/Uurep3TTLyDiKATgGEg61pkA==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true optional: true /@esbuild/win32-x64@0.17.18: @@ -5520,7 +5327,6 @@ packages: cpu: [x64] os: [win32] requiresBuild: true - dev: true optional: true /@eslint-community/eslint-utils@4.4.0(eslint@8.39.0): @@ -6461,7 +6267,7 @@ packages: engines: {node: '>=14'} hasBin: true dependencies: - '@types/node': 18.16.3 + '@types/node': 20.2.5 playwright-core: 1.28.0 dev: true @@ -8058,7 +7864,7 @@ packages: fs-extra: 9.1.0 global: 4.4.0 isomorphic-unfetch: 3.1.0 - nanoid: 3.3.4 + nanoid: 3.3.6 read-pkg-up: 7.0.1 regenerator-runtime: 0.13.11 transitivePeerDependencies: @@ -8473,13 +8279,13 @@ packages: resolution: {integrity: sha512-MxObHvNl4A69ofaTRU8DFqvgzzv8s9yRtaPPm5gud9HDNvpB3GPQFvNuTWAI59B9huVGV5jXYJwbCsmBsOGYWA==} dependencies: '@types/jsonfile': 6.1.1 - '@types/node': 18.16.3 + '@types/node': 20.2.5 dev: true /@types/fs-extra@9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 18.16.3 + '@types/node': 20.2.5 dev: true /@types/glob@7.2.0: @@ -8564,7 +8370,7 @@ packages: /@types/jsdom@21.1.1: resolution: {integrity: sha512-cZFuoVLtzKP3gmq9eNosUL1R50U+USkbLtUQ1bYVgl/lKp0FZM7Cq4aIHAL8oIvQ17uSHi7jXPtfDOdjPwBE7A==} dependencies: - '@types/node': 18.16.3 + '@types/node': 20.2.5 '@types/tough-cookie': 4.0.2 parse5: 7.1.2 dev: true @@ -8633,10 +8439,6 @@ packages: resolution: {integrity: sha512-46yIhxSe5xEaJZXWdIBP7GU4HDTG8/eo0qd9atdiL+lFpA03y8KS+lkTN834TWJj5767GbWv4n/P6efyTFt1Dw==} dev: false - /@types/node@20.2.3: - resolution: {integrity: sha512-pg9d0yC4rVNWQzX8U7xb4olIOFuuVL9za3bzMT2pu2SU0SNEi66i2qrvhE2qt0HvkhuCaWJu7pLNOt/Pj8BIrw==} - dev: true - /@types/node@20.2.5: resolution: {integrity: sha512-JJulVEQXmiY9Px5axXHeYGLSjhkZEnD+MDPDGbCbIAbMslkKwmygtZFy1X6s/075Yo94sf8GuSlFfPzysQrWZQ==} dev: true @@ -8667,7 +8469,7 @@ packages: /@types/prompts@2.4.4: resolution: {integrity: sha512-p5N9uoTH76lLvSAaYSZtBCdEXzpOOufsRjnhjVSrZGXikVGHX9+cc9ERtHRV4hvBKHyZb1bg4K+56Bd2TqUn4A==} dependencies: - '@types/node': 18.16.3 + '@types/node': 20.2.5 kleur: 3.0.3 dev: true @@ -8854,7 +8656,7 @@ packages: /@types/ws@8.5.4: resolution: {integrity: sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==} dependencies: - '@types/node': 18.16.3 + '@types/node': 20.2.5 dev: true /@types/yargs-parser@21.0.0: @@ -14060,35 +13862,6 @@ packages: esbuild-windows-arm64: 0.15.18 dev: true - /esbuild@0.17.15: - resolution: {integrity: sha512-LBUV2VsUIc/iD9ME75qhT4aJj0r75abCVS0jakhFzOtR7TQsqQA5w0tZ+KTKnwl3kXE0MhskNdHDh/I5aCR1Zw==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/android-arm': 0.17.15 - '@esbuild/android-arm64': 0.17.15 - '@esbuild/android-x64': 0.17.15 - '@esbuild/darwin-arm64': 0.17.15 - '@esbuild/darwin-x64': 0.17.15 - '@esbuild/freebsd-arm64': 0.17.15 - '@esbuild/freebsd-x64': 0.17.15 - '@esbuild/linux-arm': 0.17.15 - '@esbuild/linux-arm64': 0.17.15 - '@esbuild/linux-ia32': 0.17.15 - '@esbuild/linux-loong64': 0.17.15 - '@esbuild/linux-mips64el': 0.17.15 - '@esbuild/linux-ppc64': 0.17.15 - '@esbuild/linux-riscv64': 0.17.15 - '@esbuild/linux-s390x': 0.17.15 - '@esbuild/linux-x64': 0.17.15 - '@esbuild/netbsd-x64': 0.17.15 - '@esbuild/openbsd-x64': 0.17.15 - '@esbuild/sunos-x64': 0.17.15 - '@esbuild/win32-arm64': 0.17.15 - '@esbuild/win32-ia32': 0.17.15 - '@esbuild/win32-x64': 0.17.15 - /esbuild@0.17.18: resolution: {integrity: sha512-z1lix43jBs6UKjcZVKOw2xx69ffE2aG0PygLL5qJ9OS/gy0Ewd1gW/PUQIOIQGXBHWNywSc0floSKoMFF8aK2w==} engines: {node: '>=12'} @@ -14117,7 +13890,6 @@ packages: '@esbuild/win32-arm64': 0.17.18 '@esbuild/win32-ia32': 0.17.18 '@esbuild/win32-x64': 0.17.18 - dev: true /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} @@ -17932,8 +17704,8 @@ packages: - utf-8-validate dev: true - /jsdom@22.0.0: - resolution: {integrity: sha512-p5ZTEb5h+O+iU02t0GfEjAnkdYPrQSkfuTSMkMYyIoMvUNEHsbG0bHHbfXIcfTqD2UfvjQX7mmgiFsyRwGscVw==} + /jsdom@22.1.0: + resolution: {integrity: sha512-/9AVW7xNbsBv6GfWho4TTNjEo9fe6Zhf9O7s0Fhhr3u+awPwAJMKwAMXnkk5vBxflqLW9hTHX/0cs+P3gW+cQw==} engines: {node: '>=16'} peerDependencies: canvas: ^2.5.0 @@ -19208,6 +18980,12 @@ packages: resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true + dev: false + + /nanoid@3.3.6: + resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true /nanomatch@1.2.13: resolution: {integrity: sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==} @@ -20467,7 +20245,7 @@ packages: resolution: {integrity: sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==} engines: {node: ^10 || ^12 || >=14} dependencies: - nanoid: 3.3.4 + nanoid: 3.3.6 picocolors: 1.0.0 source-map-js: 1.0.2