From 6edb6ccb15d27ac9d93427eca3599bbb2ccbadfb Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 31 Jul 2023 19:53:33 +0100 Subject: [PATCH] chore: update `nuxt-vitest` --- package.json | 1 + pnpm-lock.yaml | 40 ++++++++++++++++++++++++---------------- 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 55b5a438..ec41eda1 100644 --- a/package.json +++ b/package.json @@ -68,6 +68,7 @@ "form-data": "^4.0.0", "fuse.js": "^6.6.2", "github-reserved-names": "^2.0.4", + "happy-dom": "^10.5.2", "idb-keyval": "^6.2.1", "ignore-dependency-scripts": "^1.0.1", "iso-639-1": "^2.1.15", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3e709c64..84f52924 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -127,6 +127,9 @@ importers: github-reserved-names: specifier: ^2.0.4 version: 2.0.4 + happy-dom: + specifier: ^10.5.2 + version: 10.5.2 idb-keyval: specifier: ^6.2.1 version: 6.2.1 @@ -186,10 +189,10 @@ importers: version: 5.0.1 tauri-plugin-log-api: specifier: github:tauri-apps/tauri-plugin-log - version: github.com/tauri-apps/tauri-plugin-log/e77eea65f074c228aee52c8a1d0ac88ef52827be + version: github.com/tauri-apps/tauri-plugin-log/9075595196d5a66f8f3265d2aaf7e2ffeb4cb2ab tauri-plugin-store-api: specifier: github:tauri-apps/tauri-plugin-store - version: github.com/tauri-apps/tauri-plugin-store/96e2eb3971c981ece96f0a9e47dad14a2d1d2539 + version: github.com/tauri-apps/tauri-plugin-store/a65ce9bfb168a9a3cd7ed4102b9f22770cc3abfa theme-vitesse: specifier: ^0.7.2 version: 0.7.2 @@ -298,7 +301,7 @@ importers: version: 5.1.6 vitest: specifier: ^0.32.4 - version: 0.32.4 + version: 0.32.4(happy-dom@10.5.2) vue-tsc: specifier: ^1.8.3 version: 1.8.3(typescript@5.1.6) @@ -6489,7 +6492,6 @@ packages: /css.escape@1.5.1: resolution: {integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==} - dev: false /cssesc@3.0.0: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} @@ -8150,6 +8152,16 @@ packages: ufo: 1.1.2 uncrypto: 0.1.3 + /happy-dom@10.5.2: + resolution: {integrity: sha512-dTA1cDcLOPIkAdykLd9Wo1k8Ly36Hh2OdKGkWEHWuAHb89KcVVRLSj1OFev7ir90xhRLSGCGrEdDvS6u9l13kg==} + dependencies: + css.escape: 1.5.1 + entities: 4.5.0 + iconv-lite: 0.6.3 + webidl-conversions: 7.0.0 + whatwg-encoding: 2.0.0 + whatwg-mimetype: 3.0.0 + /happy-dom@9.20.3: resolution: {integrity: sha512-eBsgauT435fXFvQDNcmm5QbGtYzxEzOaX35Ia+h6yP/wwa4xSWZh1CfP+mGby8Hk6Xu59mTkpyf72rUXHNxY7A==} dependencies: @@ -8415,7 +8427,6 @@ packages: engines: {node: '>=0.10.0'} dependencies: safer-buffer: 2.1.2 - dev: false /idb-keyval@6.2.1: resolution: {integrity: sha512-8Sb3veuYCyrZL+VBt9LJfZjLUPWVvqn8tG28VqYNFCo43KHcKuq+b4EiXGeuaLAQWL2YmyDgMp2aSpH9JHsEQg==} @@ -10452,7 +10463,7 @@ packages: perfect-debounce: 1.0.0 std-env: 3.3.3 vite: 4.3.9(@types/node@20.3.3) - vitest: 0.32.4 + vitest: 0.32.4(happy-dom@10.5.2) vitest-environment-nuxt: 0.8.7(rollup@2.79.1)(vitest@0.32.4)(vue-router@4.2.4)(vue@3.3.4) transitivePeerDependencies: - '@vue/compiler-dom' @@ -12237,7 +12248,6 @@ packages: /safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - dev: false /schema-utils@3.3.0: resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==} @@ -13976,7 +13986,7 @@ packages: magic-string: 0.30.1 ofetch: 1.1.1 unenv: 1.5.1 - vitest: 0.32.4 + vitest: 0.32.4(happy-dom@10.5.2) vue: 3.3.4 vue-router: 4.2.4(vue@3.3.4) transitivePeerDependencies: @@ -13986,7 +13996,7 @@ packages: - supports-color dev: false - /vitest@0.32.4: + /vitest@0.32.4(happy-dom@10.5.2): resolution: {integrity: sha512-3czFm8RnrsWwIzVDu/Ca48Y/M+qh3vOnF16czJm98Q/AN1y3B6PBsyV8Re91Ty5s7txKNjEhpgtGPcfdbh2MZg==} engines: {node: '>=v14.18.0'} hasBin: true @@ -14030,6 +14040,7 @@ packages: cac: 6.7.14 chai: 4.3.7 debug: 4.3.4 + happy-dom: 10.5.2 local-pkg: 0.4.3 magic-string: 0.30.1 pathe: 1.1.1 @@ -14329,7 +14340,6 @@ packages: /webidl-conversions@7.0.0: resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} engines: {node: '>=12'} - dev: false /webpack-sources@3.2.3: resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==} @@ -14388,12 +14398,10 @@ packages: engines: {node: '>=12'} dependencies: iconv-lite: 0.6.3 - dev: false /whatwg-mimetype@3.0.0: resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} engines: {node: '>=12'} - dev: false /whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} @@ -14779,16 +14787,16 @@ packages: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} dev: true - github.com/tauri-apps/tauri-plugin-log/e77eea65f074c228aee52c8a1d0ac88ef52827be: - resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-log/tar.gz/e77eea65f074c228aee52c8a1d0ac88ef52827be} + github.com/tauri-apps/tauri-plugin-log/9075595196d5a66f8f3265d2aaf7e2ffeb4cb2ab: + resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-log/tar.gz/9075595196d5a66f8f3265d2aaf7e2ffeb4cb2ab} name: tauri-plugin-log-api version: 0.0.0 dependencies: '@tauri-apps/api': 1.4.0 dev: false - github.com/tauri-apps/tauri-plugin-store/96e2eb3971c981ece96f0a9e47dad14a2d1d2539: - resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-store/tar.gz/96e2eb3971c981ece96f0a9e47dad14a2d1d2539} + github.com/tauri-apps/tauri-plugin-store/a65ce9bfb168a9a3cd7ed4102b9f22770cc3abfa: + resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-store/tar.gz/a65ce9bfb168a9a3cd7ed4102b9f22770cc3abfa} name: tauri-plugin-store-api version: 0.0.0 dependencies: