diff --git a/package-lock.json b/package-lock.json index 99a53d1..c790da5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14929,9 +14929,9 @@ "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==" }, "tar": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.2.tgz", - "integrity": "sha512-EwKEgqJ7nJoS+s8QfLYVGMDmAsj+StbI2AM/RTHeUSsOw6Z8bwNBRv5z3CY0m7laC5qUAqruLX5AhMuc5deY3Q==", + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", + "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", "requires": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", diff --git a/src/components/mainSearchBar/MainSearchBar.component.jsx b/src/components/mainSearchBar/MainSearchBar.component.jsx index fc1145e..6793e7c 100644 --- a/src/components/mainSearchBar/MainSearchBar.component.jsx +++ b/src/components/mainSearchBar/MainSearchBar.component.jsx @@ -5,6 +5,7 @@ import { InputGroup } from 'react-bootstrap'; import { AsyncTypeahead } from 'react-bootstrap-typeahead'; import { AiOutlineSearch } from 'react-icons/ai'; import { useHistory } from 'react-router-dom'; +import { parseSoftwarePlatform } from '../../utils/utils'; const MainSearchBar = () => { const cacheRef = useRef({}); @@ -104,7 +105,7 @@ const MainSearchBar = () => {
{_.startCase(option.name)}
- {`Version: ${option.version} Platform: ${option.platform}`} + {`Version: ${option.version} Platform: ${parseSoftwarePlatform(option.platform)}`}
)}