Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wdio/cli

Package Overview
Dependencies
Maintainers
3
Versions
658
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/cli - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

6

build/interface.js

@@ -258,5 +258,9 @@ "use strict";

reset() {
this.interface.reset();
}
}
exports.default = WDIOCLInterface;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbnRlcmZhY2UuanMiXSwibmFtZXMiOlsibG9nIiwiY2xvY2tTcGlubmVyIiwiY2xpU3Bpbm5lcnMiLCJNQVhfUlVOTklOR19KT0JTX0RJU1BMQVlfQ09VTlQiLCJXRElPQ0xJbnRlcmZhY2UiLCJFdmVudEVtaXR0ZXIiLCJjb25zdHJ1Y3RvciIsImNvbmZpZyIsInNwZWNzIiwidG90YWxXb3JrZXJDbnQiLCJoYXNBbnNpU3VwcG9ydCIsImNoYWxrIiwic3VwcG9ydHNDb2xvciIsImhhc0Jhc2ljIiwic2lnaW50VHJpZ2dlcmVkIiwiaW50ZXJmYWNlIiwiQ0xJbnRlcmZhY2UiLCJvbiIsImFkZEpvYiIsImNsZWFySm9iIiwic2V0dXAiLCJjbG9ja1RpbWVyIiwiam9icyIsIk1hcCIsInN0YXJ0IiwiRGF0ZSIsIm5vdyIsInJlc3VsdCIsImZpbmlzaGVkIiwicGFzc2VkIiwiZmFpbGVkIiwibWVzc2FnZXMiLCJyZXBvcnRlciIsIndvcmtlciIsImNsZWFyQnVmZmVyIiwiY2lkIiwiY2FwcyIsInNldCIsInVwZGF0ZVZpZXciLCJkZWxldGUiLCJvbk1lc3NhZ2UiLCJldmVudCIsIm9yaWdpbiIsIm5hbWUiLCJjbGVhclRpbWVvdXQiLCJpbnRlcnZhbCIsImNsZWFyQWxsIiwiaW5EZWJ1Z01vZGU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VuZCcsIDo6dGhpcy5jbGVhckpvYilcblxuICAgICAgICB0aGlzLnNldHVwKClcbiAgICB9XG5cbiAgICBzZXR1cCAoKSB7XG4gICAgICAgIHRoaXMuY2xvY2tUaW1lciA9IDBcbiAgICAgICAgdGhpcy5qb2JzID0gbmV3IE1hcCgpXG4gICAgICAgIHRoaXMuc3RhcnQgPSBEYXRlLm5vdygpXG4gICAgICAgIHRoaXMucmVzdWx0ID0ge1xuICAgICAgICAgICAgZmluaXNoZWQ6IDAsXG4gICAgICAgICAgICBwYXNzZWQ6IDAsXG4gICAgICAgICAgICBmYWlsZWQ6IDBcbiAgICAgICAgfVxuICAgICAgICB0aGlzLm1lc3NhZ2VzID0ge1xuICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgKiBtZXNzYWdlcyBmcm9tIHdvcmtlciByZXBvcnRlcnNcbiAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgcmVwb3J0ZXI6IHt9LFxuICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgKiBtZXNzYWdlcyBmcm9tIHdvcmtlciBpdHNlbGZcbiAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgd29ya2VyOiB7fVxuICAgICAgICB9XG4gICAgICAgIHRoaXMuaW50ZXJmYWNlLmNsZWFyQnVmZmVyKClcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBhZGQgam9iIHRvIGludGVyZmFjZVxuICAgICAqL1xuICAgIGFkZEpvYih7IGNpZCwgY2Fwcywgc3BlY3MgfSkge1xuICAgICAgICB0aGlzLmpvYnMuc2V0KGNpZCwgeyBjYXBzLCBzcGVjcyB9KVxuICAgICAgICB0aGlzLnVwZGF0ZVZpZXcoKVxuICAgIH1cblxuICAgIC8qKlxuICAgICAqIGNsZWFyIGpvYiBmcm9tIGludGVyZmFjZVxuICAgICAqL1xuICAgIGNsZWFySm9iICh7IGNpZCwgcGFzc2VkIH0pIHtcbiAgICAgICAgdGhpcy5qb2JzLmRlbGV0ZShjaWQpXG4gICAgICAgIHRoaXMucmVzdWx0LmZpbmlzaGVkKytcblxuICAgICAgICBpZiAocGFzc2VkKSB7XG4gICAgICAgICAgICB0aGlzLnJlc3VsdC5wYXNzZWQrK1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgdGhpcy5yZXN1bHQuZmFpbGVkKytcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMudXBkYXRlVmlldyh0cnVlKVxuICAgIH1cblxuICAgIC8qKlxuICAgICAqIGV2ZW50IGhhbmRsZXIgdGhhdCBpcyB0cmlnZ2VyZWQgd2hlbiBydW5uZXIgc2VuZHMgdXAgZXZlbnRzXG4gICAgICovXG4gICAgb25NZXNzYWdlIChldmVudCkge1xuICAgICAgICBpZiAoZXZlbnQub3JpZ2luID09PSAnZGVidWdnZXInICYmIGV2ZW50Lm5hbWUgPT09ICdzdGFydCcpIHtcbiAgICAgICAgICAgIGNsZWFyVGltZW91dCh0aGlzLmludGVydmFsKVxuICAgICAgICAgICAgdGhpcy5pbnRlcmZhY2UuY2xlYXJBbGwoKVxuICAgICAgICAgICAgdGhpcy5pbnRlcmZhY2UuaW5EZWJ1Z01vZGUgPSB0cnVlXG4gICAgICAgICAgICB0aGlzLmludGVyZmFjZS5sb2coY2hhbGsueWVsbG93KGV2ZW50LnBhcmFtcy5pbnRyb01lc3NhZ2UpKVxuICAgICAgICB9XG5cbiAgICAgICAgaWYgKGV2ZW50Lm9yaWdpbiA9PT0gJ2RlYnVnZ2VyJyAmJiBldmVudC5uYW1lID09PSAnc3RvcCcpIHtcbiAgICAgICAgICAgIHRoaXMuaW50ZXJmYWNlLmluRGVidWdNb2RlID0gZmFsc2VcbiAgICAgICAgICAgIHRoaXMuc2lnaW50VHJpZ2dlcmVkID0gZmFsc2VcbiAgICAgICAgICAgIHJldHVybiB0aGlzLnVwZGF0ZVZpZXcoKVxuICAgICAgICB9XG5cbiAgICAgICAgaWYgKCFldmVudC5vcmlnaW4gfHwgIXRoaXMubWVzc2FnZXNbZX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09PSAwXG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIGNoZWNrIGlmIGVudmlyb25tZW50IHN1cHBvcnRzIGFuc2kgYW5kIHByaW50IGEgbGltaXRlZCB1cGRhdGUgaWYgbm90XG4gICAgICAgICAqL1xuICAgICAgICBpZiAoIXRoaXMuaGFzQW5zaVN1cHBvcnQgJiYgIWlzRmluaXNoZWQpIHtcbiAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICogb25seSB1cGRhdGUgaWYgYSBqb2IgZmluaXNoZXNcbiAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgaWYgKCF3YXNKb2JDbGVhcmVkKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuXG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGNvbnN0IGNsb2NrU3Bpbm5lclN5bWJvbCA9IHRoaXMuZ2V0Q2xvY2tTeW1ib2woKVxuICAgICAgICAgICAgcmV0dXJuIHRoaXMuaW50ZXJmYWNlLmxvZyhcbiAgICAgICAgICAgICAgICBgJHtjbG9ja1NwaW5uZXJTeW1ib2x9IGAgK1xuICAgICAgICAgICAgICAgIGAke3RoaXMuam9icy5zaXplfSBydW5uaW5nLCBgICtcbiAgICAgICAgICAgICAgICBgJHt0aGlzLnJlc3VsdC5wYXNzZWR9IHBhc3NlZCwgYCArXG4gICAgICAgICAgICAgICAgYCR7dGhpcy5yZXN1bHQuZmFpbGVkfSBmYWlsZWQsIGAgK1xuICAgICAgICAgICAgICAgIGAke3RvdGFsSm9ic30gdG90YWwgYCArXG4gICAgICAgICAgICAgICAgYCgke01hdGgucm91bmQoKHRoaXMucmVzdWx0LmZpbmlzaGVkIC8gdG90YWxKb2JzKSAqIDEwMCl9JSBjb21wbGV0ZWQpYClcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuaW50ZXJmYWNlLmNsZWFyQWxsKClcbiAgICAgICAgdGhpcy5pbnRlcmZhY2UubG9nKClcblxuICAgICAgICAvKipcbiAgICAgICAgICogcHJ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AgICAgICAgIGNvbnN0IGxvZ1N0cmluZyA9IFtdXG4gICAgICAgICAgICBpZiAocnVubmluZ0pvYnMgPiBNQVhfUlVOTklOR19KT0JTX0RJU1BMQVlfQ09VTlQpIHtcbiAgICAgICAgICAgICAgICBsb2dTdHJpbmcucHVzaChcbiAgICAgICAgICAgICAgICAgICAgcnVubmluZ0pvYnMgLSBNQVhfUlVOTklOR19KT0JTX0RJU1BMQVlfQ09VTlQsXG4gICAgICAgICAgICAgICAgICAgICdydW5uaW5nIHRlc3RzJyArIChwZW5kaW5nSm9icyA/ICcgLScgOiAnJykpXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAocGVuZGluZ0pvYnMpIHtcbiAgICAgICAgICAgICAgICBsb2dTdHJpbmcucHVzaChwZW5kaW5nSm9icywgJ3BlbmRpbmcgdGVzdHMnKVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpcy5pbnRlcmZhY2UubG9nKGNoYWxrLnllbGxvdygnLi4uJywgLi4ubG9nU3RyaW5nLmZpbHRlcihsID0+IEJvb2xlYW4obCkpKSlcbiAgICAgICAgfVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiBwcmludCBzdGRvdXQgYW5kIHN0ZGVyciBmcm9tIHJ1bm5lcnNcbiAgICAgICAgICovXG4gICAgICAgIGlmIChpc0ZpbmlzaGVkKSB7XG4gICAgICAgICAgICAvKiBpc3RhbmJ1bCBpZ25vcmUgZWxzZSAqL1xuICAgICAgICAgICAgaWYgKHRoaXMuaW50ZXJmYWNlLnN0ZG91dEJ1ZmZlci5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmludGVyZmFjZS5sb2coY2hhbGsuYmdZZWxsb3cuYmxhY2soJ1N0ZG91dDpcXG4nKSArIHRoaXMuaW50ZXJmYWNlLnN0ZG91dEJ1ZmZlci5qb2luKCcnKSlcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIC8qIGlzdGFuYnVsIGlnbm9yZSBlbHNlICovXG4gICAgICAgICAgICBpZiAodGhpcy5pbnRlcmZhY2Uuc3RkZXJyQnVmZmVyLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgIHRoaXMuaW50ZXJmYWNlLmxvZyhjaGFsay5iZ1JlZC5ibGFjaygnU3RkZXJyOlxcbicpICsgdGhpcy5pbnRlcmZhY2Uuc3RkZXJyQnVmZmVyLmpvaW4oJycpKVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgLyogaXN0YW5idWwgaWdub3JlIGVsc2UgKi9cbiAgICAgICAgICAgIGlmICh0aGlzLm1lc3NhZ2VzLndvcmtlci5lcnJvcikge1xuICAgICAgICAgICAgICAgIHRoaXMuaW50ZXJmYWNlLmxvZyhjaGFsay5iZ1JlZC5ibGFjaygnV29ya2VyIEVycm9yOlxcbicpICsgdGhpcy5tZXNzYWdlcy53b3JrZXIuZXJyb3IubWFwKFxuICAgICAgICAgICAgICAgICAgICAoZSkgPT4gZS5zdGFja1xuICAgICAgICAgICAgICAgICkuam9pbignXFxuJykgKyAnXFxuJylcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiBhZGQgZW1wdHkgbGluZSBiZXR3ZWVuIFwicGVuZGluZyB0ZXN0c1wiIGFuZCByZXN1bHRzXG4gICAgICAgICAqL1xuICAgICAgICBpZiAodGhpcy5qb2JzLnNpemUpIHtcbiAgICAgICAgICAgIHRoaXMuaW50ZXJmYWNlLmxvZygpXG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLmludGVyZmFjZS5sb2coXG4gICAgICAgICAgICAnVGVzdCBTdWl0ZXM6XFx0JywgY2hhbGsuZ3JlZW4odGhpcy5yZXN1bHQucGFzc2VkLCAncGFzc2VkJykgKyAnLCAnICtcbiAgICAgICAgICAgICh0aGlzLnJlc3VsdC5mYWlsZWQgPyBjaGFsay5yZWQodGhpcy5yZXN1bHQuZmFpbGVkLCAnZmFpbGVkJykgKyAnLCAnIDogJycpICtcbiA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29sb3IuaGFzQmFzaWNcbiAgICAgICAgdGhpcy5zcGVjcyA9IHNwZWNzXG4gICAgICAgIHRoaXMuY29uZmlnID0gY29uZmlnXG4gICAgICAgIHRoaXMudG90YWxXb3JrZXJDbnQgPSB0b3RhbFdvcmtlckNudFxuICAgICAgICB0aGlzLnNpZ2ludFRyaWdnZXJlZCA9IGZhbHNlXG5cbiAgICAgICAgdGhpcy5pbnRlcmZhY2UgPSBuZXcgQ0xJbnRlcmZhY2UoKVxuICAgICAgICB0aGlzLm9uKCdqb2I6c3RhcnQnLCA6OnRoaXMuYWRkSm9iKVxuICAgICAgICB0aGlzLm9uKCdqb2I6ZW5kJywgOjp0aGlzLmNsZWFySm9iKVxuXG4gICAgICAgIHRoaXMuc2V0dXAoKVxuICAgIH1cblxuICAgIHNldHVwICgpIHtcbiAgICAgICAgdGhpcy5jbG9ja1RpbWVyID0gMFxuICAgICAgICB0aGlzLmpvYnMgPSBuZXcgTWFwKClcbiAgICAgICAgdGhpcy5zdGFydCA9IERhdGUubm93KClcbiAgICAgICAgdGhpcy5yZXN1bHQgPSB7XG4gICAgICAgICAgICBmaW5pc2hlZDogMCxcbiAgICAgICAgICAgIHBhc3NlZDogMCxcbiAgICAgICAgICAgIGZhaWxlZDogMFxuICAgICAgICB9XG4gICAgICAgIHRoaXMubWVzc2FnZXMgPSB7XG4gICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAqIG1lc3NhZ2VzIGZyb20gd29ya2VyIHJlcG9ydGVyc1xuICAgICAgICAgICAgICovXG4gICAgICAgICAgICByZXBvcnRlcjoge30sXG4gICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAqIG1lc3NhZ2VzIGZyb20gd29ya2VyIGl0c2VsZlxuICAgICAgICAgICAgICovXG4gICAgICAgICAgICB3b3JrZXI6IHt9XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5pbnRlcmZhY2UuY2xlYXJCdWZmZXIoKVxuICAgIH1cblxuICAgIC8qKlxuICAgICAqIGFk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RlVmlldygpXG4gICAgfVxuXG4gICAgdXBkYXRlVmlldyAod2FzSm9iQ2xlYXJlZCkge1xuICAgICAgICBjb25zdCB0b3RhbEpvYnMgPSB0aGlzLnRvdGFsV29ya2VyQ250XG4gICAgICAgIGNvbnN0IHBlbmRpbmdKb2JzID0gdGhpcy50b3RhbFdvcmtlckNudCAtIHRoaXMuam9icy5zaXplIC0gdGhpcy5yZXN1bHQuZmluaXNoZWRcbiAgICAgICAgY29uc3QgcnVubmluZ0pvYnMgPSB0aGlzLmpvYnMuc2l6ZVxuICAgICAgICBjb25zdCBpc0ZpbmlzaGVkID0gcnVubmluZ0pvYnMgPT09IDBcblxuICAgICAgICAvKipcbiAgICAgICAgICogY2hlY2sgaWYgZW52aXJvbm1lbnQgc3VwcG9ydHMgYW5zaSBhbmQgcHJpbnQgYSBsaW1pdGVkIHVwZGF0ZSBpZiBub3RcbiAgICAgICAgICovXG4gICAgICAgIGlmICghdGhpcy5oYXNBbnNpU3VwcG9ydCAmJiAhaXNGaW5pc2hlZCkge1xuICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgKiBvbmx5IHVwZGF0ZSBpZiBhIGpvYiBmaW5pc2hlc1xuICAgICAgICAgICAgICovXG4gICAgICAgICAgICBpZiAoIXdhc0pvYkNsZWFyZWQpIHtcbiAgICAgICAgICAgICAgICByZXR1cm5cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgY29uc3QgY2xvY2tTcGlubmVyU3ltYm9sID0gdGhpcy5nZXRDbG9ja1N5bWJvbCgpXG4gICAgICAgICAgICByZXR1cm4gdGhpcy5pbnRlcmZhY2UubG9nKFxuICAgICAgICAgICAgICAgIGAke2Nsb2NrU3Bpbm5lclN5bWJvbH0gYCArXG4gICAgICAgICAgICAgICAgYCR7dGhpcy5qb2JzLnNpemV9IHJ1bm5pbmcsIGAgK1xuICAgICAgICAgICAgICAgIGAke3RoaXMucmVzdWx0LnBhc3NlZH0gcGFzc2VkLCBgICtcbiAgICAgICAgICAgICAgICBgJHt0aGlzLnJlc3VsdC5mYWlsZWR9IGZhaWxlZCwgYCArXG4gICAgICAgICAgICAgICAgYCR7dG90YWxKb2JzfSB0b3RhbCBgICtcbiAgICAgICAgICAgICAgICBgKCR7TWF0aC5yb3VuZCgodGhpcy5yZXN1bHQuZmluaXNoZWQgLyB0b3RhbEpvYnMpICogMTAwKX0lIGNvbXBsZXRlZClgKVxuICAgICAgICB9XG5cbiAgICAgICAgdGhpcy5pbnRlcmZhY2UuY2xlYXJBbGwoKVxuICAgICAgICB0aGlzLmludGVyZmFjZS5sb2coKVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiBwcmludCByZXBvcnRlciBvdXRwdXRcbiAgICAgICAgICovXG4gICAgICAgIGZvciAoY29uc3QgW3JlcG9ydGVyTmFtZSwgbWVzc2FnZXNdIG9mIE9iamVjdC5lbnRyaWVzKHRoaXMubWVzc2FnZXMucmVwb3J0ZXIpKSB7XG4gICAgICAgICAgICB0aGlzLmludGVyZmFjZS5sb2coY2hhbGsuYmdZZWxsb3cuYmxhY2soYFwiJHtyZXBvcnRlck5hbWV9XCIgUmVwb3J0ZXI6YCkpXG4gICAgICAgICAgICB0aGlzLmludGVyZmFjZS5sb2cobWVzc2FnZXMuam9pbignJykpXG4gICAgICAgICAgICB0aGlzLmludGVyZmFjZS5sb2coKVxuICAgICAgICB9XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIHByaW50IHJ1bm5pbmcgam9ic1xuICAgICAgICAgKi9cbiAgICAgICAgZm9yIChjb25zdCBbY2lkLCBqb2JdIG9mIEFycmF5LmZyb20odGhpcy5qb2JzLmVudHJpZXMoKSkuc2xpY2UoMCwgTUFYX1JVTk5JTkdfSk9CU19ESVNQTEFZX0NPVU5UKSkge1xuICAgICAgICAgICAgY29uc3QgZmlsZW5hbWUgPSBqb2Iuc3BlY3Muam9pbignLCAnKS5yZXBsYWNlKHByb2Nlc3MuY3dkKCksICcnKVxuICAgICAgICAgICAgdGhpcy5pbnRlcmZhY2UubG9nKGNoYWxrLmJnWWVsbG93LmJsYWNrKCcgUlVOTklORyAnKSwgY2lkLCAnaW4nLCBqb2IuY2Fwcy5icm93c2VyTmFtZSwgJy0nLCBmaWxlbmFtZSlcbiAgICAgICAgfVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiBzaG93IG51bWJlciBvZiBwZW5kaW5nIGFuZCBydW5uaW5nIGpvYnNcbiAgICAgICAgICovXG4gICAgICAgIGlmIChwZW5kaW5nSm9icyB8fCBydW5uaW5nSm9icyA+IE1BWF9SVU5OSU5HX0pPQlNfRElTUExBWV9DT1VOVCkge1xuICAgICAgICAgICAgY29uc3QgbG9nU3RyaW5nID0gW11cbiAgICAgICAgICAgIGlmIChydW5uaW5nSm9icyA+IE1BWF9SVU5OSU5HX0pPQlNfRElTUExBWV9DT1VOVCkge1xuICAgICAgICAgICAgICAgIGxvZ1N0cmluZy5wdXNoKFxuICAgICAgICAgICAgICAgICAgICBydW5uaW5nSm9icyAtIE1BWF9SVU5OSU5HX0pPQlNfRElTUExBWV9DT1VOVCxcbiAgICAgICAgICAgICAgICAgICAgJ3J1bm5pbmcgdGVzdHMnICsgKHBlbmRpbmdKb2JzID8gJyAtJyA6ICcnKSlcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChwZW5kaW5nSm9icykge1xuICAgICAgICAgICAgICAgIGxvZ1N0cmluZy5wdXNoKHBlbmRpbmdKb2JzLCAncGVuZGluZyB0ZXN0cycpXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0aGlzLmludGVyZmFjZS5sb2coY2hhbGsueWVsbG93KCcuLi4nLCAuLi5sb2dTdHJpbmcuZmlsdGVyKGwgPT4gQm9vbGVhbihsKSkpKVxuICAgICAgICB9XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIHByaW50IHN0ZG91dCBhbmQgc3RkZXJyIGZyb20gcnVubmVyc1xuICAgICAgICAgKi9cbiAgICAgICAgaWYgKGlzRmluaXNoZWQpIHtcbiAgICAgICAgICAgIC8qIGlzdGFuYnVsIGlnbm9yZSBlbHNlICovXG4gICAgICAgICAgICBpZiAodGhpcy5pbnRlcmZhY2Uuc3Rkb3V0QnVmZmVyLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgIHRoaXMuaW50ZXJmYWNlLmxvZyhjaGFsay5iZ1llbGxvdy5ibGFjaygnU3Rkb3V0OlxcbicpICsgdGhpcy5pbnRlcmZhY2Uuc3Rkb3V0QnVmZmVyLmpvaW4oJycpKVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgLyogaXN0YW5idWwgaWdub3JlIGVsc2UgKi9cbiAgICAgICAgICAgIGlmICh0aGlzLmludGVyZmFjZS5zdGRlcnJCdWZmZXIubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5pbnRlcmZhY2UubG9nKGNoYWxrLmJnUmVkLmJsYWNrKCdTdGRlcnI6XFxuJykgKyB0aGlzLmludGVyZmFjZS5zdGRlcnJCdWZmZXIuam9pbignJykpXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAvKiBpc3RhbmJ1bCBpZ25vcmUgZWxzZSAqL1xuICAgICAgICAgICAgaWYgKHRoaXMubWVzc2FnZXMud29ya2VyLmVycm9yKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5pbnRlcmZhY2UubG9nKGNoYWxrLmJnUmVkLmJsYWNrKCdXb3JrZXIgRXJyb3I6XFxuJykgKyB0aGlzLm1lc3NhZ2VzLndvcmtlci5lcnJvci5tYXAoXG4gICAgICAgICAgICAgICAgICAgIChlKSA9PiBlLnN0YWNrXG4gICAgICAgICAgICAgICAgKS5qb2luKCdcXG4nKSArICdcXG4nKVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIGFkZCBlbXB0eSBsaW5lIGJldHdlZW4gXCJwZW5kaW5nIHRlc3RzXCIgYW5kIHJlc3VsdHNcbiAgICAgICAgICovXG4gICAgICAgIGlmICh0aGlzLmpvYnMuc2l6ZSkge1xuICAgICAgICAgICAgdGhpcy5pbnRlcmZhY2UubG9nKClcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuaW50ZXJmYWNlLmxvZyhcbiAgICAgICAgICAgICdUZXN0IFN1aXRlczpcXHQnLCBjaGFsay5ncmVlbih0aGlzLnJlc3VsdC5wYXNzZWQsICdwYXNzZWQnKSArICcsICcgK1xuICAgICAgICAgICAgKHRoaXMucmVzdWx0LmZhaWxlZCA/IGNoYWxrLnJlZCh0aGlzLnJlc3VsdC5mYWlsZWQsICdmYWlsZWQnKSArICcsICcgOiAnJykgK1xuICAgICAgICAgICAgdG90YWxKb2JzLCAndG90YWwnLFxuICAgICAgICAgICAgYCgke3RvdGFsSm9icyA/IE1hdGgucm91bmQoKHRoaXMucmVzdWx0LmZpbmlzaGVkIC8gdG90YWxKb2JzKSAqIDEwMCkgOiAwfSUgY29tcGxldGVkKWBcbiAgICAgICAgKVxuXG4gICAgICAgIHRoaXMudXBkYXRlQ2xvY2soKVxuXG4gICAgICAgIGlmICh0aGlzLnNpZ2ludFRyaWdnZXJlZCkge1xuICAgICAgICAgICAgY2xlYXJUaW1lb3V0KHRoaXMuaW50ZXJ2YWwpXG4gICAgICAgICAgICB0aGlzLmludGVyZmFjZS5sb2coJ1xcbicpXG4gICAgICAgICAgICB0aGlzLmludGVyZmFjZS5sb2coIWlzRmluaXNoZWRcbiAgICAgICAgICAgICAgICA/ICdFbmRpbmcgV2ViRHJpdmVyIHNlc3Npb25zIGdyYWNlZnVsbHkgLi4uXFxuJyArXG4gICAgICAgICAgICAgICAgICAnKHByZXNzIGN0cmwrYyBhZ2FpbiB0byBoYXJkIGtpbGwgdGhlIHJ1bm5lciknXG4gICAgICAgICAgICAgICAgOiAnRW5kZWQgV2ViRHJpdmVyIHNlc3Npb25zIGdyYWNlZnVsbHkgYWZ0ZXIgYSBTSUdJTlQgc2lnbmFsIHdhcyByZWNlaXZlZCEnXG4gICAgICAgICAgICApXG4gICAgICAgIH1cblxuICAgICAgICBpZiAoaXNGaW5pc2hlZCkge1xuICAgICAgICAgICAgY2xlYXJUaW1lb3V0KHRoaXMuaW50ZXJ2YWwpXG4gICAgICAgICAgICB0aGlzLmludGVyZmFjZS5sb2coJ1xcbicpXG4gICAgICAgIH1cbiAgICB9XG5cbiAgICB1cGRhdGVDbG9jayAoaW50ZXJ2YWwgPSAxMDApIHtcbiAgICAgICAgY29uc3QgY2xvY2tTcGlubmVyU3ltYm9sID0gdGhpcy5nZXRDbG9ja1N5bWJvbCgpXG5cbiAgICAgICAgY2xlYXJUaW1lb3V0KHRoaXMuaW50ZXJ2YWwpXG4gICAgICAgIHRoaXMuaW50ZXJmYWNlLmNsZWFyTGluZSgpXG4gICAgICAgIHRoaXMuaW50ZXJmYWNlLndyaXRlKCdUaW1lOlxcdFxcdCAnICsgY2xvY2tTcGlubmVyU3ltYm9sICsgJyAnICsgKChEYXRlLm5vdygpIC0gdGhpcy5zdGFydCkgLyAxMDAwKS50b0ZpeGVkKDIpICsgJ3MnKVxuICAgICAgICB0aGlzLmludGVydmFsID0gc2V0VGltZW91dCgoKSA9PiB0aGlzLnVwZGF0ZUNsb2NrKGludGVydmFsKSwgaW50ZXJ2YWwpXG4gICAgfVxuXG4gICAgZ2V0Q2xvY2tTeW1ib2wgKCkge1xuICAgICAgICByZXR1cm4gY2xvY2tTcGlubmVyLmZyYW1lc1t0aGlzLmNsb2NrVGltZXIgPSArK3RoaXMuY2xvY2tUaW1lciAlIGNsb2NrU3Bpbm5lci5mcmFtZXMubGVuZ3RoXVxuICAgIH1cblxuICAgIHJlc2V0ICgpIHtcbiAgICAgICAgdGhpcy5pbnRlcmZhY2UucmVzZXQoKVxuICAgIH1cbn1cbiJdfQ==

4

build/launcher.js

@@ -351,2 +351,3 @@ "use strict";

this.interface.updateView();
this.interface.reset();
setTimeout(() => this.resolve(this.exitCode), 100);

@@ -362,2 +363,3 @@ });

this.interface.updateView();
this.interface.reset();
setTimeout(() => this.resolve(1), 100);

@@ -387,2 +389,2 @@ });

exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9sYXVuY2hlci5qcyJdLCJuYW1lcyI6WyJsb2ciLCJMYXVuY2hlciIsImNvbnN0cnVjdG9yIiwiY29uZmlnRmlsZSIsImFyZ3YiLCJjb25maWdQYXJzZXIiLCJDb25maWdQYXJzZXIiLCJhZGRDb25maWdGaWxlIiwibWVyZ2UiLCJjb25maWciLCJnZXRDb25maWciLCJjYXBhYmlsaXRpZXMiLCJnZXRDYXBhYmlsaXRpZXMiLCJzcGVjcyIsImdldFNwZWNzIiwibG9nRGlyIiwicHJvY2VzcyIsImVudiIsIldESU9fTE9HX1BBVEgiLCJwYXRoIiwiam9pbiIsInRvdGFsV29ya2VyQ250IiwiQXJyYXkiLCJpc0FycmF5IiwibWFwIiwiYyIsImV4Y2x1ZGUiLCJsZW5ndGgiLCJyZWR1Y2UiLCJhIiwiYiIsImludGVyZmFjZSIsIkNMSW50ZXJmYWNlIiwicnVubmVyRW52IiwiRk9SQ0VfQ09MT1IiLCJOdW1iZXIiLCJoYXNBbnNpU3VwcG9ydCIsIlJ1bm5lciIsInJ1bm5lciIsImlzTXVsdGlyZW1vdGUiLCJleGl0Q29kZSIsImhhc1RyaWdnZXJlZEV4aXRSb3V0aW5lIiwiaGFzU3RhcnRlZEFueVByb2Nlc3MiLCJzY2hlZHVsZSIsInJpZCIsInJ1bm5lclN0YXJ0ZWQiLCJydW5uZXJGYWlsZWQiLCJydW4iLCJjYXBzIiwibGF1bmNoZXIiLCJpbml0aWFsaXNlIiwib25QcmVwYXJlIiwiaW5mbyIsImV4aXRIYW5kbGVyIiwicnVuTW9kZSIsIm9uQ29tcGxldGUiLCJyZXN1bHQiLCJ1cGRhdGVWaWV3IiwiUHJvbWlzZSIsInJlc29sdmUiLCJzdGFydEluc3RhbmNlIiwiY2lkIiwicHVzaCIsImF2YWlsYWJ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GZvciBydW5uZXIgcGx1Z2luc1xuICAgICAgICAgKiAoZS5nLiBkZXBsb3kgTGFtYmRhIGZ1bmN0aW8gdG8gQVdTKVxuICAgICAgICAgKi9cbiAgICAgICAgYXdhaXQgdGhpcy5ydW5uZXIuaW5pdGlhbGlzZSgpXG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIHJ1biBvblByZXBhcmUgaG9va1xuICAgICAgICAgKi9cbiAgICAgICAgYXdhaXQgY29uZmlnLm9uUHJlcGFyZShjb25maWcsIGNhcHMpXG4gICAgICAgIGxvZy5pbmZvKCdSdW4gb25QcmVwYXJlIGhvb2snKVxuICAgICAgICBhd2FpdCBydW5TZXJ2aWNlSG9vayhsYXVuY2hlciwgJ29uUHJlcGFyZScsIGNvbmZpZywgY2FwcylcblxuICAgICAgICAvKipcbiAgICAgICAgICogY2F0Y2hlcyBjdHJsK2MgZXZlbnRcbiAgICAgICAgICovXG4gICAgICAgIGV4aXRIb29rKDo6dGhpcy5leGl0SGFuZGxlcilcblxuICAgICAgICBjb25zdCBleGl0Q29kZSA9IGF3YWl0IHRoaXMucnVuTW9kZShjb25maWcsIGNhcHMpXG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIHJ1biBvbkNvbXBsZXRlIGhvb2tcbiAgICAgICAgICovXG4gICAgICAgIGxvZy5pbmZvKCdSdW4gb25Db21wbGV0ZSBob29rJylcbiAgICAgICAgYXdhaXQgcnVuU2VydmljZUhvb2sobGF1bmNoZXIsICdvbkNvbXBsZXRlJywgZXhpdENvZGUsIGNvbmZpZywgY2FwcylcbiAgICAgICAgYXdhaXQgY29uZmlnLm9uQ29tcGxldGUoZXhpdENvZGUsIGNvbmZpZywgY2FwcywgdGhpcy5pbnRlcmZhY2UucmVzdWx0KVxuXG4gICAgICAgIHRoaXMuaW50ZXJmYWNlLnVwZGF0ZVZpZXcoKVxuICAgICAgICByZXR1cm4gZXhpdENvZGVcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBydW4gd2l0aG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AgICAgICAgICAgc2VsZW5pdW1TZXJ2ZXI6IHsgaG9zdG5hbWU6IGNvbmZpZy5ob3N0bmFtZSwgcG9ydDogY29uZmlnLnBvcnQsIHByb3RvY29sOiBjb25maWcucHJvdG9jb2wgfVxuICAgICAgICAgICAgfSlcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBuZXcgUHJvbWlzZSgocmVzb2x2ZSkgPT4ge1xuICAgICAgICAgICAgdGhpcy5yZXNvbHZlID0gcmVzb2x2ZVxuXG4gICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAqIGZhaWwgaWYgbm8gc3BlY3Mgd2VyZSBmb3VuZCBvciBzcGVjaWZpZWRcbiAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgaWYgKE9iamVjdC52YWx1ZXModGhpcy5zY2hlZHVsZSkucmVkdWNlKChzcGVjQ250LCBzY2hlZHVsZSkgPT4gc3BlY0NudCArIHNjaGVkdWxlLnNwZWNzLmxlbmd0aCwgMCkgPT09IDApIHtcbiAgICAgICAgICAgICAgICBsb2cuZXJyb3IoJ05vIHNwZWNzIGZvdW5kIHRvIHJ1biwgZXhpdGluZyB3aXRoIGZhaWx1cmUnKVxuICAgICAgICAgICAgICAgIHRoaXMuaW50ZXJmYWNlLnVwZGF0ZVZpZXcoKVxuICAgICAgICAgICAgICAgIHJldHVybiByZXNvbHZlKDEpXG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICogcmV0dXJuIGltbWVkaWF0ZWx5IGlmIG5vIHNwZWMgd2FzIHJ1blxuICAgICAgICAgICAgICovXG4gICAgICAgICAgICBpZiAodGhpcy5ydW5TcGVjcygpKSB7XG4gICAgICAgICAgICAgICAgcmVzb2x2ZSgwKVxuICAgICAgICAgICAgfVxuICAgICAgICB9KVxuICAgIH1cblxuICAgIC8qKlxuICAgICAqIHJ1biBtdWx0aXBsZSBzaW5nbGUgcmVtb3RlIHRlc3RzXG4gICAgICogQHJldHVybiB7Qm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biAgICAgICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgICAgIGlmICghZmlsdGVyKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnNjaGVkdWxlLmZvckVhY2goKHQpID0+IHsgdC5zcGVjcyA9IFtdIH0pXG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmlsdGVyXG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAgICAgKiBtYWtlIHN1cmUgY29tcGxldGUgbnVtYmVyIG9mIHJ1bm5pbmcgaW5zdGFuY2VzIGlzIG5vdCBoaWdoZXIgdGhhbiBnZW5lcmFsIG1heEluc3RhbmNlcyBudW1iZXJcbiAgICAgICAgICAgICAgICAgKi9cbiAgICAgICAgICAgICAgICAuZmlsdGVyKCgpID0+IHRoaXMuZ2V0TnVtYmVyT2ZSdW5uaW5nSW5zdGFuY2VzKCkgPCBjb25maWcubWF4SW5zdGFuY2VzKVxuICAgICAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICAgICAqIG1ha2Ugc3VyZSB0aGUgY2FwYWJpbGl0eSBoYXMgYXZhaWxhYmxlIGNhcGFjaXRpZXNcbiAgICAgICAgICAgICAgICAgKi9cbiAgICAgICAgICAgICAgICAuZmlsdGVyKChhKSA9PiBhLmF2YWlsYWJsZUluc3RhbmNlcyA+IDApXG4gICAgICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgICAgICogbWFrZSBzdXJlIGNhcGFiaWxpdHkgaGFzIHN0aWxsIGNhcHMgdG8gcnVuXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgLmZpbHRlcigoYSkgPT4gYS5zcGVjcy5sZW5ndGggPiAwKVxuICAgICAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICAgICAqIG1ha2Ugc3VyZSB3ZSBhcmUgcnVubmluZyBjYXBzIHdpdGggbGVzcyBydW5u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GVuIHByb2Nlc3NcbiAgICAgICAgLy8gaXMgbm90IGJlaW5nIGRlYnVnZ2VkLlxuICAgICAgICBsZXQgZGVidWdBcmdzID0gW11cbiAgICAgICAgbGV0IGRlYnVnVHlwZVxuICAgICAgICBsZXQgZGVidWdIb3N0ID0gJydcbiAgICAgICAgbGV0IGRlYnVnUG9ydCA9IHByb2Nlc3MuZGVidWdQb3J0XG4gICAgICAgIGZvciAobGV0IGkgaW4gcHJvY2Vzcy5leGVjQXJndikge1xuICAgICAgICAgICAgY29uc3QgZGVidWdBcmdzID0gcHJvY2Vzcy5leGVjQXJndltpXS5tYXRjaCgnLS0oZGVidWd8aW5zcGVjdCkoPzotYnJrKT8oPzo9KC4qKTopPycpXG4gICAgICAgICAgICBpZiAoZGVidWdBcmdzKSB7XG4gICAgICAgICAgICAgICAgbGV0IFssIHR5cGUsIGhvc3RdID0gZGVidWdBcmdzXG4gICAgICAgICAgICAgICAgaWYgKHR5cGUpIHtcbiAgICAgICAgICAgICAgICAgICAgZGVidWdUeXBlID0gdHlwZVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBpZiAoaG9zdCkge1xuICAgICAgICAgICAgICAgICAgICBkZWJ1Z0hvc3QgPSBgJHtob3N0fTpgXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgaWYgKGRlYnVnVHlwZSkge1xuICAgICAgICAgICAgZGVidWdBcmdzLnB1c2goYC0tJHtkZWJ1Z1R5cGV9PSR7ZGVidWdIb3N0fSR7KGRlYnVnUG9ydCArIHByb2Nlc3NOdW1iZXIpfWApXG4gICAgICAgIH1cblxuICAgICAgICAvLyBpZiB5b3Ugd291bGQgbGlrZSB0byBhZGQgLS1kZWJ1Zy1icmssIHVzZSBhIGRpZmZlcmVudCBwb3J0LCBldGMuLi5cbiAgICAgICAgbGV0IGNhcEV4ZWNBcmdzID0gW1xuICAgICAgICAgICAgLi4uKGNvbmZpZy5leGVj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XQgY29kZSAxXG4gICAgICAgICAqL1xuICAgICAgICByZXR1cm4gcHJvY2Vzcy5uZXh0VGljaygoKSA9PiB7XG4gICAgICAgICAgICB0aGlzLmludGVyZmFjZS51cGRhdGVWaWV3KClcbiAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4gdGhpcy5yZXNvbHZlKDEpLCAxMDApXG4gICAgICAgIH0pXG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogTWFrZSBzdXJlIGFsbCBzdGFydGVkIHNlbGVuaXVtIHNlc3Npb25zIGdldCBjbG9zZWQgcHJvcGVybHkgYW5kIHByZXZlbnRcbiAgICAgKiBoYXZpbmcgZGVhZCBkcml2ZXIgcHJvY2Vzc2VzLiBUbyBkbyBzbyBsZXQgdGhlIHJ1bm5lciBlbmQgaXRzIFNlbGVuaXVtXG4gICAgICogc2Vzc2lvbiBmaXJzdCBiZWZvcmUga2lsbGluZ1xuICAgICAqL1xuICAgIGV4aXRIYW5kbGVyIChjYWxsYmFjaykge1xuICAgICAgICBpZiAoIWNhbGxiYWNrKSB7XG4gICAgICAgICAgICByZXR1cm5cbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuaGFzVHJpZ2dlcmVkRXhpdFJvdXRpbmUgPSB0cnVlXG4gICAgICAgIHRoaXMuaW50ZXJmYWNlLnNpZ2ludFRyaWdnZXIoKVxuICAgICAgICByZXR1cm4gdGhpcy5ydW5uZXIuc2h1dGRvd24oKS50aGVuKGNhbGxiYWNrKVxuICAgIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgTGF1bmNoZXJcbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9sYXVuY2hlci5qcyJdLCJuYW1lcyI6WyJsb2ciLCJMYXVuY2hlciIsImNvbnN0cnVjdG9yIiwiY29uZmlnRmlsZSIsImFyZ3YiLCJjb25maWdQYXJzZXIiLCJDb25maWdQYXJzZXIiLCJ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vb2tcbiAgICAgICAgICovXG4gICAgICAgIGF3YWl0IGNvbmZpZy5vblByZXBhcmUoY29uZmlnLCBjYXBzKVxuICAgICAgICBsb2cuaW5mbygnUnVuIG9uUHJlcGFyZSBob29rJylcbiAgICAgICAgYXdhaXQgcnVuU2VydmljZUhvb2sobGF1bmNoZXIsICdvblByZXBhcmUnLCBjb25maWcsIGNhcHMpXG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIGNhdGNoZXMgY3RybCtjIGV2ZW50XG4gICAgICAgICAqL1xuICAgICAgICBleGl0SG9vayg6OnRoaXMuZXhpdEhhbmRsZXIpXG5cbiAgICAgICAgY29uc3QgZXhpdENvZGUgPSBhd2FpdCB0aGlzLnJ1bk1vZGUoY29uZmlnLCBjYXBzKVxuXG4gICAgICAgIC8qKlxuICAgICAgICAgKiBydW4gb25Db21wbGV0ZSBob29rXG4gICAgICAgICAqL1xuICAgICAgICBsb2cuaW5mbygnUnVuIG9uQ29tcGxldGUgaG9vaycpXG4gICAgICAgIGF3YWl0IHJ1blNlcnZpY2VIb29rKGxhdW5jaGVyLCAnb25Db21wbGV0ZScsIGV4aXRDb2RlLCBjb25maWcsIGNhcHMpXG4gICAgICAgIGF3YWl0IGNvbmZpZy5vbkNvbXBsZXRlKGV4aXRDb2RlLCBjb25maWcsIGNhcHMsIHRoaXMuaW50ZXJmYWNlLnJlc3VsdClcblxuICAgICAgICB0aGlzLmludGVyZmFjZS51cGRhdGVWaWV3KClcbiAgICAgICAgcmV0dXJuIGV4aXRDb2RlXG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogcnVuIHdpdGhvdXQgdHJpZ2dlcmluZyBvblByZXBhcmUvb25Db21wbGV0ZSBob29rc1xuICAgICAqL1xuICAgIHJ1bk1vZGUgKGNvbmZpZywgY2Fwcykge1xuICAgICAgICAvKipcbiAgICAgICAgICogaWYgaXQgaXMgYW4gb2JqZWN0IHJ1biBtdWx0aXJlbW90ZSB0ZXN0XG4gICAgICAgICAqL1xuICAgICAgICBpZiAodGhpcy5pc011bHRpcmVtb3RlKSB7XG4gICAgICAgICAgICByZXR1cm4gbmV3IFByb21pc2UoKHJlc29sdmUpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLnJlc29sdmUgPSByZXNvbHZlXG4gICAgICAgICAgICAgICAgdGhpcy5zdGFydEluc3RhbmNlKHRoaXMuY29uZmlnUGFyc2VyLmdldFNwZWNzKCksIGNhcHMsIDApXG4gICAgICAgICAgICB9KVxuICAgICAgICB9XG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIHNjaGVkdWxlIHRlc3QgcnVuc1xuICAgICAgICAgKi9cbiAgICAgICAgbGV0IGNpZCA9IDBcbiAgICAgICAgZm9yIChsZXQgY2FwYWJpbGl0aWVzIG9mIGNhcHMpIHtcbiAgICAgICAgICAgIHRoaXMuc2NoZWR1bGUucHVzaCh7XG4gICAgICAgICAgICAgICAgY2lkOiBjaWQrKyxcbiAgICAgICAgICAgICAgICBjYXBzOiBjYXBhYmlsaXRpZXMsXG4gICAgICAgICAgICAgICAgc3BlY3M6IHRoaXMuY29uZmlnUGFyc2VyLmdldFNwZWNzKGNhcGFiaWxpdGllcy5zcGVjcywgY2FwYWJpbGl0aWVzLmV4Y2x1ZGUpLFxuICAgICAgICAgICAgICAgIGF2YWlsYWJsZUluc3RhbmNlczogY2FwYWJpbGl0aWVzLm1heEluc3RhbmNlcyB8fCBjb25maWcubWF4SW5zdGFuY2VzUGVyQ2FwYWJpbGl0eSxcbiAgICAgICAgICAgICAgICBydW5uaW5nSW5zdGFuY2VzOiAwLFxuICAgICAgICAgICAgICAgIHNlbGVuaXVtU2VydmVyOiB7IGhvc3RuYW1lOiBjb25maWcuaG9zdG5hbWUsIHBvcnQ6IGNvbmZpZy5wb3J0LCBwcm90b2NvbDogY29uZmlnLnByb3RvY29sIH1cbiAgICAgICAgICAgIH0pXG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gbmV3IFByb21pc2UoKHJlc29sdmUpID0+IHtcbiAgICAgICAgICAgIHRoaXMucmVzb2x2ZSA9IHJlc29sdmVcblxuICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgKiBmYWlsIGlmIG5vIHNwZWNzIHdlcmUgZm91bmQgb3Igc3BlY2lmaWVkXG4gICAgICAgICAgICAgKi9cbiAgICAgICAgICAgIGlmIChPYmplY3QudmFsdWVzKHRoaXMuc2NoZWR1bGUpLnJlZHVjZSgoc3BlY0NudCwgc2NoZWR1bGUpID0+IHNwZWNDbnQgKyBzY2hlZHVsZS5zcGVjcy5sZW5ndGgsIDApID09PSAwKSB7XG4gICAgICAgICAgICAgICAgbG9nLmVycm9yKCdObyBzcGVjcyBmb3VuZCB0byBydW4sIGV4aXRpbmcgd2l0aCBmYWlsdXJlJylcbiAgICAgICAgICAgICAgICB0aGlzLmludGVyZmFjZS51cGRhdGVWaWV3KClcbiAgICAgICAgICAgICAgICByZXR1cm4gcmVzb2x2ZSgxKVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAqIHJldHVybiBpbW1lZGlhdGVseSBpZiBubyBzcGVjIHdhcyBydW5cbiAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgaWYgKHRoaXMucnVuU3BlY3MoKSkge1xuICAgICAgICAgICAgICAgIHJlc29sdmUoMClcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSlcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBydW4gbXVsdGlwbGUgc2luZ2xlIHJlbW90ZSB0ZXN0c1xuICAgICAqIEByZXR1cm4ge0Jvb2xlYW59IHRydWUgaWYgYWxsIHNwZWNzIGhhdmUgYmVlbiBydW4gYW5kIGFsbCBpbnN0YW5jZXMgaGF2ZSBmaW5pc2hlZFxuICAgICAqL1xuICAgIHJ1blNwZWNzICgpIHtcbiAgICAgICAgbGV0IGNvbmZpZyA9IHRoaXMuY29uZmlnUGFyc2VyLmdldENvbmZpZygpXG5cbiAgICAgICAgLyoqXG4gICAgICAgICAqIHN0b3Agc3Bhd25pbmcgbmV3IHByb2Nlc3NlcyB3aGVuIENUUkwrQyB3YXMgdHJpZ2dlcmVkXG4gICAgICAgICAqL1xuICAgICAgICBpZiAodGhpcy5oYXNUcmlnZ2VyZWRFeGl0Um91dGluZSkge1xuICAgICAgICAgICAgcmV0dXJuIHRydWVcbiAgICAgICAgfVxuXG4gICAgICAgIHdoaWxlICh0aGlzLmdldE51bWJlck9mUnVubmluZ0luc3RhbmNlcygpIDwgY29uZmlnLm1heEluc3RhbmNlcykge1xuICAgICAgICAgICAgbGV0IHNjaGVkdWxhYmxlQ2FwcyA9IHRoaXMuc2NoZWR1bGVcbiAgICAgICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAgICAgKiBiYWlsIGlmIG51bWJlciBvZiBlcnJvcnMgZXhjZWVkcyBhbGxvd2VkXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgLmZpbHRlcigoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGZpbHRlciA9IHR5cGVvZiBjb25maWcuYmFpbCAhPT0gJ251bWJlcicgfHwgY29uZmlnLmJhaWwgPCAxIHx8XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbmZpZy5iYWlsID4gdGhpcy5ydW5uZXJGYWlsZWRcblxuICAgICAgICAgICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAgICAgICAgICogY2xlYXIgbnVtYmVyIG9mIHNwZWNzIHdoZW4gZmlsdGVyIGlzIGZhbHNlXG4gICAgICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgICAgICBpZiAoIWZpbHRlcikge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5zY2hlZHVsZS5mb3JFYWNoKCh0KSA9PiB7IHQuc3BlY3MgPSBbXSB9KVxuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZpbHRlclxuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgICAgICogbWFrZSBzdXJlIGNvbXBsZXRlIG51bWJlciBvZiBydW5uaW5nIGluc3RhbmNlcyBpcyBub3QgaGlnaGVyIHRoYW4gZ2VuZXJhbCBtYXhJbnN0YW5jZXMgbnVtYmVyXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgLmZpbHRlcigoKSA9PiB0aGlzLmdldE51bWJlck9mUnVubmluZ0luc3RhbmNlcygpIDwgY29uZmlnLm1heEluc3RhbmNlcylcbiAgICAgICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAgICAgKiBtYWtlIHN1cmUgdGhlIGNhcGFiaWxpdHkgaGFzIGF2YWlsYWJsZSBjYXBhY2l0aWVzXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgLmZpbHRlcigoYSkgPT4gYS5hdmFpbGFibGVJbnN0YW5jZXMgPiAwKVxuICAgICAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICAgICAqIG1ha2Ugc3VyZSBjYXBhYmlsaXR5IGhhcyBzdGlsbCBjYXBzIHRvIHJ1blxuICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgIC5maWx0ZXIoKGEpID0+IGEuc3BlY3MubGVuZ3RoID4gMClcbiAgICAgICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAgICAgKiBtYWtlIHN1cmUgd2UgYXJlIHJ1bm5pbmcgY2FwcyB3aXRoIGxlc3MgcnVubmluZyBpbnN0YW5jZXMgZmlyc3RcbiAgICAgICAgICAgICAgICAgKi9cbiAgICAgICAgICAgICAgICAuc29ydCgoYSwgYikgPT4gYS5ydW5uaW5nSW5zdGFuY2VzID4gYi5ydW5uaW5nSW5zdGFuY2VzKVxuXG4gICAgICAgICAgICAvKipcbiAgICAgICAgICAgICAqIGNvbnRpbnVlIGlmIG5vIGNhcGFiaWxpdHkgd2VyZSBzY2hlZHVsYWJsZVxuICAgICAgICAgIC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2pvYjplbmQnLCB7IGNpZCwgcGFzc2VkIH0pXG5cbiAgICAgICAgLy8gVXBkYXRlIHNjaGVkdWxlIG5vdyB0aGlzIHByb2Nlc3MgaGFzIGVuZGVkXG4gICAgICAgIGlmICghdGhpcy5pc011bHRpcmVtb3RlKSB7XG4gICAgICAgICAgICAvLyBnZXQgY2lkIChjYXBhYmlsaXR5IGlkKSBmcm9tIHJpZCAocnVubmVyIGlkKVxuICAgICAgICAgICAgY2lkID0gcGFyc2VJbnQoY2lkLCAxMClcblxuICAgICAgICAgICAgdGhpcy5zY2hlZHVsZVtjaWRdLmF2YWlsYWJsZUluc3RhbmNlcysrXG4gICAgICAgICAgICB0aGlzLnNjaGVkdWxlW2NpZF0ucnVubmluZ0luc3RhbmNlcy0tXG4gICAgICAgIH1cblxuICAgICAgICBpZiAoIXRoaXMuaXNNdWx0aXJlbW90ZSAmJiAhdGhpcy5ydW5TcGVjcygpKSB7XG4gICAgICAgICAgICByZXR1cm5cbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChwYXNzZWQpIHtcbiAgICAgICAgICAgIHJldHVybiBwcm9jZXNzLm5leHRUaWNrKCgpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLmludGVyZmFjZS51cGRhdGVWaWV3KClcbiAgICAgICAgICAgICAgICB0aGlzLmludGVyZmFjZS5yZXNldCgpXG4gICAgICAgICAgICAgICAgc2V0VGltZW91dCgoKSA9PiB0aGlzLnJlc29sdmUodGhpcy5leGl0Q29kZSksIDEwMClcbiAgICAgICAgICAgIH0pXG4gICAgICAgIH1cblxuICAgICAgICAvKipcbiAgICAgICAgICogZmluaXNoIHdpdGggZXhpdCBjb2RlIDFcbiAgICAgICAgICovXG4gICAgICAgIHJldHVybiBwcm9jZXNzLm5leHRUaWNrKCgpID0+IHtcbiAgICAgICAgICAgIHRoaXMuaW50ZXJmYWNlLnVwZGF0ZVZpZXcoKVxuICAgICAgICAgICAgdGhpcy5pbnRlcmZhY2UucmVzZXQoKVxuICAgICAgICAgICAgc2V0VGltZW91dCgoKSA9PiB0aGlzLnJlc29sdmUoMSksIDEwMClcbiAgICAgICAgfSlcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBNYWtlIHN1cmUgYWxsIHN0YXJ0ZWQgc2VsZW5pdW0gc2Vzc2lvbnMgZ2V0IGNsb3NlZCBwcm9wZXJseSBhbmQgcHJldmVudFxuICAgICAqIGhhdmluZyBkZWFkIGRyaXZlciBwcm9jZXNzZXMuIFRvIGRvIHNvIGxldCB0aGUgcnVubmVyIGVuZCBpdHMgU2VsZW5pdW1cbiAgICAgKiBzZXNzaW9uIGZpcnN0IGJlZm9yZSBraWxsaW5nXG4gICAgICovXG4gICAgZXhpdEhhbmRsZXIgKGNhbGxiYWNrKSB7XG4gICAgICAgIGlmICghY2FsbGJhY2spIHtcbiAgICAgICAgICAgIHJldHVyblxuICAgICAgICB9XG5cbiAgICAgICAgdGhpcy5oYXNUcmlnZ2VyZWRFeGl0Um91dGluZSA9IHRydWVcbiAgICAgICAgdGhpcy5pbnRlcmZhY2Uuc2lnaW50VHJpZ2dlcigpXG4gICAgICAgIHJldHVybiB0aGlzLnJ1bm5lci5zaHV0ZG93bigpLnRoZW4oY2FsbGJhY2spXG4gICAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBMYXVuY2hlclxuIl19

@@ -94,3 +94,3 @@ "use strict";

log.debug('Run suite with config', wdioConf, 'and params', params);
let launcher = new _launcher.default(wdioConf, params);
const launcher = new _launcher.default(wdioConf, params);
launcher.run().then(code => process.exit(code), e => process.nextTick(() => {

@@ -100,2 +100,2 @@ throw e;

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9ydW4uanMiXSwibmFtZXMiOlsibG9nIiwicnVuIiwicGFyYW1zIiwic3RkaW5EYXRhIiwiZmlyc3RBcmd1bWVudCIsIl8iLCJjb21tYW5kcyIsImZzIiwicmVhZGRpclN5bmMiL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wgJ2FuZCBwYXJhbXMnLCBwYXJhbXMpXG4gICAgY29uc3QgbGF1bmNoZXIgPSBuZXcgTGF1bmNoZXIod2Rpb0NvbmYsIHBhcmFtcylcbiAgICBsYXVuY2hlci5ydW4oKS50aGVuKFxuICAgICAgICAoY29kZSkgPT4gcHJvY2Vzcy5leGl0KGNvZGUpLFxuICAgICAgICAoZSkgPT4gcHJvY2Vzcy5uZXh0VGljaygoKSA9PiB7IHRocm93IGUgfSkpXG59XG4iXX0=
{
"name": "@wdio/cli",
"version": "5.0.2",
"version": "5.0.3",
"description": "WebdriverIO testrunner command line interface",

@@ -38,5 +38,5 @@ "author": "Christian Bromann <christian@saucelabs.com>",

"dependencies": {
"@wdio/config": "^5.0.0",
"@wdio/interface": "^5.0.0",
"@wdio/logger": "^5.0.0",
"@wdio/config": "^5.0.3",
"@wdio/interface": "^5.0.3",
"@wdio/logger": "^5.0.3",
"async-exit-hook": "^2.0.1",

@@ -54,3 +54,3 @@ "chalk": "^2.3.2",

"source-map-support": "^0.5.6",
"webdriverio": "^5.0.0",
"webdriverio": "^5.0.3",
"yargs": "^11.1.0"

@@ -60,4 +60,3 @@ },

"access": "public"
},
"gitHead": "070bc464cf4bcd8beb4e788e5748c8ab340fade1"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc