boxen
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -121,4 +121,3 @@ 'use strict'; | ||
} else if (opts.float === 'right') { | ||
let padWidth = Math.max(columns - contentWidth - 2, 0); | ||
padWidth = padWidth < 0 ? 0 : padWidth; | ||
const padWidth = Math.max(columns - contentWidth - 2, 0); | ||
marginLeft = PAD.repeat(padWidth); | ||
@@ -125,0 +124,0 @@ } |
{ | ||
"name": "boxen", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Create boxes in the terminal", | ||
@@ -16,3 +16,3 @@ "license": "MIT", | ||
"scripts": { | ||
"test": "xo && ava" | ||
"test": "xo && nyc ava" | ||
}, | ||
@@ -35,3 +35,3 @@ "files": [ | ||
"dependencies": { | ||
"ansi-align": "^1.1.0", | ||
"ansi-align": "^2.0.0", | ||
"camelcase": "^4.0.0", | ||
@@ -46,2 +46,3 @@ "chalk": "^1.1.1", | ||
"ava": "*", | ||
"nyc": "^10.3.0", | ||
"xo": "*" | ||
@@ -48,0 +49,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8583
3
110
+ Addedansi-align@2.0.0(transitive)
- Removedansi-align@1.1.0(transitive)
Updatedansi-align@^2.0.0