Skip to content

Commit

Permalink
Updated dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Mar 28, 2017
1 parent 56bb352 commit ea237e3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
7 changes: 4 additions & 3 deletions lib/progressTracker.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
'use strict'

const ProgressBar = require('progress')
const table = require('table')
const table = require('table').table
const getBorderCharacters = require('table').getBorderCharacters
const Chalk = require('chalk')
const testColorSupport = require('color-support')
const prettyBytes = require('pretty-bytes')
Expand Down Expand Up @@ -73,13 +74,13 @@ function track (instance, opts) {
// if the user doesn't want to render the table, we can just return early
if (!opts.renderResultsTable) return

const out = table.default([
const out = table([
asColor(chalk.cyan, ['Stat', 'Avg', 'Stdev', 'Max']),
asRow(chalk.bold('Latency (ms)'), result.latency),
asRow(chalk.bold('Req/Sec'), result.requests),
asRow(chalk.bold('Bytes/Sec'), asBytes(result.throughput))
], {
border: table.getBorderCharacters('void'),
border: getBorderCharacters('void'),
columnDefault: {
paddingLeft: 0,
paddingRight: 1
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"bl": "^1.1.2",
"pre-commit": "^1.1.2",
"split2": "^2.1.0",
"standard": "^6.0.8",
"tap": "^5.7.0"
"standard": "^9.0.0",
"tap": "^10.3.0"
},
"dependencies": {
"chalk": "^1.1.3",
Expand All @@ -51,11 +51,11 @@
"hyperid": "^1.1.0",
"minimist": "^1.2.0",
"native-hdr-histogram": "^0.4.0",
"pretty-bytes": "^3.0.1",
"pretty-bytes": "^4.0.2",
"progress": "^1.1.8",
"reinterval": "^1.1.0",
"retimer": "^1.0.1",
"table": "^3.7.8",
"table": "^4.0.1",
"timestring": "^3.0.1",
"xtend": "^4.0.1"
}
Expand Down
1 change: 0 additions & 1 deletion test/format.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ Object.keys(pairs).forEach((expected) => {
t.end()
})
})

0 comments on commit ea237e3

Please sign in to comment.