@kipicore/dbcore 1.1.316 → 1.1.317

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.
@@ -520,7 +520,7 @@ const fromSnakeCaseToNormalText = (input) => {
520
520
  return '';
521
521
  return input
522
522
  .toLowerCase()
523
- .split('_')
523
+ .split(/[_\s]+/) // split by underscore or space
524
524
  .map(word => word.charAt(0).toUpperCase() + word.slice(1))
525
525
  .join(' ');
526
526
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.316",
3
+ "version": "1.1.317",
4
4
  "description": "Reusable DB core package with Postgres, MongoDB, models, services, interfaces, and types",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",