@vitest/coverage-c8
Advanced tools
Comparing version 0.29.8 to 0.30.0
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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
13653
7
354
1
0
Updatedstd-env@^3.3.2