@hackerrank/astra-cli 0.1.16 → 0.1.17

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/package.json +1 -1
  2. package/src/report.html +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hackerrank/astra-cli",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "Minimal zero-dependency AI coding agent for the HackerRank AI Gateway.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/report.html CHANGED
@@ -333,7 +333,10 @@
333
333
  "scim.errors-atomicity": "Errors & atomicity"
334
334
  };
335
335
  function groupTitle(parentId) {
336
- return GROUP_TITLES[parentId] || "Other checks";
336
+ if (GROUP_TITLES[parentId]) return GROUP_TITLES[parentId];
337
+ return String(parentId || "Other checks")
338
+ .replace(/[._-]+/g, " ")
339
+ .replace(/\b\w/g, function (letter) { return letter.toUpperCase(); });
337
340
  }
338
341
  function draw() {
339
342
  var groups = {};