@rhc-shared-components/packages-table 0.3.3 → 0.3.5
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 -2
- package/dist/index.modern.js +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2475,10 +2475,9 @@ var PackagesTable = function PackagesTable(_ref) {
|
|
|
2475
2475
|
|
|
2476
2476
|
vulnerability == null ? void 0 : (_vulnerability$affect = vulnerability.affected_packages) == null ? void 0 : _vulnerability$affect.forEach(function (_ref3) {
|
|
2477
2477
|
var name = _ref3.name,
|
|
2478
|
-
version = _ref3.version,
|
|
2479
2478
|
arch = _ref3.arch;
|
|
2480
2479
|
var link_data = rpms == null ? void 0 : rpms.filter(function (rpm) {
|
|
2481
|
-
return rpm.name === name && rpm.
|
|
2480
|
+
return rpm.name === name && rpm.architecture === arch;
|
|
2482
2481
|
});
|
|
2483
2482
|
vulnerability.rpm_nvra_with_link_data.push(link_data[0]);
|
|
2484
2483
|
});
|
package/dist/index.modern.js
CHANGED
|
@@ -2283,10 +2283,9 @@ const PackagesTable = ({
|
|
|
2283
2283
|
|
|
2284
2284
|
vulnerability == null ? void 0 : (_vulnerability$affect = vulnerability.affected_packages) == null ? void 0 : _vulnerability$affect.forEach(({
|
|
2285
2285
|
name,
|
|
2286
|
-
version,
|
|
2287
2286
|
arch
|
|
2288
2287
|
}) => {
|
|
2289
|
-
const link_data = _rpms == null ? void 0 : _rpms.filter(rpm => rpm.name === name && rpm.
|
|
2288
|
+
const link_data = _rpms == null ? void 0 : _rpms.filter(rpm => rpm.name === name && rpm.architecture === arch);
|
|
2290
2289
|
vulnerability.rpm_nvra_with_link_data.push(link_data[0]);
|
|
2291
2290
|
});
|
|
2292
2291
|
} else {
|