From ad4d0a265c2d5d42c1ccdab913c846beb6b32929 Mon Sep 17 00:00:00 2001 From: felicia-haggqvist <144792260+felicia-haggqvist@users.noreply.github.com> Date: Thu, 11 Jul 2024 15:16:09 +0200 Subject: [PATCH] chore: update vitest and @vitest/coverage-v8 to latest version (#179) --- package.json | 4 +- pnpm-lock.yaml | 119 ++++++++++++++++++++++++++++--------------------- 2 files changed, 69 insertions(+), 54 deletions(-) diff --git a/package.json b/package.json index 26aae7a..4d9ddf1 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "@storybook/vue3-vite": "8.2.1", "@storybook/vue3": "8.2.1", "@vitejs/plugin-vue": "5.0.5", - "@vitest/coverage-v8": "2.0.1", + "@vitest/coverage-v8": "2.0.2", "@vue/test-utils": "2.4.6", "@warp-ds/eslint-config": "1.0.5", "cleave-lite": "1.0.0", @@ -103,7 +103,7 @@ "unocss": "0.x", "vite": "5.3.3", "viteik": "1.0.3", - "vitest": "2.0.1", + "vitest": "2.0.2", "vue": "3.4.31", "vue-eslint-parser": "9.4.3", "vue-router": "4.4.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ebd4035..080f84e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -89,7 +89,7 @@ importers: version: 8.2.1(@babel/preset-env@7.24.7(@babel/core@7.24.7)) '@storybook/test': specifier: 8.2.1 - version: 8.2.1(@jest/globals@29.7.0)(jest@29.7.0(@types/node@20.14.10)(babel-plugin-macros@3.1.0))(storybook@8.2.1(@babel/preset-env@7.24.7(@babel/core@7.24.7)))(vitest@2.0.1(@types/node@20.14.10)(happy-dom@14.12.3)) + version: 8.2.1(@jest/globals@29.7.0)(jest@29.7.0(@types/node@20.14.10)(babel-plugin-macros@3.1.0))(storybook@8.2.1(@babel/preset-env@7.24.7(@babel/core@7.24.7)))(vitest@2.0.2(@types/node@20.14.10)(happy-dom@14.12.3)) '@storybook/test-runner': specifier: 0.19.0 version: 0.19.0(@types/node@20.14.10)(babel-plugin-macros@3.1.0)(storybook@8.2.1(@babel/preset-env@7.24.7(@babel/core@7.24.7))) @@ -103,8 +103,8 @@ importers: specifier: 5.0.5 version: 5.0.5(vite@5.3.3(@types/node@20.14.10))(vue@3.4.31(typescript@5.5.3)) '@vitest/coverage-v8': - specifier: 2.0.1 - version: 2.0.1(vitest@2.0.1(@types/node@20.14.10)(happy-dom@14.12.3)) + specifier: 2.0.2 + version: 2.0.2(vitest@2.0.2(@types/node@20.14.10)(happy-dom@14.12.3)) '@vue/test-utils': specifier: 2.4.6 version: 2.4.6 @@ -157,8 +157,8 @@ importers: specifier: 1.0.3 version: 1.0.3(@eik/rollup-plugin@4.0.63) vitest: - specifier: 2.0.1 - version: 2.0.1(@types/node@20.14.10)(happy-dom@14.12.3) + specifier: 2.0.2 + version: 2.0.2(@types/node@20.14.10)(happy-dom@14.12.3) vue: specifier: 3.4.31 version: 3.4.31(typescript@5.5.3) @@ -2223,34 +2223,37 @@ packages: vite: ^5.0.0 vue: ^3.2.25 - '@vitest/coverage-v8@2.0.1': - resolution: {integrity: sha512-ACcSlJtWlravv0QyJSCO9rvm06msj6x0HooXouB0NXKG6PGxUN5VX4X8QEATfTMGsJlZLqWvq0dEY9W1V0rcSw==} + '@vitest/coverage-v8@2.0.2': + resolution: {integrity: sha512-iA8eb4PMid3bMc++gfQSTvYE1QL//fC8pz+rKsTUDBFjdDiy/gH45hvpqyDu5K7FHhvgG0GNNCJzTMMSFKhoxg==} peerDependencies: - vitest: 2.0.1 + vitest: 2.0.2 '@vitest/expect@1.6.0': resolution: {integrity: sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==} - '@vitest/expect@2.0.1': - resolution: {integrity: sha512-yw70WL3ZwzbI2O3MOXYP2Shf4vqVkS3q5FckLJ6lhT9VMMtDyWdofD53COZcoeuHwsBymdOZp99r5bOr5g+oeA==} + '@vitest/expect@2.0.2': + resolution: {integrity: sha512-nKAvxBYqcDugYZ4nJvnm5OR8eDJdgWjk4XM9owQKUjzW70q0icGV2HVnQOyYsp906xJaBDUXw0+9EHw2T8e0mQ==} - '@vitest/runner@2.0.1': - resolution: {integrity: sha512-XfcSXOGGxgR2dQ466ZYqf0ZtDLLDx9mZeQcKjQDLQ9y6Cmk2Wl7wxMuhiYK4Fo1VxCtLcFEGW2XpcfMuiD1Maw==} + '@vitest/pretty-format@2.0.2': + resolution: {integrity: sha512-SBCyOXfGVvddRd9r2PwoVR0fonQjh9BMIcBMlSzbcNwFfGr6ZhOhvBzurjvi2F4ryut2HcqiFhNeDVGwru8tLg==} - '@vitest/snapshot@2.0.1': - resolution: {integrity: sha512-rst79a4Q+J5vrvHRapdfK4BdqpMH0eF58jVY1vYeBo/1be+nkyenGI5SCSohmjf6MkCkI20/yo5oG+0R8qrAnA==} + '@vitest/runner@2.0.2': + resolution: {integrity: sha512-OCh437Vi8Wdbif1e0OvQcbfM3sW4s2lpmOjAE7qfLrpzJX2M7J1IQlNvEcb/fu6kaIB9n9n35wS0G2Q3en5kHg==} + + '@vitest/snapshot@2.0.2': + resolution: {integrity: sha512-Yc2ewhhZhx+0f9cSUdfzPRcsM6PhIb+S43wxE7OG0kTxqgqzo8tHkXFuFlndXeDMp09G3sY/X5OAo/RfYydf1g==} '@vitest/spy@1.6.0': resolution: {integrity: sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==} - '@vitest/spy@2.0.1': - resolution: {integrity: sha512-NLkdxbSefAtJN56GtCNcB4GiHFb5i9q1uh4V229lrlTZt2fnwsTyjLuWIli1xwK2fQspJJmHXHyWx0Of3KTXWA==} + '@vitest/spy@2.0.2': + resolution: {integrity: sha512-MgwJ4AZtCgqyp2d7WcQVE8aNG5vQ9zu9qMPYQHjsld/QVsrvg78beNrXdO4HYkP0lDahCO3P4F27aagIag+SGQ==} '@vitest/utils@1.6.0': resolution: {integrity: sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==} - '@vitest/utils@2.0.1': - resolution: {integrity: sha512-STH+2fHZxlveh1mpU4tKzNgRk7RZJyr6kFGJYCI5vocdfqfPsQrgVC6k7dBWHfin5QNB4TLvRS0Ckly3Dt1uWw==} + '@vitest/utils@2.0.2': + resolution: {integrity: sha512-pxCY1v7kmOCWYWjzc0zfjGTA3Wmn8PKnlPvSrsA643P1NHl1fOyXj2Q9SaNlrlFE+ivCsxM80Ov3AR82RmHCWQ==} '@volar/language-core@2.4.0-alpha.15': resolution: {integrity: sha512-mt8z4Fm2WxfQYoQHPcKVjLQV6PgPqyKLbkCVY2cr5RSaamqCHjhKEpsFX66aL4D/7oYguuaUw9Bx03Vt0TpIIA==} @@ -5868,6 +5871,10 @@ packages: resolution: {integrity: sha512-KIKExllK7jp3uvrNtvRBYBWBOAXSX8ZvoaD8T+7KB/QHIuoJW3Pmr60zucywjAlMb5TeXUkcs/MWeWLu0qvuAQ==} engines: {node: ^18.0.0 || >=20.0.0} + tinyrainbow@1.2.0: + resolution: {integrity: sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==} + engines: {node: '>=14.0.0'} + tinyspy@2.2.1: resolution: {integrity: sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==} engines: {node: '>=14.0.0'} @@ -6126,8 +6133,8 @@ packages: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} - vite-node@2.0.1: - resolution: {integrity: sha512-nVd6kyhPAql0s+xIVJzuF+RSRH8ZimNrm6U8ZvTA4MXv8CHI17TFaQwRaFiK75YX6XeFqZD4IoAaAfi9OR1XvQ==} + vite-node@2.0.2: + resolution: {integrity: sha512-w4vkSz1Wo+NIQg8pjlEn0jQbcM/0D+xVaYjhw3cvarTanLLBh54oNiRbsT8PNK5GfuST0IlVXjsNRoNlqvY/fw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -6164,15 +6171,15 @@ packages: peerDependencies: '@eik/rollup-plugin': '*' - vitest@2.0.1: - resolution: {integrity: sha512-PBPvNXRJiywtI9NmbnEqHIhcXlk8mB0aKf6REQIaYGY4JtWF1Pg8Am+N0vAuxdg/wUSlxPSVJr8QdjwcVxc2Hg==} + vitest@2.0.2: + resolution: {integrity: sha512-WlpZ9neRIjNBIOQwBYfBSr0+of5ZCbxT2TVGKW4Lv0c8+srCFIiRdsP7U009t8mMn821HQ4XKgkx5dVWpyoyLw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 2.0.1 - '@vitest/ui': 2.0.1 + '@vitest/browser': 2.0.2 + '@vitest/ui': 2.0.2 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -8460,12 +8467,12 @@ snapshots: - supports-color - ts-node - '@storybook/test@8.2.1(@jest/globals@29.7.0)(jest@29.7.0(@types/node@20.14.10)(babel-plugin-macros@3.1.0))(storybook@8.2.1(@babel/preset-env@7.24.7(@babel/core@7.24.7)))(vitest@2.0.1(@types/node@20.14.10)(happy-dom@14.12.3))': + '@storybook/test@8.2.1(@jest/globals@29.7.0)(jest@29.7.0(@types/node@20.14.10)(babel-plugin-macros@3.1.0))(storybook@8.2.1(@babel/preset-env@7.24.7(@babel/core@7.24.7)))(vitest@2.0.2(@types/node@20.14.10)(happy-dom@14.12.3))': dependencies: '@storybook/csf': 0.1.11 '@storybook/instrumenter': 8.2.1(storybook@8.2.1(@babel/preset-env@7.24.7(@babel/core@7.24.7))) '@testing-library/dom': 10.1.0 - '@testing-library/jest-dom': 6.4.5(@jest/globals@29.7.0)(jest@29.7.0(@types/node@20.14.10)(babel-plugin-macros@3.1.0))(vitest@2.0.1(@types/node@20.14.10)(happy-dom@14.12.3)) + '@testing-library/jest-dom': 6.4.5(@jest/globals@29.7.0)(jest@29.7.0(@types/node@20.14.10)(babel-plugin-macros@3.1.0))(vitest@2.0.2(@types/node@20.14.10)(happy-dom@14.12.3)) '@testing-library/user-event': 14.5.2(@testing-library/dom@10.1.0) '@vitest/expect': 1.6.0 '@vitest/spy': 1.6.0 @@ -8576,7 +8583,7 @@ snapshots: lz-string: 1.5.0 pretty-format: 27.5.1 - '@testing-library/jest-dom@6.4.5(@jest/globals@29.7.0)(jest@29.7.0(@types/node@20.14.10)(babel-plugin-macros@3.1.0))(vitest@2.0.1(@types/node@20.14.10)(happy-dom@14.12.3))': + '@testing-library/jest-dom@6.4.5(@jest/globals@29.7.0)(jest@29.7.0(@types/node@20.14.10)(babel-plugin-macros@3.1.0))(vitest@2.0.2(@types/node@20.14.10)(happy-dom@14.12.3))': dependencies: '@adobe/css-tools': 4.4.0 '@babel/runtime': 7.24.7 @@ -8589,7 +8596,7 @@ snapshots: optionalDependencies: '@jest/globals': 29.7.0 jest: 29.7.0(@types/node@20.14.10)(babel-plugin-macros@3.1.0) - vitest: 2.0.1(@types/node@20.14.10)(happy-dom@14.12.3) + vitest: 2.0.2(@types/node@20.14.10)(happy-dom@14.12.3) '@testing-library/user-event@14.5.2(@testing-library/dom@10.1.0)': dependencies: @@ -8896,7 +8903,7 @@ snapshots: vite: 5.3.3(@types/node@20.14.10) vue: 3.4.31(typescript@5.5.3) - '@vitest/coverage-v8@2.0.1(vitest@2.0.1(@types/node@20.14.10)(happy-dom@14.12.3))': + '@vitest/coverage-v8@2.0.2(vitest@2.0.2(@types/node@20.14.10)(happy-dom@14.12.3))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -8907,11 +8914,11 @@ snapshots: istanbul-reports: 3.1.7 magic-string: 0.30.10 magicast: 0.3.4 - picocolors: 1.0.1 std-env: 3.7.0 strip-literal: 2.1.0 test-exclude: 7.0.1 - vitest: 2.0.1(@types/node@20.14.10)(happy-dom@14.12.3) + tinyrainbow: 1.2.0 + vitest: 2.0.2(@types/node@20.14.10)(happy-dom@14.12.3) transitivePeerDependencies: - supports-color @@ -8921,28 +8928,33 @@ snapshots: '@vitest/utils': 1.6.0 chai: 4.4.1 - '@vitest/expect@2.0.1': + '@vitest/expect@2.0.2': dependencies: - '@vitest/spy': 2.0.1 - '@vitest/utils': 2.0.1 + '@vitest/spy': 2.0.2 + '@vitest/utils': 2.0.2 chai: 5.1.1 + tinyrainbow: 1.2.0 - '@vitest/runner@2.0.1': + '@vitest/pretty-format@2.0.2': dependencies: - '@vitest/utils': 2.0.1 + tinyrainbow: 1.2.0 + + '@vitest/runner@2.0.2': + dependencies: + '@vitest/utils': 2.0.2 pathe: 1.1.2 - '@vitest/snapshot@2.0.1': + '@vitest/snapshot@2.0.2': dependencies: + '@vitest/pretty-format': 2.0.2 magic-string: 0.30.10 pathe: 1.1.2 - pretty-format: 29.7.0 '@vitest/spy@1.6.0': dependencies: tinyspy: 2.2.1 - '@vitest/spy@2.0.1': + '@vitest/spy@2.0.2': dependencies: tinyspy: 3.0.0 @@ -8953,12 +8965,12 @@ snapshots: loupe: 2.3.7 pretty-format: 29.7.0 - '@vitest/utils@2.0.1': + '@vitest/utils@2.0.2': dependencies: - diff-sequences: 29.6.3 + '@vitest/pretty-format': 2.0.2 estree-walker: 3.0.3 loupe: 3.1.1 - pretty-format: 29.7.0 + tinyrainbow: 1.2.0 '@volar/language-core@2.4.0-alpha.15': dependencies: @@ -13181,6 +13193,8 @@ snapshots: tinypool@1.0.0: {} + tinyrainbow@1.2.0: {} + tinyspy@2.2.1: {} tinyspy@3.0.0: {} @@ -13436,12 +13450,12 @@ snapshots: vary@1.1.2: {} - vite-node@2.0.1(@types/node@20.14.10): + vite-node@2.0.2(@types/node@20.14.10): dependencies: cac: 6.7.14 debug: 4.3.5 pathe: 1.1.2 - picocolors: 1.0.1 + tinyrainbow: 1.2.0 vite: 5.3.3(@types/node@20.14.10) transitivePeerDependencies: - '@types/node' @@ -13466,25 +13480,26 @@ snapshots: dependencies: '@eik/rollup-plugin': 4.0.63 - vitest@2.0.1(@types/node@20.14.10)(happy-dom@14.12.3): + vitest@2.0.2(@types/node@20.14.10)(happy-dom@14.12.3): dependencies: '@ampproject/remapping': 2.3.0 - '@vitest/expect': 2.0.1 - '@vitest/runner': 2.0.1 - '@vitest/snapshot': 2.0.1 - '@vitest/spy': 2.0.1 - '@vitest/utils': 2.0.1 + '@vitest/expect': 2.0.2 + '@vitest/pretty-format': 2.0.2 + '@vitest/runner': 2.0.2 + '@vitest/snapshot': 2.0.2 + '@vitest/spy': 2.0.2 + '@vitest/utils': 2.0.2 chai: 5.1.1 debug: 4.3.5 execa: 8.0.1 magic-string: 0.30.10 pathe: 1.1.2 - picocolors: 1.0.1 std-env: 3.7.0 tinybench: 2.8.0 tinypool: 1.0.0 + tinyrainbow: 1.2.0 vite: 5.3.3(@types/node@20.14.10) - vite-node: 2.0.1(@types/node@20.14.10) + vite-node: 2.0.2(@types/node@20.14.10) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.14.10