@wdio/logger 8.10.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.
@@ -1 +1 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAGA,OAAO,GAAG,MAAM,UAAU,CAAA;AA4G1B,iBAAwB,SAAS,CAAE,IAAI,EAAE,MAAM,cAwB9C;kBAxBuB,SAAS;;;;;;eAAT,SAAS;AAgFjC,MAAM,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,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.10.6",
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",
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "7ef166aa0e77e4efbb18fe627301403fcf514578"
40
+ "gitHead": "6fa7ae486537cbd3f6dd9e3bcc1812eb0acc6262"
41
41
  }