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
33
Versions
466
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 13.8.22 to 13.8.23

2

lib/sdk/EyesCore.js

@@ -243,3 +243,3 @@ 'use strict'

)
this._logger.error('Failed to set the viewport size', e)
this._logger.log('Failed to set the viewport size', e)
throw new EyesError('Failed to set the viewport size', e)

@@ -246,0 +246,0 @@ }

@@ -18,2 +18,3 @@ const utils = require('@applitools/utils')

const {appendUserTestIdToTestResults} = require('../utils/amend-test-results')
const EyesError = require('../errors/EyesError')

@@ -121,5 +122,11 @@ class EyesVisualGrid extends EyesCore {

if (this._configuration.getViewportSize()) {
const vs = this._configuration.getViewportSize()
await this.setViewportSize(vs)
const vsFromConfiguration = this._configuration.getViewportSize()
if (vsFromConfiguration) {
try {
await this.setViewportSize(vsFromConfiguration)
} catch (error) {
if (error instanceof EyesError)
this._logger.warn(`failed to "setViewportSize" to ${vsFromConfiguration}, but still continue with the test`)
else throw error
}
}

@@ -126,0 +133,0 @@

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

@@ -82,3 +82,3 @@ "keywords": [

"@applitools/dom-snapshot": "4.6.2",
"@applitools/driver": "1.9.21",
"@applitools/driver": "1.9.22",
"@applitools/execution-grid-client": "1.1.24",

@@ -102,3 +102,3 @@ "@applitools/isomorphic-fetch": "3.0.0",

"@applitools/test-utils": "1.4.3",
"@applitools/visual-grid-client": "15.13.15",
"@applitools/visual-grid-client": "15.13.16",
"chai": "4.2.0",

@@ -105,0 +105,0 @@ "chai-uuid": "1.0.6",

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