Comparing version 0.8.0 to 0.8.1
@@ -8,2 +8,3 @@ 'use strict'; | ||
const ansiAlign = require('ansi-align'); | ||
const termSize = require('term-size'); | ||
@@ -114,3 +115,3 @@ const getObject = detail => { | ||
const paddingLeft = PAD.repeat(padding.left); | ||
const columns = process.stdout.columns; | ||
const columns = termSize().columns; | ||
let marginLeft = PAD.repeat(margin.left); | ||
@@ -117,0 +118,0 @@ |
{ | ||
"name": "boxen", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "Create boxes in the terminal", | ||
@@ -39,2 +39,3 @@ "license": "MIT", | ||
"string-width": "^1.0.1", | ||
"term-size": "^0.1.0", | ||
"widest-line": "^1.0.0" | ||
@@ -41,0 +42,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
8597
111
7
+ Addedterm-size@^0.1.0
+ Addedcross-spawn-async@2.2.5(transitive)
+ Addedexeca@0.4.0(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedlru-cache@4.1.5(transitive)
+ Addednpm-run-path@1.0.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedpath-key@1.0.0(transitive)
+ Addedpseudomap@1.0.2(transitive)
+ Addedstrip-eof@1.0.0(transitive)
+ Addedterm-size@0.1.1(transitive)
+ Addedwhich@1.3.1(transitive)
+ Addedyallist@2.1.2(transitive)