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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  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 labelHeader = shape === "timeseries" ? "Period" : shape === "distribution" ? "Item" : "Field";
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.3";
6519
+ var VERSION = "1.1.4";
6519
6520
 
6520
6521
  // src/cli/write-file.ts
6521
6522
  import { writeFile as fsWriteFile } from "fs/promises";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commit-whisper",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Deterministic git history analysis with a grounded, BYOK AI narrative — terminal-native CLI.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",