@react-native-community/cli-platform-ios
Advanced tools
Comparing version 3.0.0-alpha.7 to 3.0.0
@@ -56,3 +56,3 @@ "use strict"; | ||
const GLOB_EXCLUDE_PATTERN = ['**/@(Pods|node_modules)/**']; | ||
const GLOB_EXCLUDE_PATTERN = ['**/@(Pods|node_modules|Carthage)/**']; | ||
/** | ||
@@ -59,0 +59,0 @@ * Finds iOS project by looking for all .xcodeproj files |
@@ -50,2 +50,4 @@ "use strict"; | ||
const CHECKSUM_KEY = 'SPEC CHECKSUMS'; | ||
function getDependenciesFromPodfileLock(podfileLockPath) { | ||
@@ -62,5 +64,9 @@ _cliTools().logger.debug(`Reading ${podfileLockPath}`); | ||
return []; | ||
} | ||
} // Previous portions of the lock file could be invalid yaml. | ||
// Only parse parts that are valid | ||
return Object.keys((0, _jsYaml().safeLoad)(fileContent)['SPEC CHECKSUMS'] || {}); | ||
const tail = fileContent.split(CHECKSUM_KEY).slice(1); | ||
const checksumTail = CHECKSUM_KEY + tail; | ||
return Object.keys((0, _jsYaml().safeLoad)(checksumTail)[CHECKSUM_KEY] || {}); | ||
} |
{ | ||
"name": "@react-native-community/cli-platform-ios", | ||
"version": "3.0.0-alpha.7", | ||
"version": "3.0.0", | ||
"license": "MIT", | ||
@@ -10,3 +10,3 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@react-native-community/cli-tools": "^3.0.0-alpha.7", | ||
"@react-native-community/cli-tools": "^3.0.0", | ||
"chalk": "^2.4.2", | ||
@@ -17,3 +17,3 @@ "js-yaml": "^3.13.1", | ||
"devDependencies": { | ||
"@react-native-community/cli-types": "^3.0.0-alpha.7", | ||
"@react-native-community/cli-types": "^3.0.0", | ||
"@types/js-yaml": "^3.12.1", | ||
@@ -25,4 +25,3 @@ "@types/plist": "^3.0.2" | ||
"native_modules.rb" | ||
], | ||
"gitHead": "2fa7e1f9ce40dfd9f5a5c780487c9ee467811fa7" | ||
] | ||
} |
Sorry, the diff of this file is not supported yet
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
3407
1
151361
184