@rhc-shared-components/packages-table 0.3.8 → 0.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.modern.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2481,7 +2481,7 @@ var PackagesTable = function PackagesTable(_ref) {
|
|
|
2481
2481
|
var name = _ref3.name,
|
|
2482
2482
|
arch = _ref3.arch;
|
|
2483
2483
|
var link_data = rpms == null ? void 0 : rpms.filter(function (rpm) {
|
|
2484
|
-
return rpm.name === name && rpm.architecture === arch;
|
|
2484
|
+
return rpm.name === name && rpm.architecture === arch && !excludedPackages.includes(rpm);
|
|
2485
2485
|
});
|
|
2486
2486
|
vulnerability.rpm_nvra_with_link_data.push(link_data[0]);
|
|
2487
2487
|
});
|
package/dist/index.modern.js
CHANGED
|
@@ -2289,7 +2289,7 @@ const PackagesTable = ({
|
|
|
2289
2289
|
name,
|
|
2290
2290
|
arch
|
|
2291
2291
|
}) => {
|
|
2292
|
-
const link_data = _rpms == null ? void 0 : _rpms.filter(rpm => rpm.name === name && rpm.architecture === arch);
|
|
2292
|
+
const link_data = _rpms == null ? void 0 : _rpms.filter(rpm => rpm.name === name && rpm.architecture === arch && !excludedPackages.includes(rpm));
|
|
2293
2293
|
vulnerability.rpm_nvra_with_link_data.push(link_data[0]);
|
|
2294
2294
|
});
|
|
2295
2295
|
} else {
|