
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
react-native-restart-app
Advanced tools
$ npm install react-native-restart-app --save
$ react-native link react-native-restart-app
Libraries
➜ Add Files to [your project's name]
node_modules
➜ react-native-restart-app
and add RNRestartApp.xcodeproj
libRNRestartApp.a
to your project's Build Phases
➜ Link Binary With Libraries
Cmd+R
)<android/app/src/main/java/[...]/MainActivity.java
import com.reactlibrary.RNRestartAppPackage;
to the imports at the top of the filenew RNRestartAppPackage()
to the list returned by the getPackages()
methodandroid/settings.gradle
:
include ':react-native-restart-app'
project(':react-native-restart-app').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-restart-app/android')
android/app/build.gradle
:
compile project(':react-native-restart-app')
RNRestartApp.sln
in node_modules/react-native-restart-app/windows/RNRestartApp.sln
folder to their solution, reference from their app.MainPage.cs
appusing Restart.App.RNRestartApp;
to the usings at the top of the filenew RNRestartAppPackage()
to the List<IReactPackage>
returned by the Packages
methodimport RNRestartApp from 'react-native-restart-app';
// TODO: What to do with the module?
RNRestartApp;
FAQs
A simple module to restart a React Native app
The npm package react-native-restart-app receives a total of 30 weekly downloads. As such, react-native-restart-app popularity was classified as not popular.
We found that react-native-restart-app demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.