Socket
Socket
Sign inDemoInstall

@vitest/coverage-v8

Package Overview
Dependencies
14
Maintainers
4
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.2 to 1.3.0

4

dist/provider.d.ts

@@ -14,4 +14,4 @@ import { BaseCoverageProvider } from 'vitest/coverage';

}): {
shouldInstrument(filePath: string): boolean;
glob(cwd: string): Promise<string[]>;
shouldInstrument: (filePath: string) => boolean;
glob: (cwd: string) => Promise<string[]>;
};

@@ -18,0 +18,0 @@ }

@@ -211,3 +211,5 @@ import { existsSync, promises, writeFileSync } from 'node:fs';

});
this.coverageFilesDirectory = resolve(this.options.reportsDirectory, ".tmp");
const shard = this.ctx.config.shard;
const tempDirectory = `.tmp${shard ? `-${shard.index}-${shard.count}` : ""}`;
this.coverageFilesDirectory = resolve(this.options.reportsDirectory, tempDirectory);
}

@@ -214,0 +216,0 @@ resolveOptions() {

{
"name": "@vitest/coverage-v8",
"type": "module",
"version": "1.2.2",
"version": "1.3.0",
"description": "V8 coverage provider for Vitest",

@@ -40,3 +40,3 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>",

"peerDependencies": {
"vitest": "^1.0.0"
"vitest": "1.3.0"
},

@@ -65,4 +65,4 @@ "dependencies": {

"pathe": "^1.1.1",
"vite-node": "1.2.2",
"vitest": "1.2.2"
"vite-node": "1.3.0",
"vitest": "1.3.0"
},

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc