New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wdio/spec-reporter

Package Overview
Dependencies
Maintainers
3
Versions
292
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/spec-reporter - npm Package Compare versions

Comparing version 8.17.0 to 8.18.1

16

build/index.js

@@ -495,2 +495,9 @@ import { format } from 'node:util';

getEnviromentCombo(capability, verbose = true, isMultiremote = false) {
if (isMultiremote) {
const browserNames = Object.values(capability).map((c) => c.browserName);
const browserName = browserNames.length > 1
? `${browserNames.slice(0, -1).join(', ')} and ${browserNames.pop()}`
: browserNames.pop();
return `MultiremoteBrowser on ${browserName}`;
}
const caps = (capability.alwaysMatch ||

@@ -501,3 +508,3 @@ capability);

const appName = app || caps['appium:bundleId'] || caps.bundleId;
const browser = isMultiremote ? 'MultiremoteBrowser' : (caps.browserName || caps.browser || appName);
const browser = caps.browserName || caps.browser || appName;
/**

@@ -517,5 +524,3 @@ * fallback to different capability types:

*/
const platform = isMultiremote
? ''
: caps.platformName || caps['appium:platformName'] || caps.platform || (caps.os ? caps.os + (caps.os_version ? ` ${caps.os_version}` : '') : '(unknown)');
const platform = caps.platformName || caps['appium:platformName'] || caps.platform || (caps.os ? caps.os + (caps.os_version ? ` ${caps.os_version}` : '') : '(unknown)');
// Mobile capabilities

@@ -533,7 +538,4 @@ if (device) {

}
if (isMultiremote) {
return browser + (version ? ` (v${version})` : '') + ` on ${Object.values(capability).map((c) => c.browserName).join(', ')}`;
}
return browser + (version ? ` (v${version})` : '') + (` on ${platform}`);
}
}
{
"name": "@wdio/spec-reporter",
"version": "8.17.0",
"version": "8.18.1",
"description": "A WebdriverIO plugin to report in spec style",

@@ -41,3 +41,3 @@ "author": "Christian Bromann <mail@bromann.dev>",

},
"gitHead": "f7fe9474c580fc2003f6abca130e44ed025b1bd5"
"gitHead": "cdec608f5555cdc3ae595556ebdc2e9e78373c23"
}

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