Socket
Socket
Sign inDemoInstall

c8

Package Overview
Dependencies
Maintainers
2
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c8 - npm Package Compare versions

Comparing version 7.5.0 to 7.6.0

7

CHANGELOG.md

@@ -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 @@

3

lib/commands/report.js

@@ -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",

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