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

appium-uiauto

Package Overview
Dependencies
Maintainers
2
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 1.7.6 to 1.7.7

uiauto/lib/.alerts.js.un~

2

package.json
{
"name": "appium-uiauto",
"version": "1.7.6",
"version": "1.7.7",
"description": "appium uiauto ios driver",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

@@ -97,6 +97,6 @@ /* globals $ */

var weighting = [
'secureTextFields'
, 'textFields'
, 'buttons'
, 'elements'
'secureTextFields'
, 'textFields'
, 'buttons'
, 'elements'
];

@@ -147,3 +147,3 @@ var elems = this._elementOrElementsWithPredicateWeighted(predicate,

// match, keep looking. Otherwise exit the loop.
if (onlyFirst || results.length > 0) break;
if (onlyFirst && results.length > 0) break;
}

@@ -150,0 +150,0 @@

@@ -8,10 +8,14 @@ /* globals $, STATUS */

, _defaultContext: function (ctx) {
if (typeof ctx === 'string') {
return this.cache[ctx];
} else if (typeof ctx !== 'undefined') {
return ctx;
} else {
return $.mainApp();
if (typeof ctx === 'string') {
var el = this.cache[ctx];
if (el.isNil()) {
throw new STATUS.StaleElementReference("Context element was nil");
}
return el;
} else if (typeof ctx !== 'undefined') {
return ctx;
} else {
return $.mainApp();
}
}
}

@@ -18,0 +22,0 @@ , convertSelector: function (selector) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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