Skip to content

Commit

Permalink
replace dependency: cli-table2 -> cli-table3 (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek authored and charlierudolph committed Sep 15, 2018
1 parent 4b39f87 commit 2ce07f1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
"assertion-error-formatter": "^2.0.1",
"babel-runtime": "^6.11.6",
"bluebird": "^3.4.1",
"cli-table2": "^0.2.0",
"cli-table3": "^0.5.1",
"colors": "^1.1.2",
"commander": "^2.9.0",
"cucumber-expressions": "^6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/cli/i18n.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import _ from 'lodash'
import Gherkin from 'gherkin'
import Table from 'cli-table2'
import Table from 'cli-table3'
import titleCase from 'title-case'

const keywords = [
Expand Down
2 changes: 1 addition & 1 deletion src/formatter/helpers/issue_helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getStepMessage } from './step_result_helpers'
import indentString from 'indent-string'
import Status from '../../status'
import figures from 'figures'
import Table from 'cli-table2'
import Table from 'cli-table3'
import KeywordType, { getStepKeywordType } from './keyword_type'
import { buildStepArgumentIterator } from '../../step_arguments'
import { getStepLineToKeywordMap } from './gherkin_document_parser'
Expand Down
2 changes: 1 addition & 1 deletion src/formatter/usage_formatter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import _ from 'lodash'
import { formatLocation, getUsage } from './helpers'
import Formatter from './'
import Table from 'cli-table2'
import Table from 'cli-table3'

export default class UsageFormatter extends Formatter {
constructor(options) {
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/helpers.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { formatLocation } from '../formatter/helpers/location_helpers'
import Table from 'cli-table2'
import Table from 'cli-table3'
import indentString from 'indent-string'

export function getAmbiguousStepException(stepDefinitions) {
Expand Down
14 changes: 5 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1306,12 +1306,12 @@ cli-cursor@^2.1.0:
dependencies:
restore-cursor "^2.0.0"

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.1:
version "0.5.1"
resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.5.1.tgz#0252372d94dfc40dbd8df06005f48f31f656f202"
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"

Expand Down Expand Up @@ -3168,10 +3168,6 @@ lodash.memoize@~3.0.3:
version "3.0.4"
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-3.0.4.tgz#2dcbd2c287cbc0a55cc42328bd0c736150d53e3f"

lodash@^3.10.1:
version "3.10.1"
resolved "http://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"

lodash@^4.17.10, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.3.0:
version "4.17.10"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7"
Expand Down

0 comments on commit 2ce07f1

Please sign in to comment.