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

@percy/webdriver-utils

Package Overview
Dependencies
Maintainers
6
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@percy/webdriver-utils - npm Package Compare versions

Comparing version 1.27.4-beta.4 to 1.27.4

12

dist/providers/automateProvider.js

@@ -50,4 +50,3 @@ import utils from '@percy/sdk-utils';

} finally {
var _response, _response$body;
await this.percyScreenshotEnd(name, (_response = response) === null || _response === void 0 ? void 0 : (_response$body = _response.body) === null || _response$body === void 0 ? void 0 : _response$body.link, `${error}`);
await this.percyScreenshotEnd(name, error);
}

@@ -74,10 +73,11 @@ return response;

}
async percyScreenshotEnd(name, percyScreenshotUrl, statusMessage = null) {
async percyScreenshotEnd(name, error) {
return await TimeIt.run('percyScreenshotEnd', async () => {
try {
var _this$buildInfo;
await this.browserstackExecutor('percyScreenshot', {
name,
percyScreenshotUrl,
status: percyScreenshotUrl ? 'success' : 'failure',
statusMessage,
percyScreenshotUrl: (_this$buildInfo = this.buildInfo) === null || _this$buildInfo === void 0 ? void 0 : _this$buildInfo.url,
status: error ? 'failure' : 'success',
statusMessage: error ? `${error}` : '',
state: 'end'

@@ -84,0 +84,0 @@ });

{
"name": "@percy/webdriver-utils",
"version": "1.27.4-beta.4",
"version": "1.27.4",
"license": "MIT",

@@ -12,3 +12,3 @@ "repository": {

"access": "public",
"tag": "beta"
"tag": "latest"
},

@@ -33,6 +33,6 @@ "engines": {

"dependencies": {
"@percy/config": "1.27.4-beta.4",
"@percy/sdk-utils": "1.27.4-beta.4"
"@percy/config": "1.27.4",
"@percy/sdk-utils": "1.27.4"
},
"gitHead": "4aaa7b217f60ed9ce953fa8c788f4061a7689459"
"gitHead": "bb901bc6aabf20e27528b6cdfab22c9d8721a2b2"
}
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