Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
@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,635,371 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
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.