Socket
Socket
Sign inDemoInstall

@vitest/browser

Package Overview
Dependencies
Maintainers
3
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/browser - npm Package Compare versions

Comparing version 0.27.3 to 0.28.0

dist/client/__vitest__/assets/index-57d38fc4.css

25

dist/index.js

@@ -6,18 +6,5 @@ import { fileURLToPath } from 'url';

import sirv from 'sirv';
import { resolvePath } from 'mlly';
const stubs = [
"fs",
"local-pkg",
"module",
"noop",
"perf_hooks",
"console"
];
const polyfills = [
"util",
"tty",
"process",
"path",
"buffer"
"util"
];

@@ -34,8 +21,6 @@ var index = (base = "/") => {

return;
if (id === "/__vitest_index__") {
const result = await resolvePath("vitest/browser");
return result;
}
if (stubs.includes(id))
return resolve(pkgRoot, "stubs", id);
if (id === "/__vitest_index__")
return this.resolve("vitest/browser");
if (id === "/__vitest_runners__")
return this.resolve("vitest/runners");
if (polyfills.includes(id))

@@ -42,0 +27,0 @@ return polyfillPath(normalizeId(id));

9

package.json
{
"name": "@vitest/browser",
"type": "module",
"version": "0.27.3",
"version": "0.28.0",
"description": "Browser running for Vitest",

@@ -31,3 +31,4 @@ "repository": {

"rollup-plugin-node-polyfills": "^0.2.1",
"sirv": "^2.0.2"
"sirv": "^2.0.2",
"@vitest/runner": "0.28.0"
},

@@ -37,4 +38,4 @@ "devDependencies": {

"rollup": "^2.79.1",
"@vitest/ws-client": "0.27.3",
"vitest": "0.27.3"
"@vitest/ws-client": "0.28.0",
"vitest": "0.28.0"
},

@@ -41,0 +42,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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