Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@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.17.0 (27 October 2021)
[webpack-model]
- support grouped modules (stats: { all: true }
in webpack 5)[webpack-model]
- improved chunkName
helper
Now chunkName
helper returns more accurate chunk name[webpack-model]
- add assetChunkName
helper[webpack-model]
- total stats preparing refactoringFAQs
Stats report reporter for @statoscope/stats-validator
The npm package @statoscope/stats-validator-reporter-stats-report receives a total of 16,260 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.