Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
istanbul-text-full-reporter
Advanced tools
Text based coverage reporter for Istanbul code coverage
Text based coverage reporter for Istanbul code coverage
To register and use with istanbul:
var report = require('istanbul-text-full-reporter');
istanbul.Report.register(report);
var reporter = new istanbul.Reporter();
reporter.add('text-full');
reporter.write(collector, false, function() {
console.log('Report written');
});
You can also provide options to the reporter:
var reporter = new istanbul.Reporter({
root: '/path/to/project'
thresholds: {
global: {
statements: 100,
branches: 100,
lines: 100,
functions: 100
},
each: {
statements: 100,
branches: 100,
lines: 100,
functions: 100
}
}
});
root
defines the project root, file paths are shown relative to this directory, defaults to the process directorythresholds
can be defined with positive percentages or negative values (for number of allowed coverage gaps), defaults to 100% for all thresholdsAdd as a value in the reporter array option:
var report = require('istanbul-text-full-reporter');
gulp.src(['example.js'])
.pipe(mocha())
.pipe(gulpIstanbul.writeReports({
reporters: [report]
}));
FAQs
Text based coverage reporter for Istanbul code coverage
The npm package istanbul-text-full-reporter receives a total of 9 weekly downloads. As such, istanbul-text-full-reporter popularity was classified as not popular.
We found that istanbul-text-full-reporter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.