Comparing version 7.5.0 to 7.6.0
@@ -5,2 +5,9 @@ # Changelog | ||
## [7.6.0](https://www.github.com/bcoe/c8/compare/v7.5.0...v7.6.0) (2021-02-17) | ||
### Features | ||
* add --skip-full ([#287](https://www.github.com/bcoe/c8/issues/287)) ([8b01b63](https://www.github.com/bcoe/c8/commit/8b01b63740d7af75fe83d0164c0f18021592e1a6)) | ||
## [7.5.0](https://www.github.com/bcoe/c8/compare/v7.4.0...v7.5.0) (2021-02-01) | ||
@@ -7,0 +14,0 @@ |
@@ -25,3 +25,4 @@ const { checkCoverages } = require('./check-coverage') | ||
allowExternal: argv.allowExternal, | ||
src: argv.src | ||
src: argv.src, | ||
skipFull: argv.skipFull | ||
}) | ||
@@ -28,0 +29,0 @@ await report.run() |
@@ -104,2 +104,7 @@ const defaultExclude = require('@istanbuljs/schema/default-exclude') | ||
}) | ||
.options('skip-full', { | ||
default: false, | ||
type: 'boolean', | ||
describe: 'do not show files with 100% statement, branch, and function coverage' | ||
}) | ||
.pkgConf('c8') | ||
@@ -106,0 +111,0 @@ .config(config) |
@@ -28,3 +28,4 @@ const Exclude = require('test-exclude') | ||
src, | ||
allowExternal = false | ||
allowExternal = false, | ||
skipFull | ||
}) { | ||
@@ -46,2 +47,3 @@ this.reporter = reporter | ||
this.src = this._getSrc(src) | ||
this.skipFull = skipFull | ||
} | ||
@@ -66,9 +68,9 @@ | ||
this.reporter.forEach(function (_reporter) { | ||
for (const _reporter of this.reporter) { | ||
reports.create(_reporter, { | ||
skipEmpty: false, | ||
skipFull: false, | ||
skipFull: this.skipFull, | ||
maxCols: 100 | ||
}).execute(context) | ||
}) | ||
} | ||
} | ||
@@ -75,0 +77,0 @@ |
{ | ||
"name": "c8", | ||
"version": "7.5.0", | ||
"version": "7.6.0", | ||
"description": "output coverage reports using Node.js' built in coverage", | ||
@@ -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
45584
677