react-native-pod
Advanced tools
Comparing version
#!/usr/bin/env node | ||
var pbxproj = require("xcode"); | ||
var pbxproj = require("@raydeck/xcode"); | ||
var fs = require("fs"); | ||
@@ -4,0 +4,0 @@ var path = require("path"); |
@@ -1,2 +0,2 @@ | ||
const xcode = require("xcode"); | ||
const xcode = require("@raydeck/xcode"); | ||
const getIOSProject = require("./getIOSProject"); | ||
@@ -3,0 +3,0 @@ const glob = require("glob"); |
@@ -1,26 +0,26 @@ | ||
var pbxproj = require('xcode'); | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var glob = require('glob'); | ||
var process = require('process'); | ||
var pbxproj = require("@raydeck/xcode"); | ||
var fs = require("fs"); | ||
var path = require("path"); | ||
var glob = require("glob"); | ||
var process = require("process"); | ||
module.exports = () => { | ||
//Get my directory | ||
const thisPath = process.cwd(); | ||
const iosPath = thisPath + "/ios"; | ||
if(!fs.existsSync(iosPath)) { | ||
console.log("Could not find ios in ", thisPath, iosPath); | ||
console.log(fs.readdirSync(thisPath)); | ||
return false | ||
} | ||
const podPath = iosPath + "/Podfile" | ||
if(!fs.existsSync(podPath)) { | ||
console.log("Could not find a podfile at path", podPath); | ||
return false; | ||
} | ||
const package = require(thisPath + "/package.json"); | ||
//Get my directory | ||
const thisPath = process.cwd(); | ||
const iosPath = thisPath + "/ios"; | ||
if (!fs.existsSync(iosPath)) { | ||
console.log("Could not find ios in ", thisPath, iosPath); | ||
console.log(fs.readdirSync(thisPath)); | ||
return false; | ||
} | ||
const podPath = iosPath + "/Podfile"; | ||
if (!fs.existsSync(podPath)) { | ||
console.log("Could not find a podfile at path", podPath); | ||
return false; | ||
} | ||
const package = require(thisPath + "/package.json"); | ||
return { | ||
projectName: package.name, | ||
podfile: podPath | ||
} | ||
} | ||
return { | ||
projectName: package.name, | ||
podfile: podPath | ||
}; | ||
}; |
{ | ||
"name": "react-native-pod", | ||
"version": "1.10.3", | ||
"version": "1.10.4", | ||
"description": "Automatically generate podfile for React Native", | ||
@@ -16,5 +16,5 @@ "scripts": { | ||
"dependencies": { | ||
"@raydeck/xcode": "^2.2.1", | ||
"commander": "^2.14.1", | ||
"glob": "^7.1.2", | ||
"xcode": "rhdeck/cordova-node-xcode" | ||
"glob": "^7.1.2" | ||
}, | ||
@@ -21,0 +21,0 @@ "rnpm": { |
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
1
-50%3
-25%20613
-0.16%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed