From f8951c4fd4a7f3f5909dff6f54dad67fe57d7a5c Mon Sep 17 00:00:00 2001 From: Daniel Ruf Date: Fri, 15 Jun 2018 05:38:30 +0200 Subject: [PATCH] chore: migrate to cli-table3 (#77) --- package.json | 2 +- src/utils/__tests__/table.spec.js | 2 +- src/utils/table.js | 2 +- yarn.lock | 14 +++++--------- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 7e03aea..001b7d7 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "blessed": "^0.1.81", "cfonts": "^1.1.3", "chalk": "^2.3.0", - "cli-table2": "^0.2.0", + "cli-table3": "^0.5.0", "commander": "^2.11.0", "date-fns": "^1.29.0", "delay": "^2.0.0", diff --git a/src/utils/__tests__/table.spec.js b/src/utils/__tests__/table.spec.js index 0851c1d..e06bc8d 100644 --- a/src/utils/__tests__/table.spec.js +++ b/src/utils/__tests__/table.spec.js @@ -1,4 +1,4 @@ -import Table from 'cli-table2'; +import Table from 'cli-table3'; import { basicTable } from '../table'; diff --git a/src/utils/table.js b/src/utils/table.js index 6bb9ffe..a11c9a5 100644 --- a/src/utils/table.js +++ b/src/utils/table.js @@ -1,4 +1,4 @@ -import Table from 'cli-table2'; +import Table from 'cli-table3'; const basicTable = () => new Table({ diff --git a/yarn.lock b/yarn.lock index 82e5c83..bd2283d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1310,12 +1310,12 @@ cli-spinners@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-1.1.0.tgz#f1847b168844d917a671eb9d147e3df497c90d06" -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" @@ -3847,10 +3847,6 @@ lodash.toarray@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.toarray/-/lodash.toarray-4.4.0.tgz#24c4bfcd6b2fba38bfd0594db1179d8e9b656561" -lodash@^3.10.1: - version "3.10.1" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" - lodash@^4.13.1, lodash@^4.14.0, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.3.0: version "4.17.4" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"