@intellegens/cornerstone-client 0.0.9999-alpha-35 → 0.0.9999-alpha-36

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.
@@ -262,6 +262,6 @@ export class SearchBuilder {
262
262
  if (typeof str !== 'string') {
263
263
  return str.toString();
264
264
  }
265
- return str.replace(/([A-Z])/g, ' $1').replace(/^./, firstChar => firstChar.toUpperCase());
265
+ return str.charAt(0).toUpperCase() + str.slice(1);
266
266
  }
267
267
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intellegens/cornerstone-client",
3
- "version": "0.0.9999-alpha-35",
3
+ "version": "0.0.9999-alpha-36",
4
4
  "private": false,
5
5
  "publishable": true,
6
6
  "main": "./dist/index.js",
@@ -343,6 +343,6 @@ export class SearchBuilder<T> {
343
343
  return str.toString();
344
344
  }
345
345
 
346
- return str.replace(/([A-Z])/g, ' $1').replace(/^./, firstChar => firstChar.toUpperCase());
346
+ return str.charAt(0).toUpperCase() + str.slice(1);
347
347
  }
348
348
  }