Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-native-community/cli-hermes

Package Overview
Dependencies
Maintainers
40
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-community/cli-hermes - npm Package Compare versions

Comparing version 6.0.0-rc.0 to 6.0.0

LICENSE

10

build/profileHermes/downloadProfile.js

@@ -88,3 +88,3 @@ "use strict";

try {
const file = (0, _child_process().execSync)(`adb shell run-as ${packageName} ls cache/ -tp | grep -v /$ | egrep '.cpuprofile' | head -1
const file = (0, _child_process().execSync)(`adb shell run-as ${packageName} ls cache/ -tp | grep -v /$ | grep -E '.cpuprofile' | head -1
`);

@@ -129,9 +129,7 @@ return file.toString().trim();

_cliTools().logger.debug('Internal commands run to pull the file:'); // Copy the file from device's data to sdcard, then pull the file to a temp directory
_cliTools().logger.debug('Internal commands run to pull the file:'); // If --raw, pull the hermes profile to dstPath
execSyncWithLog(`adb shell run-as ${packageName} cp cache/${file} /sdcard`); // If --raw, pull the hermes profile to dstPath
if (raw) {
execSyncWithLog(`adb pull /sdcard/${file} ${dstPath}`);
execSyncWithLog(`adb shell run-as ${packageName} cat cache/${file} > ${dstPath}/${file}`);

@@ -145,3 +143,3 @@ _cliTools().logger.success(`Successfully pulled the file to ${dstPath}/${file}`);

execSyncWithLog(`adb pull /sdcard/${file} ${tempFilePath}`); // If path to source map is not given
execSyncWithLog(`adb shell run-as ${packageName} cat cache/${file} > ${tempFilePath}`); // If path to source map is not given

@@ -148,0 +146,0 @@ if (!sourcemapPath) {

8

package.json
{
"name": "@react-native-community/cli-hermes",
"version": "6.0.0-rc.0",
"version": "6.0.0",
"license": "MIT",

@@ -11,3 +11,3 @@ "main": "build/index.js",

"dependencies": {
"@react-native-community/cli-platform-android": "^6.0.0-rc.0",
"@react-native-community/cli-platform-android": "^6.0.0",
"@react-native-community/cli-tools": "^6.0.0-rc.0",

@@ -24,3 +24,3 @@ "chalk": "^3.0.0",

"devDependencies": {
"@react-native-community/cli-types": "^6.0.0-rc.0",
"@react-native-community/cli-types": "^6.0.0",
"@types/ip": "^1.1.0"

@@ -34,3 +34,3 @@ },

},
"gitHead": "67b6623b951e9cfc956edc503bf5b83c9ade7c85"
"gitHead": "47aed081b4cbea02d4cc7f12d4fec732ee85b2a4"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc