You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-native-pod

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-pod - npm Package Compare versions

Comparing version

to
1.10.4

2

bin/makepod.js
#!/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": {