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

@applitools/driver

Package Overview
Dependencies
Maintainers
22
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/driver - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

.bongo/dry-run/package-lock.json

@@ -7,3 +7,3 @@ {

"version": "file:../dry-run.tgz",
"integrity": "sha512-AvnuMezSG970vwPR9njia77mVTPF8JuGBFJaUrPUuNwDSpAlJKoCts1ZIwE4rpl2zh8aCEPdFdOl8Bu76bTlGQ==",
"integrity": "sha512-L6QdrdfYt83pLxx2I95vV9H5phxk9LGc4ZUwVeEJFwJPOy5mZImqRtf+5jWXLEfOCPIft88wB6kl3fHMZhLWFg==",
"requires": {

@@ -10,0 +10,0 @@ "@applitools/snippets": "2.1.4",

@@ -6,2 +6,6 @@ # Change Log

## 1.1.2 - 2021/8/8
- fix default method to compare elements
## 1.1.1 - 2021/8/7

@@ -8,0 +12,0 @@

@@ -67,8 +67,10 @@ "use strict";

return false;
element = element instanceof Element ? element.target : element;
if (this._spec.isEqualElements) {
element = element instanceof Element ? element.target : element;
return this._spec.isEqualElements(this.context.target, this.target, element);
}
else {
return this.context.execute(snippets.isEqualElements, [this, element]).catch(() => false);
return this._spec
.executeScript(this.context.target, snippets.isEqualElements, [this.target, element])
.catch(() => false);
}

@@ -75,0 +77,0 @@ }

{
"name": "@applitools/driver",
"version": "1.1.1",
"version": "1.1.2",
"description": "Applitools universal framework wrapper",

@@ -5,0 +5,0 @@ "keywords": [

@@ -76,7 +76,9 @@ import type * as types from '@applitools/types'

element = element instanceof Element ? element.target : element
if (this._spec.isEqualElements) {
element = element instanceof Element ? element.target : element
return this._spec.isEqualElements(this.context.target, this.target, element)
} else {
return this.context.execute(snippets.isEqualElements, [this, element]).catch(() => false)
return this._spec
.executeScript(this.context.target, snippets.isEqualElements, [this.target, element])
.catch(() => false)
}

@@ -83,0 +85,0 @@ }

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