diff --git a/lib/ui/index.js b/lib/ui/index.js index b25bf2917..6476c3cf7 100644 --- a/lib/ui/index.js +++ b/lib/ui/index.js @@ -4,7 +4,7 @@ const omit = require('lodash/omit'); const chalk = require('chalk'); const execa = require('execa'); const Listr = require('listr'); -const Table = require('cli-table2'); +const Table = require('cli-table3'); const Promise = require('bluebird'); const inquirer = require('inquirer'); const isObject = require('lodash/isObject'); @@ -97,7 +97,7 @@ class UI { * * @param {Array} head Column titles * @param {Array} body Array of table rows - * @param {Object} options Options to pass to cli-table2 + * @param {Object} options Options to pass to cli-table3 * * @method table * @public diff --git a/package.json b/package.json index f9888d74b..634a71e51 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "adm-zip": "0.4.11", "bluebird": "3.5.1", "chalk": "2.4.1", - "cli-table2": "0.2.0", + "cli-table3": "0.5.0", "debug": "3.1.0", "decompress": "4.2.0", "download": "7.0.0", diff --git a/yarn.lock b/yarn.lock index 6d6220e0b..0e4625c8a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -557,12 +557,12 @@ cli-spinners@^1.1.0: version "1.3.1" resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-1.3.1.tgz#002c1990912d0d59580c93bd36c056de99e4259a" -cli-table2@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/cli-table2/-/cli-table2-0.2.0.tgz#2d1ef7f218a0e786e214540562d4bd177fe32d97" +cli-table3@0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.5.0.tgz#adb2f025715f4466e67629783c8d73e9030eb4bd" dependencies: - lodash "^3.10.1" - string-width "^1.0.1" + object-assign "^4.1.0" + string-width "^2.1.1" optionalDependencies: colors "^1.1.2" @@ -2522,10 +2522,6 @@ lodash@4.17.10, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0: version "4.17.10" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" -lodash@^3.10.1: - version "3.10.1" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" - log-driver@^1.2.5: version "1.2.7" resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8"