Comparing version 7.3.1 to 7.3.2
@@ -5,2 +5,9 @@ # Changelog | ||
### [7.3.2](https://www.github.com/bcoe/c8/compare/v7.3.1...v7.3.2) (2020-10-08) | ||
### Bug Fixes | ||
* **v8-to-istanbul:** pull in fix for missing branches ([#258](https://www.github.com/bcoe/c8/issues/258)) ([eaffa78](https://www.github.com/bcoe/c8/commit/eaffa7836155d051a0d13899f70a728819860bdb)) | ||
### [7.3.1](https://www.github.com/bcoe/c8/compare/v7.3.0...v7.3.1) (2020-09-10) | ||
@@ -7,0 +14,0 @@ |
{ | ||
"name": "c8", | ||
"version": "7.3.1", | ||
"version": "7.3.2", | ||
"description": "output coverage reports using Node.js' built in coverage", | ||
@@ -46,3 +46,3 @@ "main": "./index.js", | ||
"test-exclude": "^6.0.0", | ||
"v8-to-istanbul": "^5.0.0", | ||
"v8-to-istanbul": "^6.0.0", | ||
"yargs": "^16.0.0", | ||
@@ -49,0 +49,0 @@ "yargs-parser": "^20.0.0" |
@@ -21,9 +21,9 @@ # c8 - native V8 code-coverage | ||
By default v8 will only give us coverage for files that were loaded by the engine. If there are source files in your | ||
By default v8 will only give us coverage for files that were loaded by the engine. If there are source files in your | ||
project that are flexed in production but not in your tests, your coverage numbers will not reflect this. For example, | ||
if your project's `main.js` loads `a.js` and `b.js` but your unit tests only load `a.js` your total coverage | ||
could show as `100%` for `a.js` when in fact both `main.js` and `b.js` are uncovered. | ||
if your project's `main.js` loads `a.js` and `b.js` but your unit tests only load `a.js` your total coverage | ||
could show as `100%` for `a.js` when in fact both `main.js` and `b.js` are uncovered. | ||
By supplying `--all` to c8, all files in `cwd` that pass the `--include` and `--exclude` flag checks, will be loaded into the | ||
report. If any of those files remain uncovered they will be factored into the report with a default of 0% coverage. | ||
report. If any of those files remain uncovered they will be factored into the report with a default of 0% coverage. | ||
@@ -90,3 +90,3 @@ ## c8 report | ||
const myVariable = 99 | ||
const os = process.platform === 'darwin' ? 'OSXy' /* c8 ignore next */ : 'Windowsy' | ||
const os = process.platform === 'darwin' ? 'OSXy' /* c8 ignore next */ : 'Windowsy' | ||
``` | ||
@@ -97,3 +97,3 @@ | ||
c8 uses | ||
[bleeding edge Node.js features](https://github.com/nodejs/node/pull/22527), | ||
[native V8 coverage](https://github.com/nodejs/node/pull/22527), | ||
make sure you're running Node.js `>= 10.12.0`. | ||
@@ -100,0 +100,0 @@ |
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
40299
+ Addedv8-to-istanbul@6.0.1(transitive)
- Removedv8-to-istanbul@5.0.1(transitive)
Updatedv8-to-istanbul@^6.0.0