pixl-cli 1.0.11 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/cli.js +1 -1
  2. package/package.json +33 -33
package/cli.js CHANGED
@@ -251,7 +251,7 @@ var cli = module.exports = {
251
251
  var widestCols = [];
252
252
  rows.forEach( function(cols, idx) {
253
253
  cols.forEach( function(col, idy) {
254
- widestCols[idy] = Math.max( widestCols[idy] || 0, stringWidth(col) + 2 );
254
+ widestCols[idy] = Math.max( widestCols[idy] || 0, stringWidth(''+col) + 2 );
255
255
  } );
256
256
  } );
257
257
 
package/package.json CHANGED
@@ -1,35 +1,35 @@
1
1
  {
2
- "name": "pixl-cli",
3
- "version": "1.0.11",
4
- "description": "Tools for building command-line apps for Node.js.",
5
- "author": "Joseph Huckaby <jhuckaby@gmail.com>",
6
- "homepage": "https://github.com/jhuckaby/pixl-cli",
7
- "license": "MIT",
8
- "main": "cli.js",
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/jhuckaby/pixl-cli"
12
- },
13
- "bugs": {
14
- "url": "https://github.com/jhuckaby/pixl-cli/issues"
15
- },
16
- "keywords": [
17
- "cli",
18
- "commandline",
19
- "prompt",
20
- "progress",
21
- "progressbar",
22
- "table"
23
- ],
24
- "dependencies": {
25
- "pixl-class": "^1.0.0",
26
- "pixl-args": "^1.0.0",
27
- "pixl-tools": "^1.0.0",
28
- "chalk": "2.4.1",
29
- "string-width": "2.1.1",
30
- "widest-line": "2.0.0",
31
- "repeating": "3.0.0",
32
- "word-wrap": "1.2.3"
33
- },
34
- "devDependencies": {}
2
+ "name": "pixl-cli",
3
+ "version": "1.0.14",
4
+ "description": "Tools for building command-line apps for Node.js.",
5
+ "author": "Joseph Huckaby <jhuckaby@gmail.com>",
6
+ "homepage": "https://github.com/jhuckaby/pixl-cli",
7
+ "license": "MIT",
8
+ "main": "cli.js",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/jhuckaby/pixl-cli"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/jhuckaby/pixl-cli/issues"
15
+ },
16
+ "keywords": [
17
+ "cli",
18
+ "commandline",
19
+ "prompt",
20
+ "progress",
21
+ "progressbar",
22
+ "table"
23
+ ],
24
+ "dependencies": {
25
+ "pixl-class": "^1.0.3",
26
+ "pixl-args": "^1.0.0",
27
+ "pixl-tools": "^1.0.0",
28
+ "chalk": "2.4.1",
29
+ "string-width": "4.2.0",
30
+ "widest-line": "3.0.0",
31
+ "repeating": "3.0.0",
32
+ "word-wrap": "1.2.3"
33
+ },
34
+ "devDependencies": {}
35
35
  }