Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
fetch-coverage
Advanced tools
Fetch the coverage % from an open-source GIT repository, using a variety of common coverage services.
Fetch the coverage % from an open-source GIT repository, using a variety of common coverage services.
Currently supports GitHub, Bitbucket and GitLab repositories and checks against Coveralls, Code Climate, Scrutinizer and Codecov.
$ npm install fetch-coverage
fetchCoverage(repositoryUrl, options) -> Promise
const fetchCoverage = require('fetch-coverage');
fetchCoverage('git@github.com:IndigoUnited/node-planify.git')
.then((coverage) => console.log('Coverage', coverage)); // Coverage between 0 and 1
The repositoryUrl
is any valid cloneable URL.
Available options:
branch
: The target branch (only supported in some services)services
: The services to fetch from, defaults to all servicesgot
: Custom options to be passed to got, defaults to { timeout: 15000 }
badges
: The badges information gathered by detect-readme-badges which might speed up the coverage fetching$ npm test
$ npm test-cov
to get coverage report
Released under the MIT License.
1.0.2 (2016-09-14)
<a name="1.0.1"></a>
FAQs
Fetch the code coverage from an open-source GIT repository, using a variety of well-known coverage services
The npm package fetch-coverage receives a total of 4 weekly downloads. As such, fetch-coverage popularity was classified as not popular.
We found that fetch-coverage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.