boxen
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -121,3 +121,3 @@ 'use strict'; | ||
} else if (opts.float === 'right') { | ||
const padWidth = Math.max(columns - contentWidth - 2, 0); | ||
const padWidth = Math.max(columns - contentWidth - margin.right - 2, 0); | ||
marginLeft = PAD.repeat(padWidth); | ||
@@ -124,0 +124,0 @@ } |
{ | ||
"name": "boxen", | ||
"version": "1.2.0", | ||
"description": "Create boxes in the terminal", | ||
"license": "MIT", | ||
"repository": "sindresorhus/boxen", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"scripts": { | ||
"test": "xo && nyc ava" | ||
}, | ||
"files": [ | ||
"index.js" | ||
], | ||
"keywords": [ | ||
"cli", | ||
"box", | ||
"boxes", | ||
"terminal", | ||
"term", | ||
"console", | ||
"ascii", | ||
"unicode", | ||
"border", | ||
"text" | ||
], | ||
"dependencies": { | ||
"ansi-align": "^2.0.0", | ||
"camelcase": "^4.0.0", | ||
"chalk": "^2.0.1", | ||
"cli-boxes": "^1.0.0", | ||
"string-width": "^2.0.0", | ||
"term-size": "^1.2.0", | ||
"widest-line": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "*", | ||
"nyc": "^11.0.3", | ||
"xo": "*" | ||
} | ||
"name": "boxen", | ||
"version": "1.2.1", | ||
"description": "Create boxes in the terminal", | ||
"license": "MIT", | ||
"repository": "sindresorhus/boxen", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"scripts": { | ||
"test": "xo && nyc ava" | ||
}, | ||
"files": [ | ||
"index.js" | ||
], | ||
"keywords": [ | ||
"cli", | ||
"box", | ||
"boxes", | ||
"terminal", | ||
"term", | ||
"console", | ||
"ascii", | ||
"unicode", | ||
"border", | ||
"text" | ||
], | ||
"dependencies": { | ||
"ansi-align": "^2.0.0", | ||
"camelcase": "^4.0.0", | ||
"chalk": "^2.0.1", | ||
"cli-boxes": "^1.0.0", | ||
"string-width": "^2.0.0", | ||
"term-size": "^1.2.0", | ||
"widest-line": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "*", | ||
"nyc": "^11.0.3", | ||
"xo": "*" | ||
} | ||
} |
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
8547