New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@statoscope/stats-validator-reporter-stats-report

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@statoscope/stats-validator-reporter-stats-report - npm Package Compare versions

Comparing version 5.7.1 to 5.7.2

6

package.json
{
"name": "@statoscope/stats-validator-reporter-stats-report",
"version": "5.7.1",
"version": "5.7.2",
"description": "Stats report reporter for @statoscope/stats-validator",

@@ -27,6 +27,6 @@ "main": "./dist/index.js",

"@statoscope/types": "5.7.1",
"@statoscope/webpack-ui": "5.7.1",
"@statoscope/webpack-ui": "5.7.2",
"open": "^8.2.1"
},
"gitHead": "064a4cec944bc1438f48afbe8c127f22d82b4a60"
"gitHead": "6de06d66c82f9a56f76ccc09807b7c2fe8515ae0"
}

@@ -8,4 +8,21 @@ # stats-validator-reporter-stats-report

Injects validator's result into stats and generates a Statoscope report
Injects validator's result into stats and generates a Statoscope report.
## Usage
1. Install
`npm i -D @statoscope/stats-validator-plugin-webpack`
2. Add into `statoscope.config.js`
```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.
## Options

@@ -40,2 +57,14 @@

"validate": {
"reporters": [["@statoscope/stats-report", { "saveStatsTo": "/path/to/report.html" }]]
}
}
```
Generate UI report info `/path/to/report.html` file.
**statoscope.config.js:**
```json
{
"validate": {
"reporters": [["@statoscope/stats-report", { "saveStatsTo": "/path/to/new/stats.json" }]]

@@ -46,2 +75,2 @@ }

Just inject validation result into stats and save it.
Just inject validation result into stats and save into `/path/to/new/stats.json` file.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc