Comparing version 3.0.0-alpha.0 to 3.0.0-alpha.1
@@ -5,3 +5,6 @@ #!/usr/bin/env node | ||
const foreground = require('foreground-child') | ||
const mkdirp = require('mkdirp') | ||
const report = require('../lib/report') | ||
const {resolve} = require('path') | ||
const rimraf = require('rimraf') | ||
const sw = require('spawn-wrap') | ||
@@ -15,4 +18,9 @@ const { | ||
const instrumenterArgs = hideInstrumenteeArgs() | ||
const argv = yargs.parse(instrumenterArgs) | ||
const tmpDirctory = resolve(argv.coverageDirectory, './tmp') | ||
rimraf.sync(tmpDirctory) | ||
mkdirp.sync(tmpDirctory) | ||
sw([require.resolve('../lib/wrap')], { | ||
@@ -19,0 +27,0 @@ C8_ARGV: JSON.stringify(argv) |
@@ -7,6 +7,4 @@ #!/usr/bin/env node | ||
const {isAbsolute} = require('path') | ||
const mkdirp = require('mkdirp') | ||
const onExit = require('signal-exit') | ||
const {resolve} = require('path') | ||
const rimraf = require('rimraf') | ||
const sw = require('spawn-wrap') | ||
@@ -75,4 +73,2 @@ const uuid = require('uuid') | ||
const tmpDirctory = resolve(argv.coverageDirectory, './tmp') | ||
rimraf.sync(tmpDirctory) | ||
mkdirp.sync(tmpDirctory) | ||
allV8Coverage.forEach((v8) => { | ||
@@ -79,0 +75,0 @@ const script = v8ToIstanbul(v8.url) |
{ | ||
"name": "c8", | ||
"version": "3.0.0-alpha.0", | ||
"version": "3.0.0-alpha.1", | ||
"description": "collect test coverage using v8's inspector", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
10671
199