Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
29
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.1.0 to 2.1.1

26

build/commands/runAndroid/index.js

@@ -238,2 +238,20 @@ "use strict";

/**
* Quick & temporary fix for packager crashing on Windows due to using removed --projectRoot flag
* in script. So we just replace the contents of the script with the fixed version. This should be
* removed when PR #25517 on RN Repo gets approved and a new RN version is released.
*/
const launchPackagerScriptContent = `:: Copyright (c) Facebook, Inc. and its affiliates.
::
:: This source code is licensed under the MIT license found in the
:: LICENSE file in the root directory of this source tree.
@echo off
title Metro Bundler
call .packager.bat
cd ../../../
node "%~dp0..\\cli.js" start
pause
exit`;
/**
* Set up the `.packager.(env|bat)` file to ensure the packager starts on the right port.

@@ -286,3 +304,9 @@ */

procConfig.detached = true;
procConfig.stdio = 'ignore';
procConfig.stdio = 'ignore'; //Temporary fix for #484. See comment on line 254
_fs().default.writeFileSync(launchPackagerScript, launchPackagerScriptContent, {
encoding: 'utf8',
flag: 'w'
});
return (0, _child_process().spawn)('cmd.exe', ['/C', launchPackagerScript], procConfig);

@@ -289,0 +313,0 @@ }

4

package.json
{
"name": "@react-native-community/cli-platform-android",
"version": "2.1.0",
"version": "2.1.1",
"main": "build/index.js",

@@ -15,3 +15,3 @@ "dependencies": {

],
"gitHead": "34d6f70408505d22877ae721949f614ce077d544"
"gitHead": "9e3134b2c33521229ed377899ea96ec3b92d74b6"
}

Sorry, the diff of this file is not supported yet

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