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.
bs-react-native-navigation
Advanced tools
![](https://img.shields.io/badge/license-MIT%20Licence-blue.svg)
[@bs.module "react-native-navigation"]
BuckleScript bindings for react-native-navigation
(from @Wix).
(work in progress)
(work in progress)
src/index.re
open BsReactNativeNavigation;
type screenId =
| Drawer
| Welcome;
let screenId = screenId =>
(
switch screenId {
| Drawer => "screen.drawer"
| Welcome => "screen.welcome"
}
)
|> Core.asScreenId;
let registerScreens = () =>
[
(Welcome, Screens.Welcome.default),
(Drawer, Screens.Drawer.default),
]
|> List.iter(((screen, component)) =>
Navigation.registerComponent(screenId(screen), () => component)
);
let startApplication = () =>
Navigation.(
startSingleScreenApp(
~screen=
Screen.make(
~screen=screenId(Welcome),
~title="Playground / TestApp",
()
),
~drawer=
Drawer.(
config(
~left=make(~screen=screenId(Drawer), ()),
~animationType=Animation.Parallax,
()
)
),
~animationType=Animation.SlideDown,
()
)
);
index.js
import { registerScreens, startApplication } from './lib/js/src'
registerScreens()
startApplication()
Welcome.re
(component)
open ReasonReact;
open BsReactNative;
open BsReactNativeNavigation;
let component = statelessComponent("Welcome");
let make = (~navigator, _children) => {
...component,
render: _self =>
/* whatever */
};
let default = Utils.nativeScreen(~component, ~make);
Utils.setNavigatorStyle(
~nativeScreen=default,
~navigatorStyle=
Navigator.Style.(
create([
navBarTextColor("#fff"),
navBarNoBorder(true),
navBarBackgroundColor("#2575E6")
])
)
);
Check the current status here.
This is work in progress, use with caution.
The MIT License.
See LICENSE
FAQs
![](https://img.shields.io/badge/license-MIT%20Licence-blue.svg)
The npm package bs-react-native-navigation receives a total of 0 weekly downloads. As such, bs-react-native-navigation popularity was classified as not popular.
We found that bs-react-native-navigation 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.