@react-native-community/cli-hermes
Advanced tools
Comparing version 6.0.0-rc.0 to 6.0.0
@@ -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) { |
{ | ||
"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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
12527
6
289