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.
@statoscope/stats-validator-reporter-stats-report
Advanced tools
Stats report reporter for @statoscope/stats-validator
UI reporter for @statoscope/stats-validator.
Injects validator's result into stats and generates a Statoscope report.
Install
npm i -D @statoscope/stats-validator-plugin-webpack
Add into statoscope.config.js
module.exports = {
validate: {
reporters: [["@statoscope/stats-report", { "open": true }]]
// any other config parts
}
}
In this case, Statoscope validator will generate a UI-report and open it.
type Options = {
saveReportTo?: string; // a path to save HTML report (temporary dir with random file name by default)
saveStatsTo?: string; // a path to save JSON stats (does not save stats by default)
open?: boolean; // open generated Statoscope report (false by default)
};
statoscope.config.js:
{
"validate": {
"reporters": [["@statoscope/stats-report", { "open": true }]]
}
}
Generate UI report and open it.
statoscope.config.js:
{
"validate": {
"reporters": [["@statoscope/stats-report", { "saveStatsTo": "/path/to/report.html" }]]
}
}
Generate UI report info /path/to/report.html
file.
statoscope.config.js:
{
"validate": {
"reporters": [["@statoscope/stats-report", { "saveStatsTo": "/path/to/new/stats.json" }]]
}
}
Just inject validation result into stats and save into /path/to/new/stats.json
file.
FAQs
Stats report reporter for @statoscope/stats-validator
The npm package @statoscope/stats-validator-reporter-stats-report receives a total of 9,236 weekly downloads. As such, @statoscope/stats-validator-reporter-stats-report popularity was classified as popular.
We found that @statoscope/stats-validator-reporter-stats-report demonstrated a healthy version release cadence and project activity because the last version was released less than 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
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.