Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@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.
5.11.1 (01 October 2021)
[webpack-ui]
- use default target for babel-env (support more browsers)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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.