Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
code-coverage-git-diff
Advanced tools
Application used to check code coverage by tests on added lines (ex. check coverage just on new code in PR)
This package is a fork of original
Application used to check code coverage by tests on added lines (ex. check coverage just on new code in PR)
npm i -D code-coverage-git-diff
npm test
gitDiffCodeCoverage --repoPath=$(pwd) --reportPath=artifacts/coverage/coverage-summary.json --fileTemplate=app/**/*.js --source=newBranch --target=master --reportFormat=json -v -m 80
Path to folder with initiated git repository (required)
--repoPath, String
Source branch or commit hash (ex. myCoolFeature)
--source, String
Target branch or commit hash (ex. master)
--target, String, defaultValue: 'master'
Path to generated report (json summary coverage report)
--reportPath, String, defaultValue: 'coverage/coverage-summary.json'
Verbose mode (display stats by each file and line)
--verbose, -v
Silent mode (hide all output)
--silent, -s
Minimum overall coverage
--minimumOverallCoverage, -m, Number, defaultValue: 70
Files to analyze
--fileTemplate, -f, String, defaultValue: 'src/**/*.js'
Report format
--reportFormat, String, defaultValue: 'lcov', possible values: 'json', 'lcov'
FAQs
Application used to check code coverage by tests on added lines (ex. check coverage just on new code in PR)
The npm package code-coverage-git-diff receives a total of 82 weekly downloads. As such, code-coverage-git-diff popularity was classified as not popular.
We found that code-coverage-git-diff 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.