Socket
Socket
Sign inDemoInstall

@react-native-community/cli-tools

Package Overview
Dependencies
Maintainers
30
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 13.2.0 to 13.3.0

3

build/getDefaultUserTerminal.js

@@ -27,2 +27,5 @@ "use strict";

}
if (_os().default.platform() === 'win32') {
return 'cmd.exe';
}
return TERM;

@@ -29,0 +32,0 @@ };

4

build/startServerInNewWindow.js

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

const packagerEnvFilename = isWindows ? '.packager.bat' : '.packager.env';
const packagerEnvFileExportContent = isWindows ? `set RCT_METRO_PORT=${port}\nset PROJECT_ROOT=${projectRoot}\nset REACT_NATIVE_PATH=${reactNativePath}` : `export RCT_METRO_PORT=${port}\nexport PROJECT_ROOT=${projectRoot}\nexport REACT_NATIVE_PATH=${reactNativePath}`;
const packagerEnvFileExportContent = isWindows ? `set RCT_METRO_PORT=${port}\nset PROJECT_ROOT=${projectRoot}\nset REACT_NATIVE_PATH=${reactNativePath}` : `export RCT_METRO_PORT=${port}\nexport PROJECT_ROOT="${projectRoot}"\nexport REACT_NATIVE_PATH="${reactNativePath}"`;
const nodeModulesPath = (0, _resolveNodeModuleDir.default)(projectRoot, '.bin');

@@ -103,3 +103,3 @@ const cliPluginMetroPath = _path().default.join(_path().default.dirname(require.resolve('@react-native-community/cli-tools/package.json')), 'build');

// Awaiting this causes the CLI to hang indefinitely, so this must execute without await.
return (0, _execa().default)('cmd.exe', ['/C', launchPackagerScript], {
return (0, _execa().default)(terminal, ['/C', launchPackagerScript], {
...procConfig,

@@ -106,0 +106,0 @@ detached: true,

{
"name": "@react-native-community/cli-tools",
"version": "13.2.0",
"version": "13.3.0",
"license": "MIT",

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

"devDependencies": {
"@react-native-community/cli-types": "13.2.0",
"@react-native-community/cli-types": "13.3.0",
"@types/lodash": "^4.14.149",

@@ -41,3 +41,3 @@ "@types/mime": "^2.0.1",

},
"gitHead": "acdcb2bbd7b1fa6a50e771e04b36604834330da4"
"gitHead": "148f4d7220fba7a55e1f0b7def417c6c96ea6d9c"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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