Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@redhat-cloud-services/frontend-components-inventory
Advanced tools
Inventory components for RedHat Cloud Services project.
This package is hot loaded via insights-chrome and exports new components for inventory table and detail. It also exports redux reducers and actions so usage is as simple as possible.
This package is deprecated, please do not use it anymore! We are no longer supporting this package because we moved it to inventory application and exporting inventory components trough federated modules.
If you want to use inventory component, either use Async inventory components or use directly Async component
Async inventory component
import React from 'react';
import { InventoryTable } from '@redhat-cloud-services/frontend-components/Inventory';
const Cmp = () => <InventoryTable />;
export default Cmp;
Async component
import React from 'react';
import { useHistory } from 'react-router-dom';
import { useStore } from 'react-redux';
import AsyncComponent from '@redhat-cloud-services/frontend-components/AsyncComponent';
const Cmp = () => {
const store = useStore();
const history = useHistory();
return (
<AsyncComponent
store={store}
history={history}
appName="inventory"
module={`./InventoryTable`}
fallback="Loading"
ref={innerRef}
{...props}
/>
);
}
export default Cmp;
You shouldn't install this package directly to your project, but if you really have to install it either with npm
npm i -S @redhat-cloud-services/frontend-components-inventory
or with yarn
yarn add @redhat-cloud-services/frontend-components-inventory
This package is dependent on @redhat-cloud-services/frontend-components-utilities, @redhat-cloud-services/frontend-components and @redhat-cloud-services/host-inventory-client will automatically install them trough direct dependencies.
FAQs
Inventory components for RedHat Cloud Services project.
The npm package @redhat-cloud-services/frontend-components-inventory receives a total of 0 weekly downloads. As such, @redhat-cloud-services/frontend-components-inventory popularity was classified as not popular.
We found that @redhat-cloud-services/frontend-components-inventory demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.