Comparing version 1.0.25 to 1.0.26
{ | ||
"name": "js-awe", | ||
"version": "1.0.25", | ||
"version": "1.0.26", | ||
"homepage": "https://github.com/josuamanuel/js-awe", | ||
@@ -5,0 +5,0 @@ "author": "josuamanuel@hotmail.com", |
@@ -21,10 +21,11 @@ | ||
size = data.reduce( | ||
(acum, current) => | ||
acum < current.length | ||
? current.length | ||
: acum | ||
, 0 | ||
(acum, current) => { | ||
let currentCellLength = ('' + (current??'')).length | ||
if(acum < currentCellLength) | ||
return currentCellLength | ||
else | ||
return acum | ||
} | ||
, title.length | ||
) | ||
size = Math.max(size, title.length ?? 0) | ||
}, | ||
@@ -31,0 +32,0 @@ |
@@ -104,4 +104,4 @@ import { R } from './../ramdaExt.js' | ||
if(component.getSize() > valueCellPadded.length) | ||
valueCellPadded = valueCellPadded.padEnd(component.getSize() + 2, COLUMN_RIGHT_MARGIN_CHARS) | ||
//if(component.getSize() > valueCellPadded.length) | ||
// valueCellPadded = valueCellPadded.padEnd(component.getSize() + 2, COLUMN_RIGHT_MARGIN_CHARS) | ||
@@ -108,0 +108,0 @@ return ( |
@@ -12,2 +12,5 @@ export * from "./anonymize.js"; | ||
export * from "./streamUtils.js"; | ||
export * from './table/table.js'; | ||
export * from './table/components/text.js'; | ||
export * from './table/components/timeline.js'; | ||
//# sourceMappingURL=index.d.ts.map |
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
230691
6964