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.
react-native-jelly-side-menu
Advanced tools
A side menu that animates like a jelly! iOS & Android tested.
A side menu that animates like a jelly! iOS & Android tested.
https://www.youtube.com/watch?v=lvyJX2-l8pM
React Native 0.25 or higher
npm i react-native-svg --save
npm i react-native-jelly-side-menu --save
rnpm link
import JellySideMenu from 'react-native-jelly-side-menu'
toggleSideMenu()
toggleSideMenu(true)
toggleSideMenu(false)
class JellySideMenuPage extends Component {
constructor(props) {
super(props);
this.itemStyle = {padding: 16, backgroundColor: 'transparent'};
this.itemTextStyle = {color: '#000000', fontWeight: 'bold', fontSize: 20};
this.renderMenu = this.renderMenu.bind(this);
}
renderItem(text, onPress) {
return (
<TouchableOpacity onPress={onPress}>
<View style={this.itemStyle}>
<Text style={this.itemTextStyle}>{text}</Text>
</View>
</TouchableOpacity>
)
}
renderMenu() {
return (
<View>
{this.renderItem("Jelly Side Menu by Vanport", () => {})}
{this.renderItem("Toggle Side Menu", () => {this.jsm.toggleSideMenu();})}
{this.renderItem("Close Side Menu", () => {this.jsm.toggleSideMenu(false);})}
</View>
)
}
render() {
return (
<View style={{flex: 1, backgroundColor: '#FF6644'}}>
<JellySideMenu
ref={(view) => {this.jsm = view}}
fill={"#FFF"} fillOpacity={1.0}
renderMenu={this.renderMenu}>
<TouchableOpacity onPress={() => {this.jsm.toggleSideMenu(true)}}>
<View style={[this.itemStyle, {backgroundColor: '#FF7788'}]}>
<Text style={this.itemTextStyle}>Open Jelly Menu</Text>
</View>
</TouchableOpacity>
</JellySideMenu>
</View>
)
}
}
✔ iOS Support @done (16-07-09 12:07)
✔ Android Support @done (16-07-09 12:07)
☐ Context control toggle support
✔ Remove unnecessary imports
☐ Add Essential control parameters support (enable/disable menu, enable/disable gesture, set default state)
☐ Add Callback support (onWillOpen(state), onDidOpen(state), onWillClose(state), onDidClose(state))
☐ Add Menu State check function (getState() => State)
☐ Add Fine tune control parameters support (thresholds of dragging, menu width, bounce tension & friction)
☐ Add Side menu docking direction support (top, left, right, bottom)
☐ Cater device orientation change
☐ Performance improvement
FAQs
A side menu that animates like a jelly! iOS & Android tested.
We found that react-native-jelly-side-menu 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.