@wdio/reporter 8.8.0 → 8.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/utils.d.ts +2 -2
- package/build/utils.js +2 -2
- package/package.json +3 -3
package/build/utils.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import type { Capabilities } from '@wdio/types';
|
|
|
2
2
|
import { COLORS } from './constants.js';
|
|
3
3
|
/**
|
|
4
4
|
* replaces whitespaces with underscore and removes dots
|
|
5
|
-
* @param {
|
|
5
|
+
* @param {string} str variable to sanitize
|
|
6
6
|
* @return {String} sanitized variable
|
|
7
7
|
*/
|
|
8
8
|
export declare function sanitizeString(str?: string): string;
|
|
9
9
|
/**
|
|
10
10
|
* formats capability object into sanitized string for e.g.filenames
|
|
11
|
-
* @param {
|
|
11
|
+
* @param {object} caps Selenium capabilities
|
|
12
12
|
*/
|
|
13
13
|
export declare function sanitizeCaps(caps?: Capabilities.DesiredCapabilities): string;
|
|
14
14
|
/**
|
package/build/utils.js
CHANGED
|
@@ -2,7 +2,7 @@ import supportsColor from 'supports-color';
|
|
|
2
2
|
import { COLORS } from './constants.js';
|
|
3
3
|
/**
|
|
4
4
|
* replaces whitespaces with underscore and removes dots
|
|
5
|
-
* @param {
|
|
5
|
+
* @param {string} str variable to sanitize
|
|
6
6
|
* @return {String} sanitized variable
|
|
7
7
|
*/
|
|
8
8
|
export function sanitizeString(str) {
|
|
@@ -17,7 +17,7 @@ export function sanitizeString(str) {
|
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* formats capability object into sanitized string for e.g.filenames
|
|
20
|
-
* @param {
|
|
20
|
+
* @param {object} caps Selenium capabilities
|
|
21
21
|
*/
|
|
22
22
|
export function sanitizeCaps(caps) {
|
|
23
23
|
if (!caps) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/reporter",
|
|
3
|
-
"version": "8.8.
|
|
3
|
+
"version": "8.8.6",
|
|
4
4
|
"description": "A WebdriverIO utility to help reporting all events",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-reporter",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@types/node": "^18.0.0",
|
|
36
36
|
"@wdio/logger": "8.6.6",
|
|
37
|
-
"@wdio/types": "8.8.
|
|
37
|
+
"@wdio/types": "8.8.6",
|
|
38
38
|
"diff": "^5.0.0",
|
|
39
39
|
"object-inspect": "^1.12.0",
|
|
40
40
|
"supports-color": "9.3.1"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"@types/tmp": "^0.2.3",
|
|
47
47
|
"tmp": "^0.2.1"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "0db3b2f595ef834e6e01f58873dbde776dc08240"
|
|
50
50
|
}
|