Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@react-native-community/cli-hermes
Advanced tools
This package is part of the [React Native CLI](../../README.md). It contains commands for managing the Hermes engine.
This package is part of the React Native CLI. It contains commands for managing the Hermes engine.
yarn add @react-native-community/cli-hermes
profile-hermes
Usage:
npx react-native profile-hermes [destinationDir] <flag>
Pull and convert a Hermes tracing profile to Chrome tracing profile, then store it in the directory of the local machine.
destinationDir
is optional, if provided, pull the file to that directory
default: pull to the current React Native app root directory
--filename <string>
File name of the profile to be downloaded, eg. sampling-profiler-trace8593107139682635366.cpuprofile.
default: pull the latest file
--raw
Pulls the original Hermes tracing profile without any transformation
--sourcemap-path <string>
The local path to your source map file if you generated it manually, ex. /tmp/sourcemap.json
--generate-sourcemap
Generate the JS bundle and source map in os.tmpdir()
--port <number>
The running metro server port number
default: 8081
--appId <string>
Specify an applicationId
to launch after build. If not specified, package
from AndroidManifest.xml will be used.
--appIdSuffix <string>
Specify an applicationIdSuffix
to launch after build.
--host <string>
The host of the packager.
default: localhost
This step is recommended in order for the source map to be generated:
If you are planning on building a debug APK, that will run without the packager, by invoking ./gradlew assembleDebug
you can simply set bundleInDebug: true
in your app/build.gradle file, inside the project.ext.react
map.
FAQs
This package is part of the [React Native CLI](../../README.md). It contains commands for managing the Hermes engine.
The npm package @react-native-community/cli-hermes receives a total of 1,315,098 weekly downloads. As such, @react-native-community/cli-hermes popularity was classified as popular.
We found that @react-native-community/cli-hermes demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 30 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.
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.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.