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

@wdio/spec-reporter

Package Overview
Dependencies
Maintainers
3
Versions
290
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 9.4.3 to 9.4.4

6

build/index.js

@@ -394,3 +394,7 @@ // src/index.ts

for (const error of errors) {
!error?.stack?.includes("new AssertionError") ? output.push(this.setMessageColor(error.message, "failed" /* FAILED */)) : output.push(...error.message.split("\n"));
if (!error?.stack?.includes("new AssertionError")) {
output.push(this.setMessageColor(error.message, "failed" /* FAILED */));
} else {
output.push(...error.message.split("\n"));
}
if (error.stack) {

@@ -397,0 +401,0 @@ output.push(...error.stack.split(/\n/g).map((value) => this.setMessageColor(value)));

8

build/utils.d.ts

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

interface Row {
cells: string[];
}
/**

@@ -6,3 +9,3 @@ * transform cucumber table to format suitable for `easy-table`

*/
export declare const buildTableData: (rows: any) => any;
export declare const buildTableData: (rows: Row[]) => Record<number, string>[];
/**

@@ -13,3 +16,3 @@ * returns table in string format

*/
export declare const printTable: (data: any) => string;
export declare const printTable: (data: unknown) => string;
/**

@@ -28,2 +31,3 @@ * add indentation

export declare const sauceAuthenticationToken: (user: string, key: string, sessionId: string) => string;
export {};
//# sourceMappingURL=utils.d.ts.map
{
"name": "@wdio/spec-reporter",
"version": "9.4.3",
"version": "9.4.4",
"description": "A WebdriverIO plugin to report in spec style",

@@ -34,4 +34,4 @@ "author": "Christian Bromann <mail@bromann.dev>",

"dependencies": {
"@wdio/reporter": "9.4.3",
"@wdio/types": "9.4.3",
"@wdio/reporter": "9.4.4",
"@wdio/types": "9.4.4",
"chalk": "^5.1.2",

@@ -44,3 +44,3 @@ "easy-table": "^1.2.0",

},
"gitHead": "8ee63eaefd86cf06eea832bb8d4c1920e9cc4e55"
"gitHead": "d327d86e07d16eaa0ecdf0656c1868ba73261393"
}

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