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.8.0-alpha.0 to 5.8.0

1

dist/rules/diff-deprecated-modules/index.d.ts

@@ -7,2 +7,3 @@ import { NormalizedReason } from '@statoscope/webpack-model/dist/normalize';

moduleName: string;
diff: NormalizedReason[];
after: NormalizedReason[];

@@ -9,0 +10,0 @@ reference: NormalizedReason[];

@@ -75,2 +75,7 @@ "use strict";

module: $input.compilations.hash.(#.module.resolveModule($)).pick(),
diff: #.diff.({
$reason: $;
...$,
resolvedModule: $input.compilations.hash.($reason.moduleName.resolveModule($)).pick(),
}),
before: #.before,

@@ -83,2 +88,8 @@ after: #.after,

module: item.moduleName,
diff: item.diff.map((reason) => ({
type: reason.type,
loc: reason.loc,
moduleName: reason.moduleName,
resolvedEntryName: reason.resolvedEntryName,
})),
before: item.reference.length,

@@ -85,0 +96,0 @@ after: item.after.length,

@@ -91,3 +91,12 @@ "use strict";

{
package: $input.compilations.hash.(#.package.resolvePackage($)).pick(),
package: $input.compilations.hash.(#.packageName.resolvePackage($)).pick(),
diff: #.diff.({
$module;
module: $input.compilations.hash.($module.resolveModule($)).pick(),
changedReasons: changedReasons.({
$reason: $;
...$,
resolvedModule: $input.compilations.hash.($reason.moduleName.resolveModule($)).pick(),
})
}),
before: #.before,

@@ -99,3 +108,12 @@ after: #.after,

context: {
package: packageItem.packageName,
packageName: packageItem.packageName,
diff: packageItem.diff.map((item) => ({
module: item.module.name,
changedReasons: item.reasons.map((reason) => ({
type: reason.type,
loc: reason.loc,
moduleName: reason.moduleName,
resolvedEntryName: reason.resolvedEntryName,
})),
})),
before: packageItem.reference.length,

@@ -102,0 +120,0 @@ after: packageItem.after.length,

8

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

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

"@statoscope/stats-extension-compressed": "5.7.1",
"@statoscope/stats-validator": "5.8.0-alpha.0",
"@statoscope/stats-validator": "5.8.0",
"@statoscope/types": "5.7.1",
"@statoscope/webpack-model": "5.8.0-alpha.0",
"@statoscope/webpack-model": "5.8.0",
"chalk": "^4.1.1",

@@ -34,3 +34,3 @@ "semver": "^7.3.5"

},
"gitHead": "8b9b91ff4d9f79a05141bbe5002c22f3648e6857"
"gitHead": "d7b10e373e8352a955271fd8923778b68f23dfca"
}

@@ -32,4 +32,4 @@ # stats-validator-plugin-webpack

- [build-time-limits.md](docs/rules/build-time-limits.md]) - Ensures that the build time has not exceeded the limit
- [diff-build-time-limits.md](docs/rules/diff-build-time-limits.md) - Compares build time between input and reference stats. Fails if build time has increased
- [build-time-limits](docs/rules/build-time-limits.md) - Ensures that the build time has not exceeded the limit
- [diff-build-time-limits](docs/rules/diff-build-time-limits.md) - Compares build time between input and reference stats. Fails if build time has increased
- [diff-deprecated-modules](docs/rules/diff-deprecated-modules.md) - Compares usage of specified modules between input and reference stats

@@ -36,0 +36,0 @@ - [diff-deprecated-packages](docs/rules/diff-deprecated-packages.md) - Compares usage of specified packages usage between input and reference stats

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