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

@statoscope/stats-validator-plugin-webpack

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@statoscope/stats-validator-plugin-webpack - npm Package Compare versions

Comparing version 5.7.1 to 5.7.2

6

package.json
{
"name": "@statoscope/stats-validator-plugin-webpack",
"version": "5.7.1",
"version": "5.7.2",
"description": "Plugin for @statoscope/stats-validator to validate webpack stats",

@@ -24,3 +24,3 @@ "main": "./dist/index.js",

"@statoscope/stats-extension-compressed": "5.7.1",
"@statoscope/stats-validator": "5.7.1",
"@statoscope/stats-validator": "5.7.2",
"@statoscope/types": "5.7.1",

@@ -34,3 +34,3 @@ "@statoscope/webpack-model": "5.7.1",

},
"gitHead": "064a4cec944bc1438f48afbe8c127f22d82b4a60"
"gitHead": "6de06d66c82f9a56f76ccc09807b7c2fe8515ae0"
}

@@ -10,2 +10,22 @@ # stats-validator-plugin-webpack

## Usage
1. Install
`npm i -D @statoscope/stats-validator-plugin-webpack`
2. Add into `statoscope.config.js`
```js
module.exports = {
validate: {
// add webpack plugin with rules
plugins: ['@statoscope/webpack'],
rules: {
// ensures that build-time of your bundle hasn't exceeded 10 sec
'@statoscope/webpack/build-time-limits': ['error', {global: 10000}],
// any other rules
}
}
}
```
## Rules

@@ -12,0 +32,0 @@

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