Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vitest/coverage-istanbul

Package Overview
Dependencies
Maintainers
3
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/coverage-istanbul - npm Package Compare versions

Comparing version 0.32.2 to 0.32.3

23

dist/provider.js

@@ -107,13 +107,14 @@ import { existsSync, promises } from 'fs';

class IstanbulCoverageProvider extends BaseCoverageProvider {
constructor() {
super(...arguments);
this.name = "istanbul";
/**
* Coverage objects collected from workers.
* Some istanbul utilizers write these into file system instead of storing in memory.
* If storing in memory causes issues, we can simply write these into fs in `onAfterSuiteRun`
* and read them back when merging coverage objects in `onAfterAllFilesRun`.
*/
this.coverages = [];
}
name = "istanbul";
ctx;
options;
instrumenter;
testExclude;
/**
* Coverage objects collected from workers.
* Some istanbul utilizers write these into file system instead of storing in memory.
* If storing in memory causes issues, we can simply write these into fs in `onAfterSuiteRun`
* and read them back when merging coverage objects in `onAfterAllFilesRun`.
*/
coverages = [];
initialize(ctx) {

@@ -120,0 +121,0 @@ const config = ctx.config.coverage;

{
"name": "@vitest/coverage-istanbul",
"type": "module",
"version": "0.32.2",
"version": "0.32.3",
"description": "Istanbul coverage provider for Vitest",

@@ -56,4 +56,4 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>",

"@types/istanbul-reports": "^3.0.1",
"pathe": "^1.1.0",
"vitest": "0.32.2"
"pathe": "^1.1.1",
"vitest": "0.32.3"
},

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

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