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

@wdio/reporter

Package Overview
Dependencies
Maintainers
3
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/reporter - npm Package Compare versions

Comparing version 8.0.13 to 8.0.14

6

build/stats/runnable.d.ts

@@ -1,4 +0,4 @@

import { Hook } from './hook.js';
import { Suite } from './suite.js';
import { Test } from './test.js';
import type { Hook } from './hook.js';
import type { Suite } from './suite.js';
import type { Test } from './test.js';
/**

@@ -5,0 +5,0 @@ * Main class for a runnable class (e.g. test, suite or a hook)

@@ -1,4 +0,4 @@

import HookStats from './hook.js';
import type HookStats from './hook.js';
import RunnableStats from './runnable.js';
import TestStats from './test.js';
import type TestStats from './test.js';
import type { Tag } from '../types';

@@ -5,0 +5,0 @@ export interface Suite {

@@ -30,4 +30,4 @@ import supportsColor from 'supports-color';

*/
if (caps.deviceName) {
result = [
result = caps.deviceName
? [
sanitizeString(caps.deviceName),

@@ -37,6 +37,4 @@ sanitizeString(caps.platformName),

sanitizeString(caps.app)
];
}
else {
result = [
]
: [
sanitizeString(caps.browserName),

@@ -47,3 +45,2 @@ sanitizeString(caps.version || caps.browserVersion),

];
}
result = result.filter(n => n !== undefined && n !== '');

@@ -61,6 +58,8 @@ return result.join('.');

export function getErrorsFromEvent(e) {
if (e.errors)
if (e.errors) {
return e.errors;
if (e.error)
}
if (e.error) {
return [e.error];
}
return [];

@@ -67,0 +66,0 @@ }

{
"name": "@wdio/reporter",
"version": "8.0.13",
"version": "8.0.14",
"description": "A WebdriverIO utility to help reporting all events",

@@ -36,7 +36,7 @@ "author": "Christian Bromann <mail@bromann.dev>",

"@types/tmp": "^0.2.3",
"@wdio/logger": "8.0.0",
"@wdio/types": "8.0.11",
"@wdio/logger": "8.0.14",
"@wdio/types": "8.0.14",
"diff": "^5.0.0",
"object-inspect": "^1.12.0",
"supports-color": "9.3.0"
"supports-color": "9.3.1"
},

@@ -47,3 +47,3 @@ "devDependencies": {

},
"gitHead": "912db21d2cd4552a02b776ba74cae05440b076de"
"gitHead": "ab58bc79c1df2e146d02a68ee444766ec371e6d2"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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