
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
react-navigation-slide-from-right-transition
Advanced tools
a slide from right transition for use with react navigation on android
This is a slide from right transition config ported from the codebase of react navigation to enable usage on Android.

On iOS, the default transition animation for React Navigation's card stack is a slide from right animation. I had a project which required the same slide from right animation on Android, so I decided to pull out the transition config into this library. See the corresponding issue here to track any potential progress on getting a slide from right transition on Android.
npm install --save react-navigation-slide-from-right-transition
react-navigation StackNavigator:import { StackNavigator } from 'react-navigation';
import getSlideFromRightTransition from 'react-navigation-slide-from-right-transition';
/* ... your react component code here ... */
const SimpleStack = StackNavigator({
Home: {
screen: MyHomeScreen
},
Profile: {
path: 'people/:name',
screen: MyProfileScreen,
},
}, {
transitionConfig: getSlideFromRightTransition
});
Check out the example app included in the github repo to see the slide-from-right transition in action! I assume you already have the react-native-cli installed, as well as the required Android dependencies.
git clone https://github.com/Traviskn/react-navigation-slide-from-right-transition.git
cd react-navigation-slide-from-right-transition/example
npm install
Use react-native run-android to run the example.
FAQs
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 researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.