@statoscope/webpack-model
Advanced tools
Comparing version 5.27.0 to 5.28.0
@@ -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" | ||
} |
87761
1990
+ Added@statoscope/helpers@5.28.0(transitive)
+ Added@statoscope/stats-extension-compressed@5.28.0(transitive)
+ Added@statoscope/stats-extension-custom-reports@5.28.0(transitive)
+ Added@statoscope/stats-extension-package-info@5.28.0(transitive)
+ Added@statoscope/stats-extension-stats-validation-result@5.28.0(transitive)
+ Addedjora@1.0.0-beta.8(transitive)
- Removed@statoscope/helpers@5.25.0(transitive)
- Removed@statoscope/stats-extension-compressed@5.25.0(transitive)
- Removed@statoscope/stats-extension-custom-reports@5.27.0(transitive)
- Removed@statoscope/stats-extension-package-info@5.27.0(transitive)
- Removed@statoscope/stats-extension-stats-validation-result@5.27.0(transitive)
- Removedjora@1.0.0-beta.13(transitive)
Updated@statoscope/helpers@5.28.0
Updated@statoscope/stats-extension-stats-validation-result@5.28.0