@vitest/ui
Advanced tools
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
@@ -1,5 +0,50 @@ | ||
| <svg width="165" height="165" viewBox="0 0 165 165" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
| <path d="M120.831 57.2543L84.693 109.505C84.3099 110.059 83.7558 110.474 83.1148 110.687C82.4738 110.9 81.7809 110.898 81.1412 110.684C80.5015 110.469 79.95 110.052 79.5702 109.497C79.1905 108.941 79.0032 108.277 79.037 107.606L80.4833 78.7582L57.1343 73.8064C56.6353 73.7007 56.1704 73.474 55.7807 73.1465C55.391 72.8191 55.0885 72.4009 54.9001 71.929C54.7117 71.4571 54.6432 70.9461 54.7006 70.4412C54.758 69.9364 54.9395 69.4532 55.2291 69.0345L91.3675 16.7837C91.7507 16.2294 92.3048 15.8145 92.9458 15.6018C93.5869 15.3891 94.2798 15.3902 94.9196 15.6051C95.5593 15.8199 96.1109 16.2367 96.4906 16.7923C96.8703 17.3478 97.0575 18.0117 97.0236 18.6833L95.5773 47.5314L118.926 52.4828C119.425 52.5885 119.89 52.8152 120.28 53.1426C120.67 53.4701 120.972 53.8883 121.16 54.3602C121.349 54.8321 121.417 55.3431 121.36 55.8479C121.303 56.3528 121.121 56.836 120.831 57.2547L120.831 57.2543Z" fill="#FCC72B"/> | ||
| <path d="M82.9866 153.343C82.0254 153.344 81.0735 153.156 80.1855 152.788C79.2975 152.42 78.4909 151.88 77.8122 151.2L43.6658 117.056C42.2998 115.683 41.5341 113.824 41.5366 111.887C41.5392 109.95 42.3098 108.092 43.6796 106.723C45.0493 105.353 46.9064 104.582 48.8435 104.579C50.7807 104.577 52.6399 105.342 54.0134 106.708L82.9866 135.678L146.105 72.5626C147.481 71.2088 149.336 70.4536 151.266 70.4615C153.197 70.4693 155.046 71.2396 156.41 72.6045C157.775 73.9695 158.546 75.8184 158.554 77.7487C158.561 79.679 157.806 81.5342 156.452 82.9101L88.1597 151.2C87.4811 151.881 86.6747 152.42 85.7869 152.788C84.8992 153.156 83.9475 153.344 82.9866 153.343Z" fill="#729B1B"/> | ||
| <path d="M82.9572 153.343C83.9184 153.344 84.8703 153.156 85.7583 152.788C86.6463 152.42 87.4528 151.88 88.1316 151.2L122.278 117.056C123.644 115.683 124.41 113.824 124.407 111.887C124.405 109.95 123.634 108.092 122.264 106.723C120.894 105.353 119.037 104.582 117.1 104.579C115.163 104.577 113.304 105.342 111.93 106.708L82.9572 135.678L19.8389 72.5626C18.4629 71.2088 16.6077 70.4536 14.6775 70.4615C12.7472 70.4693 10.8982 71.2396 9.53331 72.6045C8.16839 73.9695 7.39811 75.8184 7.39025 77.7487C7.38239 79.679 8.13759 81.5342 9.49135 82.9101L77.784 151.2C78.4627 151.881 79.2691 152.42 80.1568 152.788C81.0446 153.156 81.9963 153.344 82.9572 153.343Z" fill="#729B1B" fill-opacity="0.5"/> | ||
| <svg width="45" height="43" viewBox="0 0 45 43" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
| <path d="M21.2659 42.2067C20.9342 42.797 20.163 42.965 19.6137 42.5665L0.465308 28.6398C0.172341 28.4265 0 28.0862 0 27.7243V10.939C0 10.0148 1.04907 9.48061 1.79657 10.0235L13.5088 18.541C14.6031 19.3381 16.1476 18.9999 16.8111 17.8215L26.5113 0.577439C26.7117 0.222001 27.0887 0.00012207 27.498 0.00012207H43.0726C43.9385 0.00012207 44.4836 0.932876 44.0592 1.68683L21.2659 42.2046V42.2067Z" fill="#22FF84"/> | ||
| <mask id="mask0_2002_17204" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="45" height="43"> | ||
| <path d="M21.2659 42.2066C20.9342 42.7968 20.163 42.9649 19.6137 42.5663L0.465308 28.6397C0.172341 28.4264 0 28.086 0 27.7241V10.9389C0 10.0147 1.04907 9.48049 1.79657 10.0233L13.5088 18.5409C14.6031 19.338 16.1476 18.9998 16.8111 17.8214L26.5113 0.577317C26.7117 0.221879 27.0887 0 27.498 0H43.0726C43.9385 0 44.4836 0.932754 44.0592 1.68671L21.2659 42.2044V42.2066Z" fill="black"/> | ||
| </mask> | ||
| <g mask="url(#mask0_2002_17204)"> | ||
| <g filter="url(#filter0_f_2002_17204)"> | ||
| <ellipse cx="14.0313" cy="3.39062" rx="14.0313" ry="3.39062" transform="matrix(-0.650066 0.759878 0.759879 0.650065 32.5093 -3.61884)" fill="#00CCC6"/> | ||
| </g> | ||
| <g filter="url(#filter1_f_2002_17204)"> | ||
| <ellipse cx="14.0313" cy="6.0868" rx="14.0313" ry="6.0868" transform="matrix(-0.588245 -0.808682 -0.808682 0.588246 16.1094 37.5068)" fill="#00CCC6"/> | ||
| </g> | ||
| <g filter="url(#filter2_f_2002_17204)"> | ||
| <ellipse cx="6.44313" cy="12.1953" rx="6.37416" ry="5.55082" transform="rotate(23.1293 6.44313 12.1953)" fill="#77FF00"/> | ||
| </g> | ||
| <g filter="url(#filter3_f_2002_17204)"> | ||
| <ellipse cx="40.7746" cy="15.9509" rx="5.61461" ry="24.5343" transform="rotate(23.1293 40.7746 15.9509)" fill="#77FF00"/> | ||
| </g> | ||
| <g filter="url(#filter4_f_2002_17204)"> | ||
| <ellipse cx="4.98534" cy="10.0691" rx="4.98534" ry="10.0691" transform="matrix(0.707107 -0.707107 -0.707107 -0.707107 39.4482 10.9414)" fill="#97FFE2"/> | ||
| </g> | ||
| </g> | ||
| <defs> | ||
| <filter id="filter0_f_2002_17204" x="7.29277" y="-10.8334" width="37.3432" height="40.1616" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> | ||
| <feFlood flood-opacity="0" result="BackgroundImageFix"/> | ||
| <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/> | ||
| <feGaussianBlur stdDeviation="4.59556" result="effect1_foregroundBlur_2002_17204"/> | ||
| </filter> | ||
| <filter id="filter1_f_2002_17204" x="-15.8693" y="8.64781" width="37.6054" height="42.1854" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> | ||
| <feFlood flood-opacity="0" result="BackgroundImageFix"/> | ||
| <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/> | ||
| <feGaussianBlur stdDeviation="4.59556" result="effect1_foregroundBlur_2002_17204"/> | ||
| </filter> | ||
| <filter id="filter2_f_2002_17204" x="-9.0041" y="-2.68275" width="30.8944" height="29.7561" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> | ||
| <feFlood flood-opacity="0" result="BackgroundImageFix"/> | ||
| <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/> | ||
| <feGaussianBlur stdDeviation="4.59556" result="effect1_foregroundBlur_2002_17204"/> | ||
| </filter> | ||
| <filter id="filter3_f_2002_17204" x="20.6482" y="-15.9117" width="40.2528" height="63.7251" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> | ||
| <feFlood flood-opacity="0" result="BackgroundImageFix"/> | ||
| <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/> | ||
| <feGaussianBlur stdDeviation="4.59556" result="effect1_foregroundBlur_2002_17204"/> | ||
| </filter> | ||
| <filter id="filter4_f_2002_17204" x="18.7156" y="-16.8414" width="34.2758" height="34.2754" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> | ||
| <feFlood flood-opacity="0" result="BackgroundImageFix"/> | ||
| <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/> | ||
| <feGaussianBlur stdDeviation="4.59556" result="effect1_foregroundBlur_2002_17204"/> | ||
| </filter> | ||
| </defs> | ||
| </svg> |
@@ -26,4 +26,4 @@ <!DOCTYPE html> | ||
| <!-- !LOAD_METADATA! --> | ||
| <script type="module" src="./assets/index-DHXSWiHD.js"></script> | ||
| <link rel="stylesheet" href="./assets/index-DlhE0rqZ.css"> | ||
| <script type="module" src="./assets/index-CR4OJGrW.js"></script> | ||
| <link rel="stylesheet" href="./assets/index-Dyh_kUYQ.css"> | ||
| </head> | ||
@@ -30,0 +30,0 @@ <body> |
+1
-1
@@ -10,3 +10,3 @@ import fs from 'node:fs'; | ||
| var version = "4.1.0-beta.1"; | ||
| var version = "4.1.0-beta.2"; | ||
@@ -13,0 +13,0 @@ var index = (ctx) => { |
+11
-7
@@ -465,5 +465,4 @@ import crypto from 'node:crypto'; | ||
| function getTestFileEnvironment(project, testFile, browser = false) { | ||
| let environment; | ||
| if (browser) { | ||
| environment = project.browser?.vite.environments.client; | ||
| return project.browser?.vite.environments.client; | ||
| } else { | ||
@@ -473,8 +472,6 @@ for (const name in project.vite.environments) { | ||
| if (env.moduleGraph.getModuleById(testFile)) { | ||
| environment = env; | ||
| break; | ||
| return env; | ||
| } | ||
| } | ||
| } | ||
| return environment; | ||
| } | ||
@@ -487,3 +484,3 @@ | ||
| const project = ctx.getProjectByName(projectName); | ||
| const environment = getTestFileEnvironment(project, testFilePath, browser); | ||
| const environment = project.config.experimental.viteModuleRunner === false ? project.vite.environments.__vitest__ : getTestFileEnvironment(project, testFilePath, browser); | ||
| if (!environment) { | ||
@@ -520,3 +517,2 @@ throw new Error(`Cannot find environment for ${testFilePath}`); | ||
| inlined.add(id); | ||
| // TODO: cached modules don't have that! | ||
| const mods = Array.from(mod.importedModules).filter((i) => i.id && !i.id.includes("/vitest/dist/")); | ||
@@ -588,2 +584,10 @@ graph[id] = mods.map((m) => get(m)).filter(Boolean); | ||
| }); | ||
| task.artifacts.forEach((artifact) => { | ||
| const attachments = artifact.attachments; | ||
| if (attachments) { | ||
| attachments.forEach((attachment) => { | ||
| promises$1.push(this.processAttachment(attachment)); | ||
| }); | ||
| } | ||
| }); | ||
| } else { | ||
@@ -590,0 +594,0 @@ task.tasks.forEach(processAttachments); |
+6
-6
| { | ||
| "name": "@vitest/ui", | ||
| "type": "module", | ||
| "version": "4.1.0-beta.1", | ||
| "version": "4.1.0-beta.2", | ||
| "description": "UI for Vitest", | ||
@@ -37,3 +37,3 @@ "license": "MIT", | ||
| "peerDependencies": { | ||
| "vitest": "4.1.0-beta.1" | ||
| "vitest": "4.1.0-beta.2" | ||
| }, | ||
@@ -47,3 +47,3 @@ "dependencies": { | ||
| "tinyrainbow": "^3.0.3", | ||
| "@vitest/utils": "4.1.0-beta.1" | ||
| "@vitest/utils": "4.1.0-beta.2" | ||
| }, | ||
@@ -80,5 +80,5 @@ "devDependencies": { | ||
| "vue-virtual-scroller": "2.0.0-beta.8", | ||
| "@vitest/browser-playwright": "4.1.0-beta.1", | ||
| "@vitest/runner": "4.1.0-beta.1", | ||
| "@vitest/ws-client": "4.1.0-beta.1" | ||
| "@vitest/browser-playwright": "4.1.0-beta.2", | ||
| "@vitest/runner": "4.1.0-beta.2", | ||
| "@vitest/ws-client": "4.1.0-beta.2" | ||
| }, | ||
@@ -85,0 +85,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1031799
1.55%3876
1.47%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated