@wdio/logger 7.7.0 → 7.19.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.js CHANGED
@@ -81,7 +81,7 @@ const wdioLoggerMethodFactory = function (methodName, logLevel, loggerName) {
81
81
  }
82
82
  return arg;
83
83
  });
84
- const logText = strip_ansi_1.default(`${util_1.default.format.apply(this, args)}\n`);
84
+ const logText = (0, strip_ansi_1.default)(`${util_1.default.format.apply(this, args)}\n`);
85
85
  if (logFile && logFile.writable) {
86
86
  /**
87
87
  * empty logging cache if stuff got logged before
@@ -1 +1 @@
1
- {"version":3,"file":"web.d.ts","sourceRoot":"","sources":["../src/web.ts"],"names":[],"mappings":"AAIA,iBAAwB,SAAS,CAAE,SAAS,EAAE,MAAM,WAanD;kBAbuB,SAAS;;;;;;eAAT,SAAS"}
1
+ {"version":3,"file":"web.d.ts","sourceRoot":"","sources":["../src/web.ts"],"names":[],"mappings":"AAIA,iBAAwB,SAAS,CAAE,SAAS,EAAE,MAAM,WAcnD;kBAduB,SAAS;;;;;;eAAT,SAAS"}
package/build/web.js CHANGED
@@ -10,6 +10,7 @@ function getLogger(component) {
10
10
  // eslint-disable-next-line no-console
11
11
  if (console[prop]) {
12
12
  // eslint-disable-next-line no-console
13
+ // @ts-ignore
13
14
  acc[prop] = console[prop].bind(console, `${component}:`);
14
15
  }
15
16
  return acc;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@wdio/logger",
3
- "version": "7.7.0",
3
+ "version": "7.19.0",
4
4
  "description": "A helper utility for logging of WebdriverIO packages",
5
- "author": "Christian Bromann <christian@saucelabs.com>",
5
+ "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-logger",
7
7
  "license": "MIT",
8
8
  "main": "./build/node",
@@ -32,5 +32,5 @@
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "cd69ba9a9f2e471b1faeea623473ae6b511e59f3"
35
+ "gitHead": "a17ba0237dcbafa8f0215534c64ff9634caf4b43"
36
36
  }