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.
@react-native-community/cli-clean
Advanced tools
This package is part of the [React Native CLI](../../README.md). It contains commands for cleaning the build artifacts.
This package is part of the React Native CLI. It contains commands for cleaning the build artifacts.
yarn add @react-native-community/cli-clean
clean
Usage:
npx react-native clean
Cleans caches. Commonly used to ensure build failures are not due to stale cache. By default, it will prompt which caches to purge, with Watchman and Metro already checked. To omit interactive prompt (e.g. in scripts), please use --include
flag.
--include <string>
Comma-separated flag of caches to clear e.g. npm,yarn
. If omitted, an interactive prompt will appear. Valid values include android
, cocoapods
, metro
, npm
, watchman
, and yarn
.
--project-root <string>
default: current working directory
Root path to your React Native project. When not specified, defaults to current working directory.
--verify-cache
default: false
Whether to verify the cache. Currently only applies to npm cache.
FAQs
This package is part of the [React Native CLI](../../README.md). It contains commands for cleaning the build artifacts.
The npm package @react-native-community/cli-clean receives a total of 1,401,925 weekly downloads. As such, @react-native-community/cli-clean popularity was classified as popular.
We found that @react-native-community/cli-clean demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 34 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
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.