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.13 to 1.7.14

2

package.json
{
"name": "appium-uiauto",
"version": "1.7.13",
"version": "1.7.14",
"description": "appium uiauto ios driver",

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

@@ -16,2 +16,7 @@ /* globals $ */

var numTypes = typeArray.length;
// allow '*' to match on all types.
var allTypes = false;
if (numTypes === 1 && typeArray[0] === '*') allTypes = true;
onlyFirst = onlyFirst === true;

@@ -61,10 +66,13 @@ onlyVisible = onlyVisible !== false;

for (var i = 0; i < numTypes; i++) {
if (elType === typeArray[i]) {
if (allTypes || elType === typeArray[i]) {
if (!onlyVisible || visible) {
// if an object isn't provided then it's a match.
var nameMatch = nameObject ? attributeMatch(element.name(), nameObject) : true;
var labelMatch = labelObject ? attributeMatch(element.label(), labelObject) : true;
var valueMatch = valueObject ? attributeMatch(element.value(), valueObject) : true;
var nameMatch = nameObject ? attributeMatch(element.name(), nameObject) : false;
var labelMatch = labelObject ? attributeMatch(element.label(), labelObject) : false;
var valueMatch = valueObject ? attributeMatch(element.value(), valueObject) : false;
if (nameMatch && labelMatch && valueMatch && element.checkIsValid()) {
// If we're only searching for a type then skip attribute matching.
if (!nameObject && !labelObject && !valueObject) nameMatch = true;
if (element.checkIsValid() && (nameMatch || labelMatch || valueMatch)) {
elems.push(element);

@@ -204,2 +212,2 @@ }

})();
})();
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