@wdio/logger 8.6.6 → 8.11.0
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/node.d.ts.map +1 -1
- package/build/node.js +5 -3
- package/package.json +3 -3
package/build/node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAGA,OAAO,GAAG,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAGA,OAAO,GAAG,MAAM,UAAU,CAAA;AA8G1B,iBAAwB,SAAS,CAAE,IAAI,EAAE,MAAM,cAwB9C;kBAxBuB,SAAS;;;;;;eAAT,SAAS;AAgFjC,MAAM,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAA"}
|
package/build/node.js
CHANGED
|
@@ -17,8 +17,10 @@ const COLORS = {
|
|
|
17
17
|
};
|
|
18
18
|
const matches = {
|
|
19
19
|
COMMAND: 'COMMAND',
|
|
20
|
+
BIDICOMMAND: 'BIDI COMMAND',
|
|
20
21
|
DATA: 'DATA',
|
|
21
|
-
RESULT: 'RESULT'
|
|
22
|
+
RESULT: 'RESULT',
|
|
23
|
+
BIDIRESULT: 'BIDI RESULT'
|
|
22
24
|
};
|
|
23
25
|
const SERIALIZERS = [{
|
|
24
26
|
/**
|
|
@@ -30,7 +32,7 @@ const SERIALIZERS = [{
|
|
|
30
32
|
/**
|
|
31
33
|
* color commands blue
|
|
32
34
|
*/
|
|
33
|
-
matches: (log) => log === matches.COMMAND,
|
|
35
|
+
matches: (log) => log === matches.COMMAND || log === matches.BIDICOMMAND,
|
|
34
36
|
serialize: (log) => chalk.magenta(log)
|
|
35
37
|
}, {
|
|
36
38
|
/**
|
|
@@ -42,7 +44,7 @@ const SERIALIZERS = [{
|
|
|
42
44
|
/**
|
|
43
45
|
* color result cyan
|
|
44
46
|
*/
|
|
45
|
-
matches: (log) => log === matches.RESULT,
|
|
47
|
+
matches: (log) => log === matches.RESULT || log === matches.BIDIRESULT,
|
|
46
48
|
serialize: (log) => chalk.cyan(log)
|
|
47
49
|
}];
|
|
48
50
|
const loggers = log.getLoggers();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/logger",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.11.0",
|
|
4
4
|
"description": "A helper utility for logging of WebdriverIO packages",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-logger",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"chalk": "^5.1.2",
|
|
33
33
|
"loglevel": "^1.6.0",
|
|
34
34
|
"loglevel-plugin-prefix": "^0.8.4",
|
|
35
|
-
"strip-ansi": "^
|
|
35
|
+
"strip-ansi": "^7.1.0"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "6fa7ae486537cbd3f6dd9e3bcc1812eb0acc6262"
|
|
41
41
|
}
|