Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
ReactNativeStarterKit
Advanced tools
React Native Starter Kit with Redux - crossplatform for iOS and Android
React Native starter kit - offline-first architecture proposal for iOS/Android application. Functionality are grouped by modules and can be easily scaled
Example application contains three different pages, navigation between them + loader and async tasks simulation
redux
- Flux implementationredux-thunk
- middleware for async stuffreact-native-router-flux
- simple, scalable, configurable router for React Nativeredux-persist
- stores redux state in ReactNative AsyncStorage
AsyncStorage
mocha
, sinon
, chai
for unit tests
You can find tests example in app/auth
folder for auth.reducer
enzyme
and react-native-mock
for components testing
See example in app/common/components
for Button
Note:
Javascript files are precompiled with Babel (see test/utils/compile.js
)
appium
for integrational testing
See Appium setup in test/appium
folder
Please set correct version of your iOS simulator (9.3/10.0) in testConfig.js
IOS_VERSION
const
Tests are in test/specs
folderAppium setup includes actionServer that serves commands from test (like actions and redirects). And TestRunner component that is Execute button, when pressing on it app gets commands from server and executes it. The main idea of it - to be able to login/logout/redirect between routes to make tests simpler .
mocha-eslint
FAQs
React Native Starter Kit with Redux - crossplatform for iOS and Android
The npm package ReactNativeStarterKit receives a total of 2 weekly downloads. As such, ReactNativeStarterKit popularity was classified as not popular.
We found that ReactNativeStarterKit 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 researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.