Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

appium-uiauto

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appium-uiauto - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

bin/instruments-client.js

8

index.js
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 @@

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