doculi 5.12.194 → 5.12.197
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.
- package/dist/cli.js +2 -3
- package/dist/index.cjs +2 -3
- package/dist/index.js +2 -3
- package/package.json +4 -4
package/dist/cli.js
CHANGED
|
@@ -533,8 +533,7 @@ function registerMetadataCommand(program) {
|
|
|
533
533
|
const COLUMN_GAP = " ";
|
|
534
534
|
function columnWidths(columns, cells) {
|
|
535
535
|
return columns.map((column, index) => {
|
|
536
|
-
|
|
537
|
-
return Math.max(column.length, ...cellWidths);
|
|
536
|
+
return cells.map((row) => row[index]?.length ?? 0).reduce((greatest, value) => Math.max(greatest, value), column.length);
|
|
538
537
|
});
|
|
539
538
|
}
|
|
540
539
|
function formatRow(values, widths) {
|
|
@@ -1195,7 +1194,7 @@ function registerSetMetadataCommand(program) {
|
|
|
1195
1194
|
}
|
|
1196
1195
|
//#endregion
|
|
1197
1196
|
//#region package.json
|
|
1198
|
-
var version = "5.12.
|
|
1197
|
+
var version = "5.12.197";
|
|
1199
1198
|
//#endregion
|
|
1200
1199
|
//#region src/program.ts
|
|
1201
1200
|
function createProgram() {
|
package/dist/index.cjs
CHANGED
|
@@ -884,8 +884,7 @@ function formatOdbReportLines(report) {
|
|
|
884
884
|
const COLUMN_GAP = " ";
|
|
885
885
|
function columnWidths(columns, cells) {
|
|
886
886
|
return columns.map((column, index) => {
|
|
887
|
-
|
|
888
|
-
return Math.max(column.length, ...cellWidths);
|
|
887
|
+
return cells.map((row) => row[index]?.length ?? 0).reduce((greatest, value) => Math.max(greatest, value), column.length);
|
|
889
888
|
});
|
|
890
889
|
}
|
|
891
890
|
function formatRow(values, widths) {
|
|
@@ -1546,7 +1545,7 @@ function registerSetMetadataCommand(program) {
|
|
|
1546
1545
|
}
|
|
1547
1546
|
//#endregion
|
|
1548
1547
|
//#region package.json
|
|
1549
|
-
var version = "5.12.
|
|
1548
|
+
var version = "5.12.197";
|
|
1550
1549
|
//#endregion
|
|
1551
1550
|
//#region src/program.ts
|
|
1552
1551
|
function createProgram() {
|
package/dist/index.js
CHANGED
|
@@ -883,8 +883,7 @@ function formatOdbReportLines(report) {
|
|
|
883
883
|
const COLUMN_GAP = " ";
|
|
884
884
|
function columnWidths(columns, cells) {
|
|
885
885
|
return columns.map((column, index) => {
|
|
886
|
-
|
|
887
|
-
return Math.max(column.length, ...cellWidths);
|
|
886
|
+
return cells.map((row) => row[index]?.length ?? 0).reduce((greatest, value) => Math.max(greatest, value), column.length);
|
|
888
887
|
});
|
|
889
888
|
}
|
|
890
889
|
function formatRow(values, widths) {
|
|
@@ -1545,7 +1544,7 @@ function registerSetMetadataCommand(program) {
|
|
|
1545
1544
|
}
|
|
1546
1545
|
//#endregion
|
|
1547
1546
|
//#region package.json
|
|
1548
|
-
var version = "5.12.
|
|
1547
|
+
var version = "5.12.197";
|
|
1549
1548
|
//#endregion
|
|
1550
1549
|
//#region src/program.ts
|
|
1551
1550
|
function createProgram() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "doculi",
|
|
3
|
-
"version": "5.12.
|
|
3
|
+
"version": "5.12.197",
|
|
4
4
|
"description": "CLI and interactive Ink TUI for documents.js: every docx/pptx/odt/odp/ods/odg/odf/pdf/odm/odb/xlsx/csv/svg/markdown/rtf conversion, bridge, and editor as a scriptable command or a terminal app.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
"license": "MIT",
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"commander": "15.0.0",
|
|
71
|
-
"document-outline.js": "3.10.
|
|
71
|
+
"document-outline.js": "3.10.93",
|
|
72
72
|
"document-schema.js": "7.16.5",
|
|
73
|
-
"documents.js": "14.12.
|
|
73
|
+
"documents.js": "14.12.12",
|
|
74
74
|
"ink": "8.0.0",
|
|
75
75
|
"ink-text-input": "6.0.0",
|
|
76
76
|
"react": "19.2.8"
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"eslint": "10.8.1",
|
|
88
88
|
"husky": "9.1.7",
|
|
89
89
|
"ink-testing-library": "4.0.0",
|
|
90
|
-
"odf.js": "11.2.
|
|
90
|
+
"odf.js": "11.2.9",
|
|
91
91
|
"publint": "0.3.22",
|
|
92
92
|
"semantic-release": "25.0.9",
|
|
93
93
|
"tsdown": "0.22.14",
|