@debugg-ai/debugg-ai-mcp 1.0.33 → 1.0.35

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.
@@ -1,9 +1,13 @@
1
1
  // Function to handle converting a string to camelCase
2
2
  export function stringToCamelCase(str) {
3
+ if (!str.includes("_"))
4
+ return str;
3
5
  return str
4
- .toLowerCase()
5
6
  .split("_")
6
- .map((s, i) => i === 0 ? s : s.slice(0, 1).toUpperCase() + s.slice(1, s.length))
7
+ .map((s, i) => {
8
+ const lower = s.toLowerCase();
9
+ return i === 0 ? lower : lower.slice(0, 1).toUpperCase() + lower.slice(1);
10
+ })
7
11
  .join("");
8
12
  }
9
13
  // Function to handle converting a string to snake_case
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@debugg-ai/debugg-ai-mcp",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "description": "Zero-Config, Fully AI-Managed End-to-End Testing for all code gen platforms.",
5
5
  "type": "module",
6
6
  "bin": {