Socket
Socket
Sign inDemoInstall

@react-native-community/cli-platform-android

Package Overview
Dependencies
Maintainers
23
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-community/cli-platform-android - npm Package Compare versions

Comparing version 2.0.0-alpha.6 to 2.0.0-alpha.7

12

build/commands/runAndroid/index.js

@@ -42,4 +42,2 @@ "use strict";

var _isPackagerRunning = _interopRequireDefault(require("./isPackagerRunning"));
var _tryRunAdbReverse = _interopRequireDefault(require("./tryRunAdbReverse"));

@@ -91,3 +89,3 @@

return (0, _isPackagerRunning.default)(args.port).then(result => {
return (0, _cliTools().isPackagerRunning)(args.port).then(result => {
if (result === 'running') {

@@ -184,5 +182,5 @@ _cliTools().logger.info('JS server already running.');

const pathToApk = `${buildDirectory}/${apkFile}`;
const adbArgs = ['-s', device, 'install', pathToApk];
const adbArgs = ['-s', device, 'install', '-rd', pathToApk];
_cliTools().logger.info(`Installing the app on the device (cd android && adb -s ${device} install ${pathToApk}`);
_cliTools().logger.info(`Installing the app on the device (cd android && adb -s ${device} install -rd ${pathToApk}`);

@@ -225,3 +223,3 @@ (0, _child_process().execFileSync)(adbPath, adbArgs, {

function startServerInNewWindow(port, terminal = process.env.REACT_TERMINAL, reactNativePath) {
function startServerInNewWindow(port, terminal, reactNativePath) {
/**

@@ -334,5 +332,5 @@ * Set up OS-specific filenames and commands

description: 'Launches the Metro Bundler in a new window using the specified terminal path.',
default: ''
default: (0, _cliTools().getDefaultUserTerminal)()
}]
};
exports.default = _default;
{
"name": "@react-native-community/cli-platform-android",
"version": "2.0.0-alpha.6",
"version": "2.0.0-alpha.7",
"main": "build/index.js",
"dependencies": {
"@react-native-community/cli-tools": "^2.0.0-alpha.6",
"@react-native-community/cli-tools": "^2.0.0-alpha.7",
"logkitty": "^0.4.0",

@@ -12,3 +12,6 @@ "node-fetch": "^2.2.0",

},
"gitHead": "0a049714b061979abd7f9635f5f5fe784abf5668"
"files": [
"build"
],
"gitHead": "60606efd56da6065d339100e42968c25b4dad182"
}
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