Socket
Socket
Sign inDemoInstall

@vitest/ui

Package Overview
Dependencies
Maintainers
4
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/ui - npm Package Compare versions

Comparing version 2.1.0-beta.6 to 2.1.0-beta.7

dist/client/assets/index-CEU6kzsk.js

2

dist/index.d.ts
import { Plugin } from 'vite';
import { Vitest } from 'vitest';
import { Vitest } from 'vitest/node';

@@ -4,0 +4,0 @@ declare const _default: (ctx: Vitest) => Plugin;

@@ -6,4 +6,16 @@ import { fileURLToPath } from 'node:url';

import { toArray } from '@vitest/utils';
import c from 'tinyrainbow';
var version = "2.1.0-beta.7";
var index = (ctx) => {
if (ctx.version !== version) {
ctx.logger.warn(
c.yellow(
`Loaded ${c.inverse(c.yellow(` vitest@${ctx.version} `))} and ${c.inverse(c.yellow(` @vitest/ui@${version} `))}.
Running mixed versions is not supported and may lead into bugs
Update your dependencies and make sure the versions match.`
)
);
}
return {

@@ -10,0 +22,0 @@ name: "vitest:ui",

@@ -6,4 +6,4 @@ import { promises } from 'node:fs';

import { resolve, basename, dirname, relative } from 'pathe';
import { globSync } from 'tinyglobby';
import c from 'tinyrainbow';
import fg from 'fast-glob';
import { stringify } from 'flatted';

@@ -16,5 +16,2 @@

const project = ctx.getProjectByName(projectName);
function clearId(id2) {
return id2?.replace(/\?v=\w+$/, "") || "";
}
async function get(mod, seen = /* @__PURE__ */ new Map()) {

@@ -59,2 +56,5 @@ if (!mod || !mod.id) {

}
function clearId(id) {
return id?.replace(/\?v=\w+$/, "") || "";
}

@@ -125,3 +125,3 @@ function getOutputFile(config) {

const ui = resolve(distDir, "client");
const files = fg.sync("**/*", { cwd: ui });
const files = globSync(["**/*"], { cwd: ui, expandDirectories: false });
await Promise.all(

@@ -128,0 +128,0 @@ files.map(async (f) => {

{
"name": "@vitest/ui",
"type": "module",
"version": "2.1.0-beta.6",
"version": "2.1.0-beta.7",
"description": "UI for Vitest",

@@ -37,6 +37,5 @@ "license": "MIT",

"peerDependencies": {
"vitest": "2.1.0-beta.6"
"vitest": "2.1.0-beta.7"
},
"dependencies": {
"fast-glob": "^3.3.2",
"fflate": "^0.8.2",

@@ -46,7 +45,8 @@ "flatted": "^3.3.1",

"sirv": "^2.0.4",
"tinyglobby": "^0.2.6",
"tinyrainbow": "^1.2.0",
"@vitest/utils": "2.1.0-beta.6"
"@vitest/utils": "2.1.0-beta.7"
},
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@faker-js/faker": "^9.0.0",
"@iconify-json/carbon": "^1.1.37",

@@ -78,4 +78,4 @@ "@iconify-json/logos": "^1.1.44",

"vue-virtual-scroller": "2.0.0-beta.8",
"@vitest/ws-client": "2.1.0-beta.6",
"@vitest/runner": "2.1.0-beta.6"
"@vitest/runner": "2.1.0-beta.7",
"@vitest/ws-client": "2.1.0-beta.7"
},

@@ -82,0 +82,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc