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

@statoscope/webpack-model

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@statoscope/webpack-model - npm Package Compare versions

Comparing version 5.27.0 to 5.28.0

12

dist/handleCompilation.js

@@ -195,6 +195,10 @@ "use strict";

var _a, _b, _c;
const chunks = new Set([...((_a = to.chunks) !== null && _a !== void 0 ? _a : []), ...((_b = from.chunks) !== null && _b !== void 0 ? _b : [])]
.map((c) => (typeof c === 'string' || typeof c === 'number' ? c : c.id))
.map((c) => context.rawIndexes.chunks.get(c))
.filter(Boolean));
const chunks = new Set([...((_a = to.chunks) !== null && _a !== void 0 ? _a : []), ...((_b = from.chunks) !== null && _b !== void 0 ? _b : [])].reduce((acc, c) => {
const id = typeof c === 'string' || typeof c === 'number' ? c : c.id;
const chunk = context.rawIndexes.chunks.get(id);
if (chunk) {
acc.push(chunk);
}
return acc;
}, []));
const toReasons = (0, collector_1.collectRawReasonsFromArray)(to.reasons);

@@ -201,0 +205,0 @@ const fromReasons = (0, collector_1.collectRawReasonsFromArray)((_c = from.reasons) !== null && _c !== void 0 ? _c : []);

{
"name": "@statoscope/webpack-model",
"version": "5.27.0",
"version": "5.28.0",
"description": "This package contains helpers to process webpack stats",

@@ -22,8 +22,8 @@ "main": "./dist/index.js",

"@statoscope/extensions": "5.14.1",
"@statoscope/helpers": "5.25.0",
"@statoscope/helpers": "5.28.0",
"@statoscope/stats": "5.14.1",
"@statoscope/stats-extension-compressed": "5.25.0",
"@statoscope/stats-extension-custom-reports": "5.27.0",
"@statoscope/stats-extension-package-info": "5.27.0",
"@statoscope/stats-extension-stats-validation-result": "5.27.0",
"@statoscope/stats-extension-compressed": "5.28.0",
"@statoscope/stats-extension-custom-reports": "5.28.0",
"@statoscope/stats-extension-package-info": "5.28.0",
"@statoscope/stats-extension-stats-validation-result": "5.28.0",
"@statoscope/types": "5.27.0",

@@ -37,3 +37,3 @@ "md5": "^2.3.0"

},
"gitHead": "9fbcea0159a2e50316d9618c73b312fd41091a79"
"gitHead": "8593d1728fba7201855ba496eb5c01d28333c60b"
}
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