Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "guacamole", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "A friendly wrapper for the SauceLabs browser listing API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -16,7 +16,6 @@ /* eslint no-magic-numbers: 0, no-console: 0 */ | ||
const maxCLIWidth = _.max(_.map(browsers, "id"), (b) => b.length).length + 5; | ||
const maxCLIWidth = _.max(_.map(_.map(browsers, (b) => b.id), (b) => b.length)) + 5; | ||
const maxBrowserWidth = _.max(browsers.map( | ||
(b) => b.desiredCapabilities.browserName || "Native app" | ||
), (b) => b.length).length + 5; | ||
const maxBrowserWidth = _.max(_.map(_.map(browsers, | ||
(b) => b.desiredCapabilities.browserName || "Native app"), (b) => b.length)) + 5; | ||
@@ -27,9 +26,9 @@ const maxVersionWidth = _.max(browsers.map( | ||
const maxOSWidth = _.max(browsers.map( | ||
(b) => b.desiredCapabilities.platform || b.desiredCapabilities.platformName | ||
), (b) => b.toString().length).length + 5; | ||
const maxOSWidth = _.max(_.map(_.map(browsers, | ||
(b) => b.desiredCapabilities.platform || b.desiredCapabilities.platformName), | ||
(b) => b.length)) + 5; | ||
const maxDeviceWidth = _.max(_.map(browsers, (b) => | ||
b.desiredCapabilities.deviceName || "Desktop" | ||
), (b) => b.length).length + 5; | ||
const maxDeviceWidth = _.max(_.map(_.map(browsers, | ||
(b) => b.desiredCapabilities.deviceName || "Desktop"), | ||
(b) => b.length)) + 5; | ||
@@ -36,0 +35,0 @@ const table = new Table({ |
462163
774