Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@chartiq/finsemble-react-controls
Advanced tools
The FinsembleMenu is a React control to help you to quickly assemble a menu. A menu is just an ephemeral Finsemble component that shows up when a button is clicked, hides when the menu loses focus, and hides on escape
. This control provides styling, and handles those events common to all menus.
This control is part of a collection of controls. In order to make sure that your menu component has appropriate classes and styling, adhere to this hierarchy.
Prop | Type | Possible Values | Default Value | Description |
---|---|---|---|---|
padding | object | Padding object. By default, FSBL.Clients.WindowClient.fitToDOM will fit to the content of the menu. If you pass in the padding object, fitToDOM will give the component's innards some breathing room. | ||
padding.height | number | N/A | null | Extra height to add. |
padding.width | number | N/A | null | Extra width to add. |
className | string | N/A | null | Class name for the menu component. |
children | ? |
The code below is the render method for our our fileMenu.
render() {
let padding = {
height: 10,
width: 40
}
return (<FinsembleMenu padding={padding}>
<FinsembleMenuSectionLabel>
Finsemble
</FinsembleMenuSectionLabel>
{/*Options in the file menu.*/}
<FinsembleMenuSection className='menu-primary'>
<FinsembleMenuItem label="Central Console" onClick={FileMenuActions.showCentralConsole}/>
<FinsembleMenuItem label="Documentation" onClick={FileMenuActions.spawnDocs}/>
<FinsembleMenuItem label="Logout" onClick={FileMenuActions.logout}/>
<FinsembleMenuItem label="Quit" onClick={FileMenuActions.shutdownApplication}/>
</FinsembleMenuSection>
</FinsembleMenu>);
};
FAQs
Unknown package
The npm package @chartiq/finsemble-react-controls receives a total of 0 weekly downloads. As such, @chartiq/finsemble-react-controls popularity was classified as not popular.
We found that @chartiq/finsemble-react-controls demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.