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

@vitest/coverage-c8

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/coverage-c8 - npm Package Compare versions

Comparing version 0.29.8 to 0.30.0

./dist/index.js

2

dist/index.d.ts
import { C8CoverageProvider } from './provider.js';
import 'inspector';
import 'node:inspector';
import 'vitest/coverage';

@@ -4,0 +4,0 @@ import 'vitest';

@@ -1,2 +0,2 @@

import inspector from 'inspector';
import inspector from 'node:inspector';

@@ -38,4 +38,4 @@ const session = new inspector.Session();

startCoverage: startCoverage,
takeCoverage: takeCoverage,
stopCoverage: stopCoverage
stopCoverage: stopCoverage,
takeCoverage: takeCoverage
});

@@ -42,0 +42,0 @@

@@ -1,2 +0,2 @@

import { Profiler } from 'inspector';
import { Profiler } from 'node:inspector';
import { BaseCoverageProvider } from 'vitest/coverage';

@@ -3,0 +3,0 @@ import { CoverageProvider, AfterSuiteRunMeta, ReportContext, ResolvedCoverageOptions } from 'vitest';

@@ -120,5 +120,8 @@ import { existsSync, promises } from 'fs';

...coverageConfigDefaults,
// Provider specific defaults
excludeNodeModules: true,
allowExternal: false,
// User's options
...config,
// Resolved fields
provider: "c8",

@@ -125,0 +128,0 @@ reporter: this.resolveReporters(config.reporter || coverageConfigDefaults.reporter),

{
"name": "@vitest/coverage-c8",
"type": "module",
"version": "0.29.8",
"version": "0.30.0",
"description": "C8 coverage provider for Vitest",

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

"peerDependencies": {
"vitest": ">=0.29.0 <1"
"vitest": ">=0.30.0 <1"
},

@@ -46,8 +46,8 @@ "dependencies": {

"picocolors": "^1.0.0",
"std-env": "^3.3.1"
"std-env": "^3.3.2"
},
"devDependencies": {
"pathe": "^1.1.0",
"vite-node": "0.29.8",
"vitest": "0.29.8"
"vitest": "0.30.0",
"vite-node": "0.30.0"
},

@@ -54,0 +54,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