commit-whisper 1.1.3 → 1.1.4
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/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6008,7 +6008,8 @@ function formatNumber3(n) {
|
|
|
6008
6008
|
}
|
|
6009
6009
|
function valueTable(value) {
|
|
6010
6010
|
const shape = detectShape(value);
|
|
6011
|
-
const
|
|
6011
|
+
const labelHeaderByShape = { timeseries: "Period", distribution: "Item" };
|
|
6012
|
+
const labelHeader = labelHeaderByShape[shape] ?? "Field";
|
|
6012
6013
|
const rows = extractSeries(value).map((point) => `| ${escapeCell(point.label)} | ${escapeCell(formatNumber3(point.value))} |`);
|
|
6013
6014
|
return [`- **Value**`, "", `| ${labelHeader} | Value |`, "| --- | --- |", ...rows].join("\n");
|
|
6014
6015
|
}
|
|
@@ -6515,7 +6516,7 @@ function localName(target) {
|
|
|
6515
6516
|
}
|
|
6516
6517
|
|
|
6517
6518
|
// src/cli/version.ts
|
|
6518
|
-
var VERSION = "1.1.
|
|
6519
|
+
var VERSION = "1.1.4";
|
|
6519
6520
|
|
|
6520
6521
|
// src/cli/write-file.ts
|
|
6521
6522
|
import { writeFile as fsWriteFile } from "fs/promises";
|