Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
30
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 12.0.0 to 12.1.0

4

build/commands/logIOS/index.js

@@ -46,2 +46,6 @@ "use strict";

/**
* Starts iOS device syslog tail
*/
async function logIOS(_argv, _ctx, args) {

@@ -48,0 +52,0 @@ // Here we're using two command because first command `xcrun simctl list --json devices` outputs `state` but doesn't return `available`. But second command `xcrun xcdevice list` outputs `available` but doesn't output `state`. So we need to connect outputs of both commands.

5

build/tools/findMatchingSimulator.js

@@ -52,4 +52,5 @@ "use strict";

let fallbackMatch;
for (const versionDescriptor in devices) {
const device = devices[versionDescriptor];
const sortedDevices = Object.fromEntries(Object.entries(devices).sort((a, b) => Number(b[0].includes('iOS')) - Number(a[0].includes('iOS'))));
for (const versionDescriptor in sortedDevices) {
const device = sortedDevices[versionDescriptor];
let version = versionDescriptor;

@@ -56,0 +57,0 @@ if (/^com\.apple\.CoreSimulator\.SimRuntime\./g.test(version)) {

@@ -48,2 +48,3 @@ "use strict";

} catch (error) {
_cliTools().logger.debug(error);
// "pod" command outputs errors to stdout (at least some of them)

@@ -50,0 +51,0 @@ const stderr = error.stderr || error.stdout;

{
"name": "@react-native-community/cli-platform-ios",
"version": "12.0.0",
"version": "12.1.0",
"license": "MIT",

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

"dependencies": {
"@react-native-community/cli-tools": "12.0.0",
"@react-native-community/cli-tools": "12.1.0",
"chalk": "^4.1.2",

@@ -19,3 +19,3 @@ "execa": "^5.0.0",

"devDependencies": {
"@react-native-community/cli-types": "12.0.0",
"@react-native-community/cli-types": "12.1.0",
"@types/glob": "^7.1.1",

@@ -37,3 +37,3 @@ "@types/lodash": "^4.14.149",

},
"gitHead": "3f206fd01f70706ce17e4a33c3528a60e684d41e"
"gitHead": "27208a84e9fa52792dae0563d33a332e92e9ef71"
}

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

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