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

@applitools/eyes-sdk-core

Package Overview
Dependencies
Maintainers
12
Versions
465
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/eyes-sdk-core - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

61

lib/AppEnvironment.js

@@ -17,3 +17,3 @@ 'use strict';

*/
constructor({ os, hostingApp, displaySize } = {}) {
constructor({ os, hostingApp, displaySize, deviceInfo, osInfo, hostingAppInfo } = {}) {
if (displaySize && !(displaySize instanceof RectangleSize)) {

@@ -26,2 +26,5 @@ displaySize = new RectangleSize(displaySize);

this._displaySize = displaySize;
this._deviceInfo = deviceInfo;
this._osInfo = osInfo;
this._hostingAppInfo = hostingAppInfo;

@@ -120,2 +123,58 @@ /** @type {string} */

/**
* Gets the OS hosting the application under test or {@code null} if unknown. (not part of test signature)
*
* @return {string}
*/
getOsInfo() {
return this._osInfo;
}
/**
* Sets the OS hosting the application under test or {@code null} if unknown. (not part of test signature)
*
* @param {string} value
*/
setOsInfo(value) {
this._osInfo = value;
}
// noinspection JSUnusedGlobalSymbols
/**
* Gets the application hosting the application under test or {@code null} if unknown. (not part of test signature)
*
* @return {string}
*/
getHostingAppInfo() {
return this._hostingAppInfo;
}
/**
* Sets the application hosting the application under test or {@code null} if unknown. (not part of test signature)
*
* @param {string} value
*/
setHostingAppInfo(value) {
this._hostingAppInfo = value;
}
// noinspection JSUnusedGlobalSymbols
/**
* Gets the device info (not part of test signature)
*
* @return {string}
*/
getDeviceInfo() {
return this._deviceInfo;
}
/**
* Sets the device info (not part of test signature)
*
* @param {string} value
*/
setDeviceInfo(value) {
this._deviceInfo = value;
}
/** @override */

@@ -122,0 +181,0 @@ toJSON() {

2

lib/renderer/RenderRequest.js

@@ -170,3 +170,3 @@ 'use strict';

if (this._sendDom) {
if (this._sendDom !== undefined) {
object.sendDom = this._sendDom;

@@ -173,0 +173,0 @@ }

{
"name": "@applitools/eyes-sdk-core",
"version": "4.1.0",
"version": "4.2.0",
"description": "The core components of Eyes JavaScript SDK",

@@ -50,4 +50,3 @@ "keywords": [

"node": ">= 8.9.0"
},
"gitHead": "743bc6090d337c1d7193f6bd92c1bb8711a4f5a5"
}
}

Sorry, the diff of this file is too big to display

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