appium-uiauto
Advanced tools
Comparing version 0.0.1 to 0.0.2
var path = require('path'); | ||
var bootstrap = path.resolve(__dirname, 'uiauto', 'bootstrap.js'); | ||
module.exports = bootstrap; | ||
module.exports = | ||
{ | ||
bootstrap: path.resolve(__dirname, 'uiauto', 'bootstrap.js'), | ||
rotate: path.resolve(__dirname, "uiauto/Rotate.applescript") | ||
} |
{ | ||
"name": "appium-uiauto", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "appium uiauto ios driver", | ||
"main": "index.js", | ||
"bin": { | ||
"instruments-client.js": "./bin/instruments-client.js" | ||
}, | ||
"scripts": { | ||
@@ -18,3 +21,6 @@ "test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"homepage": "https://github.com/appium/appium-uiauto" | ||
"homepage": "https://github.com/appium/appium-uiauto", | ||
"dependencies": { | ||
"argparse": "~0.1.15" | ||
} | ||
} |
@@ -102,20 +102,22 @@ var system = UIATarget.localTarget().host(); | ||
var clientPath = (function () { | ||
var client = 'bin/instruments-client.js'; | ||
var module = 'node_modules/appium/'; | ||
return './node_modules/.bin/instruments-client.js' | ||
try { | ||
sysExec('ls ' + client); | ||
return client; | ||
} catch (e) { | ||
try { | ||
sysExec('ls ' + module + client); | ||
return module + client; | ||
} catch (e) { | ||
if (globalPath === null) { | ||
console.log("WARNING: could not find bin/instruments-client.js in its " + | ||
"usual place, and global instruments_client not around " + | ||
"either. This could cause problems"); | ||
} | ||
} | ||
} | ||
// var client = 'bin/instruments-client.js'; | ||
// var module = 'node_modules/appium/'; | ||
// try { | ||
// sysExec('ls ' + client); | ||
// return client; | ||
// } catch (e) { | ||
// try { | ||
// sysExec('ls ' + module + client); | ||
// return module + client; | ||
// } catch (e) { | ||
// if (globalPath === null) { | ||
// console.log("WARNING: could not find bin/instruments-client.js in its " + | ||
// "usual place, and global instruments_client not around " + | ||
// "either. This could cause problems"); | ||
// } | ||
// } | ||
// } | ||
})(); | ||
@@ -122,0 +124,0 @@ |
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
Network access
Supply chain riskThis module accesses the network.
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
76986
20
2357
1
1
+ Addedargparse@~0.1.15
+ Addedargparse@0.1.16(transitive)
+ Addedunderscore@1.7.0(transitive)
+ Addedunderscore.string@2.4.0(transitive)