Comparing version 3.3.0-candidate.1 to 3.3.0-candidate.2
const Exclude = require('test-exclude') | ||
const furi = require('furi') | ||
const libCoverage = require('istanbul-lib-coverage') | ||
@@ -7,3 +6,3 @@ const libReport = require('istanbul-lib-report') | ||
const { readdirSync, readFileSync } = require('fs') | ||
const { resolve, isAbsolute } = require('path') | ||
const { isAbsolute, normalize, resolve } = require('path') | ||
// TODO: switch back to @c88/v8-coverage once patch is landed. | ||
@@ -124,5 +123,4 @@ const { mergeProcessCovs } = require('@bcoe/v8-coverage') | ||
for (const v8ScriptCov of v8ProcessCov.result) { | ||
if (/^file:\/\//.test(v8ScriptCov.url)) { | ||
v8ScriptCov.url = furi.toSysPath(v8ScriptCov.url) | ||
} | ||
v8ScriptCov.url = v8ScriptCov.url.replace(/^file:\/\//, '') | ||
v8ScriptCov.url = normalize(v8ScriptCov.url) | ||
if (this.exclude.shouldInstrument(v8ScriptCov.url) && | ||
@@ -129,0 +127,0 @@ (!this.omitRelative || isAbsolute(v8ScriptCov.url))) { |
{ | ||
"name": "c8", | ||
"version": "3.3.0-candidate.1", | ||
"version": "3.3.0-candidate.2", | ||
"description": "output coverage reports using Node.js' built in coverage", | ||
@@ -38,3 +38,2 @@ "main": "index.js", | ||
"foreground-child": "^1.5.6", | ||
"furi": "^1.0.0", | ||
"istanbul-lib-coverage": "^2.0.1", | ||
@@ -41,0 +40,0 @@ "istanbul-lib-report": "^2.0.1", |
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
12
14101
240
- Removedfuri@^1.0.0
- Removed@types/is-windows@0.2.0(transitive)
- Removedfuri@1.3.0(transitive)
- Removedis-windows@1.0.2(transitive)