Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
lcov-result-merger
Advanced tools
When you have multiple test suites for the same application you still want to have the code coverage across all testsuites.
This tool will handle this for you.
./node_modules/.bin/lcov-result-merger 'FILE_PATTERN' ['OUTPUT_FILE']
build/coverage/coverage_X.log
./node_modules/.bin/lcov-result-merger 'build/coverage/coverage_*.log'
build/coverage/coverage_X.log
./node_modules/.bin/lcov-result-merger 'build/coverage/coverage_*.log' 'target/coverage/coverage_merged.log'
Modify source file paths to be relative to the working directory that the merge operation was run in. Useful in monorepos where each child package gathers its own metrics.
./node_modules/.bin/lcov-result-merger 'FILE_PATTERN' ['OUTPUT_FILE'] --prepend-source-files
Since coverage output is rarely written directly into the project root, use --prepend-path-fix
to describe the
relative path between the lcov file and the project root. The default simply points to one directory up, "..", which
works well for common tools such as NYC that write to a /coverage
directory.
./node_modules/.bin/lcov-result-merger 'FILE_PATTERN' ['OUTPUT_FILE'] --prepend-source-files --prepend-path-fix "../src"
FAQs
Merges multiple lcov results into one
The npm package lcov-result-merger receives a total of 70,467 weekly downloads. As such, lcov-result-merger popularity was classified as popular.
We found that lcov-result-merger demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.