@wdio/runner
Advanced tools
Comparing version 5.0.3 to 5.1.0
@@ -239,3 +239,3 @@ "use strict"; | ||
*/ | ||
!config.logDir || | ||
!config.outputDir || | ||
/** | ||
@@ -265,3 +265,3 @@ * the session wasn't killed during start up phase | ||
const stringLogs = logs.map(log => JSON.stringify(log)).join('\n'); | ||
return _util.default.promisify(_fs.default.writeFile)(_path.default.join(config.logDir, `wdio-${this.cid}-${logType}.log`), stringLogs, 'utf-8'); | ||
return _util.default.promisify(_fs.default.writeFile)(_path.default.join(config.outputDir, `wdio-${this.cid}-${logType}.log`), stringLogs, 'utf-8'); | ||
})); | ||
@@ -315,2 +315,2 @@ } | ||
exports.default = Runner; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJsb2ciLCJSdW5uZXIiLCJFdmVudEVtaXR0ZXIiLCJjb25zdHJ1Y3RvciIsImNvbmZpZ1BhcnNlciIsIkNvbmZpZ1BhcnNlciIsInNpZ2ludFdhc0NhbGxlZCIsInJ1biIsImNpZCIsImFyZ3YiLCJzcGVjcyIsImNhcHMiLCJjb25maWdGaWxlIiwic2VydmVyIiwiYWRkQ29uZmlnRmlsZSIsIm1lcmdlIiwiY29uZmlnIiwiZ2V0Q29uZmlnIiwibWFwIiwiYWRkU2VydmljZSIsInJlcG9ydGVyIiwiQmFzZVJlcG9ydGVyIiwiaW5XYXRjaE1vZGUiLCJCb29sZWFuIiwid2F0Y2giLCJicm93c2VyIiwiX2luaXRTZXNzaW9uIiwiX3NodXRkb3duIiwiaXNNdWx0aXJlbW90ZSIsImluZm8iLCJlbmRTZXNzaW9uIiwiZnJhbWV3b3JrIiwiZW1pdCIsInNlc3Npb25JZCIsImNhcGFiaWxpdGllcyIsImluc3RhbmNlcyIsInJlZHVjZSIsImJyb3dzZXJOYW1lIiwib3B0aW9ucyIsInByb3RvY29sIiwiaG9zdG5hbWUiL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QHBhcmFtICB7U3RyaW5nfSAgICBjb25maWdGaWxlICAgICBwYXRoIHRvIGNvbmZpZyBmaWxlIHRvIGdldCBjb25maWcgZnJvbVxuICAgICAqIEBwYXJhbSAge09iamVjdH0gICAgc2VydmVyICAgICAgICAgbW9kaWZpZWQgV2ViRHJpdmVyIHRhcmdldFxuICAgICAqIEByZXR1cm4ge1Byb21pc2V9ICAgICAgICAgICAgICAgICAgcmVzb2x2ZXMgaW4gbnVtYmVyIG9mIGZhaWx1cmVzIGZvciB0ZXN0cnVuXG4gICAgICovXG4gICAgYXN5bmMgcnVuICh7IGNpZCwgYXJndiwgc3BlY3MsIGNhcHMsIGNvbmZpZ0ZpbGUsIHNlcnZlciB9KSB7XG4gICAgICAgIHRoaXMuY2lkID0gY2lkXG4gICAgICAgIHRoaXMuc3BlY3MgPSBzcGVjc1xuICAgICAgICB0aGlzLmNhcHMgPSBjYXBzXG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIGFkZCBjb25maWcgZmlsZVxuICAgICAgICAgKi9cbiAgICAgICAgdGhpcy5jb25maWdQYXJzZXIuYWRkQ29uZmlnRmlsZShjb25maWdGaWxlKVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiBtZXJnZSBjbGkgYXJndW1lbnRzIGludG8gY29uZmlnXG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLmNvbmZpZ1BhcnNlci5tZXJnZShhcmd2KVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiBtZXJnZSBob3N0L3BvcnQgY2hhbmdlcyBieSBzZXJ2aWNlIGxhdW5jaGVyIGludG8gY29uZmlnXG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLmNvbmZpZ1BhcnNlci5tZXJnZShzZXJ2ZXIpXG5cbiAgICAgICAgdGhpcy5jb25maWcgPSB0aGlzLmNvbmZpZ1BhcnNlci5nZXRDb25maWcoKVxuICAgICAgICBpbml0aWFsaXNlU2VydmljZXModGhpcy5jb25maWcsIGNhcHMpLm1hcCg6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HV0ZG93bigwKVxuICAgICAgICB9XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIGluaXRpYWxpc2UgZnJhbWV3b3JrXG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLmZyYW1ld29yayA9IGluaXRpYWxpc2VQbHVnaW4odGhpcy5jb25maWcuZnJhbWV3b3JrLCAnZnJhbWV3b3JrJylcblxuICAgICAgICAvKipcbiAgICAgICAgICogaW5pdGlhbGlzYXRpb24gc3VjY2Vzc2Z1bCwgc2VuZCBzdGFydCBtZXNzYWdlXG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLnJlcG9ydGVyLmVtaXQoJ3J1bm5lcjpzdGFydCcsIHtcbiAgICAgICAgICAgIGNpZCxcbiAgICAgICAgICAgIHNwZWNzLFxuICAgICAgICAgICAgY29uZmlnOiB0aGlzLmNvbmZpZyxcbiAgICAgICAgICAgIGlzTXVsdGlyZW1vdGUsXG4gICAgICAgICAgICBzZXNzaW9uSWQ6IGJyb3dzZXIuc2Vzc2lvbklkLFxuICAgICAgICAgICAgY2FwYWJpbGl0aWVzOiBpc011bHRpcmVtb3RlXG4gICAgICAgICAgICAgICAgPyBicm93c2VyLmluc3RhbmNlcy5yZWR1Y2UoKGNhcHMsIGJyb3dzZXJOYW1lKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGNhcHNbYnJvd3Nlck5hbWVdID0gYnJvd3Nlclticm93c2VyTmFtZV0uY2FwYWJpbGl0aWVzXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBjYXBzXG4gICAgICAgICAgICAgICAgfSwge30pXG4gICAgICAgICAgICAgICAgOiBicm93c2VyLm9wdGlvbnMuY2FwYWJpbGl0aWVzXG4gICAgICAgIH0pXG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIHJlcG9ydCBzZXNzaW9uSWQgYW5kIHRhcmdldCBjb25uZWN0aW9uIGluZm9ybWF0aW9uIHRvIHdvcmtlclxuICAgICAgICAgKi9cbiAgICAgICAgY29uc3Qgey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XG4gICAgICAgICAgICB0aGlzLmVtaXQoJ2Vycm9yJywgZSlcbiAgICAgICAgICAgIHJldHVybiBicm93c2VyXG4gICAgICAgIH1cblxuICAgICAgICBicm93c2VyLmNvbmZpZyA9IGNvbmZpZ1xuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiByZWdpc3RlciBnbG9iYWwgaGVscGVyIG1ldGhvZCB0byBmZXRjaCBlbGVtZW50c1xuICAgICAgICAgKi9cbiAgICAgICAgZ2xvYmFsLiQgPSAoc2VsZWN0b3IpID0+IGJyb3dzZXIuJChzZWxlY3RvcilcbiAgICAgICAgZ2xvYmFsLiQkID0gKHNlbGVjdG9yKSA9PiBicm93c2VyLiQkKHNlbGVjdG9yKVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiByZWdpc3RlciBjb21tYW5kIGV2ZW50XG4gICAgICAgICAqL1xuICAgICAgICBicm93c2VyLm9uKCdjb21tYW5kJywgKGNvbW1hbmQpID0+IHRoaXMucmVwb3J0ZXIuZW1pdChcbiAgICAgICAgICAgICdjbGllbnQ6YmVmb3JlQ29tbWFuZCcsXG4gICAgICAgICAgICBPYmplY3QuYXNzaWduKGNvbW1hbmQsIHsgc2Vzc2lvbklkOiBicm93c2VyLnNlc3Npb25JZCB9KVxuICAgICAgICApKVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiByZWdpc3RlciByZXN1bHQgZXZlbnRcbiAgICAgICAgICovXG4gICAgICAgIGJyb3dzZXIub24oJ3Jlc3VsdCcsIChyZXN1bHQpID0+IHRoaXMucmVwb3J0ZXIuZW1pdChcbiAgICAgICAgICAgICdjbGllbnQ6YWZ0ZXJDb21tYW5kJyxcbiAgICAgICAgICAgIE9iamVjdC5hc3NpZ24ocmVzdWx0LCB7IHNlc3Npb25JZDogYnJvd3Nlci5zZXNzaW9uSWQgfSlcbiAgICAgICAgKSlcblxuICAgICAgICByZXR1cm4gYnJvd3NlclxuICAgIH1cblxuICAgIC8qKlxuICAgICAqIGZldGNoIGxv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uc3QgYnJvd3NlciA9IGF3YWl0IHRoaXMuX2luaXRTZXNzaW9uKHRoaXMuY29uZmlnLCB0aGlzLmNhcHMpXG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIHJldHVybiBpZiBzZXNzaW9uIGluaXRpYWxpc2F0aW9uIGZhaWxlZFxuICAgICAgICAgKi9cbiAgICAgICAgaWYgKCFicm93c2VyKSB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5fc2h1dGRvd24oMSlcbiAgICAgICAgfVxuXG4gICAgICAgIGNvbnN0IGlzTXVsdGlyZW1vdGUgPSBCb29sZWFuKGJyb3dzZXIuaXNNdWx0aXJlbW90ZSlcblxuICAgICAgICAvKipcbiAgICAgICAgICoga2lsbCBzZXNzaW9uIG9mIFNJR0lOVCBzaWduYWwgc2hvd2VkIHVwIHdoaWxlIHRyeWluZyB0b1xuICAgICAgICAgKiBnZXQgYSBzZXNzaW9uIElEXG4gICAgICAgICAqL1xuICAgICAgICBpZiAodGhpcy5zaWdpbnRXYXNDYWxsZWQpIHtcbiAgICAgICAgICAgIGxvZy5pbmZvKCdTSUdJTlQgc2lnbmFsIGRldGVjdGVkIHdoaWxlIHN0YXJ0aW5nIHNlc3Npb24sIHNodXR0aW5nIGRvd24uLi4nKVxuICAgICAgICAgICAgYXdhaXQgdGhpcy5lbmRTZXNzaW9uKClcbiAgICAgICAgICAgIHJldHVybiB0aGlzLl9zaHV0ZG93bigwKVxuICAgICAgICB9XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIGluaXRpYWxpc2UgZnJhbWV3b3JrXG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLmZyYW1ld29yayA9IGluaXRpYWxpc2VQbHVnaW4odGhpcy5jb25maWcuZnJhbWV3b3JrLCAnZnJhbWV3b3JrJylcblxuICAgICAgICAvKipcbiAgICAgICAgICogaW5pdGlhbGlzYXRpb24gc3VjY2Vzc2Z1bCwgc2VuZCBzdGFydCBtZXNzYWdlXG4gICAgICAgICAqL1xuICAgICAgICB0aGlzLnJlcG9ydGVyLmVtaXQoJ3J1bm5lcjpzdGFydCcsIHtcbiAgICAgICAgICAgIGNpZCxcbiAgICAgICAgICAgIHNwZWNzLFxuICAgICAgICAgICAgY29uZmlnOiB0aGlzLmNvbmZpZyxcbiAgICAgICAgICAgIGlzTXVsdGlyZW1vdGUsXG4gICAgICAgICAgICBzZXNzaW9uSWQ6IGJyb3dzZXIuc2Vzc2lvbklkLFxuICAgICAgICAgICAgY2FwYWJpbGl0aWVzOiBpc011bHRpcmVtb3RlXG4gICAgICAgICAgICAgICAgPyBicm93c2VyLmluc3RhbmNlcy5yZWR1Y2UoKGNhcHMsIGJyb3dzZXJOYW1lKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGNhcHNbYnJvd3Nlck5hbWVdID0gYnJvd3Nlclticm93c2VyTmFtZV0uY2FwYWJpbGl0aWVzXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBjYXBzXG4gICAgICAgICAgICAgICAgfSwge30pXG4gICAgICAgICAgICAgICAgOiBicm93c2VyLm9wdGlvbnMuY2FwYWJpbGl0aWVzXG4gICAgICAgIH0pXG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIHJlcG9ydCBzZXNzaW9uSWQgYW5kIHRhcmdldCBjb25uZWN0aW9uIGluZm9ybWF0aW9uIHRvIHdvcmtlclxuICAgICAgICAgKi9cbiAgICAgICAgY29uc3QgeyBwcm90b2NvbCwgaG9zdG5hbWUsIHBvcnQsIHBhdGgsIHF1ZXJ5UGFyYW1zIH0gPSBicm93c2VyLm9wdGlvbnNcbiAgICAgICAgY29uc3QgeyBpc1czQywgc2Vzc2lvbklkIH0gPSBicm93c2VyXG4gICAgICAgIHByb2Nlc3Muc2VuZCh7XG4gICAgICAgICAgICBvcmlnaW46ICd3b3JrZXInLFxuICAgICAgICAgICAgbmFtZTogJ3Nlc3Npb25TdGFydGVkJyxcbiAgICAgICAgICAgIGNvbnRlbnQ6IHsgc2Vzc2lvbklkLCBpc1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dGRvd24oZmFpbHVyZXMpXG4gICAgICAgIHJldHVybiBmYWlsdXJlc1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIGluaXQgV2ViRHJpdmVyIHNlc3Npb25cbiAgICAgKiBAcGFyYW0gIHtvYmplY3R9ICBjb25maWcgICAgICAgIGNvbmZpZ3VyYXRpb24gb2Ygc2Vzc2lvbnNcbiAgICAgKiBAcGFyYW0gIHtPYmplY3R9ICBjYXBzICAgICAgICAgIGRlc2lyZWQgY2FiaWxpdGllcyBvZiBzZXNzaW9uXG4gICAgICogQHJldHVybiB7UHJvbWlzZX0gICAgICAgICAgICAgICByZXNvbHZlcyB3aXRoIGJyb3dzZXIgb2JqZWN0IG9yIG51bGwgaWYgc2Vzc2lvbiBjb3VsZG4ndCBnZXQgZXN0YWJsaXNoZWRcbiAgICAgKi9cbiAgICBhc3luYyBfaW5pdFNlc3Npb24gKGNvbmZpZywgY2Fwcykge1xuICAgICAgICBsZXQgYnJvd3NlciA9IG51bGxcblxuICAgICAgICB0cnkge1xuICAgICAgICAgICAgYnJvd3NlciA9IGdsb2JhbC5icm93c2VyID0gZ2xvYmFsLmRyaXZlciA9IGF3YWl0IGluaXRpYWxpc2VJbnN0YW5jZShjb25maWcsIGNhcHMsIHRoaXMuaXNNdWx0aXJlbW90ZSlcbiAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgbG9nLmVycm9yKGUpXG4gICAgICAgICAgICB0aGlzLmVtaXQoJ2Vycm9yJywgZSlcbiAgICAgICAgICAgIHJldHVybiBicm93c2VyXG4gICAgICAgIH1cblxuICAgICAgICBicm93c2VyLmNvbmZpZyA9IGNvbmZpZ1xuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiByZWdpc3RlciBnbG9iYWwgaGVscGVyIG1ldGhvZCB0byBmZXRjaCBlbGVtZW50c1xuICAgICAgICAgKi9cbiAgICAgICAgZ2xvYmFsLiQgPSAoc2VsZWN0b3IpID0+IGJyb3dzZXIuJChzZWxlY3RvcilcbiAgICAgICAgZ2xvYmFsLiQkID0gKHNlbGVjdG9yKSA9PiBicm93c2VyLiQkKHNlbGVjdG9yKVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiByZWdpc3RlciBjb21tYW5kIGV2ZW50XG4gICAgICAgICAqL1xuICAgICAgICBicm93c2VyLm9uKCdjb21tYW5kJywgKGNvbW1hbmQpID0+IHRoaXMucmVwb3J0ZXIuZW1pdChcbiAgICAgICAgICAgICdjbGllbnQ6YmVmb3JlQ29tbWFuZCcsXG4gICAgICAgICAgICBPYmplY3QuYXNzaWduKGNvbW1hbmQsIHsgc2Vzc2lvbklkOiBicm93c2VyLnNlc3Npb25JZCB9KVxuICAgICAgICApKVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiByZWdpc3RlciByZXN1bHQgZXZlbnRcbiAgICAgICAgICovXG4gICAgICAgIGJyb3dzZXIub24oJ3Jlc3VsdCcsIChyZXN1bHQpID0+IHRoaXMucmVwb3J0ZXIuZW1pdChcbiAgICAgICAgICAgICdjbGllbnQ6YWZ0ZXJDb21tYW5kJyxcbiAgICAgICAgICAgIE9iamVjdC5hc3NpZ24ocmVzdWx0LCB7IHNlc3Npb25JZDogYnJvd3Nlci5zZXNzaW9uSWQgfSlcbiAgICAgICAgKSlcblxuICAgICAgICByZXR1cm4gYnJvd3NlclxuICAgIH1cblxuICAgIC8qKlxuICAgICAqIGZldGNoIGxvZ3MgcHJvdmlkZWQgYnkgYnJvd3NlciBkcml2ZXJcbiAgICAgKi9cbiAgICBhc3luYyBfZmV0Y2hEcml2ZXJMb2dzIChjb25maWcpIHtcbiAgICAgICAgLyoqXG4gICAgICAgICAqIG9ubHkgZmV0Y2ggbG9ncyBpZlxuICAgICAgICAgKi9cbiAgICAgICAgaWYgKFxuICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgKiBhIGxvZyBkaXJlY3RvcnkgaXMgZ2l2ZW4gaW4gY29uZmlnXG4gICAgICAgICAgICAgKi9cbiAgICAgICAg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xuICAgICAgICAgICAgcmV0dXJuXG4gICAgICAgIH1cblxuICAgICAgICAvKipcbiAgICAgICAgICogaWYgc2h1dGRvd24gd2FzIGNhbGxlZCBidXQgbm8gc2Vzc2lvbiB3YXMgY3JlYXRlZCwgd2FpdCB1bnRpbCBpdCB3YXNcbiAgICAgICAgICogYW5kIHRyeSB0byBlbmQgaXRcbiAgICAgICAgICovXG4gICAgICAgIGlmIChzaHV0ZG93biAmJiAoIWdsb2JhbC5icm93c2VyIHx8ICFnbG9iYWwuYnJvd3Nlci5zZXNzaW9uSWQpKSB7XG4gICAgICAgICAgICBhd2FpdCBuZXcgUHJvbWlzZSgocmVzb2x2ZSkgPT4gc2V0VGltZW91dChyZXNvbHZlLCAyNTApKVxuICAgICAgICAgICAgcmV0dXJuIHRoaXMuZW5kU2Vzc2lvbihzaHV0ZG93bilcbiAgICAgICAgfVxuXG4gICAgICAgIGF3YWl0IGdsb2JhbC5icm93c2VyLmRlbGV0ZVNlc3Npb24oKVxuICAgICAgICBkZWxldGUgZ2xvYmFsLmJyb3dzZXIuc2Vzc2lvbklkXG5cbiAgICAgICAgYXdhaXQgcnVuSG9vaygnYWZ0ZXJTZXNzaW9uJywgZ2xvYmFsLmJyb3dzZXIuY29uZmlnLCB0aGlzLmNhcHMsIHRoaXMuc3BlY3MpXG5cbiAgICAgICAgaWYgKHNodXRkb3duKSB7XG4gICAgICAgICAgICBhd2FpdCB0aGlzLl9zaHV0ZG93bigpXG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0= |
@@ -62,7 +62,7 @@ "use strict"; | ||
getLogFile(name) { | ||
if (!this.config.logDir) { | ||
if (!this.config.outputDir) { | ||
return; | ||
} | ||
return _path.default.join(this.config.logDir, `wdio-${this.cid}-${name}-reporter.log`); | ||
return _path.default.join(this.config.outputDir, `wdio-${this.cid}-${name}-reporter.log`); | ||
} | ||
@@ -193,2 +193,2 @@ /** | ||
exports.default = BaseReporter; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64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gICAgICAgICAgICAgIG9yaWdpbjogJ3JlcG9ydGVyJyxcbiAgICAgICAgICAgICAgICBuYW1lOiByZXBvcnRlcixcbiAgICAgICAgICAgICAgICBjb250ZW50XG4gICAgICAgICAgICB9KVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogd2FpdCBmb3IgcmVwb3J0ZXIgdG8gZmluaXNoIHN5bmNocm9uaXphdGlvbiwgZS5nLiB3aGVuIHNlbmRpbmcgZGF0YSBhc3luY2hyb25vdXNcbiAgICAgKiB0byBhIHNlcnZlciAoZS5nLiBzdW1vIHJlcG9ydGVyKVxuICAgICAqL1xuICAgIHdhaXRGb3JTeW5jICgpIHtcbiAgICAgICAgY29uc3Qgc3RhcnRUaW1lID0gRGF0ZS5ub3coKVxuICAgICAgICByZXR1cm4gbmV3IFByb21pc2UoKHJlc29sdmUsIHJlamVjdCkgPT4ge1xuICAgICAgICAgICAgY29uc3QgaW50ZXJ2YWwgPSBzZXRJbnRlcnZhbCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgY29uc3QgdW5zeW5jZWRSZXBvcnRlciA9IHRoaXMucmVwb3J0ZXJzXG4gICAgICAgICAgICAgICAgICAgIC5maWx0ZXIoKHJlcG9ydGVyKSA9PiAhcmVwb3J0ZXIuaXNTeW5jaHJvbmlzZWQpXG4gICAgICAgICAgICAgICAgICAgIC5tYXAoKHJlcG9ydGVyKSA9PiByZXBvcnRlci5jb25zdHJ1Y3Rvci5uYW1lKVxuXG4gICAgICAgICAgICAgICAgaWYgKChEYXRlLm5vdygpIC0gc3RhcnRUaW1lKSA+IHRoaXMucmVwb3J0ZXJTeW5jVGltZW91dCAmJiB1bnN5bmNlZFJlcG9ydGVyLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICBjbGVhckludGVydmFsKGludGVydmFsKVxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gcmVqZWN0KG5ldyBFcnJvcihgU29tZSByZXBvcnRlcnMgYXJlIHN0aWxsIHVuc3luY2VkOiAke3Vuc3luY2VkUmVwb3J0ZXIuam9pbignLCAnKX1gKSlcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAgICAgKiBubyByZXBvcnRlciBhcmUgaW4gbmVlZCB0byBzeW5jIGFueW1vcmUsIGNvbnRpbnVlXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgaWYgKCF1bnN5bmNlZFJlcG9ydGVyLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICBjbGVhckludGVydmFsKGludGVydmFsKVxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gcmVzb2x2ZSh0cnVlKVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGxvZy5pbmZvKGBXYWl0IGZvciAke3Vuc3luY2VkUmVwb3J0ZXIubGVuZ3RofSByZXBvcnRlciB0byBzeW5jaHJvbmlzZWApXG4gICAgICAgICAgICAgICAgLy8gd2FpdCBvdGhlcndpc2VcbiAgICAgICAgICAgIH0sIHRoaXMucmVwb3J0ZXJTeW5jSW50ZXJ2YWwpXG4gICAgICAgIH0pXG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogaW5pdGlhbGlzZSByZXBvcnRlcnNcbiAgICAgKi9cbiAgICBpbml0UmVwb3J0ZXIgKHJlcG9ydGVyKSB7XG4gICAgICAgIGxldCBSZXBvcnRlckNsYXNzXG4gICAgICAgIGxldCBvcHRpb25zID0ge1xuICAgICAgICAgICAgbG9nTGV2ZWw6IHRoaXMuY29uZmlnLmxvZ0xldmVsLFxuICAgICAgICAgICAgc2V0TG9nRmlsZTogTk9PUFxuICAgICAgICB9XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIGNoZWNrIGlmIHJlcG9ydGVyIGhhcyBjdXN0b20gb3B0aW9uc1xuICAgICAgICAgKi9cbiAgICAgICAgaWYgKEFycmF5LmlzQXJyYXkocmVwb3J0ZXIpKSB7XG4gICAgICAgICA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ylcbiAgICAgICAgfVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiB0aHJvdyBlcnJvciBpZiByZXBvcnRlciBwcm9wZXJ0eSB3YXMgaW52YWxpZFxuICAgICAgICAgKi9cbiAgICAgICAgdGhyb3cgbmV3IEVycm9yKCdJbnZhbGlkIHJlcG9ydGVycyBjb25maWcnKVxuICAgIH1cbn1cbiJdfQ== | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXBvcnRlci5qcyJdLCJuYW1lcyI6WyJsb2ciLCJOT09QIiwiREVGQVVMVF9TWU5DX1RJTUVPVVQiLCJERUZBVUxUX1NZTkNfSU5URVJWQUwiLCJCYXNlUmVwb3J0ZXIiLCJjb25zdHJ1Y3RvciIsImNvbmZpZyIsImNpZCIsInJlcG9ydGVycyIsIm1hcCIsImluaXRSZXBvcnRlciIsInJlcG9ydGVyU3luY0ludGVydmFsIiwicmVwb3J0ZXJTeW5jVGltZW91dCIsImVtaXQiLCJlIiwicGF5bG9hZCIsImZvckVhY2giLCJyZXBvcnRlciIsImdldExvZ0ZpbGUiLCJuYW1lIiwib3V0cHV0RGlyIiwicGF0aCIsImpvaW4iLCJnZXRXcml0ZVN0cmVhbU9iamVjdCIsIndyaXRlIiwiY29udGVudCIsInByb2Nlc3MiLCJzZW5kIiwib3JpZ2luIiwid2FpdEZvclN5bmMiLCJzdGFydFRpbWUiLCJEYXRlIiwibm93IiwiUHJvbWlzZSIsInJlc29sdmUiLCJyZWplY3QiLCJpbnRlcnZhbCIsInNldEludGVydmFsIiwidW5zeW5jZWRSZXBvcnRlciIsImZpbHRlciIsImlzU3luY2hyb25pc2VkIiwibGVuZ3RoIiwiY2xlYXJJbnRlcnZhbCIsIkVycm9yIiwiaW5mbyIsIlJlcG9ydGVyQ2xhc3MiLCJvcHRpb25zIiwibG9nTGV2ZWwiLCJzZXRMb2dGaWxlIiwiQXJyYXkiLCJpc0Fyc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ICAgICAgaWYgKChEYXRlLm5vdygpIC0gc3RhcnRUaW1lKSA+IHRoaXMucmVwb3J0ZXJTeW5jVGltZW91dCAmJiB1bnN5bmNlZFJlcG9ydGVyLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICBjbGVhckludGVydmFsKGludGVydmFsKVxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gcmVqZWN0KG5ldyBFcnJvcihgU29tZSByZXBvcnRlcnMgYXJlIHN0aWxsIHVuc3luY2VkOiAke3Vuc3luY2VkUmVwb3J0ZXIuam9pbignLCAnKX1gKSlcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAgICAgKiBubyByZXBvcnRlciBhcmUgaW4gbmVlZCB0byBzeW5jIGFueW1vcmUsIGNvbnRpbnVlXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgaWYgKCF1bnN5bmNlZFJlcG9ydGVyLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICBjbGVhckludGVydmFsKGludGVydmFsKVxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gcmVzb2x2ZSh0cnVlKVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGxvZy5pbmZvKGBXYWl0IGZvciAke3Vuc3luY2VkUmVwb3J0ZXIubGVuZ3RofSByZXBvcnRlciB0byBzeW5jaHJvbmlzZWApXG4gICAgICAgICAgICAgICAgLy8gd2FpdCBvdGhlcndpc2VcbiAgICAgICAgICAgIH0sIHRoaXMucmVwb3J0ZXJTeW5jSW50ZXJ2YWwpXG4gICAgICAgIH0pXG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogaW5pdGlhbGlzZSByZXBvcnRlcnNcbiAgICAgKi9cbiAgICBpbml0UmVwb3J0ZXIgKHJlcG9ydGVyKSB7XG4gICAgICAgIGxldCBSZXBvcnRlckNsYXNzXG4gICAgICAgIGxldCBvcHRpb25zID0ge1xuICAgICAgICAgICAgbG9nTGV2ZWw6IHRoaXMuY29uZmlnLmxvZ0xldmVsLFxuICAgICAgICAgICAgc2V0TG9nRmlsZTogTk9PUFxuICAgICAgICB9XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIGNoZWNrIGlmIHJlcG9ydGVyIGhhcyBjdXN0b20gb3B0aW9uc1xuICAgICAgICAgKi9cbiAgICAgICAgaWYgKEFycmF5LmlzQXJyYXkocmVwb3J0ZXIpKSB7XG4gICAgICAgICAgICBvcHRpb25zID0gT2JqZWN0LmFzc2lnbihvcHRpb25zLCByZXBvcnRlclsxXSlcbiAgICAgICAgICAgIHJlcG9ydGVyID0gcmVwb3J0ZXJbMF1cbiAgICAgICAgfVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiBjaGVjayBpZiByZXBvcnRlciB3YXMgcGFzc2VkIGluIGZyb20gYSBmaWxlLCBlLmcuXG4gICAgICAgICAqXG4gICAgICAgICAqIGBgYGpzXG4gICAgICAgICAqIGNvbnN0IE15Q3VzdG9tZVJlcG9ydGVyID0gcmVxdWlyZSgnL3NvbWUvcGF0aC9NeUN1c3RvbWVSZXBvcnRlci5qcycpXG4gICAgICAgICAqIGV4cG9ydC5jb25maWcgPSB7XG4gICAgICAgICAqICAgICAvLy4uLlxuICAgICAgICAgKiAgICAgcmVwb3J0ZXJzOiBbXG4gICAgICAgICAqICAgICAgICAgTXlDdXN0b21lUmVwb3J0ZXIsIC8vIG9yXG4gICAgICAgICAqICAgICAgICAgW015Q3VzdG9tZVJlcG9ydGVyLCB7IGN1c3RvbTogJ29wdGlvbicgfV1cbiAgICAgICAgICogICAgIF1cbiAgICAgICAgICogICAgIC8vLi4uXG4gICAgICAgICAqIH1cbiAgICAgICAgICogYGBgXG4gICAgICAgICAqL1xuICAgICAgICBpZiAodHlwZW9mIHJlcG9ydGVyID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgICAgICBSZXBvcnRlckNsYXNzID0gcmVwb3J0ZXJcbiAgICAgICAgICAgIGNvbn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cilcbiAgICAgICAgICAgIG9wdGlvbnMubG9nRmlsZSA9IGN1c3RvbUxvZ0ZpbGUgfHwgdGhpcy5nZXRMb2dGaWxlKHJlcG9ydGVyKVxuICAgICAgICAgICAgb3B0aW9ucy53cml0ZVN0cmVhbSA9IHRoaXMuZ2V0V3JpdGVTdHJlYW1PYmplY3QocmVwb3J0ZXIpXG4gICAgICAgICAgICByZXR1cm4gbmV3IFJlcG9ydGVyQ2xhc3Mob3B0aW9ucylcbiAgICAgICAgfVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiB0aHJvdyBlcnJvciBpZiByZXBvcnRlciBwcm9wZXJ0eSB3YXMgaW52YWxpZFxuICAgICAgICAgKi9cbiAgICAgICAgdGhyb3cgbmV3IEVycm9yKCdJbnZhbGlkIHJlcG9ydGVycyBjb25maWcnKVxuICAgIH1cbn1cbiJdfQ== |
{ | ||
"name": "@wdio/runner", | ||
"version": "5.0.3", | ||
"version": "5.1.0", | ||
"description": "A WebdriverIO service that runs tests in arbitrary environments", | ||
@@ -33,11 +33,12 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
"dependencies": { | ||
"@wdio/config": "^5.0.3", | ||
"@wdio/config": "^5.1.0", | ||
"@wdio/logger": "^5.0.3", | ||
"deepmerge": "^2.0.1", | ||
"gaze": "^1.1.2", | ||
"webdriverio": "^5.0.3" | ||
"webdriverio": "^5.1.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
}, | ||
"gitHead": "db1fd4728453075c5c549e755a3e5685ad85284e" | ||
} |
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
0
59116
5
Updated@wdio/config@^5.1.0
Updatedwebdriverio@^5.1.0